CWE-1041

Use of Redundant Code
AI Translation Available

The product has multiple functions, methods, procedures, macros, etc. that
contain the same code.

Status
incomplete
Abstraction
base

Common Consequences

other
Impacts
reduce maintainability

Detection Methods

automated static analysis

Potential Mitigations

Phases:
implementation
Descriptions:
• Merge common functionality into a single function and then call that function from across the entire code base.