kotlinx.kover.offline.runtime.api.MethodCoverage Maven / Gradle / Ivy
/*
* Copyright 2017-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.kover.offline.runtime.api;
import java.util.List;
/**
* Coverage of method in the JVM class.
*/
public class MethodCoverage {
/**
* JVM signature of the method.
*
* example: convert(I)Ljava.lang.String
*
*/
public String signature;
/**
* The number of code executions of the first instruction of this method.
*
* The accuracy of the value is not guaranteed, it is recommended to use this field in this form (hit != 0)
.
*
*/
public int hit;
/**
* Coverage for each line of source code for this method.
*
* Ordered by line number in ascending order.
*
*/
public List lines;
}