public class CucumberUsageReporting extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
jsonUsageFile |
private String |
outputDirectory |
| Constructor and Description |
|---|
CucumberUsageReporting() |
private String jsonUsageFile
private String outputDirectory
public String getOutputName()
protected String getOutputDirectory()
public String getJsonUsageFile()
public void setJsonUsageFile(String jsonUsageFileValue)
public void setOutputDirectory(String outputDirectoryValue)
public LinkedHashMap<String,Integer> calculateStepsUsageScore(CucumberStepSource[] sources)
public SortedMap<Integer,Integer> calculateStepsUsageCounts(CucumberStepSource[] sources)
public double calculateStepsUsageAverage(SortedMap<Integer,Integer> statistics)
public int calculateStepsUsageMedian(SortedMap<Integer,Integer> statistics)
protected String generateUsageOverviewGraphReport(CucumberStepSource[] sources)
private CucumberStepSource getSourceByString(CucumberStepSource[] sources, String text)
protected String generateUsageOverviewTableReport(CucumberStepSource[] sources)
private String generateSourceDurationOverview(CucumberStepSource source)
protected String generateUsageDetailedReport(CucumberStepSource[] sources)
public CucumberStepSource[] getStepSources(String filePath) throws Exception
Exceptionprivate String generateStyle()
public void executeReport()
throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportExceptionCopyright © 2013-2015. All Rights Reserved.