CWE-1122: Excessive Halstead Complexity
The code is structured in a way that a Halstead complexity measure exceeds a desirable maximum.
Overview
A variety of Halstead complexity measures exist, such as program vocabulary size or volume.
Common consequences
What can happen when CWE-1122 is exploited.
Reduce Maintainability, Increase Analytical Complexity
Affects: Other
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.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Frequently asked questions
Common questions about CWE-1122.
What is CWE-1122?
The code is structured in a way that a Halstead complexity measure exceeds a desirable maximum.