|
|
|
@ -21,7 +21,7 @@ import shutil
|
|
|
|
|
import subprocess
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
from inferlib import analyze, config, source, utils
|
|
|
|
|
from inferlib import config, source, utils
|
|
|
|
|
|
|
|
|
|
HTML_REPORT_DIR = 'report.html'
|
|
|
|
|
TRACES_REPORT_DIR = 'traces'
|
|
|
|
@ -346,10 +346,10 @@ def html_list_of_bugs(args, remote_source_template, selector):
|
|
|
|
|
def generate_html_report(args, reports):
|
|
|
|
|
html_dir = os.path.join(args.infer_out, HTML_REPORT_DIR)
|
|
|
|
|
shutil.rmtree(html_dir, True)
|
|
|
|
|
analyze.mkdir_if_not_exists(html_dir)
|
|
|
|
|
utils.mkdir_if_not_exists(html_dir)
|
|
|
|
|
|
|
|
|
|
traces_dir = os.path.join(html_dir, TRACES_REPORT_DIR)
|
|
|
|
|
analyze.mkdir_if_not_exists(traces_dir)
|
|
|
|
|
utils.mkdir_if_not_exists(traces_dir)
|
|
|
|
|
|
|
|
|
|
sel = Selector(args, reports)
|
|
|
|
|
|
|
|
|
|