About Anaconda Help Download Anaconda

Code Metrics in Python

Installers

  • linux-64 v6.0.1
  • linux-aarch64 v6.0.1
  • osx-arm64 v6.0.1
  • win-64 v6.0.1
  • osx-64 v6.0.1
  • noarch v4.5.1

conda install

To install this package run one of the following:
conda install main::radon

Description

Radon is a Python tool that computes various metrics from the source code. Radon can compute:

  • McCabe’s complexity, i.e. cyclomatic complexity
  • raw metrics (these include SLOC, comment lines, blank lines, &c.)
  • Halstead metrics (all of them)
  • Maintainability Index (the one used in Visual Studio)

© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy