CWE一覧に戻る
CWE-1086

子クラスの数が多すぎるクラス

Class with Excessive Number of Child Classes
脆弱性 作成中
JA

クラスが不必要に多くの子供を含んでいる。
子が含まれている。

多数の子クラス」の解釈は製品や開発者によって異なるかもしれませんが、CISQはデフォルトで最大10個の子クラスを推奨しています。

EN

A class contains an unnecessarily large number of
children.

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

Scope: Other / Impact: Reduce Maintainability; Increase Analytical Complexity
MITRE公式ページ — CWE-1086