Aller au contenu

Radon

Radon is a Python tool which computes various code metrics. Supported metrics are: - raw metrics: SLOC, comment lines, blank lines, &c. - Cyclomatic Complexity (i.e. McCabe’s Complexity) - Halstead metrics (all of them) - the Maintainability Index (a Visual Studio metric)

Configuration

pyproject.toml
[tool.radon]
cc_min = "B"

Utilisation

radon cc src

Ressources