Package io.codemodder.codetf
Interface CodeTFReportGenerator
public interface CodeTFReportGenerator
This type is responsible for generating a
CodeTFReport based on the domain objects
representing our inputs and outputs.-
Method Summary
Modifier and TypeMethodDescriptionstatic CodeTFReportGeneratorcreateReport(Path repositoryRoot, String commandLine, List<Path> sarifs, List<CodeTFResult> results, long millisElapsed) Creates the report.
-
Method Details
-
createReport
CodeTFReport createReport(Path repositoryRoot, String commandLine, List<Path> sarifs, List<CodeTFResult> results, long millisElapsed) throws IOException Creates the report.- Parameters:
repositoryRoot- the root directory of the repositorycommandLine- the command line that was used to run the toolsarifs- the sarif files that were used as inputresults- the results of the scan/fixmillisElapsed- how long the scan/fix took- Returns:
- the
CodeTFReportrepresenting all the stuff above - Throws:
IOException
-
createDefault
-