| Modifier and Type | Method and Description |
|---|---|
static void |
TestResultProcessor.addTestResultsToModel(FullProjectInfo model,
List<File> files) |
CoverageData |
CloverDatabase.loadCoverageData() |
CoverageData |
CoverageDataCollator.loadCoverageData(CoverageData coverageData,
CoverageDataSpec spec,
ProgressListener progressListener) |
CoverageData |
CloverDatabase.loadCoverageData(CoverageDataSpec spec) |
CoverageData |
CoverageDataCollator.loadCoverageData(CoverageDataSpec spec,
ProgressListener progressListener) |
CoverageData |
CloverDatabase.loadCoverageData(CoverageDataSpec spec,
ProgressListener progressListener) |
static CloverDatabase |
CloverDatabase.loadWithCoverage(String initString,
CoverageDataSpec spec) |
static void |
CloverDatabase.merge(List<CloverDatabaseSpec> dbspecs,
String initString) |
static void |
CloverDatabase.merge(List<CloverDatabaseSpec> dbspecs,
String initString,
boolean update,
Interval updateSpan,
ProgressListener listener)
merge a list of databases to a new database, specified by initString.
|
static void |
CloverDatabase.merge(List<CloverDatabaseSpec> dbspecs,
String initString,
ProgressListener listener) |
int |
TestResultProcessor.scan() |
| Constructor and Description |
|---|
CloverDatabase(String initstring) |
CloverDatabase(String initstring,
HasMetricsFilter includeFilter,
String name) |
CloverDatabase(String initstring,
HasMetricsFilter includeFilter,
String name,
String filterSpec) |
CloverDatabase(String initstring,
HasMetricsFilter includeFilter,
String name,
String filterSpec,
ProgressListener progressListener)
create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
static File |
AntInstrUtils.createInstrDir(File basedir) |
| Modifier and Type | Method and Description |
|---|---|
void |
GroovycSupport.prepareForGroovyInstrumentation(org.apache.tools.ant.Task groovyc,
org.apache.tools.ant.Project project,
AntInstrumentationConfig config)
Extract grover.jar so that groovyc compiler will pick Clover's AST transformer.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CloverReportTask.generateReports(CloverReportConfig firstCurrentConfig,
CloverReportConfig[] configs,
Map<String,CloverReportConfig> linkedReports) |
protected void |
CloverPdfReportTask.generateReports(CloverReportConfig firstCurrentConfig,
CloverReportConfig[] configs,
Map<String,CloverReportConfig> linkedReports) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcurrentInstrumentationException |
| Modifier and Type | Class and Description |
|---|---|
class |
CloverRegistryException |
| Modifier and Type | Method and Description |
|---|---|
String |
InstrumentationConfig.createDefaultInitStringDir() |
File |
InstrumentationConfig.getRegistryFile()
If the registry file is set, then return it, otherwise
a new File object will be created using the initString that
is set.
|
String |
InstrumentationConfig.getRuntimeInitString() |
void |
InstrumentationConfig.setFlushPolicyFromString(String fp) |
void |
StatementContextDef.validate() |
void |
MethodContextDef.validate() |
| Modifier and Type | Method and Description |
|---|---|
int |
ContextStore.addMethodContext(MethodRegexpContext ctx) |
int |
ContextStore.addStatementContext(StatementRegexpContext ctx) |
static void |
ContextStore.saveCustomContexts(InstrumentationConfig config) |
| Constructor and Description |
|---|
InstrumentationSessionImpl(Clover2Registry reg,
String activeEncoding) |
| Constructor and Description |
|---|
Grover() |
| Modifier and Type | Method and Description |
|---|---|
Clover2Registry |
Instrumenter.endInstrumentation() |
Clover2Registry |
Instrumenter.endInstrumentation(boolean append) |
static void |
CloverTokenStreamFilter.guardAgainstDoubleInstrumentation(File orig,
BufferedReader bin) |
CharSequence |
Instrumenter.instrument(File orig,
CharSequence charSequence,
String fileEncoding)
Reads the
charSequence and returns an instrumented version of it. |
File |
Instrumenter.instrument(File srcFile,
File destRoot,
String fileEncoding)
reads the srcFile and produces an instrumented version of that file at the package path rooted at destRoot,
creating parent dirs as needed.
|
FileStructureInfo |
Instrumenter.instrument(InstrumentationSource in,
Writer out,
String fileEncoding)
registers orig and produces an instrumented version of in to out
|
void |
Instrumenter.startInstrumentation() |
void |
Instrumenter.startInstrumentation(Clover2Registry reg) |
| Modifier and Type | Method and Description |
|---|---|
static CoverageDataPoint |
XmlConverter.getFromXmlFile(File in,
int detailLevel) |
| Modifier and Type | Method and Description |
|---|---|
static Snapshot |
Snapshot.generateFor(String initString) |
static Snapshot |
Snapshot.generateFor(String initString,
String snapshotPath,
CoverageDataSpec spec) |
static <E extends Optimizable> |
LocalSnapshotOptimizer.optimize(Collection<E> mandatoryOptimizables,
Collection<E> optionalOptimizables,
OptimizationOptions options)
Static convenience method to optimize
|
static <E extends Optimizable> |
LocalSnapshotOptimizer.optimize(Collection<E> optimizables,
OptimizationOptions options)
Static convenience method to optimize
|
| Modifier and Type | Class and Description |
|---|---|
class |
CorruptedRegistryException |
class |
IncompatibleRegistryFormatException |
class |
NoSuchRegistryException |
class |
ReadOnlyRegistryException |
class |
RegistryFormatException |
| Modifier and Type | Method and Description |
|---|---|
static Clover2Registry |
Clover2Registry.createOrLoad(File registryFile,
String projectName) |
static Clover2Registry |
Clover2Registry.fromFile(File registryFile) |
static Clover2Registry |
Clover2Registry.fromFile(File registryFile,
HasMetricsFilter filter,
ProgressListener progressListener) |
static Clover2Registry |
Clover2Registry.fromInitString(String initstring,
String name) |
InstrumentationSession |
Clover2Registry.startInstr() |
InstrumentationSession |
Clover2Registry.startInstr(String encoding) |
| Modifier and Type | Class and Description |
|---|---|
class |
InaccessibleRegFileException |
| Modifier and Type | Method and Description |
|---|---|
static void |
UpdatableRegFilePrinter.printFile(File registryFile) |
static void |
UpdatableRegFilePrinter.printFile(File registryFile,
Writer out) |
| Modifier and Type | Method and Description |
|---|---|
void |
Historical.Movers.addConfiguredColumns(Columns cols) |
void |
Columns.addConfiguredExpression(Columns.Expression column) |
static CloverReporter |
CloverReporter.buildReporter(CloverReportConfig config) |
static double |
ExpressionEvaluator.eval(String expr,
BlockMetrics metrics,
String title) |
int |
CloverReporter.execute() |
protected abstract int |
CloverReporter.executeImpl() |
static double |
Columns.getColumnValue(String name,
String format,
BlockMetrics m) |
CloverDatabase |
Current.getCoverageDatabase() |
CloverDatabase |
CloverReportConfig.getCoverageDatabase() |
void |
Columns.Expression.init(BlockMetrics value) |
abstract void |
Column.init(BlockMetrics value) |
static CalcParser |
ExpressionEvaluator.parse(String expr,
String title) |
void |
Historical.Added.setThreshold(Percentage threshold) |
void |
Historical.Movers.setThreshold(Percentage threshold) |
protected void |
CloverReporter.validate() |
static void |
ExpressionEvaluator.validate(String expr,
String title) |
| Constructor and Description |
|---|
CloverReporter(CloverReportConfig reportConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ConsoleReporter.validate() |
| Constructor and Description |
|---|
ConsoleReporter(ConsoleReporterConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Number> |
HtmlRenderingSupportImpl.collectColumnValues(List<Column> columns,
HasMetrics info) |
protected int |
HtmlReporter.executeImpl() |
protected void |
HtmlReporter.validate() |
| Constructor and Description |
|---|
HtmlReporter(CloverReportConfig config) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Number> |
JSONReportUtils.collectColumnValuesFor(List columns,
HasMetrics mInfo,
HtmlRenderingSupportImpl mHelper) |
int |
JSONReporter.executeImpl() |
| Constructor and Description |
|---|
JSONReporter(CloverReportConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
PDFReporter.executeImpl() |
protected void |
PDFReporter.validate() |
| Constructor and Description |
|---|
PDFReporter(CloverReportConfig config) |
PDFReporter(CloverReportConfig config,
CloverReportConfig[] secondaryConfigs) |
| Modifier and Type | Method and Description |
|---|---|
static List<MetricsDiffSummary> |
HistoricalSupport.getClassesMetricsDifference(HasMetrics then,
HasMetrics now,
Percentage threshold,
boolean onlyDiffs) |
static List<MetricsDiffSummary> |
HistoricalSupport.getClassesMetricsDifference(HasMetrics then,
HasMetrics now,
Percentage threshold,
Column column,
boolean onlyDiffs)
Returns a list of all movers
|
static MetricsDiffSummary |
HistoricalSupport.getClassMetricsDiff(ClassInfo c1,
ClassInfo c2,
Percentage threshold,
Column column) |
static HasMetrics |
HistoricalSupport.getFullMetrics(HistoricalSupport.HasMetricsWrapper wrapper,
String pkg)
get full, class-level model for the given aggregate metrics object
|
protected List<MetricsDiffSummary> |
HistoricalReportDescriptor.AddedDescriptor.getMoverClasses(HasMetrics fromMetrics,
Column column) |
protected List<MetricsDiffSummary> |
HistoricalReportDescriptor.MoversDescriptor.getMoverClasses(HasMetrics fromMetrics,
Column column) |
static MetricsDiffSummary |
HistoricalSupport.getNewClassMetrics(ClassInfo c1,
ClassInfo c2,
Column column) |
static List<MetricsDiffSummary> |
HistoricalSupport.getPackageClassesMetricsDiff(BasePackageInfo then,
BasePackageInfo now,
Percentage threshold,
Column column,
boolean onlyDiffs) |
static List<MetricsDiffSummary> |
HistoricalSupport.getProjectClassesMetricsDiff(BaseProjectInfo then,
BaseProjectInfo now,
Percentage threshold,
Column column,
boolean onlyDiffs) |
String |
MetricsDiffSummary.getString1() |
String |
MetricsDiffSummary.getString2()
called by hist-mover-row.vm
|
| Constructor and Description |
|---|
HistoricalReportDescriptor(CloverReportConfig cfg) |
| Modifier and Type | Method and Description |
|---|---|
int |
XMLReporter.executeImpl() |
| Constructor and Description |
|---|
XMLReporter(CloverReportConfig config) |
| Modifier and Type | Method and Description |
|---|---|
static void |
BooleanSpec.buildTestDetectorFor(AggregateTestDetector testDetectors,
List<TestClassSpec> testClassSpecs) |
static TestDetector |
BooleanSpec.buildTestDetectorFor(List<BooleanSpec> boolSpecs) |
Copyright © 2024 OpenClover.org. All rights reserved.