I'm looking into using it as part of an automatic code-review process. I tend to only consider code unnecessary duplication when it is either repeated more than twice or it has a high complexity (which if I understand the threshold param correctly, would for me be something like a threshold of 40).
Or to put in simple english terms: If something is repeated twice, I only consider it an unelegant duplication when the repeated code is complex.
Hi, just stumbled over this and I love it!
I'm looking into using it as part of an automatic code-review process. I tend to only consider code unnecessary duplication when it is either repeated more than twice or it has a high complexity (which if I understand the threshold param correctly, would for me be something like a threshold of 40).
Or to put in simple english terms: If something is repeated twice, I only consider it an unelegant duplication when the repeated code is complex.
Do you see value in having such an option?