kotlinx.kover.offline.runtime.api.LineCoverage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kover-offline-runtime Show documentation
Show all versions of kover-offline-runtime Show documentation
Compiled dependency to ensure the operation of the code that has been instrumented offline
The newest version!
/*
* 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 for a line of source code.
*/
public class LineCoverage {
/**
* Line number in the source code file.
*/
public int lineNumber;
/**
* The number of code executions at least one byte-code instruction of this line.
*
* The accuracy of the value is not guaranteed, it is recommended to use this field in this form (hit != 0)
.
*
*/
public int hit;
/**
* If there is a conditional expression and several code branches on one line, the coverage is measured for each of them individually.
*
* If there is no branching in the line, then this list is empty
*
*
* Ordered by a branch number in ascending order.
*
*/
//
public List branches;
}