BaseIncomplete

CWE-1122Excessive Halstead Complexity

Category: other

Description

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

Common consequences· 1

  • Other — Reduce Maintainability, Increase Analytical Complexity
    This issue makes it more difficult to understand and/or maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.

References

  1. https://cwe.mitre.org/data/definitions/1122.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Excessive Code Complexity
CWE
Excessive McCabe Cyclomatic Complexity
CWE
Excessive Use of Unconditional Branching
CWE
Insufficient Control Flow Management
CWE
Excessively Deep Nesting
CWE
Inefficient Algorithmic Complexity
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.