Skip to content
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

Merged
merged 1 commit into from
Jul 31, 2020
Merged

Document Output Reports code #2911

merged 1 commit into from
Jul 31, 2020

Conversation

schalkms
Copy link
Member

as noted in #2869

@codecov
Copy link

codecov bot commented Jul 31, 2020

Codecov Report

Merging #2911 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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           
Impacted Files Coverage Δ Complexity Δ
...n/io/github/detekt/report/html/HtmlOutputReport.kt 96.05% <ø> (ø) 20.00 <0.00> (ø)
...lin/io/github/detekt/report/txt/TxtOutputReport.kt 100.00% <ø> (ø) 4.00 <0.00> (ø)
...lin/io/github/detekt/report/xml/XmlOutputReport.kt 100.00% <ø> (ø) 9.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 539a010...ac407d7. Read the comment docs.

Copy link
Member

@cortinico cortinico left a 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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* 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.

Copy link
Member Author

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* 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.

Copy link
Member Author

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.

@schalkms schalkms merged commit a9fd6f5 into detekt:master Jul 31, 2020
@arturbosch arturbosch added this to the 1.10.1 milestone Aug 1, 2020
@schalkms schalkms deleted the #2869-2 branch September 27, 2020 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants