• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 47114476296
95%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 01:29PM UTC
Jobs 1
Files 88
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Dec 2026 01:19PM UTC coverage: 94.615% (+0.03%) from 94.59%
47114476296

push

github

web-flow
Coverage: count branches, and fail below 90% of lines or 80% of branches (#2486)

* Coverage: count branches, and fail below 90% of lines or 80% of branches

The coverage job (make lcov) now also records branch coverage and fails
when src/ drops below 90% line or 80% branch coverage, as the OpenSSF
silver and gold criteria ask (#1989).

- Branches are counted without the edges GCC adds for calls that could
  throw and those on lines without a condition (lcov's
  no_exception_branch and --filter branch): no test can take them.
- scripts/coverage-gate.sh reads both figures from lcov's summary; lcov
  2.0 can fail on lines by itself but not on branches.
- The check runs last in make lcov, after the HTML report, so the report
  and the Codecov and Coveralls uploads (which run unless the job is
  cancelled) still happen when it fails. make coverage_gate runs the
  check alone. The minimums are COVERAGE_MIN_LINES and
  COVERAGE_MIN_BRANCHES at the top of the lcov block.
- lcov 2.0 with branch data reports Qt's inline headers as a mismatched
  exception tag, and genhtml some lines as hit with no branch taken;
  both are ignored.

Measured as CI builds it (CONFIG+=coverage, Debian 13, lcov 2.0): 96.0%
of lines, 82.8% of branches; the gate passes at 90/80 and fails at
99/99.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Henk de Bot <henk@defoq.nl>

* coverage-gate.sh: tabs, as shfmt and .editorconfig want

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Henk de Bot <henk@defoq.nl>

---------

Signed-off-by: Henk de Bot <henk@defoq.nl>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

7984 of 9805 branches covered (81.43%)

11526 of 12182 relevant lines covered (94.62%)

29088.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 47114476296.1 03 Dec 2026 01:29PM UTC 88
94.62
GitHub Action Run
Source Files on build 47114476296
  • Tree
  • List 88
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47114476296
  • c2482550 on github
  • Prev Build on main (#47109729721)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc