Category: SFP Primary Cluster: Unused entities

Incomplete
Summary

This category identifies Software Fault Patterns (SFPs) within the Unused entities cluster (SFP2).

Membership
IDNameDescription
CWE-482Comparing instead of AssigningThe code uses an operator for comparison when the intention was to perform an assignment.
CWE-561Dead CodeThe product contains dead code, which can never be executed.
CWE-563Assignment to Variable without UseThe variable's value is assigned but never used, making it a dead store.
CWE-888Software Fault Pattern (SFP) ClustersCWE identifiers in this view are associated with clusters of Software Fault Patterns (SFPs).
Vulnerability Mapping Notes
Usage: Prohibited
Reasons: Category
Rationale:
This entry is a Category. Using categories for mapping has been discouraged since 2019. Categories are informal organizational groupings of weaknesses that can help CWE users with data aggregation, navigation, and browsing. However, they are not weaknesses in themselves.
Comment:
See member weaknesses of this category.