-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1217b5b
Showing
43 changed files
with
5,737 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
197 changes: 197 additions & 0 deletions
197
coverage/Dotnet.Installer.Core_DotnetVersionJsonConverter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,197 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=1" /> | ||
<link href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAn1BMVEUAAADCAAAAAAA3yDfUAAA3yDfUAAA8PDzr6+sAAAD4+Pg3yDeQkJDTAADt7e3V1dU3yDdCQkIAAADbMTHUAABBykHUAAA2yDY3yDfr6+vTAAB3diDR0dGYcHDUAAAjhiPSAAA3yDeuAADUAAA3yDf////OCALg9+BLzktBuzRelimzKgv87+/dNTVflSn1/PWz6rO126g5yDlYniy0KgwjJ0TyAAAAI3RSTlMABAj0WD6rJcsN7X1HzMqUJyYW+/X08+bltqSeaVRBOy0cE+citBEAAADBSURBVDjLlczXEoIwFIThJPYGiL0XiL3r+z+bBOJs9JDMuLffP8v+Gxfc6aIyDQVjQcnqnvRDEQwLJYtXpZT+YhDHKIjLbS+OUeT4TjkKi6OwOArq+yeKXD9uDqQQbcOjyCy0e6bTojZSftX+U6zUQ7OuittDu1k0WHqRFfdXQijgjKfF6ZwAikvmKD6OQjmKWUcDigkztm5FZN05nMON9ZcoinlBmTNnAUdBnRbUUbgdBZwWbkcBpwXcVsBtxfjb31j1QB5qeebOAAAAAElFTkSuQmCC" rel="icon" type="image/x-icon" /> | ||
<title>Dotnet.Installer.Core.Converters.DotnetVersionJsonConverter - Coverage Report</title> | ||
<link rel="stylesheet" type="text/css" href="report.css" /> | ||
</head><body><div class="container"><div class="containerleft"> | ||
<h1><a href="index.html" class="back"><</a> Summary</h1> | ||
<div class="card-group"> | ||
<div class="card"> | ||
<div class="card-header">Information</div> | ||
<div class="card-body"> | ||
<div class="table"> | ||
<table> | ||
<tr> | ||
<th>Class:</th> | ||
<td class="limit-width " title="Dotnet.Installer.Core.Converters.DotnetVersionJsonConverter">Dotnet.Installer.Core.Converters.DotnetVersionJsonConverter</td> | ||
</tr> | ||
<tr> | ||
<th>Assembly:</th> | ||
<td class="limit-width " title="Dotnet.Installer.Core">Dotnet.Installer.Core</td> | ||
</tr> | ||
<tr> | ||
<th>File(s):</th> | ||
<td class="overflow-wrap"><a href="#homerunnerworkdotnetsnapdotnetsnapsrcDotnetInstallerCoreConvertersDotnetVersionJsonConvertercs" class="navigatetohash">/home/runner/work/dotnet-snap/dotnet-snap/src/Dotnet.Installer.Core/Converters/DotnetVersionJsonConverter.cs</a></td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-group"> | ||
<div class="card"> | ||
<div class="card-header">Line coverage</div> | ||
<div class="card-body"> | ||
<div class="large cardpercentagebar cardpercentagebar0">100%</div> | ||
<div class="table"> | ||
<table> | ||
<tr> | ||
<th>Covered lines:</th> | ||
<td class="limit-width right" title="9">9</td> | ||
</tr> | ||
<tr> | ||
<th>Uncovered lines:</th> | ||
<td class="limit-width right" title="0">0</td> | ||
</tr> | ||
<tr> | ||
<th>Coverable lines:</th> | ||
<td class="limit-width right" title="9">9</td> | ||
</tr> | ||
<tr> | ||
<th>Total lines:</th> | ||
<td class="limit-width right" title="22">22</td> | ||
</tr> | ||
<tr> | ||
<th>Line coverage:</th> | ||
<td class="limit-width right" title="9 of 9">100%</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="card-header">Branch coverage</div> | ||
<div class="card-body"> | ||
<div class="large cardpercentagebar cardpercentagebar0">100%</div> | ||
<div class="table"> | ||
<table> | ||
<tr> | ||
<th>Covered branches:</th> | ||
<td class="limit-width right" title="2">2</td> | ||
</tr> | ||
<tr> | ||
<th>Total branches:</th> | ||
<td class="limit-width right" title="2">2</td> | ||
</tr> | ||
<tr> | ||
<th>Branch coverage:</th> | ||
<td class="limit-width right" title="2 of 2">100%</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="card-header">Method coverage</div> | ||
<div class="card-body"> | ||
<div class="center"> | ||
<p>Feature is only available for sponsors</p> | ||
<a class="pro-button" href="https://reportgenerator.io/pro" target="_blank">Upgrade to PRO version</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<h1>Metrics</h1> | ||
<div class="table-responsive"> | ||
<table class="overview table-fixed"> | ||
<colgroup> | ||
<col class="column-min-200" /> | ||
<col class="column105" /> | ||
<col class="column105" /> | ||
<col class="column105" /> | ||
<col class="column105" /> | ||
</colgroup> | ||
<thead><tr><th>Method</th><th>Branch coverage <a href="https://en.wikipedia.org/wiki/Code_coverage" target="_blank"><i class="icon-info-circled"></i></a></th><th>Crap Score <a href="https://googletesting.blogspot.de/2011/02/this-code-is-crap.html" target="_blank"><i class="icon-info-circled"></i></a></th><th>Cyclomatic complexity <a href="https://en.wikipedia.org/wiki/Cyclomatic_complexity" target="_blank"><i class="icon-info-circled"></i></a></th><th>Line coverage <a href="https://en.wikipedia.org/wiki/Code_coverage" target="_blank"><i class="icon-info-circled"></i></a></th></tr></thead> | ||
<tbody> | ||
<tr><td title="Read(System.Text.Json.Utf8JsonReader&,System.Type,System.Text.Json.JsonSerializerOptions)"><a href="#file0_line10" class="navigatetohash">Read(...)</a></td><td>100%</td><td>2</td><td>2</td><td>100%</td></tr> | ||
<tr><td title="Write(System.Text.Json.Utf8JsonWriter,Dotnet.Installer.Core.Types.DotnetVersion,System.Text.Json.JsonSerializerOptions)"><a href="#file0_line19" class="navigatetohash">Write(...)</a></td><td>100%</td><td>1</td><td>1</td><td>100%</td></tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<h1>File(s)</h1> | ||
<h2 id="homerunnerworkdotnetsnapdotnetsnapsrcDotnetInstallerCoreConvertersDotnetVersionJsonConvertercs">/home/runner/work/dotnet-snap/dotnet-snap/src/Dotnet.Installer.Core/Converters/DotnetVersionJsonConverter.cs</h2> | ||
<div class="table-responsive"> | ||
<table class="lineAnalysis"> | ||
<thead><tr><th></th><th>#</th><th>Line</th><th></th><th>Line coverage</th></tr></thead> | ||
<tbody> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line1"></a><code>1</code></td><td></td><td class="lightgray"><code>using System.Text.Json;</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line2"></a><code>2</code></td><td></td><td class="lightgray"><code>using System.Text.Json.Serialization;</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line3"></a><code>3</code></td><td></td><td class="lightgray"><code>using Dotnet.Installer.Core.Types;</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line4"></a><code>4</code></td><td></td><td class="lightgray"><code></code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line5"></a><code>5</code></td><td></td><td class="lightgray"><code>namespace Dotnet.Installer.Core.Converters;</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line6"></a><code>6</code></td><td></td><td class="lightgray"><code></code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line7"></a><code>7</code></td><td></td><td class="lightgray"><code>public class DotnetVersionJsonConverter : JsonConverter<DotnetVersion></code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line8"></a><code>8</code></td><td></td><td class="lightgray"><code>{</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line9"></a><code>9</code></td><td></td><td class="lightgray"><code> public override DotnetVersion? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)</code></td></tr> | ||
<tr class="coverableline" title="Covered (7 visits)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line10"></a><code>10</code></td><td></td><td class="lightgreen"><code> {</code></td></tr> | ||
<tr class="coverableline" title="Covered (7 visits)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line11"></a><code>11</code></td><td></td><td class="lightgreen"><code> var value = reader.GetString();</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line12"></a><code>12</code></td><td></td><td class="lightgray"><code></code></td></tr> | ||
<tr class="coverableline" title="Covered (7 visits, 2 of 2 branches are covered)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line13"></a><code>13</code></td><td class="percentagebar percentagebar100"><i class="icon-fork"></i></td><td class="lightgreen"><code> return (value is not null)</code></td></tr> | ||
<tr class="coverableline" title="Covered (7 visits)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line14"></a><code>14</code></td><td></td><td class="lightgreen"><code> ? DotnetVersion.Parse(value)</code></td></tr> | ||
<tr class="coverableline" title="Covered (7 visits)" data-coverage="{'AllTestMethods': {'VC': '7', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">7</td><td class="rightmargin right"><a id="file0_line15"></a><code>15</code></td><td></td><td class="lightgreen"><code> : default;</code></td></tr> | ||
<tr class="coverableline" title="Covered (4 visits)" data-coverage="{'AllTestMethods': {'VC': '4', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">4</td><td class="rightmargin right"><a id="file0_line16"></a><code>16</code></td><td></td><td class="lightgreen"><code> }</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line17"></a><code>17</code></td><td></td><td class="lightgray"><code></code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line18"></a><code>18</code></td><td></td><td class="lightgray"><code> public override void Write(Utf8JsonWriter writer, DotnetVersion value, JsonSerializerOptions options)</code></td></tr> | ||
<tr class="coverableline" title="Covered (3 visits)" data-coverage="{'AllTestMethods': {'VC': '3', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3</td><td class="rightmargin right"><a id="file0_line19"></a><code>19</code></td><td></td><td class="lightgreen"><code> {</code></td></tr> | ||
<tr class="coverableline" title="Covered (3 visits)" data-coverage="{'AllTestMethods': {'VC': '3', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3</td><td class="rightmargin right"><a id="file0_line20"></a><code>20</code></td><td></td><td class="lightgreen"><code> writer.WriteStringValue(value.ToString());</code></td></tr> | ||
<tr class="coverableline" title="Covered (3 visits)" data-coverage="{'AllTestMethods': {'VC': '3', 'LVS': 'green'}}"><td class="green"> </td><td class="leftmargin rightmargin right">3</td><td class="rightmargin right"><a id="file0_line21"></a><code>21</code></td><td></td><td class="lightgreen"><code> }</code></td></tr> | ||
<tr class="" title="Not coverable" data-coverage="{'AllTestMethods': {'VC': '', 'LVS': 'gray'}}"><td class="gray"> </td><td class="leftmargin rightmargin right"></td><td class="rightmargin right"><a id="file0_line22"></a><code>22</code></td><td></td><td class="lightgray"><code>}</code></td></tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div class="footer">Generated by: ReportGenerator 5.4.1.0<br />11/27/2024 - 15:18:49<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> | ||
<a href="#file0_line10" class="navigatetohash percentagebar percentagebar100" title="Line coverage: 100% - Read(System.Text.Json.Utf8JsonReader&,System.Type,System.Text.Json.JsonSerializerOptions)"><i class="icon-cube"></i>Read(System.Text.Json.Utf8JsonReader&,System.Type,System.Text.Json.JsonSerializerOptions)</a><br /> | ||
<a href="#file0_line19" class="navigatetohash percentagebar percentagebar100" title="Line coverage: 100% - Write(System.Text.Json.Utf8JsonWriter,Dotnet.Installer.Core.Types.DotnetVersion,System.Text.Json.JsonSerializerOptions)"><i class="icon-cube"></i>Write(System.Text.Json.Utf8JsonWriter,Dotnet.Installer.Core.Types.DotnetVersion,System.Text.Json.JsonSerializerOptions)</a><br /> | ||
<br/></div> | ||
</div></div> | ||
<script type="text/javascript"> | ||
/* <![CDATA[ */ | ||
(function() { | ||
var url = window.location.href; | ||
var startOfQueryString = url.indexOf('?'); | ||
var queryString = startOfQueryString > -1 ? url.substr(startOfQueryString) : ''; | ||
|
||
if (startOfQueryString > -1) { | ||
var i = 0, href= null; | ||
var css = document.getElementsByTagName('link'); | ||
|
||
for (i = 0; i < css.length; i++) { | ||
if (css[i].getAttribute('rel') !== 'stylesheet') { | ||
continue; | ||
} | ||
|
||
href = css[i].getAttribute('href'); | ||
|
||
if (href) { | ||
css[i].setAttribute('href', href + queryString); | ||
} | ||
} | ||
|
||
var links = document.getElementsByTagName('a'); | ||
|
||
for (i = 0; i < links.length; i++) { | ||
href = links[i].getAttribute('href'); | ||
|
||
if (href | ||
&& !href.startsWith('http://') | ||
&& !href.startsWith('https://') | ||
&& !href.startsWith('#') | ||
&& href.indexOf('?') === -1) { | ||
links[i].setAttribute('href', href + queryString); | ||
} | ||
} | ||
} | ||
|
||
var newScript = document.createElement('script'); | ||
newScript.src = 'class.js' + queryString; | ||
document.getElementsByTagName('body')[0].appendChild(newScript); | ||
})(); | ||
/* ]]> */ | ||
</script></body></html> |
Oops, something went wrong.