/oss · 2 merged

Bachmann1234/diff_cover

A tool that finds the changed lines in a branch that have no test coverage.

the project on GitHub (opens in a new tab)
  1. 24 Nov 2026

    Java coverage reports work when run from a subfolder

    What was broken
    Running diff-cover with a JaCoCo report from a Java module's own folder, the usual monorepo layout, matched no files, reported no coverage and passed the check.
    What I changed
    Report paths are now matched relative to where the tool runs, including on Windows and with source root options.
    Why it matters
    Coverage checks in multi-module Java repos actually catch untested changes.

    see the code, #660 (opens in a new tab)

  2. 17 Nov 2026

    LCOV reports work from a subfolder

    What was broken
    Run from a subfolder of the repo, diff-cover matched no files in an LCOV report and passed a coverage check it should have failed.
    What I changed
    Paths in LCOV reports are now read from the folder the tool ran in, or as absolute paths.
    Why it matters
    Coverage gates on LCOV reports catch untested code again.

    see the code, #657 (opens in a new tab)

← every project