seekM opened a new issue, #173:
URL: https://github.com/apache/maven-checkstyle-plugin/issues/173

   ### New feature, improvement proposal
   
   Please consider the following Checkstyle report created with `mvn:site`:
   
   
![Image](https://github.com/user-attachments/assets/4290fb03-6862-4f30-8f05-c66428cd59f0)
   
   As can be seen, the "Files", "Rules" and "Details" sections are empty, yet 
their headings and partially the tables are still displayed.
   
   Would it be possible to introduce a new optional parameter (or maybe even 
make this behaviour the default) which hides a section if it is empty?
   
   Reasons:
   - In my opinon having these empty sections there doesn't add additional 
information.
   - Personally, I don't think this looks pleasant to the eye.
   - While one might argues that having these sections there all the times 
might be good for consistency reasons, for someone who is not familar with 
Checkstyle reports (or maybe Maven reports in general) this might be confusing. 
One might wonder what these empty sections mean - for example, seeing this for 
first time, I was wondering if the Checkstyle plugin maybe was not configured 
correctly (I was wondering if maybe the checked (yet correct) files should be 
listed under "Files" or if maybe the used rules to check those files should be 
displayed at "Rules".
   
   I couldn't find such a parameter for the [`checkstyle:checkstyle` 
goal](https://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html#enableFilesSummary).
 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to