You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cobol_coverage: a GO TO into a paragraph that only RETURNs is a transfer of control #4621
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trialtestingUnit, integration, and E2E pipeline verification
#4602's cobol_coverage.control_flow_unreachable treats a paragraph as never returning ("absorbing") only when it ends in GOBACK / STOP RUN / CICS RETURN / XCTL / ABEND or a PERFORM of another absorbing paragraph. In its strict pass a GO TO counts as a way out. That is conservative, but it misses a common CardDemo shape: CORPT00C's SEND-TRNRPT-SCREEN ends in GO TO RETURN-TO-CICS, a paragraph that does nothing but EXEC CICS RETURN.
Proposal: in the strict pass, a GO TO whose every target is itself an absorbing paragraph also ends the path. This is sound: control goes to a paragraph no path leaves. CORPT00C's PROCESS-ENTER-KEY 434 false, 445 false and SUBMIT-JOB-TO-INTRDR 476 false would then be control-flow facts. They are stated as G entries in tests/equivalence/infeasible_outcomes.json today, so those entries would come out. Look for the same SEND-then-GO TO pattern in the other COxxx programs. Write the failing test first, and include a GO TO into a paragraph that falls through.
bugUnintended behavior or logic failure in the engineera:2Era CICS/MVS-ESA, COBOL II/85: RESP, SQL, DPL (~1988-96) (era_tags.py)legacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:coreBlocks a burned-estate program's next evidence rung, or the 4th-estate one-shot trialtestingUnit, integration, and E2E pipeline verification
Activity
cobol_coverage: unequal rewritten blocks no longer pair as exact; a G…