What problem does it solve?
Manually counting lines of code, identifying language composition, and calculating code-to-comment ratios for repositories is time-consuming and error-prone, especially for large codebases with nested dependency and build folders.
Core Features & Use Cases
- Automated Code Metrics: Uses pygount to scan repositories and generate accurate lines of code, file counts, and language breakdowns, with built-in exclusions for common folders like .git, node_modules, and venv to avoid scanning irrelevant files.
- Targeted Language Filtering: Filter analysis results by specific programming languages to focus on relevant parts of a codebase, ideal for evaluating new open source projects, assessing technical debt, or generating segment-specific development reports.
- Flexible Output Formats: Supports human-readable summary tables for quick insights and JSON output for programmatic use in scripts, dashboards, or automated reporting workflows.
Quick Start
Use the codebase-inspection skill to analyze the lines of code, language distribution, and code-to-comment ratios for the current repository.