CWE Rule 484
説明
ルールの説明
The program omits a break statement within a switch or similar construct, causing code associated with multiple conditions to execute.This can cause problems when the programmer only intended to execute code associated with one condition.
Polyspace 実装
このルール チェッカーは、[switch case の break がありません] をチェックします。
例
チェック情報
カテゴリ: Behavioral Problems |
バージョン履歴
R2023a で導入