api / org.gradle.testing.jacoco.tasks.rules / JacocoLimit / getCounter

getCounter

@Input abstract fun getCounter(): String

The counter that applies to the limit as defined by org.jacoco.core.analysis.ICoverageNode.CounterEntity. Valid values are INSTRUCTION, LINE, BRANCH, COMPLEXITY, METHOD and CLASS. Defaults to INSTRUCTION.