Katalog CWE

CWE-1164 · Słabość

Irrelevant Code

Abstrakcja
Klasa
Status
Niekompletny
Dodano
2 stycznia 2019
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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.

Irrelevant code could include dead code, initialization that is not used, empty blocks, code that could be entirely removed due to optimization, etc.

Skutki

  • Other

    Reduce Reliability

  • Other

    Reduce Performance

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific

Wpis z katalogu CWE 4.20.