spoon icon indicating copy to clipboard operation
spoon copied to clipboard

fix static analysis warnings by SonarQube

Open zielint0 opened this issue 6 years ago • 4 comments

Warning list: https://sonarqube.ow2.org/project/issues?id=fr.inria.gforge.spoon%3Aspoon-core&resolved=false&types=BUG

I am using IDEA checkers to improve our code base but, at the same time some Sonar defects are solved as well (some checkers overlap).

I am going to fix all true positives on SonarQube on regular basis.

Today (2018-07-16) I am starting with 2076 issues to fix.

One more time I would like to get labels:

  • code inspection (yellow) - to mark IDEA inspections
  • sonarqube (orange) - to mark SonarQube inspections

to manage PRs with fixes. Also it would be change color of "bug" to RED :)

"refactor" label is better suited for refactoring of pure functionality (for instance: rework parser to support syntax X).

zielint0 avatar Jul 15 '18 23:07 zielint0

@surli How often SonarQube results of analysis are refreshed?

zielint0 avatar Jul 17 '18 13:07 zielint0

Hi can someone guide me how to start working on this issue?

TheMarvelFan avatar Oct 03 '23 18:10 TheMarvelFan

We no longer use SonarQube anymore, so this issue is finished. But IntelliJ still highlights a few warnings which you could fix.

MartinWitt avatar Oct 03 '23 18:10 MartinWitt

@MartinWitt Hi can you please provide details about these warnings, and how to recreate them?

TheMarvelFan avatar Oct 09 '23 13:10 TheMarvelFan