detekt / detekt

Static code analysis for Kotlin
https://detekt.dev
Apache License 2.0
6.07k stars 751 forks source link

Simplify MissingPackageDeclaration implementation #7205

Closed 3flex closed 3 weeks ago

detekt-ci commented 4 weeks ago
Warnings
:warning: It looks like this PR contains functional changes without a corresponding test.
:warning: This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

Generated by :no_entry_sign: dangerJS against 7fa4812649f19212cfb311058f709a34f874ac2f

codecov[bot] commented 4 weeks ago

Codecov Report

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

Project coverage is 84.70%. Comparing base (eae6ba7) to head (7fa4812).

Files Patch % Lines
...sch/detekt/rules/bugs/MissingPackageDeclaration.kt 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7205 +/- ## ============================================ - Coverage 84.70% 84.70% -0.01% + Complexity 3984 3983 -1 ============================================ Files 579 579 Lines 12156 12153 -3 Branches 2495 2494 -1 ============================================ - Hits 10297 10294 -3 Misses 625 625 Partials 1234 1234 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.