Avoid Procedures and Functions using the ITERATE statement (PL1) | CAST Appmarq

Avoid Procedures and Functions using the ITERATE statement (PL1)


Rule Definition
Using the ITERATE statement results in the production of unstructureness coding.

Remediation
The logic flow of the program is to be upgraded and ITERATE statements must be eliminated.

Violation Code Sample
TEST_ITERATE:
DO LOOP;
IF TEST1='CAST'
THEN ITERATE TEST_END:
TEST_END:
END;

Related Technologies

Health Factor

  Total Quality Index


Technical Criterion
Complexity - Functional Evolvability

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.

Benchmark Statistics

Global Compliance

99.94%

Total Violations
23
Total Opportunities
38,477
Average Violations / App.
3.83
The compliance score represents 1 minus the ratio between the number of times a rule has been violated compared to the number of opportunities in a set of applications that the rule could have been violated.

Industry Insights

IT & Business Consulting

86.23%

Manufacturing

99.96%

Financial Services

100.00%