简体   繁体   中英

Some corrected issues persist on SonarQube?

We're using sonar-runner-2.4 and sonarqube-5.1.2 on a C# .Net 4.5.2 solution.

Very usefull products, by the way :)

We had a bit of trouble with this;

https://jira.sonarsource.com/browse/SONAR-6792

Because Sonar tried to decorate issues beyond the file limit. It seems to be a fix. We've got simple workarounds (once we know on which file the decorators fail) for that and waiting for the fix.

Now, there's this problem which we think is related to SONAR-6792 (to be confirmed).

We have several cases where code issues are detected although they are already corected. It's like the analysis is being done on some old code view or issues are decorated on wrong lines. Here's one of the examples :

Sonar corrected issue

Resharper tells us that;

Parameter can be of type 'IEnumerable' " but it's already the case. The previous type was probably an 'ICollection' .

Thanks!

Actually the problem seems to be external to Sonar itself. Our Sonar build is a bit customized. It doesn't use the R# plugin for Sonar, but it uses R# itself and feeds the output to Sonar.

Installing a newer version of R# solved the problem, for now.

We're sorry for the any caused inconvenience.

Thanks!

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