Package org.jacoco.cli.internal.commands
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 IBundleCoverage
analyze
(ExecutionDataStore data, PrintWriter out) private IReportVisitor
int
execute
(PrintWriter out, PrintWriter err) Executes the given command.private ISourceFileLocator
private ExecFileLoader
private void
printNoMatchWarning
(Collection<IClassCoverage> nomatch, PrintWriter out) private void
writeReports
(IBundleCoverage bundle, ExecFileLoader loader, PrintWriter out)
-
Field Details
-
Constructor Details
-
Report
public Report()
-
-
Method Details
-
description
- Specified by:
description
in classCommand
- Returns:
- Short description of the command.
-
execute
Description copied from class:Command
Executes the given command.- Specified by:
execute
in 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
-