Name |
Key |
Default value |
Description |
|---|---|---|---|
Minimum tokens |
sonar.cpd.cs.minimumTokens |
100 |
The number of duplicate tokens above which a block is considered as a duplication in a C# program. |
Ignore literals |
sonar.cpd.cs.ignoreLiteral |
true |
if true, CPD ignores literal value differences when evaluating a duplicate block. This means that 'my first text'; and 'my second text'; will be seen as equivalent. |
Labels
