SFP Primary Cluster: Unused entities

A category in the Common Weakness Enumeration published by The MITRE Corporation.


Summary

Categories in the Common Weakness Enumeration (CWE) group entries based on some common characteristic or attribute.

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

Weaknesses

Assignment to Variable without Use

The variable's value is assigned but never used, making it a dead store.

Comparing instead of Assigning

The code uses an operator for comparison when the intention was to perform an assignment.

Dead Code

The product contains dead code, which can never be executed.

Concepts

Software Fault Pattern (SFP) Clusters

CWE identifiers in this view are associated with clusters of Software Fault Patterns (SFPs).


Common Weakness Enumeration content on this website is copyright of The MITRE Corporation unless otherwise specified. Use of the Common Weakness Enumeration and the associated references on this website are subject to the Terms of Use as specified by The MITRE Corporation.