def run(files_or_dirs = ARGV)
      if options[:tmp_folder]
        analyze(File.expand_path(options[:tmp_folder]), files_or_dirs)
      else
        Dir.mktmpdir do |dir|
          analyze(dir, files_or_dirs)
        end
      end
    end
def run(files_or_dirs = ARGV)
      if options[:tmp_folder]
        analyze(File.expand_path(options[:tmp_folder]), files_or_dirs)
      else
        Dir.mktmpdir do |dir|
          analyze(dir, files_or_dirs)
        end
      end
    end
Performs static analysis on the provided directory.
 @param [Array<String>] dir The directories / files to analyze.