Package crypto.reporting
Class CommandLineReporter
- java.lang.Object
-
- crypto.analysis.CrySLAnalysisListener
-
- crypto.reporting.ErrorMarkerListener
-
- crypto.reporting.Reporter
-
- crypto.reporting.CommandLineReporter
-
- All Implemented Interfaces:
ICrySLPerformanceListener,ICrySLResultsListener
public class CommandLineReporter extends Reporter
This class extends the classReporterby generating an analysis report and print it to the command line.
-
-
Field Summary
-
Fields inherited from class crypto.reporting.Reporter
analysisWatch, dataflowReachableMethods, objects, statistics
-
Fields inherited from class crypto.reporting.ErrorMarkerListener
errorMarkerCount, errorMarkers, secureObjects
-
-
Constructor Summary
Constructors Constructor Description CommandLineReporter(String reportDir, List<CrySLRule> rules)Subclass ofReporter.CommandLineReporter(String softwareID, List<CrySLRule> rules, long callgraphConstructionTime, boolean includeStatistics)Subclass ofReporter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleAnalysisResults()This method is called after the analysis is finished and all statistics have been computed.-
Methods inherited from class crypto.reporting.Reporter
afterAnalysis, beforeAnalysis, discoveredSeed, getObjects, getOutputFolder, getRules, getStatistics, includeStatistics, onSeedFinished
-
Methods inherited from class crypto.reporting.ErrorMarkerListener
addProgress, afterConstraintCheck, afterPredicateCheck, beforeConstraintCheck, beforePredicateCheck, boomerangQueryFinished, boomerangQueryStarted, checkedConstraints, collectedValues, ensuredPredicates, filterQuotes, onSecureObjectFound, onSeedTimeout, reportError, seedStarted
-
-
-
-
Constructor Detail
-
CommandLineReporter
public CommandLineReporter(String reportDir, List<CrySLRule> rules)
Subclass ofReporter. Creates an instance ofCommandLineReporterwith reportDir and rules as parameter
-
CommandLineReporter
public CommandLineReporter(String softwareID, List<CrySLRule> rules, long callgraphConstructionTime, boolean includeStatistics)
Subclass ofReporter. Creates an instance ofCommandLineReporter, which can be used to print an analysis report to stdout.- Parameters:
softwareID- AStringfor the analyzed software.rules- AListofCrySLRulecontaining the rules the program is analyzed with.callgraphConstructionTime- The time in milliseconds for the construction of the callgraph.includeStatistics- Set this value to true, if the analysis report should contain some analysis statistics (e.g. the callgraph construction time). If this value is set to false, no statistics will be output.
-
-
Method Detail
-
handleAnalysisResults
public void handleAnalysisResults()
Description copied from class:ReporterThis method is called after the analysis is finished and all statistics have been computed. A subclass can override this method to extend the actions after the analysis, e.g. creating an analysis report and write it into a file.- Specified by:
handleAnalysisResultsin classReporter
-
-