JacocoResults

data class JacocoResults: Any

Represents the results from the execution of the plugin for unit coverage calculation (Jacoco).

The students test coverage is calculated by DP when the Assignment is configured to evaluate it.

Fields

Name Description
val linesMissed: Int

is an Int with the number of lines that are not covered by the students' tests

val linesCovered: Int

is an Int with the number of lines that are covered by the students' tests

val lineCoveragePercent: Int

is an Int, indicating the percentage of lines that are covered

Constructors

<init>

constructor(linesMissed: Int, linesCovered: Int, lineCoveragePercent: Int)

Represents the results from the execution of the plugin for unit coverage calculation (Jacoco).

The students test coverage is calculated by DP when the Assignment is configured to evaluate it.

Parameters

Name Description
linesMissed: Int
linesCovered: Int
lineCoveragePercent: Int