-
-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Output Reports code #2911
Conversation
as noted in #2869
Codecov Report
@@ Coverage Diff @@
## master #2911 +/- ##
=========================================
Coverage 80.15% 80.15%
Complexity 2429 2429
=========================================
Files 421 421
Lines 7384 7384
Branches 1354 1354
=========================================
Hits 5919 5919
Misses 764 764
Partials 701 701
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple of minor suggestions
@@ -3,6 +3,10 @@ package io.github.detekt.report.txt | |||
import io.gitlab.arturbosch.detekt.api.Detektion | |||
import io.gitlab.arturbosch.detekt.api.OutputReport | |||
|
|||
/** | |||
* Contains rule violations in a plain text report similar to a log file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Contains rule violations in a plain text report similar to a log file. | |
* Contains rule violations and metrics in a plain text report similar to a log file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This report only contains rule violations and no metrics. 😉
That's the reason for documenting the reports now.
@@ -6,7 +6,8 @@ import io.gitlab.arturbosch.detekt.api.OutputReport | |||
import io.gitlab.arturbosch.detekt.api.Severity | |||
|
|||
/** | |||
* Generates an XML report following the structure of a Checkstyle report. | |||
* Contains rule violations in an XML format. The report follows the structure of a Checkstyle report. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Contains rule violations in an XML format. The report follows the structure of a Checkstyle report. | |
* Contains rule violations and metrics in an XML format. The report follows the structure of a Checkstyle report. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This report only contains rule violations and no metrics. 😉
That's the reason for documenting the reports now.
as noted in #2869