Skip to content

Coverage reporting

oshai edited this page Aug 7, 2023 · 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: