public enum CoverageType extends Enum<CoverageType>
Modifier and Type | Method and Description |
---|---|
Set<Metric> |
allMetrics() |
Metric |
conditionsByLine() |
Metric |
conditionsToCover() |
Metric |
coveredConditionsByLine() |
Metric |
lineHitsData() |
Metric |
linesToCover() |
Metric |
uncoveredConditions() |
Metric |
uncoveredLines() |
static CoverageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoverageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoverageType UNIT
public static final CoverageType IT
public static final CoverageType OVERALL
public static CoverageType[] values()
for (CoverageType c : CoverageType.values()) System.out.println(c);
public static CoverageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Set<Metric> allMetrics()
public Metric linesToCover()
public Metric uncoveredLines()
public Metric lineHitsData()
public Metric conditionsToCover()
public Metric uncoveredConditions()
public Metric coveredConditionsByLine()
public Metric conditionsByLine()
Copyright © 2009–2016 SonarSource. All rights reserved.