code-metricsAnalyze code quality metrics including lines of code by language, cyclomatic complexity (Python), function/class counts, comment ratios, and largest file ran...
Install via ClawdBot CLI:
clawdbot install johnnywang2001/code-metricsGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated May 7, 2026
A SaaS company wants to assess code quality before a major release. Using code-metrics, the team gets a breakdown of lines of code, comment ratios, and cyclomatic complexity across languages, identifying high-complexity functions that need refactoring.
Maintainers of an open-source project use code-metrics to generate a JSON report of code distribution, largest files, and function counts. This data helps prioritize code cleanup and attract contributors by demonstrating project quality.
An investor considering acquiring a startup runs code-metrics on the target's codebase to gauge complexity, code debt, and language composition. The analysis reveals over 500 high-complexity functions, informing risk assessment.
A development team managing a polyglot codebase (Python, JavaScript, Go, Rust) uses code-metrics to compare code distribution and comment ratios across languages, ensuring consistent documentation practices.
Offer code-metrics as a plugin for CI/CD pipelines (e.g., GitHub Actions, GitLab CI). Developers automatically receive analysis on each commit, helping catch quality regressions early.
Provide a web dashboard that schedules code-metrics runs on customer repositories and visualizes trends. Free tier includes basic metrics; paid plans add complexity analysis and historical comparisons.
Use code-metrics internally to deliver code quality audit reports as part of consulting engagements. Clients pay for the analysis, recommendations, and implementation support.
💬 Integration Tip
Integrate code-metrics into your CI pipeline by invoking the script with --json and --no-complexity flags for fast checks on every push.
Scored May 7, 2026
Data analysis and visualization. Query databases, generate reports, automate spreadsheets, and turn raw data into clear, actionable insights. Use when (1) yo...
Quick system diagnostics: CPU, memory, disk, uptime
Professional data visualization using Python (matplotlib, seaborn, plotly). Create publication-quality static charts, statistical visualizations, and interac...
Complete the data analysis tasks delegated by the user.If the code needs to operate on files, please ensure that the file is listed in the `upload_files` par...
Auto-generate structured weekly business reports covering KPIs, accomplishments, blockers, and plans. Save hours of reporting time every week.
Deploy privacy-first analytics with correct API patterns, rate limits, and GDPR compliance.