Package crypto.reporting
Class GitHubAnnotationReporter
- java.lang.Object
-
- crypto.analysis.CrySLAnalysisListener
-
- crypto.reporting.ErrorMarkerListener
-
- crypto.reporting.Reporter
-
- crypto.reporting.GitHubAnnotationReporter
-
- All Implemented Interfaces:
ICrySLPerformanceListener,ICrySLResultsListener
public class GitHubAnnotationReporter extends Reporter
-
-
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 GitHubAnnotationReporter(String softwareID, List<CrySLRule> rules, long callgraphConstructionTime, boolean includeStatistics)The constructor to initialize all attributes.
-
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
-
GitHubAnnotationReporter
public GitHubAnnotationReporter(String softwareID, List<CrySLRule> rules, long callgraphConstructionTime, boolean includeStatistics)
The constructor to initialize all attributes. Since this class is abstract, all subclasses have to call this constructor. TODO describe- 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
-
-