Class Reporter

    • Field Detail

      • analysisWatch

        protected final com.google.common.base.Stopwatch analysisWatch
        The stopwatch to measure to time for the actual analysis
      • dataflowReachableMethods

        protected final Set<soot.SootMethod> dataflowReachableMethods
        A Set to store and count all reachable methods in the dataflow
    • Constructor Detail

      • Reporter

        public Reporter​(File outputFolder,
                        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.
        Parameters:
        outputFolder - A File for 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.