I recently raised https://github.com/jacoco/jacoco/issues/1351 which documents an issue where you get less than 100% branch coverage switching from Kotlin 1.6.10 to 1.6.21 or 1.7.10.
Interestingly the Kotlin compiler produces the same bytecode for the class that is reporting less coverage than in 1.6.10. After a bit of digging I noticed that the build runs on Kotlin 1.5.0. Are there any plans to change the build to run on later versions of Kotlin, or to support multiple versions as is the case for Java ? I've noticed that the build fails if the Kotlin version in org.jacoco.core.test.validation.kotlin/pom.xml is changed to a later version (e..g. 1.6.10) so it looks like Jacoco is generating different coverage stats depending on the Kotlin version. Is this a known issue ? -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/f0088526-3f4d-4fec-a4e3-02ff744fe68fn%40googlegroups.com.
