Skip to content

Opening ZIM file via its file path instead of fileDescriptor if the u…

Codecov / codecov/project succeeded Apr 5, 2024 in 0s

52.43% (-0.59%) compared to 0e8de98

View this Pull Request on Codecov

52.43% (-0.59%) compared to 0e8de98

Details

Codecov Report

Attention: Patch coverage is 34.03361% with 157 lines in your changes are missing coverage. Please review.

Project coverage is 52.43%. Comparing base (0e8de98) to head (da051e0).

❗ Current head da051e0 differs from pull request most recent head bc1b46a. Consider uploading reports for the commit bc1b46a to get more accurate results

Files Patch % Lines
...g/kiwix/kiwixmobile/core/reader/ZimReaderSource.kt 29.78% 24 Missing and 9 partials ⚠️
...bile/nav/destination/reader/KiwixReaderFragment.kt 20.00% 12 Missing and 4 partials ⚠️
...rg/kiwix/kiwixmobile/core/utils/files/FileUtils.kt 0.00% 16 Missing ⚠️
...org/kiwix/kiwixmobile/core/reader/ZimFileReader.kt 39.13% 13 Missing and 1 partial ⚠️
.../kiwix/kiwixmobile/core/main/CoreReaderFragment.kt 31.25% 5 Missing and 6 partials ⚠️
.../java/org/kiwix/kiwixmobile/core/dao/NewBookDao.kt 18.18% 6 Missing and 3 partials ⚠️
.../org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt 0.00% 8 Missing ⚠️
...rg/kiwix/kiwixmobile/core/main/CoreMainActivity.kt 0.00% 7 Missing ⚠️
...r/fileselectView/effects/OpenFileWithNavigation.kt 0.00% 5 Missing ⚠️
.../java/org/kiwix/kiwixmobile/core/dao/HistoryDao.kt 37.50% 5 Missing ⚠️
... and 18 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3624      +/-   ##
============================================
- Coverage     53.02%   52.43%   -0.59%     
+ Complexity     1302     1260      -42     
============================================
  Files           292      292              
  Lines         10992    11026      +34     
  Branches       1458     1476      +18     
============================================
- Hits           5828     5782      -46     
- Misses         4196     4271      +75     
- Partials        968      973       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.