WARN: Too many duplication references on file

Must-share information (formatted with Markdown):

  • which versions are you using (org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746)
  • how is SonarQube deployed: scanning
  • what are you trying to achieve: NA

Hello, I’m reopening the following topic that was closed.

Because I believe that Sonarqube somehow needs to do a better analysis before generating these unnecessary alerts, or somehow suppressing it in the application.

In my application sonarqube is reporting more than 1000 duplicate codes.
But the duplicate code it detects is the triggering of an exception like the following.

throw new FormException(ex.getMessage());

Hi,

Welcome to the community!

I’m not sure I understand your point. Could you rephrase?

 
Ann