Code analyseranalyzers like sonarSonar provide a metric called "Code duplication". This metric is useful, since it shows when code needs to be factorized.
Knowing that, what are the best pratices regarding this metric ? For instance, in my projects, I ensure this metric doesn't go above 0.5% and if it does, refactors are made.
Is this how it is managed in the real world ? Are
Are there some resources (books, websites) considered as a reference on this subject ?