kotlinx.kover.offline.runtime.api.BranchCoverage 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;
/**
* Coverage of the code branch, if branching occurred on one line.
*/
public class BranchCoverage {
/**
* The unique branch number for the line. For the same method bytecode, the branch numbers are stable.
*
* The branch number is not directly related to the source code, and it is impossible to reliably understand which expression this branch refers to.
*
*/
public int branchNumber;
/**
* The number of code executions of this branch.
*
* The accuracy of the value is not guaranteed, it is recommended to use this field in this form (hit != 0)
.
*
*/
public int hit;
}