Skip to content

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

Codecov / codecov/patch failed Apr 5, 2024 in 0s

34.03% of diff hit (target 70.00%)

View this Pull Request on Codecov

34.03% of diff hit (target 70.00%)

Annotations

Check warning on line 202 in app/src/main/java/org/kiwix/kiwixmobile/main/KiwixMainActivity.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/main/KiwixMainActivity.kt#L202

Added line #L202 was not covered by tests

Check warning on line 400 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/library/LocalLibraryFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/library/LocalLibraryFragment.kt#L400

Added line #L400 was not covered by tests

Check warning on line 402 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/library/LocalLibraryFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/library/LocalLibraryFragment.kt#L402

Added line #L402 was not covered by tests

Check warning on line 299 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L299

Added line #L299 was not covered by tests

Check warning on line 301 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L301

Added line #L301 was not covered by tests

Check warning on line 304 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L304

Added line #L304 was not covered by tests

Check warning on line 307 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L307

Added line #L307 was not covered by tests

Check warning on line 311 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L310-L311

Added lines #L310 - L311 were not covered by tests

Check warning on line 314 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L314

Added line #L314 was not covered by tests

Check warning on line 316 in app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/nav/destination/reader/KiwixReaderFragment.kt#L316

Added line #L316 was not covered by tests

Check warning on line 63 in app/src/main/java/org/kiwix/kiwixmobile/zimManager/fileselectView/effects/DeleteFiles.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/zimManager/fileselectView/effects/DeleteFiles.kt#L63

Added line #L63 was not covered by tests

Check warning on line 33 in app/src/main/java/org/kiwix/kiwixmobile/zimManager/fileselectView/effects/OpenFileWithNavigation.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/zimManager/fileselectView/effects/OpenFileWithNavigation.kt#L33

Added line #L33 was not covered by tests

Check warning on line 40 in app/src/main/java/org/kiwix/kiwixmobile/zimManager/fileselectView/effects/OpenFileWithNavigation.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/src/main/java/org/kiwix/kiwixmobile/zimManager/fileselectView/effects/OpenFileWithNavigation.kt#L38-L40

Added lines #L38 - L40 were not covered by tests

Check warning on line 43 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/HistoryDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/HistoryDao.kt#L42-L43

Added lines #L42 - L43 were not covered by tests

Check warning on line 45 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/HistoryDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/HistoryDao.kt#L45

Added line #L45 was not covered by tests

Check warning on line 86 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookDao.kt#L82-L86

Added lines #L82 - L86 were not covered by tests

Check warning on line 102 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookDao.kt#L102

Added line #L102 was not covered by tests

Check warning on line 39 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt#L38-L39

Added lines #L38 - L39 were not covered by tests

Check warning on line 44 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 46 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt#L46

Added line #L46 was not covered by tests

Check warning on line 48 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewBookmarksDao.kt#L48

Added line #L48 was not covered by tests

Check warning on line 43 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewNoteDao.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/NewNoteDao.kt#L42-L43

Added lines #L42 - L43 were not covered by tests

Check warning on line 43 in core/src/main/java/org/kiwix/kiwixmobile/core/dao/entities/BookmarkEntity.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/dao/entities/BookmarkEntity.kt#L42-L43

Added lines #L42 - L43 were not covered by tests

Check warning on line 352 in core/src/main/java/org/kiwix/kiwixmobile/core/main/CoreMainActivity.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/main/CoreMainActivity.kt#L352

Added line #L352 was not covered by tests

Check warning on line 355 in core/src/main/java/org/kiwix/kiwixmobile/core/main/CoreMainActivity.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/src/main/java/org/kiwix/kiwixmobile/core/main/CoreMainActivity.kt#L354-L355

Added lines #L354 - L355 were not covered by tests