1960
Nature Type ID Name Page
MemberOf 1412 Comprehensive Categorization: Poor Coding Practices 1400 2538
References
[REF-963]Robert A. Martin and Lawrence H. Shafer. "Providing a Framework for
Effective Software Quality Assessment". 1996 July. < https://www.researchgate.net/
publication/285403022_PROVIDING_A_FRAMEWORK_FOR_EFFECTIVE_SOFTWARE_QUALITY_MEASUREMENT_>.2023-04-07.
CWE-1120: Excessive Code Complexity
Weakness ID : 1120
Structure : Simple
Abstraction : Class
Description
The code is too complex, as calculated using a well-defined, quantitative measure.
Extended Description
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.
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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 710 Improper Adherence to Coding Standards 1549
ParentOf 1047 Modules with Circular Dependencies 1882
ParentOf 1056 Invokable Control Element with Variadic Parameters 1891
ParentOf 1060 Excessive Number of Inefficient Server-Side Data Accesses 1897
ParentOf 1064 Invokable Control Element with Signature Containing an
Excessive Number of Parameters