Showing as Duplicates even dont have duplicates

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



please let us know why it is showing as Duplicates


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).