Wonder if you have any hints on how to handle duplicate detection so it is useful but limits false positives. Some examples we stumbled upon:
- Command and DTO would have similar/same properties or sections of those, and that would be detected as duplicate
- unit tests are quite repetitive in their structure as they are DAMP more than DRY
So far we just keep bumping our quality settings but even though we are “just” at 2, we would rather not allow duplication if this was about the actual section of code instead.
For tests we could ignore the whole folder, but I suppose this would disable all other checks not only duplicated.