\n'
out[css] += html
f = open(project + '/true-positives.txt', 'rt')
for line in f.readlines():
line = line.strip()
if line.find('] -> [') > 0 or line.find('(error)') < 0:
continue
res = re.match('\\[('+project+'.+):([0-9]+)\\]:\s+[(][a-z]+[)] (.+)', line)
if res == None:
continue
if line in results:
continue
filename = res.group(1)
linenr = res.group(2)
message = res.group(3)
classification = 'Not Found'
css = 'notfound'
html = '
'
html += '
'+filename+'
'
html += '
'+linenr+'
'
html += '
'+message+'
'
html += '
'+classification+'
'
html += '
\n'
out[css] += html
f.close();
fout.write(out['tp'])
fout.write(out['notfound'])
fout.write(out['untriaged'])
fout.write(out['fp'])
fout.write('