{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/3"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"Radon computes code metrics from Python source files, including cyclomatic complexity, raw metrics (lines of code, comments, blanks), Halstead metrics, and maintainability index.","skillfed_tags":["code-metrics","static-analysis","ci-integration"],"use_cases":["Identify overly complex functions that need refactoring by running cyclomatic complexity analysis on a codebase","Measure code maintainability trends over time by tracking raw metrics and maintainability index across releases","Integrate code quality gates into CI/CD by using radon to fail builds when complexity thresholds are exceeded","Analyze Jupyter notebooks for code quality metrics alongside regular Python files","Generate code quality reports for code review or documentation purposes"],"what_it_does":"Radon is a static analysis tool that measures code quality through multiple metrics. It computes cyclomatic complexity (how many independent paths flow through code), raw metrics like lines of code and comment density, Halstead metrics (effort and difficulty estimates), and a maintainability index similar to Visual Studio's implementation. You run it from the command line or call it programmatically to analyze Python files and get a report on code structure and complexity.\n\nThe tool is designed to integrate into CI/CD pipelines and code review platforms (Codacy, Code Climate, coala, CodeFactor all support it). It depends only on mando for CLI handling and colorama for optional colored output. It can also analyze Jupyter notebooks if the optional nbformat package is installed.","worth_installing":"Yes, with conditions. Radon is stable and widely used (5.7M monthly downloads, top 5000 packages), with no known vulnerabilities and low install friction. However, the project is dormant\u2014no releases in over a year and no commits since October 2024. Install it if you need code metrics for analysis or CI integration, but do not expect active maintenance or support for very recent Python versions. For active monitoring and CI enforcement, consider xenon as an alternative."},"id":"radon","links":{"html":"https://skillfed.io/packages/radon","md":"https://skillfed.io/packages/radon.md","pypi":"https://pypi.org/project/radon/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-03-26","license_spdx":null,"license_treatment":"permissive","name":"radon","python_support":"unspecified","summary":"Code Metrics in Python"},"popularity":{"monthly_downloads":5780891,"position":2038,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"6.0.1"}
