Umbra Wiki weakness weakness/CWE-1122
Back to wiki

CWE-1122 — Excessive Halstead Complexity

provenance: imported · CWE: CWE-1122

CWE-1122: Excessive Halstead Complexity

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

The code is structured in a way that a Halstead complexity measure exceeds a desirable maximum.

A variety of Halstead complexity measures exist, such as program vocabulary size or volume.

Common consequences

  • Other: Reduce Maintainability, Increase Analytical Complexity

Mitigations

(none listed)

References

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