Package org.jacoco.core.analysis
Enum ICounter.CounterValue
- All Implemented Interfaces:
Serializable
,Comparable<ICounter.CounterValue>
- Enclosing interface:
- ICounter
Different values provided by a counter.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNumber of covered itemsRatio of covered to total itemsNumber of missed itemsRatio of missed to total itemsTotal number of items -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ICounter.CounterValue
Returns the enum constant of this type with the specified name.static ICounter.CounterValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TOTALCOUNT
Total number of items -
MISSEDCOUNT
Number of missed items -
COVEREDCOUNT
Number of covered items -
MISSEDRATIO
Ratio of missed to total items -
COVEREDRATIO
Ratio of covered to total items
-
-
Constructor Details
-
CounterValue
private CounterValue()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-