arigato changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | mac OS and Fedora are not Windows
_whitelogger has joined #pypy
jcea has joined #pypy
jcea has quit [Quit: jcea]
dddddd has quit [Remote host closed the connection]
jacob22 has quit [Ping timeout: 245 seconds]
jacob22 has joined #pypy
forgottenone has joined #pypy
forgottenone has quit [Ping timeout: 245 seconds]
forgottenone has joined #pypy
fryguybob has quit [Read error: Connection reset by peer]
fryguybob has joined #pypy
tbodt has quit [Ping timeout: 264 seconds]
tbodt has joined #pypy
esc has quit [Ping timeout: 245 seconds]
esc has joined #pypy
esc has quit [Changing host]
esc has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
alawrence has joined #pypy
qqqqq has joined #pypy
qqqqq has quit [Client Quit]
forgottenone has joined #pypy
tsaka__ has quit [Remote host closed the connection]
alawrence has quit [Ping timeout: 256 seconds]
dddddd has joined #pypy
toad_poloest has quit [Remote host closed the connection]
toad_poloest has joined #pypy
danieljabailey has quit [Ping timeout: 245 seconds]
danieljabailey has joined #pypy
lritter has joined #pypy
jcea has joined #pypy
msjyoo has joined #pypy
forgottenone has quit [Quit: Konversation terminated!]
nunatak has joined #pypy
nunatak has quit [Remote host closed the connection]
nunatak has joined #pypy
nunatak has quit [Quit: Leaving]
forgottenone has joined #pypy
adamholmberg has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Changing host]
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
mdash_ is now known as mdash
ronan_ has quit [Quit: Ex-Chat]
ronan has joined #pypy
marky1991 has joined #pypy
Garen has quit [Read error: Connection reset by peer]
Garen has joined #pypy
nimaje has quit [Read error: Connection reset by peer]
nimaje has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
rtw has joined #pypy
rtw has quit [Client Quit]
rtw has joined #pypy
rtw has quit [Quit: Mutter: www.mutterirc.com]
marky1991 has joined #pypy
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991 has joined #pypy
marky1991_2 has joined #pypy
marky1991 has quit [Read error: Connection reset by peer]
marky1991_3 has joined #pypy
marky1991_2 has quit [Ping timeout: 258 seconds]
marky1991_3 has quit [Ping timeout: 245 seconds]
Zaab1t has joined #pypy
marky1991_3 has joined #pypy
marky1991_3 has quit [Remote host closed the connection]
jcea has quit [Remote host closed the connection]
jcea has joined #pypy
_whitelogger has joined #pypy
_habnabit has quit [Remote host closed the connection]
_habnabit has joined #pypy
_habnabit has quit [Quit: ZNC - http://znc.sourceforge.net]
_habnabit has joined #pypy
Zaab1t has quit [Remote host closed the connection]
forgottenone has quit [Quit: Konversation terminated!]
bapt_ has joined #pypy
bapt_ has quit [Client Quit]
bapt_bapt has joined #pypy
bapt_bapt has quit [Client Quit]
bapt_bapt has joined #pypy
bapt_bapt has quit [Client Quit]
bsaleil has joined #pypy
bsaleil has quit [Quit: Page closed]
bsaleil has joined #pypy
<bsaleil> Hello, I'm collecting statistics on various language frameworks. Is it possible to get the number of lines of code for both the RPython framework and PyPy somewhere ?
<nimaje> how about analyzing the repo https://bitbucket.org/pypy/pypy?
<bsaleil> This repo includes both RPython and PyPy right ?
<mjacob> bsaleil: it's mostly in separate directories
<mjacob> out of interest, what will you use the statistics for?
<bsaleil> Ok, so I can collect them both respectively from the /pypy and /rpython folders in the source tree and ignore the other folders ?
<bsaleil> these statistics are for my dissertation to give an order of magnitude of the effort required to build a language framework
<mjacob> bsaleil: yes, i don't think there's anything interesting (for your purpose) outside of these folders
<mjacob> i tend to say that the folders contain "too much"
<mjacob> for example, they contain all the tests
<mjacob> also, the tests aren't cleanly separated from the rest
<bsaleil> mjacob: any idea on the % of the code the tests represent ?
<mjacob> according to py.countloc: number of testfiles: 544, number of non-empty testlines: 137392, number of files: 715, number of non-empty lines: 554927
<mjacob> however, a large part of it are the unicode databases
<mjacob> with /home/manu/vcs/pypy/rpython/rlib/unicodedata/unicodedb_5_2_0.py having 158163 non-empty lines
<mjacob> so you see, it's not that easy
<mjacob> (the numbers are for rpython/)
<mjacob> after deleting the unicode dbs: py.countloc for rpython: number of testfiles: 544, number of non-empty testlines: 137392, number of files: 708, number of non-empty lines: 205741
<mjacob> probably the code vs. test file detection is not quite accurate
<mjacob> and many things are in non-test-files, but still are exclusively for tests
nunatak has joined #pypy
<mjacob> i claim that the number of lines is not a reliable metric for anything useful ;)
<mjacob> another thing: there's rpython/rlib/, a collection of things useful for many language implementations
<mjacob> do you want to count it or not?
nunatak has quit [Client Quit]
<bsaleil> I know that it is probably not an exact measure but I really only need an order of magnitude and I'm not trying to conclude anything from it
<bsaleil> thank you for the py.countloc tool btw, I didn't know it before
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
forgottenone has joined #pypy
rubdos has quit [Ping timeout: 264 seconds]
rubdos has joined #pypy
<fijal> mjacob: LOC combined with the project/language culture gives you magnitude of effort
jcea has quit [Quit: jcea]
Hasimir has quit [Ping timeout: 268 seconds]
Hasimir has joined #pypy
<mjacob> i'm not convinced ;)
<mjacob> especially if over half of the lines comes from generated files (unicode db)
forgottenone has quit [Quit: Konversation terminated!]
Hasimir has quit [Ping timeout: 245 seconds]
jcea has joined #pypy
jcea has quit [Client Quit]
<fijal> yeah you need to pay attention
<toad_poloest> An LOC metric I've never really seen used before might be churn.
<toad_poloest> So not total LOC in the VCS, but how many lines of code are added/deleted over time.
<simpson> toad_poloest: I was going to suggest something similar. The total effort includes dead ends, unused structures, deprecated and experimental features, etc.
<toad_poloest> Yeah, it's very hard to measure, or even to come up with a reasonably easily-accessible metric that is comparable across projects.
<toad_poloest> Something like developer-hours is probably decently spot-on, but hard to get that information, particularly retroactively.
jcea has joined #pypy
Hasimir has joined #pypy
xcm is now known as Guest26581
Guest26581 has quit [Killed (weber.freenode.net (Nickname regained by services))]
xcm has joined #pypy
tsaka__ has joined #pypy
Hasimir has quit [Ping timeout: 246 seconds]
Hasimir has joined #pypy
Hasimir has quit [Ping timeout: 246 seconds]
Hasimir has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
lritter has quit [Quit: Leaving]
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
adamholmberg has joined #pypy
adamholmberg has quit [Remote host closed the connection]
mvantellingen has quit [Ping timeout: 252 seconds]
mvantellingen has joined #pypy
infernix has quit [Ping timeout: 250 seconds]
adamholmberg has joined #pypy
bsaleil has quit [Ping timeout: 256 seconds]