简体   繁体   English

从Sonar Eclipse插件未检测到重复的块

[英]duplicated blocks are not detected from Sonar Eclipse Plugin

We are currently using SonarQube server (version 5.1.1) and the Sonar Eclipse Plugin (version 3.5). 我们目前正在使用SonarQube服务器(版本5.1.1)和Sonar Eclipse插件(版本3.5)。 We are going to plan to upgrade SonarQube server to 5.2 and use SonarLint. 我们计划将SonarQube服务器升级到5.2,并使用SonarLint。

Regarding the rule "Source files should not have any duplicated blocks" (common-java:DuplicatedBlocks), we have seen a difference of behaviour between analysis results from SonarQube server and Sonar Eclipse Plugin. 关于“源文件不应有任何重复的块”(common-java:DuplicatedBlocks)规则,我们已经看到SonarQube服务器和Sonar Eclipse插件的分析结果在行为上存在差异。 Indeed duplicate blocks are not detected from the Sonar Eclipse Plugin while there are from SonarQube server. 实际上,SonarQube服务器中没有从Sonar Eclipse插件中检测到重复的块。

Does SonarLint contain a fix for this issue? SonarLint是否包含针对此问题的修复程序?

用于Eclipse的SonarQube和用于Eclipse的SonarLint不提供有关重复项或代码覆盖率的反馈。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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