[racket] code metrics
Notwithstanding Neil's justified and funny criticism of metrics, I think that these are all doable as part of the module browser, and Sam/Vincent should put it on their "task list". -- Matthias
On May 30, 2012, at 1:08 AM, Jordan Schatz wrote:
>
> Anyone know of a good tool to measure racket code?
>
> Some measurements I'd like are:
> - Total source lines of code
> - Total unique source lines of code
> - Number of modules
> - Number of functions
> - Number of tests
> - Test coverage
> - Average number of lines per module
> - Maximum number of lines per module
> - Average number of lines per function
> - Maximum number of lines per function
>
> etc.
>
> If it was smart enough to identify duplicate function definitions (from
> different modules), unneeded requires, and unused provides, that would be extra
> awesome : )
>
> Thanks,
> Jordan
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users