radon
Python tool to compute code metrics (Python3)
Install
- All systems
-
curl cmd.cat/radon.sh
- Debian
-
apt-get install radon - Ubuntu
-
apt-get install radon - Kali Linux
-
apt-get install radon - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install radon
radon
Python tool to compute code metrics (Python3)
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.