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

Supported multiple reporters in maven #1824

Closed nulls closed 8 months ago

nulls commented 8 months ago

What's done:

Now maven plugin supports configuration like:

<reporters>
    <plain/>
    <gitHubActions/>
    <json>
        <output>${project.build.directory}/json-report/report.json</output>
    </json>
</reporters>

It closes #1818

codecov[bot] commented 8 months ago

Codecov Report

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

Comparison is base (2030a14) 78.64% compared to head (f259d5d) 78.27%.

Files Patch % Lines
...l/diktat/plugin/maven/reporters/DefaultReporter.kt 0.00% 20 Missing :warning:
...ourtool/diktat/plugin/maven/reporters/Reporters.kt 0.00% 15 Missing :warning:
.../saveourtool/diktat/plugin/maven/DiktatBaseMojo.kt 0.00% 9 Missing :warning:
...at/plugin/maven/reporters/GitHubActionsReporter.kt 0.00% 7 Missing :warning:
.../diktat/plugin/gradle/extension/DefaultReporter.kt 0.00% 5 Missing :warning:
...otlin/com/saveourtool/diktat/plugin/maven/Utils.kt 0.00% 5 Missing :warning:
...eourtool/diktat/plugin/maven/reporters/Reporter.kt 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1824 +/- ## ============================================ - Coverage 78.64% 78.27% -0.38% Complexity 2432 2432 ============================================ Files 126 131 +5 Lines 8562 8603 +41 Branches 2171 2173 +2 ============================================ Hits 6734 6734 - Misses 862 903 +41 Partials 966 966 ```

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

github-actions[bot] commented 8 months ago

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

   164 files  ±0     164 suites  ±0   10m 10s :stopwatch: + 4m 8s 1 399 tests ±0  1 363 :heavy_check_mark: ±0  36 :zzz: ±0  0 :x: ±0  2 778 runs  ±0  2 742 :heavy_check_mark: ±0  36 :zzz: ±0  0 :x: ±0 

Results for commit e857f3d5. ± Comparison against base commit 2030a148.

github-actions[bot] commented 8 months ago

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

   164 files  ±0     164 suites  ±0   7m 23s :stopwatch: +8s 1 399 tests ±0  1 382 :heavy_check_mark: ±0  17 :zzz: ±0  0 :x: ±0  2 778 runs  ±0  2 761 :heavy_check_mark: ±0  17 :zzz: ±0  0 :x: ±0 

Results for commit f259d5d4. ± Comparison against base commit 2030a148.

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