lizard-analyzer

Analyzes code complexity metrics including cyclomatic complexity

brewmacoslinux
Try with needOr install directly
Source

About

Extensible Cyclomatic Complexity Analyzer

Commands

lizard

Examples

Analyze cyclomatic complexity of a single Python file$ lizard myfile.py
Analyze all files in a directory recursively with detailed output$ lizard -l python src/
Generate complexity report in CSV format and filter by threshold$ lizard --csv -t 10 project/ > complexity_report.csv