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

Fixed BracesInConditionalsAndLoopsRule #1745

Closed nulls closed 11 months ago

nulls commented 11 months ago

What's done:

It's part of #1737

codecov[bot] commented 11 months ago

Codecov Report

Merging #1745 (990e609) into master (eb6ef05) will increase coverage by 0.49%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1745      +/-   ##
============================================
+ Coverage     76.02%   76.51%   +0.49%     
- Complexity     2281     2291      +10     
============================================
  Files           126      126              
  Lines          8242     8258      +16     
  Branches       2069     2070       +1     
============================================
+ Hits           6266     6319      +53     
+ Misses         1060     1027      -33     
+ Partials        916      912       -4     
Files Changed Coverage Δ
...rules/chapter3/BracesInConditionalsAndLoopsRule.kt 93.33% <100.00%> (+36.60%) :arrow_up:
github-actions[bot] commented 11 months ago

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

   164 files  ±0     164 suites  ±0   5m 33s :stopwatch: -18s 1 378 tests ±0  1 319 :heavy_check_mark: +2  59 :zzz:  - 2  0 :x: ±0  2 757 runs  ±0  2 697 :heavy_check_mark: +2  60 :zzz:  - 2  0 :x: ±0 

Results for commit 990e609b. ± Comparison against base commit eb6ef055.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 11 months ago

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

   164 files  ±0     164 suites  ±0   6m 58s :stopwatch: + 1m 4s 1 378 tests ±0  1 331 :heavy_check_mark: +2  47 :zzz:  - 2  0 :x: ±0  2 757 runs  ±0  2 709 :heavy_check_mark: +2  48 :zzz:  - 2  0 :x: ±0 

Results for commit 990e609b. ± Comparison against base commit eb6ef055.

:recycle: This comment has been updated with latest results.