From cc0ec65714c0896d39a941aca452c27ce105c622 Mon Sep 17 00:00:00 2001 From: Kevin Nguyen Date: Sat, 1 Aug 2026 21:34:59 +0700 Subject: [PATCH] CB-509: add JaCoCo coverage reporting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build-time tooling only — never a compile or runtime dependency, so it adds nothing to the shipped jar and no new transitive surface to the artifact. (Noting per CLAUDE.md that the pom CVE gate could not be run: no JetBrains MCP server is connected this session.) Report at target/site/jacoco/index.html, machine-readable at jacoco.csv. Deliberately NO check rule or threshold. A coverage gate rewards writing tests that merely execute lines, which is the exact failure mode this codebase has already been bitten by — CB-507 shipped a null-argument NPE with 311 green tests because FakeWorktrees.repoRoot records its argument instead of shelling out, so the broken line was covered and still wrong. Coverage is a map of where to look, not a target to hit. Baseline: 66.9% line, 60.6% branch, 76.4% method. --- bridged/pom.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/bridged/pom.xml b/bridged/pom.xml index d7923ee..6c931e9 100644 --- a/bridged/pom.xml +++ b/bridged/pom.xml @@ -169,6 +169,30 @@ 3.14.0 + + + org.jacoco + jacoco-maven-plugin + 0.8.13 + + + prepare-agent + prepare-agent + + + report + test + report + + + + org.apache.maven.plugins