Skip to content

Coverage reporting

Ohad Shai edited this page Jul 9, 2019 · 2 revisions

When using Kotlin logging with JACOCO coverage report tool you might see an uncalled line where the log is configured.

It is possible to exclude that from the report by adding an exclude configuration. Assuming your logger field name is called log this is the exclusion:

<exclude>**/*$log$*.class</exclude>

More details on those issues: