Files: general info.
This commit is contained in:
parent
9ab0066739
commit
10f57acf28
8
statgit
8
statgit
@ -402,8 +402,16 @@ class HTMLReportCreator(ReportCreator):
|
|||||||
f.write('<h1>Files</h1>')
|
f.write('<h1>Files</h1>')
|
||||||
self.printNav(f)
|
self.printNav(f)
|
||||||
|
|
||||||
|
f.write('<dl>\n')
|
||||||
|
f.write('<dt>Total files</dt><dd>%d</dd>' % data.getTotalFiles())
|
||||||
|
f.write('<dt>Total lines</dt><dd>%d</dd>' % data.getTotalLOC())
|
||||||
|
f.write('<dt>Average file size</dt><dd>%.2f bytes</dd>' % ((100.0 * data.getTotalLOC()) / data.getTotalFiles()))
|
||||||
|
f.write('</dl>\n')
|
||||||
|
|
||||||
f.write('<h2>File count by date</h2>')
|
f.write('<h2>File count by date</h2>')
|
||||||
|
|
||||||
|
f.write('<h2>Average file size by date</h2>')
|
||||||
|
|
||||||
f.write('</body></html>')
|
f.write('</body></html>')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user