A toolkit for collecting code metrics.
octocov is a comprehensive toolkit for collecting and managing code metrics including code coverage, code-to-test ratios, test execution time, and custom metrics. It serves as both a powerful CI tool for automated reporting and a command-line interface for local development workflows. The tool supports multiple coverage report formats and can generate visual reports as comments on pull requests, GitHub Actions job summaries, or terminal outputs.
Key features include support for multiple coverage formats, automated badge generation, report aggregation across repositories, and flexible datastore integration with GitHub, AWS S3, Google Cloud Storage, and BigQuery. octocov can enforce quality gates by setting acceptable thresholds for coverage percentages, code-to-test ratios, and test execution times, making it fail builds that don't meet standards.
The tool is particularly valuable for development teams using GitHub Actions who want comprehensive code metrics reporting with minimal setup. It excels in both single repository workflows and complex scenarios like monorepos, multi-job test sharding, and centralized reporting across multiple projects. Whether you're a solo developer wanting local coverage viewing or an organization needing enterprise-grade metrics aggregation, octocov provides the flexibility to scale from simple coverage checks to sophisticated quality monitoring systems.
# via Homebrew
brew install k1LoW/tap/octocov
# via Binary Download
Download from GitHub releases

