Side by side
Coveralls vs gcov
Both stand on test coverage tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan APILinuxSelf-hosted+1
Coveralls connects coverage history and detail with pull-request reporting and merge criteria. Open-source and public repositories are free; teams with private repositories should check plan limits and file-coverage retention.
Visit Coveralls Free plan LinuxMacWindows
gcov provides several coverage views for GCC-compiled programs, including machine-readable output. Its instrumentation and compiler requirements make GCC compatibility the key constraint to check.
Visit gcovThe facts
| Coveralls | gcov | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | API, Linux, Self-hosted, Web | Linux, Mac, Windows |
| Lowest paid plan | Starter: $10 a month | Free or on request |
| Plans published | 10 | 1 |
| Maker | Not published | Not published |
| Website | coveralls.io | gcc.gnu.org |
| On test coverage tools | #6 of 27 | #10 of 27 |
Coveralls: what it does well
- Coverage views reach individual code lines.
- Pull-request reports can apply coverage criteria to merges.
- Supports line and branch coverage.
- Works with any CI service, according to Coveralls.
- Self-hosted enterprise option can run without outbound network access.
What to know first
- Starter covers one private repository.
- Detailed file coverage is retained for 12 months on paid repositories.
- Starter costs $10 a month.
gcov: what it does well
- Reports line, function, branch, and other coverage types.
- Filters reports by function-name regular expressions.
- Outputs .gcov text or compressed JSON.
- Companion tools merge or inspect profiles offline.
What to know first
- Programs require GCC’s --coverage option.
- Works only with code compiled using GCC.
- Optimization can reduce detail for locating hotspots.
Alternatives to Coveralls Alternatives to gcov The whole list
