---
title: Code Duplication Best Practices
description: "This page documents the impact and remediation activities which should be undertaken whenever Quality Clouds reports an issue of code duplication. | Best Practice | Configuration Element Type | Issue Severity | Impact Area | | --- | --- |…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/code-duplication-best-practices/"
updated: "2025-03-21"
category: Rules
---

# Code Duplication Best Practices

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

| Best Practice | Configuration Element Type | Issue Severity | Impact Area |
| --- | --- | --- | --- |
| Code Duplication | Apex Class | HIGH (if total number of duplicated lines is over 1000) | Manageability |
| Code Duplication | Apex Class | MEDIUM (if total number of duplicated lines is between 100 and 1000) | Manageability |
| Code Duplication | Apex Class | LOW (if total number of duplicated lines is between 10 and 100) | Manageability |
| Code Duplication | Apex Trigger | HIGH (if total number of duplicated lines is over 1000) | Manageability |
| Code Duplication | Apex Trigger | MEDIUM (if total number of duplicated lines is between 100 and 1000) | Manageability |
| Code Duplication | Apex Trigger | LOW (if total number of duplicated lines is between 10 and 100) | Manageability |
