makepad-ports/docs/coverage/coverage-report.txt
andodeki c24e87e99f Coverage tranche: full-stack LLVM coverage 95.7% lines, +16 tests, RefCell crash fix
- docs/coverage/: COVERAGE.md (methodology, exclusions, landmines) +
  llvm-cov report + LCOV export. Union of engine (unit+integration) and
  headless UI layers over the real release apps: 95.71% lines / 94.59%
  regions / 97.88% functions across the three ports (149 tests green).
- patches/0002-hub-graceful-child-shutdown.patch: hub closes the child
  app's stdin (EOF -> clean exit -> LLVM profile flush) before falling
  back to SIGKILL; without it app-side coverage reads 0%.
- setup_makepad.sh: pin MAKEPAD_SHA, fatal patch checks, apply both
  patches, rustup default toolchain 1.98.0.
- koboyo: FIX RefCell double-borrow crash in the Zoom-to-fit handler
  (read viewport before canvas_mut; found by the new UI test, app died
  with exit 101 'RefCell already borrowed' at widgets/widget.rs:1168).
- New tests: koboyo +5 integration (key->tool map, kind_for_tool arms,
  delete/undo, content_bbox/zoom_to_fit, lasso) +4 UI (freehand
  gestures, select/move/delete + history keys, wheel zoom, ten element
  kinds + fit, rail lock/connect/export); rider +1 integration +4 UI
  (account rows, crosshair/Now pill, found-back/call/cancel, send
  button); insurance +2 integration (SheetTab tables, SheetDrag
  clamps).
2026-09-01 19:58:51 +00:00

11 lines
2 KiB
Text

Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
insurance/src/app.rs 490 5 98.98% 12 0 100.00% 231 1 99.57% 0 0 -
insurance/src/model.rs 796 0 100.00% 69 0 100.00% 458 0 100.00% 0 0 -
koboyo/src/app.rs 1124 115 89.77% 50 6 88.00% 511 57 88.85% 0 0 -
koboyo/src/canvas_view.rs 732 139 81.01% 18 1 94.44% 314 55 82.48% 0 0 -
koboyo/src/model.rs 1357 36 97.35% 105 0 100.00% 767 7 99.09% 0 0 -
rider/src/app.rs 618 13 97.90% 17 0 100.00% 277 5 98.19% 0 0 -
rider/src/model.rs 577 0 100.00% 59 0 100.00% 354 0 100.00% 0 0 -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 5694 308 94.59% 330 7 97.88% 2912 125 95.71% 0 0 -