java - 如何在 Sonarqube 中导入 findbugs/PMD

标签 java sonarqube findbugs sonar-runner pmd

如何在 sonarQube 中导入 FindBugs/PMD(XML 格式)的配置文件?我知道方法,但是在哪里可以找到要导入的 XML 文件?

最佳答案

这里是SonarQube及其集成的说明

The SonarQube Java plugin alone already covers all the Checkstyle and PMD rules - which is why the related plugins are no more bundled in SonarQube. So you can get rid of those plugins and forget the related rules.

Concerning Findbugs, most rules are complementary to the SonarQube Java plugin rules. There's no "Sonar way with Findbugs" profile anymore because that's the convention for all the language plugin to have only a "Sonar way" profile.

欲了解更多信息,您可以引用原帖: SonarQube - Combining Sonar way, FindBugs, PMD and Checkstyle without duplicates

关于java - 如何在 Sonarqube 中导入 findbugs/PMD,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31963772/

相关文章:

java - 使用 'extract' 方法迭代地从最小堆中删除最小元素并复制到指定的 arrayList 作为获取排序列表的方法

command-line - 如何使用 SonarQube 服务器上的质量配置文件从命令行本地运行代码分析?

java - int 值转换为 float,然后传递给 Math.round

java - setDaemon(false) 是多余的吗?

Java JSONObject.getJSONArray 始终返回 null

java - 什么时候在 java 中使用 linkedhashmap 而不是 hashmap?

sonarqube - 尝试将 Sonar 日志级别设置为 INFO

java - Eclipse Sonar Lint 默认配置文件

arrays - 在数组上调用 toString - FindBugs

java - 如何在多次运行中安静 FindBugs