diff --git a/tools/daca2-report.py b/tools/daca2-report.py index fd56e5dd9..54f3ca2b8 100644 --- a/tools/daca2-report.py +++ b/tools/daca2-report.py @@ -37,10 +37,21 @@ if len(sys.argv) == 2: mainpage = open(path + '/daca2.html', 'wt') mainpage.write('\n') -mainpage.write('DACA2\n') +mainpage.write('\n') +mainpage.write('\n') +mainpage.write('DACA2\n') +mainpage.write('\n') +mainpage.write('\n') mainpage.write('\n') mainpage.write('

DACA2

\n') -mainpage.write('

Results when running latest Cppcheck on Debian.

\n') +mainpage.write( + '

Results when running latest (git head) Cppcheck on Debian.

\n') +mainpage.write( + '

For performance reasons the analysis is limited. Files larger than 100kb are skipped. If analysis of a file takes more than 10 minutes it may be stopped.

\n') +mainpage.write('

The hardware running the analysis is a Raspberry PI.

\n') +mainpage.write('\n') +mainpage.write( + '\n') lastupdate = None recent = [] @@ -64,9 +75,9 @@ for lib in range(2): recent.append(a) mainpage.write( - '' + a + '
\n') + '\n') - data = data.replace('&', ' ') + data = data.replace('&', '&') data = data.replace('<', '<') data = data.replace('>', '>') data = data.replace('\'', ''') @@ -84,6 +95,8 @@ for lib in range(2): f.write('\n') f.close() +mainpage.write('
Name Date
' + a + '' + datestr + '
\n') + if lastupdate: mainpage.write('

Last update: ' + lastupdate + '

') allrecent = ''