Duplications detected among multiple files

  • SonarQube version: Version 10.0 (build 68432)
  • SonarQube deployed using Helm
  • Issue: Duplications detected among multiple files

After executing multiple analysis I am seeing that the Duplication Lines has an increased value after copying some code blocks from a file to multiple files. I want to know how this can be omitted or skipped because in this case it cannot be exported to a function or similar called in each file.

Sounds like you want to exclude some code from duplication.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.