Gauranga Rathod
Gauranga Rathod

Reputation: 348

Static code analysis for Grails/groovy project

If I use sonarqube as static code analysis tool for grails project after installing groovy plugin in sonar, then does it also internally use codenarc or do i have to use codenarc analysis of project separately using codenarc plugin in grails?

Basically, is sonarqube sufficient for static code analysis or should i also use codenarc?

Upvotes: 1

Views: 3111

Answers (2)

Nicolas Vuillamy
Nicolas Vuillamy

Reputation: 690

If you need to also format & fix your groovy files, you can use :

Upvotes: 0

benzonico
benzonico

Reputation: 10833

Sonar groovy plugin relies on codenarc to do its analysis. So using SonarQube or Codenarc is just a matter of how you want your results to be displayed and/or if you want to share tracking of issues in your code with your team. In the end, you should have the same results but SonarQube will bring you more functionality to track issues.

Upvotes: 3

Related Questions