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
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?
You can also take a look at SLOCCount.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With