Class Report
java.lang.Object
org.jacoco.cli.internal.Command
org.jacoco.cli.internal.commands.Report
The
report command.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate IBundleCoverageanalyze(ExecutionDataStore data, PrintWriter out) private IReportVisitorintexecute(PrintWriter out, PrintWriter err) Executes the given command.private ISourceFileLocatorprivate ExecFileLoaderprivate voidprintNoMatchWarning(Collection<IClassCoverage> nomatch, PrintWriter out) private voidwriteReports(IBundleCoverage bundle, ExecFileLoader loader, PrintWriter out)
-
Field Details
-
Constructor Details
-
Report
public Report()
-
-
Method Details
-
description
- Specified by:
descriptionin classCommand- Returns:
- Short description of the command.
-
execute
Description copied from class:CommandExecutes the given command.- Specified by:
executein classCommand- Parameters:
out- std outerr- std err- Returns:
- exit code, should be 0 for normal operation
- Throws:
IOException
-
loadExecutionData
- Throws:
IOException
-
analyze
- Throws:
IOException
-
printNoMatchWarning
-
writeReports
private void writeReports(IBundleCoverage bundle, ExecFileLoader loader, PrintWriter out) throws IOException - Throws:
IOException
-
createReportVisitor
- Throws:
IOException
-
getSourceLocator
-