ClassIncomplete

CWE-1120Excessive Code Complexity

Category: other

Description

The code is too complex, as calculated using a well-defined, quantitative measure.

Common consequences· 2

  • 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.
  • Other — Reduce Performance
    This issue can make the product perform more slowly. If the relevant code is reachable by an attacker, then this performance problem might introduce a vulnerability.

References

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

Related by meaning· 6

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

CWE
Excessive Halstead Complexity
CWE
Excessive McCabe Cyclomatic Complexity
CWE
Excessively Deep Nesting
CWE
Excessive Use of Self-Modifying Code
CWE
Insufficient Use of Symbolic Constants
CWE
Excessively Complex Data Representation
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.