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

IJHack / QtPass / 27502986312
57%

Build:
DEFAULT BRANCH: main
Ran 14 Jun 2026 03:16PM 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

14 Jun 2026 03:11PM UTC coverage: 57.473% (+0.04%) from 57.43%
27502986312

push

github

web-flow
refactor: move tree-root mapping into StoreModel::rootIndexFor (#1512) (#1537)

* refactor: move tree-root mapping into StoreModel::rootIndexFor (#1512)

Final slice of the MainWindow decomposition (#1512), the tree-model
boundary fix. The 'mapFromSource(model.setRootPath(path))' incantation to
point the tree view at a directory was repeated at six sites in MainWindow,
reaching through the proxy into the wrapped QFileSystemModel.

Add StoreModel::rootIndexFor(path) which performs that mapping internally
(returning an invalid index when no source model is set) and replace the six
call sites. The one-time setup in the constructor keeps its inline form
because it reuses the source root index for fetchMore before the proxy is
wired.

Adds two tst_storemodel cases (null source model, delegation equivalence).
make check green (model 38, mainwindow 14); doxygen and reuse clean.

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

* fix: normalize path in rootIndexFor + QVERIFY2 in test (#1512)

- StoreModel::rootIndexFor now QDir::cleanPath()-normalizes the path before
  setRootPath(), per the cross-platform path-handling guideline.
- tst_storemodel: use QVERIFY2 with a message for the tempDir precondition
  and match the helper's cleanPath() contract in the manual-mapping compare.

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

---------

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

3 of 12 new or added lines in 2 files covered. (25.0%)

1 existing line in 1 file now uncovered.

3980 of 6925 relevant lines covered (57.47%)

36.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
27.97
0.09% src/mainwindow.cpp

Coverage Regressions

Lines Coverage ∆ File
1
27.97
0.09% src/mainwindow.cpp
Jobs
ID Job ID Ran Files Coverage
1 27502986312.1 14 Jun 2026 03:16PM UTC 80
57.47
GitHub Action Run
Source Files on build 27502986312
  • 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 #27502986312
  • 43a7490e on github
  • Prev Build on main (#27501799111)
  • Next Build on main (#27505241535)
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