Re: [racket-dev] code base metrics

2010-12-01 Thread Jon Rafkind
Oh, there were some errors while running the script so to clean it up I just did 'grep defined out' :p /home/kazzmir/svn/plt/racket/collects/htdp/tests/guess-gui.rkt:10:3: view: name is not defined, not a parameter, and not a primitive name in: view On 12/01/2010 08:40 PM, Matthias Felleisen wro

Re: [racket-dev] code base metrics

2010-12-01 Thread Matthias Felleisen
Thanks. When I re-run my 'averaging' I get around 34% exports. BTW, your script is broken. Look for "view: name" On Dec 1, 2010, at 4:36 PM, Jon Rafkind wrote: > And because I already started it, here is the entire collects tree (370k > file) > > http://www.cs.utah.edu/~rafkind/tmp/racket-

Re: [racket-dev] code base metrics

2010-12-01 Thread Jon Rafkind
And because I already started it, here is the entire collects tree (370k file) http://www.cs.utah.edu/~rafkind/tmp/racket-definitions.txt On 11/29/2010 03:34 PM, Matthias Felleisen wrote: > That makes sense. For now, I am fine with this very first-order > approximation. Thanks > > > On Nov 29,

Re: [racket-dev] code base metrics

2010-11-29 Thread Jon Rafkind
There is one thing defined at phase 0, module-begin. The module exports a bunch of stuff (provide (rename-out [module-begin #%module-begin]) (except-out (all-from-out scheme/base) #%module-begin) (all-from-out scheme/unit) (all-from-out scheme/contract) (for-syn

Re: [racket-dev] code base metrics

2010-11-29 Thread Matthias Felleisen
That makes sense. For now, I am fine with this very first-order approximation. Thanks On Nov 29, 2010, at 5:32 PM, Jon Rafkind wrote: > There is one thing defined at phase 0, module-begin. The module exports > a bunch of stuff > > (provide (rename-out [module-begin #%module-begin]) >

Re: [racket-dev] code base metrics

2010-11-29 Thread Matthias Felleisen
If I ignore the > 100% exports here, I get something like an average of 40% exported identifiers. Thanks -- Matthias On Nov 29, 2010, at 4:24 PM, Jon Rafkind wrote: > On 11/29/2010 12:20 PM, Jon Rafkind wrote: >> I hacked my old tool to get a first approximation and ran it on all the >> files

Re: [racket-dev] code base metrics

2010-11-29 Thread Matthias Felleisen
Thanks, that's great. But what does this mean: "collects/racket/signature/lang.rkt defined 1 exported 2747" -- Matthias On Nov 29, 2010, at 4:24 PM, Jon Rafkind wrote: > On 11/29/2010 12:20 PM, Jon Rafkind wrote: >> I hacked my old tool to get a first approximation and ran it on all the >

Re: [racket-dev] code base metrics

2010-11-29 Thread Jon Rafkind
On 11/29/2010 12:20 PM, Jon Rafkind wrote: > I hacked my old tool to get a first approximation and ran it on all the > files of the collects/racket tree. I can run it on the entire collects > tree if you want, but its sort of slow so it will take a while. I > couldn't expand all the files because l

Re: [racket-dev] code base metrics

2010-11-29 Thread Jon Rafkind
I hacked my old tool to get a first approximation and ran it on all the files of the collects/racket tree. I can run it on the entire collects tree if you want, but its sort of slow so it will take a while. I couldn't expand all the files because local requires failed, I'll try to fix that. collec