CWE-1122 Halstead复杂度过高

Excessive Halstead Complexity

结构: Simple

Abstraction: Base

状态: Incomplete

被利用可能性: unkown


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.

This issue makes it more difficult to understand and/or maintain the software, 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.


  • cwe_Nature: ChildOf cwe_CWE_ID: 1120 cwe_View_ID: 1000 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 1120 cwe_View_ID: 699 cwe_Ordinal: Primary


范围 影响 注释
Other Reduce Maintainability