CWE-1086

Class with Excessive Number of Child Classes
AI Translation Available

A class contains an unnecessarily large number of
children.

Status
incomplete
Abstraction
base
Object-Oriented

While the interpretation of 'large number of children' may vary for each product or developer, CISQ recommends a default maximum of 10 child classes.

Common Consequences

other
Impacts
reduce maintainability increase analytical complexity

Potential Mitigations