detekt / detekt

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

MultilineLambdaItParameter: fix false negative with single statement on multiple lines #7221

Closed t-kameyama closed 3 weeks ago

t-kameyama commented 3 weeks ago

Fixes #7148

codecov[bot] commented 3 weeks ago

Codecov Report

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

Project coverage is 84.69%. Comparing base (4622d37) to head (0e968da). Report is 25 commits behind head on main.

Files Patch % Lines
...h/detekt/rules/style/MultilineLambdaItParameter.kt 76.92% 1 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7221 +/- ## ============================================ - Coverage 84.71% 84.69% -0.03% - Complexity 3975 3981 +6 ============================================ Files 576 578 +2 Lines 12140 12151 +11 Branches 2497 2493 -4 ============================================ + Hits 10285 10291 +6 - Misses 621 626 +5 Partials 1234 1234 ```

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