-
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.
chore: report generator unity tests (90% line coverage in Application)
- Loading branch information
1 parent
d67e069
commit a7e21db
Showing
51 changed files
with
6,056 additions
and
1 deletion.
There are no files selected for viewing
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
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
265 changes: 265 additions & 0 deletions
265
src/URLShortener.Tests/output/URLShortener.Application_UrlService.html
Large diffs are not rendered by default.
Oops, something went wrong.
191 changes: 191 additions & 0 deletions
191
...URLShortener.Tests/output/URLShortener.CustomExceptions_EntityAlreadyExistsException.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,191 @@ | ||
<!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>URLShortener.Infra.Repositories.EntityAlreadyExistsException - 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="URLShortener.Infra.Repositories.EntityAlreadyExistsException">URLShortener.Infra.Repositories.EntityAlreadyExistsException</td> | ||
</tr> | ||
<tr> | ||
<th>Assembly:</th> | ||
<td class="limit-width " title="URLShortener.CustomExceptions">URLShortener.CustomExceptions</td> | ||
</tr> | ||
<tr> | ||
<th>File(s):</th> | ||
<td class="overflow-wrap"><a href="#CUsersanaassourcereposURLShortenersrcURLShortenerCustomExceptionsEntityAlreadyExistsExceptioncs" class="navigatetohash">C:\Users\anaas\source\repos\URLShortener\src\URLShortener.CustomExceptions\EntityAlreadyExistsException.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 cardpercentagebar100">0%</div> | ||
<div class="table"> | ||
<table> | ||
<tr> | ||
<th>Covered lines:</th> | ||
<td class="limit-width right" title="0">0</td> | ||
</tr> | ||
<tr> | ||
<th>Uncovered lines:</th> | ||
<td class="limit-width right" title="5">5</td> | ||
</tr> | ||
<tr> | ||
<th>Coverable lines:</th> | ||
<td class="limit-width right" title="5">5</td> | ||
</tr> | ||
<tr> | ||
<th>Total lines:</th> | ||
<td class="limit-width right" title="15">15</td> | ||
</tr> | ||
<tr> | ||
<th>Line coverage:</th> | ||
<td class="limit-width right" title="0 of 5">0%</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card"> | ||
<div class="card-header">Branch coverage</div> | ||
<div class="card-body"> | ||
<div class="large">N/A</div> | ||
<div class="table"> | ||
<table> | ||
<tr> | ||
<th>Covered branches:</th> | ||
<td class="limit-width right" title="0">0</td> | ||
</tr> | ||
<tr> | ||
<th>Total branches:</th> | ||
<td class="limit-width right" title="0">0</td> | ||
</tr> | ||
<tr> | ||
<th>Branch coverage:</th> | ||
<td class="limit-width right" title="N/A">N/A</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="get_SpecificEntity()"><a href="#file0_line7" class="navigatetohash">get_SpecificEntity()</a></td><td>100%</td><td>2</td><td>1</td><td>0%</td></tr> | ||
<tr><td title=".ctor(System.String)"><a href="#file0_line10" class="navigatetohash">.ctor(...)</a></td><td>100%</td><td>2</td><td>1</td><td>0%</td></tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<h1>File(s)</h1> | ||
<h2 id="CUsersanaassourcereposURLShortenersrcURLShortenerCustomExceptionsEntityAlreadyExistsExceptioncs">C:\Users\anaas\source\repos\URLShortener\src\URLShortener.CustomExceptions\EntityAlreadyExistsException.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></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>namespace URLShortener.Infra.Repositories</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>{</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> [Serializable]</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> public class EntityAlreadyExistsException : Exception</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="coverableline" title="Not covered (0 visits)" data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line7"></a><code>7</code></td><td></td><td class="lightred"><code> public string SpecificEntity { get; private set; }</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 EntityAlreadyExistsException(string specificEntity)</code></td></tr> | ||
<tr class="coverableline" title="Not covered (0 visits)" data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line10"></a><code>10</code></td><td></td><td class="lightred"><code> : base($"Entity {specificEntity} with properties described already exists.")</code></td></tr> | ||
<tr class="coverableline" title="Not covered (0 visits)" data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line11"></a><code>11</code></td><td></td><td class="lightred"><code> {</code></td></tr> | ||
<tr class="coverableline" title="Not covered (0 visits)" data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line12"></a><code>12</code></td><td></td><td class="lightred"><code> SpecificEntity = specificEntity;</code></td></tr> | ||
<tr class="coverableline" title="Not covered (0 visits)" data-coverage="{'AllTestMethods': {'VC': '0', 'LVS': 'red'}}"><td class="red"> </td><td class="leftmargin rightmargin right">0</td><td class="rightmargin right"><a id="file0_line13"></a><code>13</code></td><td></td><td class="lightred"><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_line14"></a><code>14</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_line15"></a><code>15</code></td><td></td><td class="lightgray"><code>}</code></td></tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div class="footer">Generated by: ReportGenerator 5.2.2.0<br />3/5/2024 - 1:28:01 PM<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_line7" class="navigatetohash percentagebar percentagebar0" title="Line coverage: 0% - get_SpecificEntity()"><i class="icon-wrench"></i>get_SpecificEntity()</a><br /> | ||
<a href="#file0_line10" class="navigatetohash percentagebar percentagebar0" title="Line coverage: 0% - .ctor(System.String)"><i class="icon-cube"></i>.ctor(System.String)</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.