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

MewX / light-novel-library_Wenku8_Android / 32631254437
36%
master: 36%

Build:
Build:
LAST BUILD BRANCH: v1.31
DEFAULT BRANCH: master
Ran 23 Aug 2026 09:35AM UTC
Jobs 2
Files 73
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

23 Aug 2026 09:31AM UTC coverage: 35.978% (+0.07%) from 35.91%
32631254437

push

github

MewX
Covering the migration flag and the per-file copy, and correcting two comments

The flow that touches all of a user's data on upgrade had two tests, both about
the shape of a path string. SaveFileMigrationFlowTest adds eleven over the parts
that decide whether it works: the completion flag lifecycle -- mark, revert, mark
twice, revert when unset, and that it is a real file on disk -- and the per-file
copy, covering content fidelity, relative path preservation under the root,
folder creation, an empty file surviving as empty, and a missing source not
leaving something that reads as migrated, which is how MainActivity counts a
failure.

The flag is the dangerous thing to test and every case restores it.
.migration_completed feeds StorageRoots.setInternalOnly through loadAllSetting,
so a test that left it flipped would change which directory the whole app reads
and writes, for the rest of the process and the next launch too, since it is on
disk. Verified by checking the flag is present before and after a full run.

generateMigrationPlan's override branch is left uncovered on purpose: it resolves
through DocumentFile.fromTreeUri, which needs a real Storage Access Framework
tree Uri granted by the user, and a file Uri would exercise something else. The
gap is named in the class and in the plan rather than papered over.

Also corrects a comment that was simply wrong. ReadSaves and ReadSavesV1 both
carried // deprecated. Neither is: they are the two readers' position formats,
one a pixel scroll offset keyed by cid for the vertical reader, the other a line
and word index keyed by aid for the paged reader, and neither converts into the
other. Anyone reading the class would have concluded one replaced the other.

Step 3 marked deferred by decision until the backend migration is scheduled,
since it is that work's prerequisite and buys nothing before it.

Full suite of 195 passes, with the save folder byte-identical before and after.

Co-Authored-By: Claude <nore... (continued)

926 of 3240 branches covered (28.58%)

Branch coverage included in aggregate %.

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

10 existing lines in 2 files now uncovered.

2779 of 7058 relevant lines covered (39.37%)

1.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
75.64
-10.26% studio-android/LightNovelLibrary/app/src/main/java/org/mewx/wenku8/util/ProgressDialogHelper.java
2
51.0
-1.61% studio-android/LightNovelLibrary/app/src/main/java/org/mewx/wenku8/activity/VerticalReaderActivity.java
Jobs
ID Job ID Ran Files Coverage
1 instrumented - 32631254437.1 23 Aug 2026 09:39AM UTC 73
27.53
GitHub Action Run
2 jvm - 32631254437.2 23 Aug 2026 09:35AM UTC 73
12.44
GitHub Action Run
Source Files on build 32631254437
  • Tree
  • List 73
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32631254437
  • 89093ec1 on github
  • Prev Build on v1.30 (#32630501149)
  • Next Build on v1.30 (#32631455368)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc