简体   繁体   中英

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). We are going to plan to upgrade SonarQube server to 5.2 and use 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. Indeed duplicate blocks are not detected from the Sonar Eclipse Plugin while there are from SonarQube server.

Does SonarLint contain a fix for this issue?

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

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