Read JaCoCo XML coverage (Kotlin and Java: Kover, Gradle's jacoco) issue #308 closed: completed andymccall opened this · 0 comments
andymccall set labels feature ·
closed by change 17dc8de4fca8 ·
andymccall set labels feature ·
closed by change 17dc8de4fca8 ·
The hub reads LCOV and Cobertura (crates/hub/src/coverage.rs). The JVM world writes JaCoCo XML (Gradle's jacoco plugin, JetBrains Kover), which neither format is: the Android app's coverage needs it, and so would any Java or Kotlin repository. Detect it (
<reportwith JaCoCo's DOCTYPE), read eachsourcefile's line counters into the same per-file coverage, and map package paths to repository paths by the sources the job's scope holds.