Skip to content

Commit

Permalink
#595 Added new report type 'Html_BlueRed_Summary' to improve red-gree…
Browse files Browse the repository at this point in the history
…n colorblind accessibility
  • Loading branch information
danielpalme committed Sep 29, 2023
1 parent 282bdbe commit 1a7cecd
Show file tree
Hide file tree
Showing 81 changed files with 1,616 additions and 306 deletions.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
}
</script>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.30af427a6d437482.js" type="module"></script></body>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.ef294caf361a7de0.js" type="module"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
}
</script>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.30af427a6d437482.js" type="module"></script></body>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.ef294caf361a7de0.js" type="module"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
}
</script>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.30af427a6d437482.js" type="module"></script></body>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.ef294caf361a7de0.js" type="module"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/getstarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
}
</script>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.30af427a6d437482.js" type="module"></script></body>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.ef294caf361a7de0.js" type="module"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
}
</script>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.30af427a6d437482.js" type="module"></script></body>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.ef294caf361a7de0.js" type="module"></script></body>
</html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pro.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }
}
</script>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.30af427a6d437482.js" type="module"></script></body>
<script src="runtime.3a967657a38b0761.js" type="module"></script><script src="polyfills.f580ad6b6c609c91.js" type="module"></script><script src="scripts.40387122306779ed.js" defer></script><script src="main.ef294caf361a7de0.js" type="module"></script></body>
</html>
Binary file modified docs/resources/SampleReports.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/resources/reports/Clover/Clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<coverage generated="1682620802" clover="4.3.1">
<project timestamp="1682620802">
<coverage generated="1696014328" clover="4.3.1">
<project timestamp="1696014328">
<metrics complexity="0" elements="125" coveredelements="83" conditionals="6" coveredconditionals="3" statements="125" coveredstatements="83" coveredmethods="13" methods="24" classes="5" loc="260" ncloc="125" files="5" packages="1" />
<package name="Sample">
<metrics complexity="0" elements="125" coveredelements="83" conditionals="6" coveredconditionals="3" statements="125" coveredstatements="83" coveredmethods="13" methods="24" classes="5" loc="260" ncloc="125" files="5" />
Expand Down Expand Up @@ -161,7 +161,7 @@
</file>
</package>
</project>
<testproject timestamp="1682620802">
<testproject timestamp="1696014328">
<metrics complexity="0" elements="0" coveredelements="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" coveredmethods="0" methods="0" classes="0" loc="0" ncloc="0" files="0" packages="0" />
</testproject>
</coverage>
18 changes: 9 additions & 9 deletions docs/resources/reports/Cobertura/Cobertura.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage line-rate="0.664" branch-rate="0.5" lines-covered="83" lines-valid="125" branches-covered="3" branches-valid="6" complexity="26" version="0" timestamp="1682628003">
<coverage line-rate="0.664" branch-rate="0.5" lines-covered="83" lines-valid="125" branches-covered="3" branches-valid="6" complexity="26" version="0" timestamp="1696021530">
<sources />
<packages>
<package name="Sample" line-rate="0.664" branch-rate="0.5" complexity="26">
Expand Down Expand Up @@ -141,9 +141,9 @@
<line number="35" hits="0" branch="false" />
</lines>
</class>
<class name="Test.Program" filename="C:\temp\Program.cs" line-rate="0.795454545454545" branch-rate="1" complexity="5">
<class name="Test.Program" filename="C:\temp\Program.cs" line-rate="0.795454545454545" branch-rate="1" complexity="8">
<methods>
<method name="Main" signature="(System.String[])" line-rate="0.88" branch-rate="1" complexity="NaN">
<method name="Main" signature="(System.String[])" line-rate="0.88" branch-rate="1" complexity="1">
<lines>
<line number="12" hits="1" branch="false" />
<line number="13" hits="1" branch="false" />
Expand Down Expand Up @@ -186,15 +186,15 @@
<line number="59" hits="0" branch="false" />
</lines>
</method>
<method name=".ctor" signature="(System.Net.Http.HttpResponseMessage)" line-rate="1" branch-rate="1" complexity="NaN">
<method name=".ctor" signature="(System.Net.Http.HttpResponseMessage)" line-rate="1" branch-rate="1" complexity="1">
<lines>
<line number="73" hits="1" branch="false" />
<line number="74" hits="1" branch="false" />
<line number="75" hits="1" branch="false" />
<line number="76" hits="1" branch="false" />
</lines>
</method>
<method name="SendAsync" signature="(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" line-rate="1" branch-rate="1" complexity="NaN">
<method name="SendAsync" signature="(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" line-rate="1" branch-rate="1" complexity="1">
<lines>
<line number="79" hits="1" branch="false" />
<line number="80" hits="1" branch="false" />
Expand Down Expand Up @@ -259,7 +259,7 @@
<line number="81" hits="1" branch="false" />
</lines>
</class>
<class name="Test.TestClass2" filename="C:\temp\TestClass2.cs" line-rate="0.631578947368421" branch-rate="0.5" complexity="3">
<class name="Test.TestClass2" filename="C:\temp\TestClass2.cs" line-rate="0.631578947368421" branch-rate="0.5" complexity="10">
<methods>
<method name="ExecutedProperty" signature="()" line-rate="1" branch-rate="1" complexity="NaN">
<lines>
Expand Down Expand Up @@ -293,7 +293,7 @@
<line number="21" hits="0" branch="false" />
</lines>
</method>
<method name=".ctor" signature="(System.String)" line-rate="0.538461538461538" branch-rate="1" complexity="NaN">
<method name=".ctor" signature="(System.String)" line-rate="0.538461538461538" branch-rate="1" complexity="1">
<lines>
<line number="11" hits="2" branch="false" />
<line number="13" hits="3" branch="false" />
Expand Down Expand Up @@ -326,7 +326,7 @@
<line number="39" hits="0" branch="false" />
</lines>
</method>
<method name="SampleFunction" signature="(System.String)" line-rate="1" branch-rate="0.5" complexity="NaN">
<method name="SampleFunction" signature="(System.String)" line-rate="1" branch-rate="0.5" complexity="5">
<lines>
<line number="42" hits="1" branch="false" />
<line number="43" hits="1" branch="false" />
Expand All @@ -343,7 +343,7 @@
<line number="58" hits="1" branch="false" />
</lines>
</method>
<method name="DoSomething" signature="(System.String,System.String[],System.Guid,System.Collections.Generic.IEnumerable`1&lt;System.String&gt;,System.Collections.Generic.IList`1&lt;System.String&gt;,System.Decimal,System.Int32,System.Collections.Generic.Dictionary`2&lt;System.String,System.Int32&gt;,System.Int32&amp;,System.Single,System.Double,System.Boolean,System.Byte,System.Char,System.Object,System.SByte,System.Int16,System.UInt32,System.UInt64,System.UInt16)" line-rate="0" branch-rate="1" complexity="NaN">
<method name="DoSomething" signature="(System.String,System.String[],System.Guid,System.Collections.Generic.IEnumerable`1&lt;System.String&gt;,System.Collections.Generic.IList`1&lt;System.String&gt;,System.Decimal,System.Int32,System.Collections.Generic.Dictionary`2&lt;System.String,System.Int32&gt;,System.Int32&amp;,System.Single,System.Double,System.Boolean,System.Byte,System.Char,System.Object,System.SByte,System.Int16,System.UInt32,System.UInt64,System.UInt16)" line-rate="0" branch-rate="1" complexity="1">
<lines>
<line number="80" hits="0" branch="false" />
<line number="81" hits="0" branch="false" />
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/reports/CsvSummary/Summary.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Summary
Generated on:;27.04.2023 - 20:40:13
Generated on:;29.09.2023 - 21:05:42
Parser:;OpenCover
Assemblies:;1
Classes:;4
Expand Down
8 changes: 4 additions & 4 deletions docs/resources/reports/Html/Sample_PartialClass.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ <h1><a href="index.html" class="back">&lt;</a> Summary</h1>
</div>
</div>
<h1>Coverage history</h1>
<div class="historychart ct-chart" data-data="historyChartData852e94baaa7b474e9ec2c96670117480"></div>
<div class="historychart ct-chart" data-data="historyChartDatafca355b8a3944945b14b160520ecdcc1"></div>
<script type="text/javascript">/* <![CDATA[ */
var historyChartData852e94baaa7b474e9ec2c96670117480 = {
var historyChartDatafca355b8a3944945b14b160520ecdcc1 = {
"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>27.04.2023 - 20:39:27</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>29.09.2023 - 21:04:47</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 @@ -201,7 +201,7 @@ <h2 id="CtempPartialClass2cs">C:\temp\PartialClass2.cs</h2>
</tbody>
</table>
</div>
<div class="footer">Generated by: ReportGenerator 5.1.20.0<br />27.04.2023 - 20:39:27<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.1.25.0<br />29.09.2023 - 21:04:47<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
6 changes: 3 additions & 3 deletions docs/resources/reports/Html/Sample_Program.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ <h1><a href="index.html" class="back">&lt;</a> Summary</h1>
</div>
</div>
<h1>Coverage history</h1>
<div class="historychart ct-chart" data-data="historyChartData58dd9b8a87f845389f6c806389373e07"></div>
<div class="historychart ct-chart" data-data="historyChartDatabbc5056cd6f945f5b9e5ccc3aa9676c2"></div>
<script type="text/javascript">/* <![CDATA[ */
var historyChartData58dd9b8a87f845389f6c806389373e07 = {
var historyChartDatabbc5056cd6f945f5b9e5ccc3aa9676c2 = {
"series" : [[{ 'meta': 0, 'value': 79.5 }],
[],
[{ 'meta': 0, 'value': 66.6 }]
Expand Down Expand Up @@ -226,7 +226,7 @@ <h2 id="CtempProgramcs">C:\temp\Program.cs</h2>
</tbody>
</table>
</div>
<div class="footer">Generated by: ReportGenerator 5.1.20.0<br />27.04.2023 - 20:39:27<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.1.25.0<br />29.09.2023 - 21:04:47<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
Loading

0 comments on commit 1a7cecd

Please sign in to comment.