Skip to content

mutation: account for all zecs-zecs003 survivors without sampling (L5) (Part of #4628) - #7401

Merged
squid-protocol merged 1 commit into
mainfrom
feat/zecs-zecs003-full-l5
Nov 1, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/zecs-zecs003-full-l5

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Account for 100% of surviving mutants for zecs-zecs003 (ZECS003) across the entire program (0 sampling), upgrading it from sampled (150 mutants) to fully analyzed (988 mutants):

  • zecs-zecs003 (ZECS003): 988/988 mutants evaluated (exhaustive run, 0 sampling), 432 killed, 38 stillborn, 518 survived -> 518/518 survivors accounted for with sound technical justifications -> L5

Each mutant is categorized as either equivalent or unreachable with technical justifications:

  • equivalent:

    • GOTO bitmask constant (GOTO = 1 << 20) unused as ZECS003 contains no GO TO statements.
    • Base64 initial working-storage image constants for unreferenced or overwritten initial states (IMAGE_s_CURRENT_ABS, IMAGE_s_ZECS_DC, IMAGE_s_ZK_FCT, IMAGE_s_ZF_FCT, IMAGE_s_ZK_RECORD, IMAGE_s_TD_RECORD, IMAGE_s_FILE_ERROR, IMAGE_s_KEY_ERROR, IMAGE_s_URI_MAP, IMAGE_s_URI_PATH, IMAGE_s_DC_CONTROL, IMAGE_s_DC_TOKEN, IMAGE_s_SESSION_TOKEN, IMAGE_s_URL_SCHEME_NAME, IMAGE_s_URL_HOST_NAME, IMAGE_s_WEB_STATUS_ABSTIME, IMAGE_s_WEB_PATH, IMAGE_s_CONVERSE_RESPONSE, IMAGE_s_TEXT_PLAIN, IMAGE_s_ZF_RECORD, IMAGE_s_DFHCOMMAREA, IMAGE_s_DFHEIBLK, IMAGE_s_GG_RETURN_CODE).
    • Compiler annotation strings on internal methods (@SuppressWarnings).
    • Unused batch return code field scale (f158_GG_RETURN_CODE).
    • Task header calculations for EIB fields never read in the program (f127_EIBTIME, f128_EIBDATE, f130_EIBTASKN, f131_EIBTRMID, f134_EIBCALEN).
    • Unused field definitions and working-storage variables (f38_CSSL, f39_TD_LENGTH, f41_TD_DATE, f43_TD_TIME, f45_TD_TRANID, f47_TD_MESSAGE, f51_FE_FN, f53_FE_RESP, f55_FE_RESP2, f57_FE_PARAGRAPH, f62_KE_FN, f64_KE_RESP, f66_KE_RESP2, f68_KE_PARAGRAPH, f36_FC_READ, f37_FC_DELETE, f25_ZK_LENGTH, f29_ZK_KEY, f32_ZK_ZF_IDN, f33_ZK_ZF_NC, f34_ZK_SEGMENTS, f106_ZF_PREFIX).
    • Dead store writes to f156_EIBRESP2 and f155_EIBRESP after CICS commands where response codes are never checked (CICS DELETE, CICS WEB OPEN, CICS WEB CLOSE, CICS WEB SEND, 3000-READ-ZF).
    • caBack reset and call in runTask and 9000-RETURN, which is a no-op runnable as ZECS003 uses no caller COMMAREA.
    • task.returnTransid(null, null) in 9000-RETURN where fallback in runTask executes identical return if omitted.
    • fileKey() matching regex on transaction ID substrings ZK-TRANID(3:2) and ZF-TRANID(3:2).
    • ZF-ZEROES increment in 3000-READ-ZF which is never read or persisted.
    • Unused response fields from WEB CONVERSE (CONVERSE-RESPONSE, CONVERSE-LENGTH, WEB-STATUS-CODE, WEB-STATUS-ABSTIME).
    • Return statements at paragraph exits within perform blocks where paragraph exit conditions immediately return (1000-EXIT, 2000-EXIT, 3000-EXIT, 3100-EXIT, 4000-EXIT, 7000-EXIT, 7100-EXIT, 7200-EXIT, 7300-EXIT, 8000-EXIT).
  • unreachable:

    • Dynamic condition dispatching (condition()), paragraph map lookups (paragraph(), PARAGRAPHS), and abend handler branches (abended()), as all CICS commands in ZECS003 specify NOHANDLE.
    • Typed DTO getters/setters and remote region facade methods (in_Zecs003Dfhcommarea, fill_Zecs003Dfhcommarea, out_Zecs003Dfhcommarea, handleLink, lastLinkBytes).
    • COMMAREA handling branches, linkArea handling, and PastFrom exception handling.
    • Standalone batch execution entry point runProgram().
    • Dead code after throw new Goback() on line 1109 (return 22;) and paragraph 22 (9000-EXIT).
    • Default branch in store() throwing Hole for unhandled file control names.

Verification:

  • det_mutation.py check passes with 0 problems
  • det_mutation.py stale-check --vs origin/main passes with no stale ledgers
  • det_mutation.py table zecs-zecs003 reports L5: yes with 0 unaccounted survivors (432/950 45% kill rate)
  • pr_gates.py --fast passes (9/9 gates)

Part of #4628.

@squid-protocol
squid-protocol enabled auto-merge (squash) November 1, 2026 06:52
@squid-protocol
squid-protocol merged commit 81c3f88 into main Nov 1, 2026
33 checks passed
@squid-protocol
squid-protocol deleted the feat/zecs-zecs003-full-l5 branch November 1, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant