A problem about SonarQube

Hi, I met a problem about bug detection when using SonarQube to analyze many similar java code files. I found SonarQube can find all code smell category issues in them, but only spot part of bug category issues. Althought these files are similar, I still want SonarQube to analyze all.

Could you please give me some suggestion? Thank you.

Maybe this problem is caused by the duplication detection of SonarQube?


Could you provide

  • Your version and edition of SonarQube (you can find the information in the footer if you’re uncertain)
  • An example of something that’s not detected and the rule you think should detect it