Where can we see the definition of code smell severity levels?

Must-share information (formatted with Markdown):

  • SonarQube community
  • Docker deployed
  • Find out the definition of code smell’s severity
  • Googled but could not find the answer


I’m struggling to find out the definition for code smell severity levels. Therefore we don’t know the difference between Critical code smells and Major code smells. Can you please advise? Thanks.

Hey there.

Check out this documetnation

Code Smell

  • Impact: Could the Code Smell lead a maintainer to introduce a bug?
  • Likelihood: What is the probability the worst will happen?

Once you have your impact and likelihood assessments, the rest is easy:

impact likelihood
Blocker Y Y
Critical Y N
Major N Y
Minor N N

This is exactly what I’m looking for (did try but failed to find out). Thank you so much for sharing Colin.