SonarQube: False-Positive S100 - Method names should comply with a naming convention

21 Views Asked by At

We have onboarded our project to the SonarQube Developers Edition, however, most of our projects have been reported non compliant for S100 rule : Method names should comply with a naming convention which after scanning reporting the issue

Rename this method name to match the regular expression ' ^[a-z][_a-zA-Z0-9]*$'.

However, in the old SonarQube community version, everything works fine.

Sample method being flagged as non-compliant:

 public ResponseEntity<Void> performCcsIntermediateCalculations(String calcId){
 }

Has anyone encountered the same issue? Of course, I can easily disable this rule but it is weird that this issue comes up and quite annoying as this is reporting thousand of times.

0

There are 0 best solutions below