BaseIncomplete

CWE-1074Class with Excessively Deep Inheritance

Category: other

Description

A class has an inheritance level that is too high, i.e., it has a large number of parent classes.

Common consequences· 1

  • Other — Reduce Maintainability, Increase Analytical Complexity
    This issue makes it more difficult to understand and 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.

References

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

Related by meaning· 6

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

CWE
Class with Excessive Number of Child Classes
CWE
Parent Class with References to Child Class
CWE
Multiple Inheritance from Concrete Classes
CWE
Parent Class without Virtual Destructor Method
CWE
Excessively Deep Nesting
CWE
Excessive Code Complexity
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.