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

Provide `fix logic` for @Preview functions #1728

Closed kgevorkyan closed 1 year ago

kgevorkyan commented 1 year ago

Closes https://github.com/saveourtool/diktat/issues/1322

What's done:

codecov[bot] commented 1 year ago

Codecov Report

Merging #1728 (3ed6314) into master (eb65634) will decrease coverage by 0.01%. The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #1728      +/-   ##
============================================
- Coverage     78.22%   78.21%   -0.01%     
- Complexity     2320     2324       +4     
============================================
  Files           126      126              
  Lines          8198     8223      +25     
  Branches       2065     2073       +8     
============================================
+ Hits           6413     6432      +19     
+ Misses          877      876       -1     
- Partials        908      915       +7     
Files Changed Coverage Δ
...at/ruleset/rules/chapter3/PreviewAnnotationRule.kt 79.36% <65.38%> (-2.22%) :arrow_down:
...m/saveourtool/diktat/ruleset/constants/Warnings.kt 97.48% <100.00%> (ø)
github-actions[bot] commented 1 year ago

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

   164 files  +1     164 suites  +1   5m 43s :stopwatch: - 1m 32s 1 377 tests +2  1 341 :heavy_check_mark: +2  36 :zzz: ±0  0 :x: ±0  2 756 runs  +2  2 720 :heavy_check_mark: +2  36 :zzz: ±0  0 :x: ±0 

Results for commit 9e9f38f3. ± Comparison against base commit eb656343.

github-actions[bot] commented 1 year ago

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

   164 files  +1     164 suites  +1   7m 2s :stopwatch: -52s 1 377 tests +2  1 360 :heavy_check_mark: +2  17 :zzz: ±0  0 :x: ±0  2 756 runs  +2  2 739 :heavy_check_mark: +2  17 :zzz: ±0  0 :x: ±0 

Results for commit 9e9f38f3. ± Comparison against base commit eb656343.