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
544 stars 39 forks source link

Fixed CommentsFormatting for else blocks #1743

Closed nulls closed 1 year ago

nulls commented 1 year ago

What's done:

It's part of #1737

codecov[bot] commented 1 year ago

Codecov Report

Merging #1743 (2d03fa2) into master (05e7aa4) will increase coverage by 0.44%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1743      +/-   ##
============================================
+ Coverage     75.49%   75.94%   +0.44%     
- Complexity     2277     2282       +5     
============================================
  Files           126      126              
  Lines          8236     8234       -2     
  Branches       2068     2068              
============================================
+ Hits           6218     6253      +35     
+ Misses         1103     1063      -40     
- Partials        915      918       +3     
Files Changed Coverage Δ
.../ruleset/rules/chapter2/kdoc/CommentsFormatting.kt 71.00% <100.00%> (+18.02%) :arrow_up:
github-actions[bot] commented 1 year ago

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

   164 files     164 suites   6m 25s :stopwatch: 1 378 tests 1 314 :heavy_check_mark: 64 :zzz: 0 :x: 2 757 runs  2 692 :heavy_check_mark: 65 :zzz: 0 :x:

Results for commit 2d03fa2c.

github-actions[bot] commented 1 year ago

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

   164 files  ±0     164 suites  ±0   5m 47s :stopwatch: -46s 1 378 tests ±0  1 326 :heavy_check_mark: +1  52 :zzz:  - 1  0 :x: ±0  2 757 runs  ±0  2 704 :heavy_check_mark: +1  53 :zzz:  - 1  0 :x: ±0 

Results for commit 2d03fa2c. ± Comparison against base commit 05e7aa4e.