Umbra Wiki weakness weakness/CWE-1080
Back to wiki

CWE-1080 — Source Code File with Excessive Number of Lines of Code

provenance: imported · CWE: CWE-1080

CWE-1080: Source Code File with Excessive Number of Lines of Code

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

A source code file has too many lines of code.

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: Reduce Maintainability, Increase Analytical Complexity

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/1080.html
  • CWE list: https://cwe.mitre.org/data/index.html