Rule Definition
Process the default case in the instruction SELECT CASE. Allows to safeguard against omissions and to process the default case.
Remediation
Add the CASE DEFAULT to the switch construct with the appropriate default processing in it.
Related Technologies
Technical Criterion
CWE-1075 - Unconditional Control Flow Transfer outside of Switch Block [Base]
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.