COBOL Range Overlaps and Range Jumps Detected in the Executive Report

This section lists COBOL range overlaps and range jumps detected in the Executive Report and which are displayed in the Potential Code Anomalies section of the report, if any exist. S* defects appear in the report under Range Overlaps as the sum of all defects S1+S2+S3+S4+S5+S6. G* defects appear in the report under Range Jumps as the sum of all defects G1+G2+G3+G5+G6+G7.

S0. No defects

Perform A1 thru A2.
Perform B1 thru B2.
…
.--A1.
| StatementsA1.
| …
| A2.
‘--- StatementsA2.
…
.--B1.
| StatementsB1.
| …
| B2.
‘--- StatementsB2.

S1. Overlapped sections

Perform A1 thru A2.
Perform B1 thru B2.
…
.--A1.
| StatementsA1.
| …
| B1. --.
| StatementsB1. |
| … |
| A2. |
‘--- StatementsA2. |
… |
B2. |
StatementsB2. –-’

S2. Overlapped sections

Perform A1 thru A2.
Perform B1 thru B2.
…
.--B1.
| StatementsB1.
| …
| A1. --.
| StatementsA1. |
| … |
| B2. |
‘--- StatementsB2. |
… |
A2. |
StatementsA2. –-’

S3. Overlapped sections

Perform A1 thru A2.
Perform B1 thru B2.
…
.--A1.
| StatementsA1.
| …
| B1. --.
| StatementsB1. |
| … |
| B2. |
| StatementsB2. –-’
| …
| A2.
‘--- StatementsA2.

S4. Overlapped sections

Perform A1 thru A2.
Perform A1 thru B2.
…
.--A1. --.
| StatementsA1. |
| … |
| B2. |
| StatementsB2. –-’
| …
| A2.
‘--- StatementsA2.

S5. Overlapped sections

Perform A1 thru A2.
Perform B1 thru A2.
…
.--A1.
| StatementsA1.
| …
| B1. --.
| StatementsB1. |
| … |
| A2. |
‘--- StatementsA2. --’

S6. Overlapped sections

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| Perform B1 thru B2.
| …
| B1. --.
| StatementsB1. |
| … |
| B2. |
| StatementsB2. –-’
| …
| A2.
‘--- StatementsA2.

G0. No defects

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| goto B1.
| …
| B1.
| StatementsB1.
| …
| A2.
‘--- StatementsA2.

G0. No defects

Perform A1 thru A2.
goto B1.
…
.--A1.
| StatementsA1.
| …
| A2.
‘--- StatementsA2.
…
B1.
StatementsB1.

G0. No defects

Perform A1 thru A2.
goto B1.
…
B1.
StatementsB1.
…
.--A1.
| StatementsA1.
| …
| A2.
‘--- StatementsA2.

G0. No defects

Perform A1 thru A2.
.--A1.
| StatementsA1.
| …
| A2.
‘--- StatementsA2.
…
goto B1.
…
B1.
StatementsB1.

G1. Break-in goto

Perform A1 thru A2.
…
goto B1.
…
.--A1.
| StatementsA1.
| …
| B1.
| StatementsB1.
| …
| A2.
‘--- StatementsA2.

G2. Break-in goto

Perform A1 thru A2.
…
goto A1.
…
.--A1.
| StatementsA1.
| …
| A2.
‘--- StatementsA2.

G3. Break-in goto

Perform A1 thru A2.
…
goto A2.
…
.--A1.
| StatementsA1.
| …
| A2.
‘--- StatementsA2.

S3G4=G1. Overlapped sections, break-in goto

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| Perform B1 thru B2.
| …
| goto C1.
| B1. --.
| StatementsB1. |
| … |
| C1. |
| … |
| B2. |
| StatementsB2. –-’
| …
| A2.
‘--- StatementsA2.

G5. Break-out goto

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| goto B1.
| …
| A2.
‘--- StatementsA2.
…
B1.
StatementsB1.

G6. Break-out goto

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| goto A1.
| …
| A2.
‘--- StatementsA2.

G7. Break-out goto

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| goto A2.
| …
| A2.
‘--- StatementsA2.

G8. No Defects

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| goto A2.
| …
| A2.
‘--- EXIT.

S3G9=G5. Overlapped sections, break-out goto

Perform A1 thru A2.
…
.--A1.
| StatementsA1.
| …
| Perform B1 thru B2.
| …
| B1. --.
| StatementsB1. |
| … |
| goto C1. |
| … |
| B2. |
| StatementsB2. –-’
| …
| C1.
| …
| A2.
‘--- StatementsA2.