Common Weakness Enumeration

    CWE Definition / CWE-1164

    CWE-1164: Irrelevant Code

    The product contains code that is not essential for execution, i.e. makes no state changes and has no side effects that alter data or control flow, such that removal of the code would have no impact to functionality or correctness.

    Published:2 Jan 2019
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-710: Improper Adherence to Coding Standards