readability statistics

Brian Quinlan brian at sweetapp.com
Tue Nov 26 14:34:19 EST 2002


> Does anybody know where I can find a module
> which calculates some python code readability statistics.
> Like for example:
> % comment lines.
> average line length
> average module number of lines
> etc...

I don't know if such a utility already exists or not, but you could
probably write one in less than an hour. Look at the tokenize module. 

Cheers,
Brian





More information about the Python-list mailing list