rubik / radon

Various code metrics for Python code
http://radon.readthedocs.org/
MIT License
1.75k stars 118 forks source link

no way to ONLY get the summary #96

Closed grayaii closed 8 years ago

grayaii commented 8 years ago

We have hundreds of files in our project. The following command prints gobs and gobs of output: radon raw . -s I only want the summary, not the details of each file.

rubik commented 8 years ago

Truth be told, the summary isn't very useful. If you have hundreds of files, you'll also have hundreds of functions and most of them will be A. So the summary will give you A.

Radon was conceived to detect where in the codebase the code is most complex. So you should run it and filter according to the rank. For example, radon cc -n C will output only the blocks with a rank of C or higher.

grayaii commented 8 years ago

gotcha. makes sense. thanks for quick response!