Package crypto.reporting
Class TXTReporter
- java.lang.Object
-
- crypto.analysis.CrySLAnalysisListener
-
- crypto.reporting.ErrorMarkerListener
-
- crypto.reporting.Reporter
-
- crypto.reporting.TXTReporter
-
- All Implemented Interfaces:
ICrySLPerformanceListener,ICrySLResultsListener
public class TXTReporter extends Reporter
This class extends the classReporterby generating a report and writing it into a text file.
-
-
Field Summary
-
Fields inherited from class crypto.reporting.Reporter
analysisWatch, dataflowReachableMethods, objects, statistics
-
Fields inherited from class crypto.reporting.ErrorMarkerListener
errorMarkerCount, errorMarkers, secureObjects
-
-
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
-
TXTReporter
public TXTReporter(String reportDir, String softwareID, List<CrySLRule> rules, long callgraphConstructionTime, boolean includeStatistics)
Subclass ofReporter. Creates an instance ofTXTReporter, which can be used to create a text file containing the analysis report.- Parameters:
reportDir- AStringpath giving the location of the report directory. The reportPath should end without an ending file separator.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
-
-