| Modifier and Type | Method and Description |
|---|---|
boolean |
FilesetFilter.accept(HasMetrics hm) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClassInfo
Represents a single class or it's equivalent (an interface, trait etc).
|
interface |
FileInfo
Represents a single source file.
|
interface |
MethodInfo
Represents a method (or an equivalent, like function)
Implements interfaces:
HasClasses - classes declared inside a method body, for example:
anonymous inline class - Java, Groovy - currently Clover does not handle inline classes (it treats them as
a part of the method body)
HasMethods - some programming languages allow to declare a method inside another method, for example:
a lambda expression inside a method - Java 8
a function inside a function - Scala, Closure
HasStatements, HasBranches - returns code defined in a method body
HasContextFilter - set of custom statement/method contexts for filtering
HasMetrics, HasAggregatedMetrics - code metrics for the method
HasParent - parent method/class/file for this method
|
interface |
PackageInfo
Implemented interfaces:
EntityContainer - package can contain files
HasClasses - classes declared in source files inside this package
HasFiles - list of source files belonging to a package
HasContextFilter - context filter applied to a package
HasMetrics - code metrics for a package
HasParent - parent project for this package
|
interface |
ProjectInfo |
| Modifier and Type | Method and Description |
|---|---|
HasMetrics |
BlockMetrics.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
BaseInvertableFilter.accept(HasMetrics hm) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseClassInfo |
class |
BaseFileInfo |
class |
BasePackageInfo |
class |
BaseProjectInfo |
class |
FullClassInfo |
class |
FullFileInfo |
class |
FullMethodInfo |
class |
FullPackageInfo |
class |
FullProjectInfo
A model of a java project.
|
class |
PackageFragment |
| Modifier and Type | Interface and Description |
|---|---|
interface |
HasMetricsNode |
| Modifier and Type | Method and Description |
|---|---|
HasMetrics |
BlockMetrics.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HasMetricsFilter.accept(HasMetrics hm) |
abstract int |
HasMetricsSupport.HasMetricsComparator.compare(HasMetrics obj1,
HasMetrics obj2) |
int |
HasMetricsSupport.HasMetricsComparatorChain.compare(HasMetrics obj1,
HasMetrics obj2) |
void |
BlockMetrics.setOwner(HasMetrics owner) |
| Constructor and Description |
|---|
BlockMetrics(HasMetrics owner) |
ClassMetrics(HasMetrics owner) |
FileMetrics(HasMetrics owner) |
PackageMetrics(HasMetrics owner) |
ProjectMetrics(HasMetrics owner) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SourceFileFilter.accept(HasMetrics hm) |
boolean |
FileSetFilter.accept(HasMetrics hm) |
boolean |
EmptyTestFilter.accept(HasMetrics hm) |
boolean |
DefaultTestFilter.accept(HasMetrics hasMetrics) |
boolean |
AntPatternTestFilter.accept(HasMetrics hm) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
TestClassFilter.accept(HasMetrics hm) |
boolean |
TestClassCoverageThresholdFilter.accept(HasMetrics hm) |
boolean |
NonTestClassFilter.accept(HasMetrics hm) |
static void |
HtmlReportUtil.addColumnsToContext(clover.org.apache.velocity.VelocityContext context,
List<Column> cols,
HasMetrics parent,
List<? extends HasMetrics> children) |
static void |
HtmlReportUtil.addFilteredPercentageToContext(clover.org.apache.velocity.VelocityContext context,
HasMetrics model) |
Map<String,Number> |
HtmlRenderingSupportImpl.collectColumnValues(List<Column> columns,
HasMetrics info) |
static float |
HtmlReportUtil.getPercentageFiltered(HasMetrics model) |
static boolean |
HtmlReportUtil.hasFilteredMetrics(HasMetrics model) |
BlockMetrics |
HtmlRenderingSupportImpl.metricsFor(HasMetrics info) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HtmlReportUtil.addColumnsToContext(clover.org.apache.velocity.VelocityContext context,
List<Column> cols,
HasMetrics parent,
List<? extends HasMetrics> children) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Number> |
JSONReportUtils.collectColumnValuesFor(List columns,
HasMetrics mInfo,
HtmlRenderingSupportImpl mHelper) |
| Modifier and Type | Method and Description |
|---|---|
void |
JSONHistoricalReporter.generateHistoricalJSON(clover.org.apache.velocity.VelocityContext context,
Map<Long,HasMetrics> data,
String title)
Generates historical JSON data using a subset of the
Google Visualisation DataSource response format.
|
| Constructor and Description |
|---|
RenderMetricsJSONAction(clover.org.apache.velocity.VelocityContext ctx,
HasMetrics configured,
CloverReportConfig current,
File outfile,
HtmlRenderingSupportImpl helper) |
| Modifier and Type | Method and Description |
|---|---|
static clover.com.lowagie.text.pdf.PdfPTable |
RenderingSupport.createHistoricalReportHeader(HasMetrics hasmetrics,
long ts1,
long ts2,
String title,
String titleAnchor,
boolean isProject,
PDFColours colours) |
static clover.com.lowagie.text.pdf.PdfPTable |
RenderingSupport.createReportHeader(HasMetrics hasmetrics,
long timestamp,
String title,
boolean isProject,
PDFColours colours) |
static clover.com.lowagie.text.pdf.PdfPTable |
RenderingSupport.createReportHeader(HasMetrics hasmetrics,
long timestamp,
String title,
String titleAnchor,
boolean isProject,
PDFColours colours) |
| Modifier and Type | Method and Description |
|---|---|
static clover.com.lowagie.text.pdf.PdfPTable |
RenderingSupport.createCoverageDataTable(CloverReportConfig cfg,
String col0Title,
List<HasMetrics> items,
PDFColours colours) |
| Modifier and Type | Class and Description |
|---|---|
static class |
HistoricalSupport.HasMetricsWrapper |
| Modifier and Type | Method and Description |
|---|---|
static HasMetrics |
HistoricalSupport.getFullMetrics(HistoricalSupport.HasMetricsWrapper wrapper,
String pkg)
get full, class-level model for the given aggregate metrics object
|
HasMetrics |
HistoricalReportDescriptor.getSubjectMetrics() |
| Modifier and Type | Method and Description |
|---|---|
static SortedMap<Long,HasMetrics> |
HistoricalSupport.getAllProjectMetrics(File[] files) |
| 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
|
protected List<MetricsDiffSummary> |
HistoricalReportDescriptor.AddedDescriptor.getMoverClasses(HasMetrics fromMetrics,
Column column) |
protected List<MetricsDiffSummary> |
HistoricalReportDescriptor.MoversDescriptor.getMoverClasses(HasMetrics fromMetrics,
Column column) |
| Modifier and Type | Method and Description |
|---|---|
protected static clover.org.jfree.chart.JFreeChart |
CloverChartFactory.createClassCoverageChart(String xLabel,
String yLabel,
List<? extends HasMetrics> appClasses,
String toolTip,
boolean drawWithOutline) |
static clover.org.jfree.chart.JFreeChart |
CloverChartFactory.createJFreeChart(Historical.Chart chartCfg,
Map<Long,HasMetrics> data) |
protected static int[] |
CloverChartFactory.generateClassCoverageData(List<? extends HasMetrics> hasMetrics) |
static CloverChartFactory.ChartInfo |
CloverChartFactory.generateHistogramChart(List<? extends HasMetrics> appClasses,
File basePath) |
static Map<Integer,CloverChartFactory.ChartInfo> |
CloverChartFactory.generateSrcFileCharts(List<? extends HasMetrics> appFiles,
File basePath) |
| Constructor and Description |
|---|
HasMetricsWrapper(HasMetrics hm,
File sourceFile) |
Copyright © 2024 OpenClover.org. All rights reserved.