CWE一覧に戻る
CWE-561

デッドコード

Dead Code
脆弱性 レビュー中
JA

その製品には、決して実行できないデッドコードが含まれている。

デッドコードとは、実行中のプログラムでは決して実行できないコードのことだ。周囲のコードによって、コードの一部が実行されることは不可能になる。

EN

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

Dead code is code that can never be executed in a running program. The surrounding code makes it impossible for a section of code to ever be executed.

Scope: Other / Impact: Quality Degradation
Scope: Other / Impact: Reduce Maintainability
Remove dead code before deploying the application.
Use a static analysis tool to spot dead code.
MITRE公式ページ — CWE-561