Rule Definition
Coding multiple statements on the same line makes the reading and the maintenance more difficult.
Remediation
Do not code more than one statement on the same line.
Violation Code Sample
TEMP1='TEST1';TEMP2='TEST2';TEMP3='TEST3';IF CASTCAST ^= '' THEN RETURN;
Fixed Code Sample
LTTEMP='TEST1';
LTTEMP2='TEST2';
TEMP3='TEST3'
IF CASTCAST^= '' THEN RETURN;
Related Technologies
Technical Criterion
Complexity - Algorithmic and Control Structure Complexity
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.