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

IJHack / QtPass / 27723172503
55%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 10:19PM UTC
Jobs 1
Files 80
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

17 Jun 2026 10:14PM UTC coverage: 55.052% (-0.07%) from 55.118%
27723172503

push

github

web-flow
refactor(#1511): fold QtPass::init() fresh-install writes into AppSettings (#1566)

* refactor(#1511): fold QtPass::init() fresh-install writes into AppSettings (#1566)

The version.isEmpty() block in QtPass::init() already held a snapshot
(const AppSettings s) then wrote four fields back via individual setters.
Convert it to modify the snapshot in-place and call save() once; convert
the else branch to read s.passTemplate directly instead of via the getter.
Delete all five now-dead wrappers: setAutoclearSeconds,
setAutoclearPanelSeconds, setUsePwgen, getPassTemplate, setPassTemplate.

Update test callers:
- tst_settings.cpp: remove void (*setter)(const int &) from IntSetting
  struct and intSettings[] entries; update intRoundTrip() to use the
  load → modify field → save pattern (matching the bool/string round-trip
  tests from PR #1563)
- tst_util.cpp: replace two SettingGuard<bool, setUsePwgen> usages with
  inline RestoreUsePwgen RAII structs + explicit load→modify→save writes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* refactor(tests): replace duplicated RestoreUsePwgen with AppSettingsGuard<T,Field>

The two RestoreUsePwgen structs in generateRandomPassword and boundedRandom
were verbatim copies. Add AppSettingsGuard<T, T AppSettings::*Field> alongside
the existing SettingGuard<T, Setter> in tst_util's class body, then reduce
each block to a single declaration line — the same style as the old
SettingGuard usage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

2 of 12 new or added lines in 1 file covered. (16.67%)

3 existing lines in 2 files now uncovered.

3672 of 6670 relevant lines covered (55.05%)

29.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
36.68
0.21% src/qtpass.cpp

Coverage Regressions

Lines Coverage ∆ File
2
86.47
0.3% src/qtpasssettings.cpp
1
36.68
0.21% src/qtpass.cpp
Jobs
ID Job ID Ran Files Coverage
1 27723172503.1 17 Jun 2026 10:19PM UTC 80
55.05
GitHub Action Run
Source Files on build 27723172503
  • Tree
  • List 80
  • Changed 5
  • Source Changed 5
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27723172503
  • 1df7bdfc on github
  • Prev Build on main (#27721961015)
  • Next Build on main (#27723989624)
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