Package crypto.reporting
Class ReporterHelper
- java.lang.Object
-
- crypto.reporting.ReporterHelper
-
public class ReporterHelper extends Object
This class is used to generate a report as aStringfor multiple other classes. This class is used by theCommandLineReporterandTXTReporter.
-
-
Constructor Summary
Constructors Constructor Description ReporterHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgenerateReport(List<CrySLRule> rules, Collection<IAnalysisSeed> objects, List<IAnalysisSeed> secureObjects, com.google.common.collect.Table<soot.SootClass,soot.SootMethod,Set<AbstractError>> errorMarkers, Map<Class<?>,Integer> errorMarkerCount, ReportStatistics statistics)Generates an analysis report content for theCommandLineReporterandTXTReporter.
-
-
-
Method Detail
-
generateReport
public static String generateReport(List<CrySLRule> rules, Collection<IAnalysisSeed> objects, List<IAnalysisSeed> secureObjects, com.google.common.collect.Table<soot.SootClass,soot.SootMethod,Set<AbstractError>> errorMarkers, Map<Class<?>,Integer> errorMarkerCount, ReportStatistics statistics)
Generates an analysis report content for theCommandLineReporterandTXTReporter.- Parameters:
rules- AListwithCrySLRulerules, which were used in the analysisobjects- ACollectionwithIAnalysisSeedobjectssecureObjects- AListwithIAnalysisSeedsecureObjectserrorMarkers- ATablecontainingSootClass,SootMethodand aSetofAbstractErrorof the errors found during analysiserrorMarkerCount- AMapcontainingClassclass of error andIntegernumber of errorsstatistics- An instance of the classReportStatistics, which holds all relevant statistics for the analysis. If no statistics should be included in the analysis, the value null should be passed.- Returns:
- report The formatted analysis report as
String
-
-