A C E G N S V

A

AbstractCoverageCalculator - Class in net.sourceforge.cobertura.metrics.api
Abstract implementation of a CoverageCalculator, providing some utility method implementations and synchronization primitives.
AbstractCoverageCalculator() - Constructor for class net.sourceforge.cobertura.metrics.api.AbstractCoverageCalculator
 
AbstractSourceLocationListener - Class in net.sourceforge.cobertura.metrics.api.event
Abstract implementation of the SourceLocationListener specification, used to provide a base for subclassing.
AbstractSourceLocationListener() - Constructor for class net.sourceforge.cobertura.metrics.api.event.AbstractSourceLocationListener
 
accept(SourceLocation) - Method in class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
addExecutionStep(SourceLocation) - Method in class net.sourceforge.cobertura.metrics.api.event.AbstractSourceLocationListener
Adds 1 to the recorded execution steps ("hits"/"touches") to the supplied SourceLocation.
addExecutionStep(SourceLocation) - Method in interface net.sourceforge.cobertura.metrics.api.event.SourceLocationListener
Adds 1 to the recorded execution steps ("hits"/"touches") to the supplied SourceLocation.
addExecutionSteps(SourceLocation, int) - Method in class net.sourceforge.cobertura.metrics.api.event.AbstractSourceLocationListener
Adds a given number of execution steps ("hits"/"touches") to the supplied SourceLocation.
addExecutionSteps(SourceLocation, int) - Method in interface net.sourceforge.cobertura.metrics.api.event.SourceLocationListener
Adds a given number of execution steps ("hits"/"touches") to the supplied SourceLocation.
addInternalExecutionSteps(SourceLocation, int) - Method in class net.sourceforge.cobertura.metrics.api.event.AbstractSourceLocationListener
Adds a given number of execution steps ("hits"/"touches") to the supplied SourceLocation.

C

CoverageCalculator - Interface in net.sourceforge.cobertura.metrics.api
Specification for how to calculate test coverage rates.
CoverageType - Enum in net.sourceforge.cobertura.metrics.api
Enumeration holding all known coverage types.

E

escapeDots(String) - Static method in class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Convenience method which translates a string containing dots ("."), such as a java package name, to a valid Java Regular Expressions where the dots are interpreted literally.

G

getCoverage(SourceLocationFilter, CoverageType) - Method in class net.sourceforge.cobertura.metrics.api.AbstractCoverageCalculator
Convenience method, retrieving Coverage rate as a supplied type
getCoverage(SourceLocationFilter, CoverageType) - Method in interface net.sourceforge.cobertura.metrics.api.CoverageCalculator
Convenience method, retrieving Coverage rate as a supplied type
getCoverageRate(SourceLocationFilter, CoverageType) - Method in class net.sourceforge.cobertura.metrics.api.AbstractCoverageCalculator
Retrieves the coverage rate for the supplied CoverageType.
getCoverageRate(SourceLocationFilter, CoverageType) - Method in interface net.sourceforge.cobertura.metrics.api.CoverageCalculator
Retrieves the coverage rate for the supplied CoverageType.
getPattern(Package, boolean) - Static method in class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Convenience method to generate a Java Regular Expression pattern string which includes the supplied Package, and optionally all subpackages to it.
getRate(SourceLocationFilter, CoverageType) - Method in class net.sourceforge.cobertura.metrics.api.AbstractCoverageCalculator
Retrieves the coverage rate for the supplied CoverageType.
getScope() - Method in class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Retrieves the lowest LocationScope used to filter incoming SourceLocations.
getSourceLocationListener() - Method in interface net.sourceforge.cobertura.metrics.api.CoverageCalculator
Retrieves a SourceLocationListener used to record execution steps ("hits"/"touches") of all SourceLocations within tests into this CoverageCalculator.

N

net.sourceforge.cobertura.metrics.api - package net.sourceforge.cobertura.metrics.api
 
net.sourceforge.cobertura.metrics.api.event - package net.sourceforge.cobertura.metrics.api.event
 
net.sourceforge.cobertura.metrics.api.location - package net.sourceforge.cobertura.metrics.api.location
 

S

SourceLocationFilter - Class in net.sourceforge.cobertura.metrics.api.location
Filter separating valid from invalid SourceLocation instances.
SourceLocationFilter() - Constructor for class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Creates a SourceLocationFilter instance which accepts all SourceLocations.
SourceLocationFilter(String) - Constructor for class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Creates a SourceLocationFilter instance with the supplied Java regular expression to be applied within package scope.
SourceLocationFilter(String, String) - Constructor for class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Creates a SourceLocationFilter instance with the supplied Java regular expressions to be applied within the appropriate scope.
SourceLocationFilter(String, String, String) - Constructor for class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Creates a SourceLocationFilter instance with the supplied Java regular expressions to be applied within the appropriate scope.
SourceLocationFilter(String, String, String, String) - Constructor for class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Creates a SourceLocationFilter instance with the supplied Java regular expressions to be applied within the appropriate scope.
SourceLocationFilter(String, String, String, String, String) - Constructor for class net.sourceforge.cobertura.metrics.api.location.SourceLocationFilter
Creates a SourceLocationFilter instance with the supplied Java regular expressions to be applied within the appropriate scope.
SourceLocationListener - Interface in net.sourceforge.cobertura.metrics.api.event
Event listener invoked by instrumented tests when a particular SourceLocation has been hit/touched during an automated test execution.

V

valueOf(String) - Static method in enum net.sourceforge.cobertura.metrics.api.CoverageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.sourceforge.cobertura.metrics.api.CoverageType
Returns an array containing the constants of this enum type, in the order they are declared.

A C E G N S V

Copyright © 2013–2015 Cobertura. All rights reserved.