Showing as Duplicates even dont have duplicates

Showing as Duplicated lines and Block even actually there are not.

image

image

please let us know why it is showing as Duplicates

Hi,

Duplicate detection is ignoring string literals.
If you believe there is no value in refactoring this code, consider excluding this file from duplicate detection. Use property sonar.cpd.exclusions property (check out Analysis Scope tab in SQ settings).