Class SARIFHelper


  • public class SARIFHelper
    extends Object
    • Constructor Detail

      • SARIFHelper

        public SARIFHelper()
    • Method Detail

      • initialJson

        public org.json.simple.JSONObject initialJson()
      • getToolInfo

        public org.json.simple.JSONObject getToolInfo()
      • getMessage

        public org.json.simple.JSONObject getMessage​(String text,
                                                     String richText)
      • getFileName

        public String getFileName​(soot.SootClass c)
      • getLocations

        public org.json.simple.JSONArray getLocations​(soot.SootClass c,
                                                      String methodName,
                                                      int lineNumber,
                                                      String method,
                                                      String statement)
      • getRuleDescription

        public String getRuleDescription​(String ruleId)
      • getStatisticsInfo

        public org.json.simple.JSONObject getStatisticsInfo​(ReportStatistics statistics)