generateHelpURL
private static String generateHelpURL(String text,
String description)
generateOverview
private void generateOverview(PackageData packageData)
throws IOException
generateSourceFile
private void generateSourceFile(SourceFileData sourceFileData)
throws IOException
generateTableColumnsFromData
private static String generateTableColumnsFromData(double lineCoverage,
double branchCoverage,
double ccn)
Return a string containing three HTML table cells. The first
cell contains a graph showing the line coverage, the second
cell contains a graph showing the branch coverage, and the
third cell contains the code complexity.
lineCoverage
- A number between 0 and 1, inclusive. Or,
if this class or package has no lines, then use "-1"
and this method will display "N/A" in the table cell.branchCoverage
- A number between 0 and 1, inclusive. Or,
if this class or package has no branches, then use "-1"
and this method will display "N/A" in the table cell.ccn
- The code complexity to display. This should be greater
than 1.
- A string containing the HTML for three table cells.
generateTableHeader
private static String generateTableHeader(String title,
boolean showColumnForNumberOfClasses)