Class GitHubAnnotationReporter

    • 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 - 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