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

IJHack / QtPass / 27482393673
57%

Build:
DEFAULT BRANCH: main
Ran 13 Jun 2026 11:41PM UTC
Jobs 1
Files 77
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

13 Jun 2026 11:34PM UTC coverage: 56.425% (+0.05%) from 56.38%
27482393673

push

github

web-flow
refactor: extract Pass backend lifecycle into PassBackendFactory (#1513) (#1530)

Item 4 of #1513. QtPassSettings owned the active-backend dispatcher: the
static Pass*/RealPass/ImitatePass instances, getPass()/getRealPass()/
getImitatePass(), and the setUsePass() side-effect that reset the cached
backend. That is backend lifecycle, not settings storage.

Move all of it into a dedicated PassBackendFactory (src/passbackendfactory
.{h,cpp}):
- owns the three static instances and lazy construction,
- getPass() selects RealPass/ImitatePass from QtPassSettings::isUsePass()
  and initialises it once,
- invalidate() drops the active backend so the next getPass() re-selects.

QtPassSettings::getPass()/getRealPass()/getImitatePass() are now thin
forwarders (callers unchanged), and setUsePass() calls
PassBackendFactory::invalidate() instead of poking a private pointer. This
also removes the implicit coupling ConfigDialog had to work around in the
AppSettings migration (#1511 stage 2).

No behavioural change. make check green; doxygen and reuse clean.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

20 of 21 new or added lines in 2 files covered. (95.24%)

3873 of 6864 relevant lines covered (56.42%)

35.94 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.12
src/passbackendfactory.cpp
Jobs
ID Job ID Ran Files Coverage
1 27482393673.1 13 Jun 2026 11:41PM UTC 77
56.42
GitHub Action Run
Source Files on build 27482393673
  • Tree
  • List 77
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27482393673
  • 8d838516 on github
  • Prev Build on main (#27482110402)
  • Next Build on main (#27501799111)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc