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

IJHack / QtPass / 27478026925
57%

Build:
DEFAULT BRANCH: main
Ran 13 Jun 2026 08:26PM UTC
Jobs 1
Files 75
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 08:21PM UTC coverage: 55.613% (+0.04%) from 55.57%
27478026925

push

github

web-flow
refactor: extract template I/O into TemplateIO module (#1514) (#1525)

* refactor: extract template I/O into TemplateIO module (#1514)

Move Util::readTemplates / writeTemplates / getFolderTemplate into a
dedicated TemplateIO class (src/templateio.{h,cpp}), completing the Util
grab-bag split. Template handling (the .templates INI file and per-folder
.default_template lookup) is a self-contained concern used only by the
add-password flow in MainWindow.

- Verbatim move of all three impls.
- Update the two MainWindow callers to TemplateIO::.
- Retarget the readTemplates*/writeTemplates*/getFolderTemplate* cases in
  tst_util to TemplateIO.
- Drop now-dead includes from util.cpp (QSaveFile, QTextStream,
  QStringConverter, algorithm).
- Wire templateio.cpp/.h into src/src.pro.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix: build on Qt 5.15 and check store boundary before file read

- Include <QDebug> in templateio.cpp: qWarning() needs the complete QDebug
  type, which Qt 6 pulled in transitively but Qt 5.15 does not, breaking
  the CI build.
- getFolderTemplate: move the store-boundary check to the top of the loop
  so paths resolving outside the store are rejected before any
  .default_template file is opened. The store root and its descendants are
  still probed (root read, then loop stops); only out-of-store paths are
  short-circuited.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

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

61 of 63 new or added lines in 2 files covered. (96.83%)

3735 of 6716 relevant lines covered (55.61%)

36.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
24.76
0.07% src/mainwindow.cpp
Jobs
ID Job ID Ran Files Coverage
1 27478026925.1 13 Jun 2026 08:26PM UTC 75
55.61
GitHub Action Run
Source Files on build 27478026925
  • Tree
  • List 75
  • Changed 5
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27478026925
  • 1f4a6f89 on github
  • Prev Build on main (#27477250065)
  • Next Build on main (#27478339193)
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