saveourtool / diktat

Strict coding standard for Kotlin and a custom set of rules for detecting code smells, code style issues and bugs
https://diktat.saveourtool.com
MIT License
525 stars 39 forks source link

NPE in NewlinesRule.kt #1853

Closed diphtongue closed 9 months ago

diphtongue commented 9 months ago

What's done:

Closes #1779

codecov[bot] commented 9 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (65d5558) 78.45% compared to head (ff6f34a) 78.42%.

Files Patch % Lines
...iktat/ruleset/rules/chapter3/files/NewlinesRule.kt 57.14% 0 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1853 +/- ## ============================================ - Coverage 78.45% 78.42% -0.03% Complexity 2442 2442 ============================================ Files 133 133 Lines 8630 8632 +2 Branches 2176 2179 +3 ============================================ - Hits 6771 6770 -1 Misses 896 896 - Partials 963 966 +3 ```

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

github-actions[bot] commented 9 months ago

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

   164 files     164 suites   6m 10s :stopwatch: 1 409 tests 1 373 :heavy_check_mark: 36 :zzz: 0 :x: 2 788 runs  2 752 :heavy_check_mark: 36 :zzz: 0 :x:

Results for commit 550d4a43.

github-actions[bot] commented 9 months ago

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

   164 files     164 suites   7m 9s :stopwatch: 1 409 tests 1 392 :heavy_check_mark: 17 :zzz: 0 :x: 2 788 runs  2 771 :heavy_check_mark: 17 :zzz: 0 :x:

Results for commit 550d4a43.