https://kotlinlang.org logo
#codereview
Title
# codereview
b

Byron Katz

05/21/2021, 5:50 PM
Why does Jacoco think there are six branches?
e

ephemient

05/21/2021, 5:55 PM
compiler-inserted null checks maybe. read the bytecode and see for yourself?
b

Byron Katz

05/21/2021, 6:02 PM
hmm. good call.
Now let me ask a better question. Is there anything in the works to obtain a better code coverage tool that correctly measured coverage in Kotlin, rather than focused on the underlying Java or byte code?
g

gildor

05/25/2021, 7:11 AM
There is no such tool, many improvements were done on Jacoco side to support Kotlin, so worth to report it too