net.sourceforge.cobertura.check
Class Main
java.lang.Object
net.sourceforge.cobertura.check.Main
private static Logger | logger
|
(package private) CoverageRate | minimumCoverageRate - The default CoverageRate needed for a class to pass the check.
|
(package private) Map | minimumCoverageRates - The keys of this map contain regular expression Patterns that
match against classes.
|
(package private) Perl5Compiler | pc
|
(package private) Perl5Matcher | pm
|
logger
private static final Logger logger
minimumCoverageRate
(package private) CoverageRate minimumCoverageRate
The default CoverageRate needed for a class to pass the check.
minimumCoverageRates
(package private) Map minimumCoverageRates
The keys of this map contain regular expression Patterns that
match against classes. The values of this map contain
CoverageRate objects that specify the minimum coverage rates
needed for a class that matches the pattern.
pc
(package private) final Perl5Compiler pc
pm
(package private) final Perl5Matcher pm
Main
public Main(String[] args)
throws MalformedPatternException
findMinimumCoverageRate
(package private) CoverageRate findMinimumCoverageRate(String classname)
This method returns the CoverageRate object that
applies to the given class. If checks if there is a
pattern that matches the class name, and returns that
if it finds one. Otherwise it uses the global minimum
rates that were passed in.
main
public static void main(String[] args)
throws MalformedPatternException
percentage
private String percentage(double coverateRate)
setMinimumCoverageRate
(package private) void setMinimumCoverageRate(String minimumCoverageRate)
throws MalformedPatternException