Measure coverage with the library for your language: JaCoCo for Java, Istanbul for JavaScript, Coverage.py for Python, dotCover for .NET. Then, if you want coverage shown on pull requests, add a hosted service such as Codecov, Coveralls or Qlty. 5 of the 6 hosted platforms below state a free route.
Here's what this list rests on. In December 2026 I read each tool's own homepage, documentation and, where one exists, pricing page; several open source projects have no pricing page, so their docs did the job. I didn't run these tools against a codebase for this article. Two more were read and dropped: one because its newest release note was from 2018, and one to keep the list at eleven.
Coverage tools for each language and team
Codecov
The Codecov site now reads Codecov by Sentry, and its pricing page lists PR comments, status checks, patch coverage and carryforward flags. The free Developer plan allows one user. Skip it if more than one person on your team needs it at no cost.
Coveralls
Every Coveralls plan includes unlimited users, and open source repos use it free, with line-by-line coverage and unlimited history. Plans are tied to one GitHub, GitLab or Bitbucket organisation. Skip it if you have many private repos; paid plans count them.
SonarQube
SonarQube covers more than 45 languages, frameworks and Infrastructure-as-Code platforms, and its Community Build and SonarQube Cloud's free tier let you start at no cost. Skip it if you'd rather not tie pricing to lines of code, as its plans do.
JaCoCo
JaCoCo is a free code coverage library for Java from the EclEmma team, with release builds published through Maven, and EclEmma, its Eclipse front end, has been based on it since version 2.0. Skip it if your code doesn't run on the JVM.
Istanbul
Istanbul instruments ES5 and ES2015+ JavaScript with line counters, and its nyc command-line client works with test frameworks such as tap, mocha and AVA, under a Revised BSD License. Skip it if you want hosted dashboards or pull request comments from one tool.
Coverage.py
Coverage.py measures line coverage by default and branch coverage on request, and reports in text, HTML, XML, LCOV and JSON. Version 7.18.0 supports Python 3.11 through 3.16.0a2. Skip it if you're stuck on a Python release older than 3.11.
Codacy
Codacy puts coverage reports and merge policies beside code quality and security scanning across 49 languages; its Developer plan is free, as is open source use. Skip it if you want a standalone coverage tracker rather than a platform priced per developer.
DeepSource
DeepSource's homepage says it has joined Harness. It tracks untested lines, enforces coverage thresholds, and opens with a 14-day trial needing no credit card. Skip it if you want self-hosting below Enterprise, the only plan that lists it.
Qlty
Qlty posts coverage reports as GitHub pull request comments and tags unit and integration suites separately; its free plan includes code coverage and 1,000 analysis minutes a month. Skip it if your code lives outside GitHub, which its cloud connects to.
OpenClover
OpenClover measures method, statement and branch coverage, with plugins for IntelliJ IDEA and Eclipse and integrations for Ant, Maven, Grails, Jenkins and Bamboo. Skip it if you want a commercially backed product; the site shows a Donate link and one named maintainer.
dotCover
JetBrains dotCover is a .NET unit test runner and coverage tool that integrates with Visual Studio and Rider, and includes a console utility for CI servers. It covers .NET Framework, .NET Core and Mono. Skip it if your team doesn't work in .NET.
Free routes, languages and hosting compared
Do you make a code coverage tool? Tool makers can ask to be considered for a featured place on this list.
Every cell is taken from the tool's own pages. Not published means I searched those pages and found no statement, which is different from the feature being absent.
| Tool | Kind of tool | Languages or platforms | Free route stated |
|---|---|---|---|
| Codecov | Hosted reporting, now Codecov by Sentry | The majority of programming languages, it says | Developer plan: 1 user, 250 private repo uploads |
| Coveralls | Hosted coverage history and badges | Integration packages from C to Scala, including Java and Python | Free for open source repos; 30-day trial |
| SonarQube | Code quality and security platform | More than 45 languages, frameworks and IaC platforms | Community Build; free Team Plan up to 50k LOC |
| JaCoCo | Coverage library | Java | Stated as free |
| Istanbul | Instruments code; nyc command-line client | ES5 and ES2015+ JavaScript | Revised BSD License |
| Coverage.py | Coverage library with reports | Python 3.11 through 3.16.0a2, PyPy3 | Open source; Tidelift for enterprise |
| Codacy | Quality, security and coverage platform | 49 languages | Developer plan free; free for open source |
| DeepSource | Code review platform with coverage tracking | Not published | 14-day free trial, no credit card |
| Qlty | Coverage and quality cloud with an open Rust CLI | Coverage compatible with every programming language, it says | Free plan with code coverage |
| OpenClover | Coverage tool with IDE plugins | Java and Groovy; Ant, Maven or Grails | Get it for free |
| dotCover | Unit test runner and coverage tool | .NET Framework, .NET Core, Mono | Free 30-day trial |
The split is clean: 5 of the 11 measure coverage on your machine or CI runner, and 6 of the 11 collect reports from your CI and show them in a web app, and 4 of those 6 add wider code quality checks. You need something from the first group. The second group is optional, and of those 6, 5 state a free plan, free open source use or a free tier.
Which one fits your situation
A solo developer or a small open source project. Use the coverage library for your language and print the report in CI. If you want a badge and history on public repos, a hosted service with free open source use adds that with little setup. Look at the free route column before connecting private repos, because free terms differ between public and private code.
Want AI doing the heavy lifting in your marketing?
I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.
A team of five to fifteen on private repos. The question is how pricing counts you: per user, per developer, per contributor or per private repo. A team with few repos and many people pays less on a per-repo plan; a team with many small repos and few people pays less per user. Count both before you choose.
A team that wants coverage as one gate among many. If you also want static analysis, security findings and merge rules, a quality platform that includes coverage saves running two services. The cost is a bigger product to configure, and pricing that may follow lines of code or developer count rather than coverage use.
A .NET or Java shop working inside an IDE. IDE-integrated tools let developers see uncovered lines while they write, which changes habits faster than a dashboard nobody opens. Pair one with a CI step so the numbers are also recorded for each build.
A monorepo with several languages. Run each language's own library, export each report in a common format such as LCOV or XML, and upload them to one hosted service that can merge them. Check that the service can tag or flag reports by suite so frontend and backend numbers stay separate.
Coverage is half of a review conversation, so my guide to code review tools is the natural next read if you're setting up pull request checks.
Line, branch and patch coverage in plain terms
Line coverage counts which lines ran during your tests. It's the default in several tools here and the easiest to read, but it can report a line as covered when only one side of an if statement ran. Branch coverage counts each path through a decision, so it catches the untested else. Method coverage, which one tool here lists, tells you which functions were never called at all.
Patch coverage is the number to watch on pull requests. It measures only the lines changed in that pull request, so a team with low overall coverage can still insist that new code is tested. Setting a patch target, rather than an overall target, is how teams with older codebases raise coverage without a months-long backfill project.
When a coverage number misleads
A high percentage tells you code ran, not that the tests checked anything. A test that calls a function and asserts nothing still counts as coverage. Review a sample of tests for real assertions before trusting the number.
Generated code, migrations and vendored libraries can inflate or deflate the figure. Exclude them in configuration so the percentage describes code your team writes. Watch for the opposite mistake too: excluding hard-to-test code until the number looks good.
Finally, a hard overall threshold that blocks merges can push people to write shallow tests to get past it. A patch threshold on new code, plus a trend line for the whole project, keeps pressure where it helps.
Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.
Frequently asked questions
What is a good code coverage percentage?
There's no universal figure. A sensible approach is to require high coverage on new and changed code through a patch target, and track the overall figure as a trend rather than a hard gate.
Is there a free code coverage tool?
Yes. The language libraries in this list (for Java, JavaScript and Python) are free or open source, and 5 of the 6 hosted platforms here state a free plan, free open source use or a free tier.
What is the difference between line and branch coverage?
Line coverage records which lines ran. Branch coverage records whether each path through a decision ran, so it shows an untested else even when the line holding the if statement counts as covered.
Do I need a hosted coverage service?
Not to measure coverage. Libraries produce reports on their own. A hosted service adds pull request comments, history and badges, which helps teams that review code through pull requests.


