Reputation: 602
I want a tool which can compute source code metrics such as lines of code, number of packages, classes, functions, cyclomatic complexity number, depth of inheritance tree etc. for my Python Code. I have tried pylint, but it didn't offer much metrics. pynocle seemed interesting but I dont know how to use it.
Can anyone give me some suggestions ?
Thanks in advance
Upvotes: 12
Views: 2002
Reputation: 737
try radon
, It calculate Cyclomatic Complexity, Maintainability Index and Raw metrics like LOC, SLOC and...
Upvotes: 0
Reputation: 820
PyGenie can do cyclomatic complexity. I have used it once before and it used to be Python-3 incompatible... haven't used it afterward. Maybe give it a shot?
Upvotes: 1