Rule Definition
Use the structured instructions (IF-THEN-ELSE, DO,END DO, DO WHILE,END DO) instead of GOTO each time it is possible.
Remediation
Reduce the number of GOTO statements; restructure the artifact to eliminate the use of a GOTO Statement. Add subroutines and Function for common behavior inside the artifact.
Related Technologies
Technical Criterion
CWE-1075 - Unconditional Control Flow Transfer outside of Switch Block
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.