eu.lindenbaum.maven.report
Class CoverageReport

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by eu.lindenbaum.maven.ErlangReport
              extended by eu.lindenbaum.maven.report.CoverageReport
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport

public class CoverageReport
extends ErlangReport

Generates a test coverage HTML report from the results produced by the Coverage mojo i.e. the coverage-goal. The report contains a project summary, showing the number of functions, clauses executable lines and their test coverage percentage. A module list with individual coverage reports and an extensive source code report, with lines annotated in red or green, showing the exact coverage.

Since:
2.1.0
Author:
Olle Törnström
Goal:
coverage-report

Field Summary
 
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CoverageReport()
           
 
Method Summary
protected  void execute(org.apache.maven.plugin.logging.Log log, Locale locale, Properties p)
          Will be invoked when AbstractMavenReport.execute() gets invoked on the base class.
 String getDescription(Locale locale)
           
 String getName(Locale locale)
           
 String getOutputName()
           
 
Methods inherited from class eu.lindenbaum.maven.ErlangReport
canGenerateReport, executeReport, getOutputDirectory, getProject, getProperties, getSiteRenderer
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageReport

public CoverageReport()
Method Detail

getDescription

public String getDescription(Locale locale)

getName

public String getName(Locale locale)

getOutputName

public String getOutputName()

execute

protected void execute(org.apache.maven.plugin.logging.Log log,
                       Locale locale,
                       Properties p)
                throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: ErlangReport
Will be invoked when AbstractMavenReport.execute() gets invoked on the base class.

Specified by:
execute in class ErlangReport
Parameters:
log - logger to be used for output logging
locale - the demanded locale as passed to ErlangReport.executeReport(Locale)
p - to be passed by the base class.
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
AbstractMavenReport.executeReport(Locale)


Copyright © 2012 Lindenbaum GmbH. All Rights Reserved.