简体   繁体   中英

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?

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM