From 02c299405b7907fa273a5adeb21a329bc12fbf3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 24 Nov 2013 10:47:12 +0100 Subject: [PATCH] daca2: write number of error,warning,performance,portability,style in report --- tools/daca2-report.py | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/tools/daca2-report.py b/tools/daca2-report.py index 62ff6044d..e493fadc1 100644 --- a/tools/daca2-report.py +++ b/tools/daca2-report.py @@ -40,7 +40,8 @@ mainpage.write('\n') mainpage.write('\n') mainpage.write('\n') mainpage.write('DACA2\n') -mainpage.write('\n') +mainpage.write( + '\n') mainpage.write('\n') mainpage.write('\n') mainpage.write('

DACA2

\n') @@ -51,7 +52,14 @@ mainpage.write( mainpage.write('

The hardware running the analysis is a Raspberry PI.

\n') mainpage.write('\n') mainpage.write( - '\n') + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '\n') lastupdate = None recent = [] @@ -75,7 +83,15 @@ for lib in range(2): recent.append(a) mainpage.write( - '\n') + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + + '\n') data = data.replace('&', '&') data = data.replace('<', '<')
NameDate
NameDateErrorWarningPerformancePortabilityStyle
' + a + '' + datestr + '
' + a + '' + datestr + '' + str(data.count('(error)')) + '' + str(data.count('(warning)')) + '' + str(data.count('(performance)')) + '' + str(data.count('(portability)')) + '' + str(data.count('(style)')) + '