Back to CWE list
CWE-1074
Class with Excessively Deep Inheritance
Base
Incomplete
Description
A class has an inheritance level that is too high, i.e., it has a large number of parent classes.
{"xhtml:p":["While the interpretation of \"large number of parent classes\" may vary for each product or developer, CISQ recommends a default maximum of 7 parent classes."]}
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Other
Impact
Reduce Maintainability, Increase Analytical Complexity
Applicable Platforms
Not Language-Specific
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now