Back to CWE list
CWE-1041
Use of Redundant Code
Base
Incomplete
Description
The product has multiple functions, methods, procedures, macros, etc. that contain the same code.
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Other
Impact
Reduce Maintainability
Potential Mitigations
Implementation
Merge common functionality into a single function and then call that function from across the entire code base.
Applicable Platforms
Not Language-Specific
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now