Is SonarQube Replacement for Checkstyle, PMD, Find

2019-03-07 13:19发布

We are working on a web project from scratch and are looking at the following static code analysis tools.

  • Conventions (Checkstyle)
  • Bad practices (PMD)
  • Potential bugs (FindBugs)

The project is built on Maven. Instead of using multiple tools for the purpose, I was looking at a single flexible solution and came across SonarQube.

Is it true that we can achieve the results from Checkstyle, PMD and Findbugs with SonarQube?

8条回答
老娘就宠你
2楼-- · 2019-03-07 13:53

Sonar uses these 3 tools as plugins and aggregates the data from all three giving addition value by showing graphs and such from these tools. So they are complementary to sonar.

查看更多
再贱就再见
3楼-- · 2019-03-07 13:55

Well at least since SonarQube 6.3+ it seems to be that Findbugs is (at the moment) no longer supported as a plugin. Sonarsource is working on replacements of Findbugs-rules with its own Java-plugin.

They even have a list for the replacement status of each rule here: http://dist.sonarsource.com/reports/coverage/findbugs.html

查看更多
登录 后发表回答