CWE Database
/

CWE-1041

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.

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 Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now