octocov
Code metrics toolkit for collecting coverage, code-to-test ratio, test execution time, and custom metrics from multiple report formats
octocov is a code metrics collection and reporting toolkit that analyzes coverage reports, code-to-test ratios, test execution times, and custom metrics. It supports multiple coverage report formats including Go, JavaScript, Python, and Java ecosystems, making it language-agnostic for most development workflows.
The tool operates both as a CI integration and standalone CLI. In GitHub Actions, it automatically comments code metrics on pull requests, generates job summaries, and can store reports to various datastores including GitHub repositories, S3, BigQuery, and Google Cloud Storage. As a CLI tool, it provides terminal-based viewing with commands like octocov ls-files, octocov view, and octocov diff for comparing metrics between reports.
octocov includes validation capabilities through configurable acceptance thresholds that fail builds when coverage drops below specified levels. It can generate self-hosted SVG badges for metrics, eliminating dependencies on external badge services. The tool also supports a central mode for aggregating reports across multiple repositories and can merge coverage data from parallel CI jobs or test shards.
Developers and DevOps teams use octocov to maintain code quality standards, track metrics over time, and integrate coverage reporting into their CI/CD pipelines. The configuration is managed through .octocov.yml files, and the tool integrates with GitHub Actions through the dedicated octocov-action.


Alternatives & related tools
awsesh
TUI and CLI tool for managing AWS SSO sessions with fuzzy search, account switching, and shell integration.
envdiff
Snapshots a machine's system info, runtimes, env vars and network config to JSON, diffs snapshots, and validates environments against a YAML file.
flyctl
Command-line interface for fly.io that authenticates accounts, lists apps, and checks app status; also invoked as fly.
nap
Code snippet manager with CLI and TUI for creating, organizing, and accessing snippets in the terminal
freeze
Generate PNG, SVG, and WebP images of code and terminal output with syntax highlighting and customizable styling.
add a badge to your README
Maintain octocov? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/octocov?utm_source=badge)<a href="https://www.trmn.sh/tools/octocov?utm_source=badge"><img src="https://www.trmn.sh/badge/octocov.svg" alt="Featured on trmn" height="20"></a>