Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reports from PMD, checkstyle, findbugs

I have a few modules(projects and subprojects) in my application (in Gradle) and i have added plugins: PMD, checkstyle, findbugs. Those plugins create their own reports in their directory (for example: PMD makes directory "PMD" in directory "reports" and put there report). I would like to have a one report for all those plugins. It is possible to do that? And if yes, how do that?

like image 479
krolik1991 Avatar asked Sep 30 '22 20:09

krolik1991


2 Answers

You can't simply configure them to create a shared report together. However, you can use for this purpose either SonarQube or QualityGate. Both tools can execute the above mentioned plugins and they can generate a summarized report as you required.

like image 158
Csuki Avatar answered Oct 03 '22 01:10

Csuki


You probably want take a look at SonarQube. It basically gathers reports of mentioned tools and shows them via nice web app. It can also gather test coverage reports and is free.

Not sure how it can be integrated with Gradle, but we have it integrated with Jenkins. There is also Eclipse plugin I used.

QualityGate (that was mentioned by Csuki) is paid solution.

like image 26
luboskrnac Avatar answered Oct 03 '22 01:10

luboskrnac