java-topology/tests
russell@unturf.com 0ac47a5b75 feat: add scan_verify.py + check_coverage.py for all 1258 UNDF indicators
scan_verify.py: structural patch verification for all UNDF registry entries.
  - Reads UNDF-REGISTRY.json, walks defects/*/patch/*.patch
  - Checks: UNDF header comment, defective pattern in removed lines,
    fix signature in added lines (HashSet/unordered_set/HashMap/etc.)
  - Slug-to-patch filtering prevents cross-contamination in multi-entry dirs
  - Additive patches (guard insertion) treated as WARN not FAIL
  - Status: 454 PASS / 441 WARN / 12 FAIL / 300 NO_PATCH / 51 PENDING
  - 74.2% structural coverage of clonable entries

check_coverage.py: CI gate — fails when new registry entries lack patch files.
  - Any NO_PATCH entry (dir exists but no patch) causes exit code 1
  - Designed to run on every commit to catch regressions early
  - Quality (WARN/PASS) delegated to scan_verify.py

Makefile targets added:
  make scan-verify         — verbose structural verification (all 1258 entries)
  make scan-verify-report  — same + writes tests/SCAN-VERIFY-REPORT.md
  make scan-verify-strict  -- also fail on WARN
  make coverage-check      — CI gate for patch presence

Completes the three-tier coverage system:
  unit/integration/functional Java tests (MOADs 0001-0011)
  + structural patch verification (1258+ UNDF indicators)
  + coverage CI gate (enforces no indicator left without a patch)
2026-04-12 16:15:01 -04:00
..
bench undefect. CWE-407 — 92 sites, 42 ecosystems 2026-03-26 19:48:18 -04:00
freecad freecad/retroarch/mpv: CWE-407 scan — 3 defects, mpv CLEAN 2026-03-30 14:53:03 -04:00
functional feat: add unit, integration, and functional test coverage for all 9 MOADs 2026-04-12 15:43:19 -04:00
integration feat: add unit, integration, and functional test coverage for all 9 MOADs 2026-04-12 15:43:19 -04:00
retroarch freecad/retroarch/mpv: CWE-407 scan — 3 defects, mpv CLEAN 2026-03-30 14:53:03 -04:00
sql undefect. CWE-407 — 63 sites patched across 27 ecosystems 2026-03-26 17:11:57 -04:00
support feat: add unit, integration, and functional test coverage for all 9 MOADs 2026-04-12 15:43:19 -04:00
unit feat: add unit, integration, and functional test coverage for all 9 MOADs 2026-04-12 15:43:19 -04:00
workbench undefect. CWE-407 — 92 sites, 42 ecosystems 2026-03-26 19:48:18 -04:00
BasicStream.class undefect. CWE-407 — 63 sites patched across 27 ecosystems 2026-03-26 17:11:57 -04:00
check_coverage.py feat: add scan_verify.py + check_coverage.py for all 1258 UNDF indicators 2026-04-12 16:15:01 -04:00
CollectorComposition.class undefect. CWE-407 — 63 sites patched across 27 ecosystems 2026-03-26 17:11:57 -04:00
Makefile feat: add scan_verify.py + check_coverage.py for all 1258 UNDF indicators 2026-04-12 16:15:01 -04:00
NestedGenerics.class undefect. CWE-407 — 63 sites patched across 27 ecosystems 2026-03-26 17:11:57 -04:00
ScaledCallSites50.class undefect. CWE-407 — 63 sites patched across 27 ecosystems 2026-03-26 17:11:57 -04:00
SCAN-VERIFY-REPORT.md feat: add scan_verify.py + check_coverage.py for all 1258 UNDF indicators 2026-04-12 16:15:01 -04:00
scan_verify.py feat: add scan_verify.py + check_coverage.py for all 1258 UNDF indicators 2026-04-12 16:15:01 -04:00