Groovy Documentation

org.gmetrics.report
[Groovy] Class BasicHtmlReportWriter

java.lang.Object
  org.gmetrics.report.AbstractReportWriter
      org.gmetrics.report.BasicHtmlReportWriter

@Mixin(MetricsCriteriaFilter)
@Mixin(LevelsCriteriaFilter)
@Mixin(FunctionsCriteriaFilter)
class BasicHtmlReportWriter
extends AbstractReportWriter

ReportWriter that generates a basic HTML report. The HTML includes a table containing a row for each package, class and method, and the metric values for each Metric within the passed-in MetricSet.

Authors:
Chris Mair


Field Summary
static def DEFAULT_OUTPUT_FILE

 
Fields inherited from class AbstractReportWriter
BASE_MESSAGES_BUNDLE, CUSTOM_MESSAGES_BUNDLE, GMETRICS_URL, LOG, customMessagesBundleName, formatterFactory, formatters, getTimestamp, initializeResourceBundle, resourceBundle
 
Property Summary
static def defaultOutputFile

String title

 
Method Summary
protected String getDescriptionForMetricName(String metricName)

protected void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)

 
Methods inherited from class AbstractReportWriter
formatMetricResultValue, getFormattedTimestamp, getResourceBundleString, getResourceBundleStringOrNull, initializeDefaultResourceBundle, initializeFormatters, writeReport, writeReport
 

Field Detail

DEFAULT_OUTPUT_FILE

public static final def DEFAULT_OUTPUT_FILE


 
Property Detail

defaultOutputFile

static def defaultOutputFile


title

String title


 
Method Detail

getDescriptionForMetricName

protected String getDescriptionForMetricName(String metricName)


writeReport

@Override
protected void writeReport(Writer writer, ResultsNode resultsNode, AnalysisContext analysisContext)


 

Groovy Documentation