Skip to content

Reduce code smells

Codecov / codecov/patch succeeded Feb 14, 2024 in 0s

49.53% of diff hit (target 43.66%)

View this Pull Request on Codecov

49.53% of diff hit (target 43.66%)

Annotations

Check warning on line 52 in src/main/kotlin/fr/shikkanime/Application.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/Application.kt#L52

Added line #L52 was not covered by tests

Check warning on line 141 in src/main/kotlin/fr/shikkanime/controllers/site/SiteController.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/controllers/site/SiteController.kt#L141

Added line #L141 was not covered by tests

Check warning on line 40 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 60 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L58-L60

Added lines #L58 - L60 were not covered by tests

Check warning on line 62 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L62

Added line #L62 was not covered by tests

Check warning on line 69 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L66-L69

Added lines #L66 - L69 were not covered by tests

Check warning on line 71 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L71

Added line #L71 was not covered by tests

Check warning on line 112 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L112

Added line #L112 was not covered by tests

Check warning on line 120 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L120

Added line #L120 was not covered by tests

Check warning on line 122 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L122

Added line #L122 was not covered by tests

Check warning on line 128 in src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/jobs/FetchDeprecatedEpisodeJob.kt#L128

Added line #L128 was not covered by tests

Check warning on line 4 in src/main/kotlin/fr/shikkanime/platforms/configuration/AnimationDigitalNetworkConfiguration.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/platforms/configuration/AnimationDigitalNetworkConfiguration.kt#L4

Added line #L4 was not covered by tests

Check warning on line 8 in src/main/kotlin/fr/shikkanime/platforms/configuration/CrunchyrollConfiguration.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/platforms/configuration/CrunchyrollConfiguration.kt#L8

Added line #L8 was not covered by tests

Check warning on line 41 in src/main/kotlin/fr/shikkanime/platforms/configuration/DisneyPlusConfiguration.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/platforms/configuration/DisneyPlusConfiguration.kt#L41

Added line #L41 was not covered by tests

Check warning on line 58 in src/main/kotlin/fr/shikkanime/platforms/configuration/NetflixConfiguration.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/platforms/configuration/NetflixConfiguration.kt#L58

Added line #L58 was not covered by tests

Check warning on line 44 in src/main/kotlin/fr/shikkanime/platforms/configuration/PlatformConfiguration.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/platforms/configuration/PlatformConfiguration.kt#L44

Added line #L44 was not covered by tests

Check warning on line 46 in src/main/kotlin/fr/shikkanime/plugins/HTTP.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/plugins/HTTP.kt#L46

Added line #L46 was not covered by tests

Check warning on line 140 in src/main/kotlin/fr/shikkanime/repositories/EpisodeRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/repositories/EpisodeRepository.kt#L137-L140

Added lines #L137 - L140 were not covered by tests

Check warning on line 143 in src/main/kotlin/fr/shikkanime/repositories/EpisodeRepository.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/repositories/EpisodeRepository.kt#L143

Added line #L143 was not covered by tests

Check warning on line 81 in src/main/kotlin/fr/shikkanime/utils/routes/Response.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/utils/routes/Response.kt#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 38 in src/main/kotlin/fr/shikkanime/wrappers/AnimationDigitalNetworkWrapper.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/wrappers/AnimationDigitalNetworkWrapper.kt#L38

Added line #L38 was not covered by tests

Check warning on line 42 in src/main/kotlin/fr/shikkanime/wrappers/AnimationDigitalNetworkWrapper.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/kotlin/fr/shikkanime/wrappers/AnimationDigitalNetworkWrapper.kt#L42

Added line #L42 was not covered by tests