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 PreviewAnnotationRule #1740

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 #1740 (0083d1c) into master (11ea0aa) will increase coverage by 0.23%. The diff coverage is 85.71%.

@@             Coverage Diff              @@
##             master    #1740      +/-   ##
============================================
+ Coverage     74.76%   75.00%   +0.23%     
- Complexity     2270     2274       +4     
============================================
  Files           126      126              
  Lines          8230     8233       +3     
  Branches       2072     2066       -6     
============================================
+ Hits           6153     6175      +22     
+ Misses         1163     1142      -21     
- Partials        914      916       +2     
Files Changed Coverage Δ
...at/ruleset/rules/chapter3/PreviewAnnotationRule.kt 87.87% <85.71%> (+30.73%) :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   6m 40s :stopwatch: + 1m 55s 1 377 tests ±0  1 309 :heavy_check_mark: +1  68 :zzz:  - 1  0 :x: ±0  2 756 runs  ±0  2 687 :heavy_check_mark: +1  69 :zzz:  - 1  0 :x: ±0 

Results for commit 0083d1ca. ± Comparison against base commit 11ea0aad.

github-actions[bot] commented 11 months ago

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

   164 files  ±0     164 suites  ±0   7m 51s :stopwatch: - 1m 30s 1 377 tests ±0  1 321 :heavy_check_mark: +1  56 :zzz:  - 1  0 :x: ±0  2 756 runs  ±0  2 699 :heavy_check_mark: +1  57 :zzz:  - 1  0 :x: ±0 

Results for commit 0083d1ca. ± Comparison against base commit 11ea0aad.