Code Duplication Best Practices

< 1 min read

This page documents the impact and remediation activities which should be undertaken whenever Quality Clouds reports an issue of code duplication.

Best PracticeConfiguration Element TypeIssue SeverityImpact Area
Code DuplicationApex ClassHIGH (if total number of duplicated lines is over 1000)Manageability
Code DuplicationApex ClassMEDIUM (if total number of duplicated lines is between 100 and 1000)Manageability
Code DuplicationApex ClassLOW (if total number of duplicated lines is between 10 and 100)Manageability
Code DuplicationApex TriggerHIGH (if total number of duplicated lines is over 1000)Manageability
Code DuplicationApex TriggerMEDIUM (if total number of duplicated lines is between 100 and 1000)Manageability
Code DuplicationApex TriggerLOW (if total number of duplicated lines is between 10 and 100)Manageability
Updated on March 21, 2025
Was it helpful ?