(1) | (1) |
radon - Python tool to compute code metrics
radon is a Python tool which computes various code metrics.
Radon is a Python tool which computes various code metrics. Supported metrics are:
Radon can be used either from the command line or programmatically through its API.
radon [-h] [-v] {cc,raw,mi,hal} ...
raw Analyze the given Python modules and compute raw metrics.
mi Analyze the given Python modules and compute the Maintainability Index.
hal Analyze the given Python modules and compute their Halstead metrics.
https://dzone.com/articles/what-exactly-is-mccabe-cyclomatic-complexity
Cyclomatic Complexity can be seen simply as the number of independent paths that exist between the input of the function and its output
radon output consists of columns. The first column indicates F M C - or function method class.
Use --exclude "*/filename.py" to skip a particular file(s)
2012-2017 Michele Lacchia
2.3.1 |