You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using Koin annotations, default Koin modules are generated using KSP. In calculating coverage for these modules, Kover indicates (in green) that they are fully covered. However, the method coverage is only 3 out of 4, or 75%.
I recently switched from JaCoCo to Kover. JaCoCo reports the method coverage as 5 out of 5, or 100%. It also lists all of the methods. Kover gives no listing of methods and no indication of what is missing.
Expected behavior
The method coverage should be 100%.
Reproducer
This code file uses a Koin annotation, which is then processed by KSP to generate the file shown in the report below.
package com.walkertribe.ian.protocol
// Unimportant imports redacted
import org.koin.core.`annotation`.Single
@Single
public class KoinProtocol : Protocol {
// Unimportant code redacted
}
Describe the bug
When using Koin annotations, default Koin modules are generated using KSP. In calculating coverage for these modules, Kover indicates (in green) that they are fully covered. However, the method coverage is only 3 out of 4, or 75%.
I recently switched from JaCoCo to Kover. JaCoCo reports the method coverage as 5 out of 5, or 100%. It also lists all of the methods. Kover gives no listing of methods and no indication of what is missing.
Expected behavior
The method coverage should be 100%.
Reproducer
This code file uses a Koin annotation, which is then processed by KSP to generate the file shown in the report below.
Link to my project here.
Reports
Here's the Kover report:
And here's the JaCoCo report:
Environment
The text was updated successfully, but these errors were encountered: