SonarQube coding rule set is giving wrong value for MaximumInheritanceDepth
Though the value for MaximumInheritanceDepth is 4 sonarqube is complaining as 6 which above max value.
Getting below messages in Jenkins build is getting failed:
2 SonarQube violations have been found.
MAJOR SonarQube violation:
This class has 6 parents which is greater than 5 authorized.
Could you help us what could be issue on why sonarqube validation is giving wrong results.