Compare two coverage reports per file. A total can rise while most files get worse, which is exactly what a single percentage in a pull request hides.
Waiting for two coverage reports
Paste the report from before your change on the left, and the one from after on the right.
Paste both reports to see which files got better and which got worse.
Files are matched on the longest common path suffix, because the same report from CI and from a laptop carries different absolute prefixes — compared literally, every file would read as removed and re-added. A file that genuinely moved will still show as gone and added.
Coverage Report Comparison runs entirely on your device — both reports are compared in your browser and neither is uploaded.
You’re on the Free plan. Compare plans
A coverage total can rise while most files get worse. Delete a poorly covered file, or add a large well-covered one, and the overall percentage improves even though every file a reviewer cares about went down. A pull-request comment showing "coverage +1.2%" hides that completely, which is why the per-file list here leads with what got worse.
Files are matched on the longest common path suffix rather than literally. The same report from CI and from a laptop carries different absolute prefixes — /home/runner/work/repo/src/x against /Users/me/repo/src/x — and compared literally every file reads as removed and re-added, which makes the comparison worthless.
Each row reports the change in percentage points, and files that appeared or disappeared are listed separately from files that changed. A file that genuinely moved will show as both gone and added, which is the honest answer when nothing in either report says the two are the same file.
Because the total is weighted by size. Deleting a poorly covered file raises it. Adding a large well-tested file raises it. Neither means any existing code is better tested, and both are common in a single pull request — which is why a per-file list is the only reliable read.
Because absolute paths differ between machines. A report from CI starts /home/runner/work and one from a laptop starts /Users/you, so a literal comparison reports every file as removed and a different one as added. Matching on the longest common suffix fixes that without pretending two genuinely different files are the same.
It almost certainly moved or was renamed. Nothing in either report says the old path and the new one are the same file, and pairing them by similarity would sometimes match a moved file with an unrelated one and hide a real drop.
Whichever you choose — lines, statements, functions or branches. Branches are usually the most revealing, because they are the metric that falls when a new condition is added without a test for its other side.
No. Both reports are compared in your browser.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab