You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, with #941 the CPD sensor is using a new algorithm:
ignoreLiterals: CPD ignores literal value differences when evaluating a duplicate block. This means that foo=42; and foo=43; will be seen as equivalent.
ignoreIdentifiers: Similar to ignoreLiterals but for identifiers; i.e., variable names, methods names, and so forth
So think 1, 6 should be enabled by default, and perhaps 2. So i supose in our case we would use
sonar.cxx.cpd.ignoreLiterals=true in order to ignore example 5?
Hi everyone, with #941 the CPD sensor is using a new algorithm:
This approach detects much more duplicates - maybe too much? Like to ask you to vote, What's a duplicate in your opinion:
Example 1:
Example 2:
Example 3:
Example 4:
Example 5:
Example 6:
Please vote
The text was updated successfully, but these errors were encountered: