Issues shows violations of Rule CA1051 but opening file shows zero issues

sonarqube

(Yap Kah Loon) #1

Hi everyone,

  • I am using version 5.6.3

  • Does anyone know why violations of Rule CA1051: Do not declare visible instance fields, doesn’t show up as issues in the file?

  • When I look up Issues in my Sonar project, I see a violation of this rule. However, opening the file by navigating to the Code shows zero(0) issues. Reading the code, it is obvious the way to fix it is to introduce a property but I want to understand why this violation doesn’t show up in Code page?


(G Ann Campbell) #2

Hi,

The current version of SonarQube is 7.3, and the current LTS is 6.7.5. You’re going to have a hard time finding support for versions earlier than that. You should upgrade at your earliest convenience.

 
Ann