'record' is being registered as a method and is being checked for camelCase instead of Pascal

  • language: java
  • Why do you believe it’s a false-positive/false-negative: Because it is registering non-methods like record as a method.
  • SonarQube 9.9.1

The method name ‘SiteDiversityMetricsResponse’ is being validated to use camel Case instead of Pascal

public record SiteDiversityMetricsResponse(SiteDiversityMetricModel node) {

Hey there.

You’re probably using GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube, which is a community-supported plugin that executes Findbugs (I suppose it’s really called Spotbugs now).

I encourage opening an issue on GitHub - spotbugs/spotbugs: SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.