Skip to content

Commit

Permalink
#695 HTML reports: Performance and memory improvements (contributed by
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Sep 28, 2024
2 parents 137f0f6 + 3959774 commit 7dd8424
Show file tree
Hide file tree
Showing 54 changed files with 703 additions and 695 deletions.
11 changes: 5 additions & 6 deletions docs/resources/reports/Html/Sample_PartialClass.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1><a href="index.html" class="back">&lt;</a> Summary</h1>
</div>
</div>
<h1>Coverage history</h1>
<div class="historychart ct-chart" data-data="historyChartData52734a92c14b4555afe4f4cbfc60e963"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<div class="historychart ct-chart" data-data="historyChartDatad5a0ec58e51b4119b169c19b96492463"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<style type="text/css">
<![CDATA[
.ct-chart .ct-grid {
Expand Down Expand Up @@ -181,12 +181,12 @@ <h1>Coverage history</h1>
</svg>
</div>
<script type="text/javascript">/* <![CDATA[ */
var historyChartData52734a92c14b4555afe4f4cbfc60e963 = {
var historyChartDatad5a0ec58e51b4119b169c19b96492463 = {
"series" : [[{ 'meta': 0, 'value': 40.9 }, { 'meta': 1, 'value': 54.5 }, { 'meta': 2, 'value': 59 }, { 'meta': 3, 'value': 59 }, { 'meta': 4, 'value': 45.4 }, { 'meta': 5, 'value': 50 }, { 'meta': 6, 'value': 50 }, { 'meta': 7, 'value': 59 }, { 'meta': 8, 'value': 54.5 }],
[{ 'meta': 0, 'value': 50 }, { 'meta': 1, 'value': 40 }, { 'meta': 2, 'value': 40 }, { 'meta': 3, 'value': 45 }, { 'meta': 4, 'value': 45 }, { 'meta': 5, 'value': 45 }, { 'meta': 6, 'value': 45 }, { 'meta': 7, 'value': 45 }, { 'meta': 8, 'value': 50 }],
[{ 'meta': 0, 'value': 50 }, { 'meta': 1, 'value': 33.3 }, { 'meta': 2, 'value': 50 }, { 'meta': 3, 'value': 66.6 }, { 'meta': 4, 'value': 66.6 }, { 'meta': 5, 'value': 66.6 }, { 'meta': 6, 'value': 83.3 }, { 'meta': 7, 'value': 83.3 }, { 'meta': 8, 'value': 50 }]
],
"tooltips" : ['<h3>01.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 40.9% (9/22)<br /><span class="branchcoverage"></span> Branch coverage: 50% (10/20)<br /><span class="codeelementcoverage"></span> Method coverage: 50% (3/6)<br />Total lines: 53','<h3>02.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 54.5% (12/22)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 33.3% (2/6)<br />Total lines: 53','<h3>03.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 59% (13/22)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 50% (3/6)<br />Total lines: 53','<h3>04.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 59% (13/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 53','<h3>05.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 45.4% (10/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 53','<h3>06.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 50% (11/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 53','<h3>07.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 50% (11/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 83.3% (5/6)<br />Total lines: 53','<h3>08.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 59% (13/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 83.3% (5/6)<br />Total lines: 53','<h3>03.09.2024 - 20:23:19</h3><br /><span class="linecoverage"></span> Line coverage: 54.5% (12/22)<br /><span class="branchcoverage"></span> Branch coverage: 50% (1/2)<br /><span class="codeelementcoverage"></span> Method coverage: 50% (3/6)<br />Total lines: 53']
"tooltips" : ['<h3>01.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 40.9% (9/22)<br /><span class="branchcoverage"></span> Branch coverage: 50% (10/20)<br /><span class="codeelementcoverage"></span> Method coverage: 50% (3/6)<br />Total lines: 53','<h3>02.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 54.5% (12/22)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 33.3% (2/6)<br />Total lines: 53','<h3>03.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 59% (13/22)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 50% (3/6)<br />Total lines: 53','<h3>04.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 59% (13/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 53','<h3>05.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 45.4% (10/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 53','<h3>06.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 50% (11/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 53','<h3>07.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 50% (11/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 83.3% (5/6)<br />Total lines: 53','<h3>08.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 59% (13/22)<br /><span class="branchcoverage"></span> Branch coverage: 45% (9/20)<br /><span class="codeelementcoverage"></span> Method coverage: 83.3% (5/6)<br />Total lines: 53','<h3>28.09.2024 - 19:50:59</h3><br /><span class="linecoverage"></span> Line coverage: 54.5% (12/22)<br /><span class="branchcoverage"></span> Branch coverage: 50% (1/2)<br /><span class="codeelementcoverage"></span> Method coverage: 50% (3/6)<br />Total lines: 53']
};
/* ]]> */ </script>
<h1>Metrics</h1>
Expand Down Expand Up @@ -279,7 +279,7 @@ <h2 id="CtempPartialClass2cs">C:\temp\PartialClass2.cs</h2>
</tbody>
</table>
</div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />03.09.2024 - 20:23:19<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />28.09.2024 - 19:50:59<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
Expand Down Expand Up @@ -334,5 +334,4 @@ <h1>Methods/Properties</h1>
document.getElementsByTagName('body')[0].appendChild(newScript);
})();
/* ]]> */
</script>
</body></html>
</script></body></html>
11 changes: 5 additions & 6 deletions docs/resources/reports/Html/Sample_Program.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1><a href="index.html" class="back">&lt;</a> Summary</h1>
</div>
</div>
<h1>Coverage history</h1>
<div class="historychart ct-chart" data-data="historyChartData3db63ce8dc55471bb1404c3d1dc39dc8"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<div class="historychart ct-chart" data-data="historyChartData7f9cd3c447af43a097d69934d314ddae"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<style type="text/css">
<![CDATA[
.ct-chart .ct-grid {
Expand Down Expand Up @@ -178,12 +178,12 @@ <h1>Coverage history</h1>
</svg>
</div>
<script type="text/javascript">/* <![CDATA[ */
var historyChartData3db63ce8dc55471bb1404c3d1dc39dc8 = {
var historyChartData7f9cd3c447af43a097d69934d314ddae = {
"series" : [[{ 'meta': 0, 'value': 79.5 }, { 'meta': 1, 'value': 100 }],
[],
[{ 'meta': 0, 'value': 66.6 }, { 'meta': 1, 'value': 100 }]
],
"tooltips" : ['<h3>01.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 79.5% (35/44)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 84','<h3>03.09.2024 - 20:23:19</h3><br /><span class="linecoverage"></span> Line coverage: 100% (15/15)<br /><span class="codeelementcoverage"></span> Method coverage: 100% (3/3)<br />Total lines: 84']
"tooltips" : ['<h3>01.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 79.5% (35/44)<br /><span class="codeelementcoverage"></span> Method coverage: 66.6% (4/6)<br />Total lines: 84','<h3>28.09.2024 - 19:50:59</h3><br /><span class="linecoverage"></span> Line coverage: 100% (15/15)<br /><span class="codeelementcoverage"></span> Method coverage: 100% (3/3)<br />Total lines: 84']
};
/* ]]> */ </script>
<h1>Metrics</h1>
Expand Down Expand Up @@ -298,7 +298,7 @@ <h2 id="CtempProgramcs">C:\temp\Program.cs</h2>
</tbody>
</table>
</div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />03.09.2024 - 20:23:19<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />28.09.2024 - 19:50:59<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
Expand Down Expand Up @@ -350,5 +350,4 @@ <h1>Methods/Properties</h1>
document.getElementsByTagName('body')[0].appendChild(newScript);
})();
/* ]]> */
</script>
</body></html>
</script></body></html>
11 changes: 5 additions & 6 deletions docs/resources/reports/Html/Sample_TestClass.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1><a href="index.html" class="back">&lt;</a> Summary</h1>
</div>
</div>
<h1>Coverage history</h1>
<div class="historychart ct-chart" data-data="historyChartData0a2f1e56b9a44149b74bd4770fb20b23"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<div class="historychart ct-chart" data-data="historyChartData7d0b5fbff5c84ac7a84fa7e48745a65b"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<style type="text/css">
<![CDATA[
.ct-chart .ct-grid {
Expand Down Expand Up @@ -181,12 +181,12 @@ <h1>Coverage history</h1>
</svg>
</div>
<script type="text/javascript">/* <![CDATA[ */
var historyChartData0a2f1e56b9a44149b74bd4770fb20b23 = {
var historyChartData7d0b5fbff5c84ac7a84fa7e48745a65b = {
"series" : [[{ 'meta': 0, 'value': 72.7 }],
[{ 'meta': 0, 'value': 50 }],
[{ 'meta': 0, 'value': 80 }]
],
"tooltips" : ['<h3>03.09.2024 - 20:23:19</h3><br /><span class="linecoverage"></span> Line coverage: 72.7% (24/33)<br /><span class="branchcoverage"></span> Branch coverage: 50% (2/4)<br /><span class="codeelementcoverage"></span> Method coverage: 80% (4/5)<br />Total lines: 38']
"tooltips" : ['<h3>28.09.2024 - 19:50:59</h3><br /><span class="linecoverage"></span> Line coverage: 72.7% (24/33)<br /><span class="branchcoverage"></span> Branch coverage: 50% (2/4)<br /><span class="codeelementcoverage"></span> Method coverage: 80% (4/5)<br />Total lines: 38']
};
/* ]]> */ </script>
<h1>Metrics</h1>
Expand Down Expand Up @@ -256,7 +256,7 @@ <h2 id="CtempTestClasscs">C:\temp\TestClass.cs</h2>
</tbody>
</table>
</div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />03.09.2024 - 20:23:19<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />28.09.2024 - 19:50:59<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
Expand Down Expand Up @@ -310,5 +310,4 @@ <h1>Methods/Properties</h1>
document.getElementsByTagName('body')[0].appendChild(newScript);
})();
/* ]]> */
</script>
</body></html>
</script></body></html>
11 changes: 5 additions & 6 deletions docs/resources/reports/Html/Sample_TestClass2.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1><a href="index.html" class="back">&lt;</a> Summary</h1>
</div>
</div>
<h1>Coverage history</h1>
<div class="historychart ct-chart" data-data="historyChartData246a2487682e4a6ca874aa216f78ba87"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<div class="historychart ct-chart" data-data="historyChartDatad8c6a49da19b4acd93ed45569cb68958"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ct-chart" width="1200" height="150" viewBox="0 0 1200 150">
<style type="text/css">
<![CDATA[
.ct-chart .ct-grid {
Expand Down Expand Up @@ -181,12 +181,12 @@ <h1>Coverage history</h1>
</svg>
</div>
<script type="text/javascript">/* <![CDATA[ */
var historyChartData246a2487682e4a6ca874aa216f78ba87 = {
var historyChartDatad8c6a49da19b4acd93ed45569cb68958 = {
"series" : [[{ 'meta': 0, 'value': 39.4 }, { 'meta': 1, 'value': 39.4 }, { 'meta': 2, 'value': 42.1 }, { 'meta': 3, 'value': 44.7 }, { 'meta': 4, 'value': 39.4 }, { 'meta': 5, 'value': 63.1 }],
[{ 'meta': 0, 'value': 50 }, { 'meta': 1, 'value': 40 }, { 'meta': 2, 'value': 40 }, { 'meta': 3, 'value': 40 }, { 'meta': 4, 'value': 40 }, { 'meta': 5, 'value': 50 }],
[{ 'meta': 0, 'value': 60 }, { 'meta': 1, 'value': 40 }, { 'meta': 2, 'value': 40 }, { 'meta': 3, 'value': 60 }, { 'meta': 4, 'value': 60 }, { 'meta': 5, 'value': 60 }]
],
"tooltips" : ['<h3>01.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 39.4% (15/38)<br /><span class="branchcoverage"></span> Branch coverage: 50% (10/20)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85','<h3>02.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 39.4% (15/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 40% (4/10)<br />Total lines: 85','<h3>03.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 42.1% (16/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 40% (4/10)<br />Total lines: 85','<h3>06.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 44.7% (17/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85','<h3>08.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 39.4% (15/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85','<h3>03.09.2024 - 20:23:19</h3><br /><span class="linecoverage"></span> Line coverage: 63.1% (24/38)<br /><span class="branchcoverage"></span> Branch coverage: 50% (1/2)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85']
"tooltips" : ['<h3>01.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 39.4% (15/38)<br /><span class="branchcoverage"></span> Branch coverage: 50% (10/20)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85','<h3>02.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 39.4% (15/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 40% (4/10)<br />Total lines: 85','<h3>03.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 42.1% (16/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 40% (4/10)<br />Total lines: 85','<h3>06.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 44.7% (17/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85','<h3>08.02.2022 - 20:50:35</h3><br /><span class="linecoverage"></span> Line coverage: 39.4% (15/38)<br /><span class="branchcoverage"></span> Branch coverage: 40% (8/20)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85','<h3>28.09.2024 - 19:50:59</h3><br /><span class="linecoverage"></span> Line coverage: 63.1% (24/38)<br /><span class="branchcoverage"></span> Branch coverage: 50% (1/2)<br /><span class="codeelementcoverage"></span> Method coverage: 60% (6/10)<br />Total lines: 85']
};
/* ]]> */ </script>
<h1>Metrics</h1>
Expand Down Expand Up @@ -305,7 +305,7 @@ <h2 id="CtempTestClass2cs">C:\temp\TestClass2.cs</h2>
</tbody>
</table>
</div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />03.09.2024 - 20:23:19<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="footer">Generated by: ReportGenerator 5.3.9.0<br />28.09.2024 - 19:50:59<br /><a href="https://github.com/danielpalme/ReportGenerator">GitHub</a> | <a href="https://reportgenerator.io">reportgenerator.io</a></div></div>
<div class="containerright">
<div class="containerrightfixed">
<h1>Methods/Properties</h1>
Expand Down Expand Up @@ -364,5 +364,4 @@ <h1>Methods/Properties</h1>
document.getElementsByTagName('body')[0].appendChild(newScript);
})();
/* ]]> */
</script>
</body></html>
</script></body></html>
Loading

0 comments on commit 7dd8424

Please sign in to comment.