BaseIncomplete

CWE-1086Class with Excessive Number of Child Classes

Category: other

Description

A class contains an unnecessarily large number of children.

Common consequences· 1

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

References

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

Related by meaning· 6

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

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