Class TXTReporter

    • Constructor Detail

      • TXTReporter

        public TXTReporter​(String reportDir,
                           String softwareID,
                           List<CrySLRule> rules,
                           long callgraphConstructionTime,
                           boolean includeStatistics)
        Subclass of Reporter. Creates an instance of TXTReporter, which can be used to create a text file containing the analysis report.
        Parameters:
        reportDir - A String path giving the location of the report directory. The reportPath should end without an ending file separator.
        softwareID - A String for the analyzed software.
        rules - A List of CrySLRule containing 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: Reporter
        This 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:
        handleAnalysisResults in class Reporter