S7027 (among a few others) present in SonarQube for Server but absent on SonarQube for IDE

  • Operating system: Sequoia 15.3.2
  • SonarQube for IntelliJ plugin version: 10.20.0.80985
  • IntelliJ version: 2024.3.5
  • Programming language you’re coding in: Java
  • Is connected mode used: SonarQube Server v2025.1.1 (104738)

We have a SonarQube Developer Server set up and I’ve gotten my SonarQube for IDE plugin installed in IntelliJ, which is configured in Connected mode. It appears it should be working because I see a subset of issues present in the SonarQube server within the issue list for the IDE plugin. If I select one of the issues in my IDE and accept it, it gets properly reflected in the SonarQube server shortly after. So this signals to me that the connection should be OK.

But, when we recently updated our SonarQube Server, which includes a few new rules like S7027 and S7091, we are seeing them pop up in our failed quality gates but they’re nowhere to be found inside of SonarQube for IDE’s issue list.

I can open a file up in SonarQube for server and it’ll list 26 issues. But if I open the same class file in my IDE, the SonarQube for IDE plugin shows 21 issues.

At least S7027 and S7091 should be showing up in the list because it’s listed as available here: Java static code analysis | design.

Is there something I am missing?

FWIW, I also checked the logs for when I run analysis on a file and one thing that struck me is the active rule count for my language. The logs will indicate “524 java”, but I know that my quality profile is set up with 549 rules for java. Is my quality profile not set up correctly?

Hi,

Welcome to the community!

Unfortunately, the architecture rules aren’t supported on SonarQube for IDE.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.