Why does Jacoco think there are six branches?
# codereview
b
Why does Jacoco think there are six branches?
e
compiler-inserted null checks maybe. read the bytecode and see for yourself?
b
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
There is no such tool, many improvements were done on Jacoco side to support Kotlin, so worth to report it too