kotlinx-kover icon indicating copy to clipboard operation
kotlinx-kover copied to clipboard

Exclude companion object from report if it contains only constants

Open shanshin opened this issue 10 months ago • 0 comments

Describe the bug Same as for regular object, companion object with only should be excluded from report

Expected behavior MyInterface should be excluded from report

Reproducer

interface MyInterface {
    companion object {
        const val constant = "foo"
    }
}

Reports Screenshot 2024-03-26 at 20 25 06

Environment

  • Kover Gradle Plugin version: 0.7.6, 0.8.0-Beta

shanshin avatar Mar 26 '24 19:03 shanshin