Skip to content

Commit f8de6a6

Browse files
committed
Raise file size limit for daca2 from 100kb to 1mb
1 parent e87ac14 commit f8de6a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/daca2-report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def readdate(data):
4747
mainpage.write('<body>\n')
4848
mainpage.write('<h1>DACA2</h1>\n')
4949
mainpage.write('<p>Results when running latest (git head) Cppcheck on Debian.</p>\n')
50-
mainpage.write('<p>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.</p>\n')
50+
mainpage.write('<p>For performance reasons the analysis is limited. Files larger than 1mb are skipped. If analysis of a file takes more than 10 minutes it may be stopped.</p>\n')
5151
mainpage.write('<table class="sortable">\n')
5252
mainpage.write(
5353
'<tr>' +

tools/daca2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def removeLargeFiles(path):
116116
removeLargeFiles(g + '/')
117117
elif os.path.isfile(g) and g[-4:] != '.txt':
118118
statinfo = os.stat(g)
119-
if path.find('/clang/INPUTS/') > 0 or statinfo.st_size > 100000:
119+
if path.find('/clang/INPUTS/') > 0 or statinfo.st_size > 10000000:
120120
os.remove(g)
121121

122122

0 commit comments

Comments
 (0)