How can i ignore duplications in overall code?

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

  • what are you trying to achieve
    I want ignore duplications in overall code.

  • what have you tried so far to achieve this
    setting, changing Project Settings in SonarQube main page.

Here is what i tried.

↑ 1. setting

↑ 2. setting Duplication Exclusions in [Project Settings → Analysis Scope → Duplication Exclusions]

But it didn’t work.

↑ I’ve removed Duplication option in new code setting.(In Quality Gates page)
So, in this screenShot, there is no duplication option.

I want remove duplication option in overall code, too!


I suggest simplifying your exclusion setting: **/*



Thank you so much!!

It works!!!

1 Like