CWE-1080

Source Code File with Excessive Number of Lines of Code
AI Translation Available

A source code file has too many lines of
code.

Status
incomplete
Abstraction
base

While the interpretation of 'too many lines of code' may vary for each product or developer, CISQ recommends a default threshold value of 1000.

Common Consequences

other
Impacts
reduce maintainability increase analytical complexity

Detection Methods

automated static analysis

Potential Mitigations