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

IJHack / QtPass / 27717964794
55%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 08:39PM 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 08:33PM UTC coverage: 56.049% (-1.0%) from 57.077%
27717964794

push

github

web-flow
refactor(#1511): delete 30 dead getter wrappers from QtPassSettings (#1562)

* refactor(#1511): delete 30 dead getter wrappers from QtPassSettings (#1562)

Replace getter function-pointers in tst_settings with pointer-to-data-member
(`bool/int/QString AppSettings::*field`) so round-trip tests use
`QtPassSettings::load().*s.field` instead of calling the getter directly.
This makes 30 bool/int/string/enum getters dead; delete them from both the
header declaration and the .cpp implementation.

Also refactors `initExecutables()` to use an AppSettings snapshot (4-field
multi-read site), replacing the now-deleted `getGitExecutable()` and
`getGpgExecutable()` calls there and in two test helpers.

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

* fix: address PR review findings for refactor/delete-dead-getters

- Manually wrap 6 boolSettings/stringSettings entries that exceed 80 chars
  (clang-format version skew between local v19 and CI); CI enforces wrapping
- Consolidate double QtPassSettings::load() in tst_mainwindow initTestCase()
  into a single snapshot (reads usePass and gpgExecutable)
- Restore "got %3" in boolRoundTrip QVERIFY2 message for clearer failure output

Skipped: gpg→gpg2 fallback (original code had none; YAGNI), std::array
modernize suggestion (scope creep), QCOMPARE→QVERIFY2 (QCOMPARE already
prints both values on failure, so QVERIFY2 would be inferior here).

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

---------

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

9 of 9 new or added lines in 1 file covered. (100.0%)

20 existing lines in 1 file now uncovered.

3827 of 6828 relevant lines covered (56.05%)

24.6 hits per line

Coverage Regressions

Lines Coverage ∆ File
20
90.42
-5.73% src/qtpasssettings.cpp
Jobs
ID Job ID Ran Files Coverage
1 27717964794.1 17 Jun 2026 08:39PM UTC 80
56.05
GitHub Action Run
Source Files on build 27717964794
  • 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 #27717964794
  • 10f188c2 on github
  • Prev Build on main (#27715113697)
  • Next Build on main (#27720487634)
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