Welcome to Radon’s documentation!

Travis-CI badge Coveralls badge PyPI latest version badge PyPI downloads badge Download format Radon license

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)

Radon can be used either from the command line or programmatically through its API.


Indices and tables