Skip to content

Commit

Permalink
Fix Mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
JosueUPT committed Dec 11, 2024
1 parent 9e44a8e commit 0880597
Show file tree
Hide file tree
Showing 37 changed files with 2,148 additions and 2,333 deletions.
75 changes: 0 additions & 75 deletions .github/workflows/sync-and-analyze.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .phpunit.result.cache

Large diffs are not rendered by default.

587 changes: 297 additions & 290 deletions coverage/clover.xml

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions coverage/html/Config/Database.php.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion coverage/html/Config/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ <h3>Project Risks</h3>
<footer>
<hr/>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 22:05:08 CET 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 23:15:41 CET 2024.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion coverage/html/Config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 22:05:08 CET 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 23:15:41 CET 2024.</small>
</p>
</footer>
</div>
Expand Down
830 changes: 417 additions & 413 deletions coverage/html/Controllers/AdminController.php.html

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions coverage/html/Controllers/ContactController.php.html

Large diffs are not rendered by default.

390 changes: 200 additions & 190 deletions coverage/html/Controllers/OrderController.php.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions coverage/html/Controllers/ProductController.php.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions coverage/html/Controllers/SearchController.php.html

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions coverage/html/Controllers/UserController.php.html

Large diffs are not rendered by default.

62 changes: 30 additions & 32 deletions coverage/html/Controllers/dashboard.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions coverage/html/Controllers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
<tr>
<td class="warning">Total</td>
<td class="warning big"> <div class="progress">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="86.43" aria-valuemin="0" aria-valuemax="100" style="width: 86.43%">
<span class="sr-only">86.43% covered (warning)</span>
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="86.95" aria-valuemin="0" aria-valuemax="100" style="width: 86.95%">
<span class="sr-only">86.95% covered (warning)</span>
</div>
</div>
</td>
<td class="warning small"><div align="right">86.43%</div></td>
<td class="warning small"><div align="right">484&nbsp;/&nbsp;560</div></td>
<td class="warning small"><div align="right">86.95%</div></td>
<td class="warning small"><div align="right">493&nbsp;/&nbsp;567</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="69.49" aria-valuemin="0" aria-valuemax="100" style="width: 69.49%">
<span class="sr-only">69.49% covered (warning)</span>
Expand All @@ -73,13 +73,13 @@
<tr>
<td class="warning"><img src="../_icons/file-code.svg" class="octicon" /><a href="AdminController.php.html">AdminController.php</a></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="83.33" aria-valuemin="0" aria-valuemax="100" style="width: 83.33%">
<span class="sr-only">83.33% covered (warning)</span>
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="84.35" aria-valuemin="0" aria-valuemax="100" style="width: 84.35%">
<span class="sr-only">84.35% covered (warning)</span>
</div>
</div>
</td>
<td class="warning small"><div align="right">83.33%</div></td>
<td class="warning small"><div align="right">190&nbsp;/&nbsp;228</div></td>
<td class="warning small"><div align="right">84.35%</div></td>
<td class="warning small"><div align="right">194&nbsp;/&nbsp;230</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="52.00" aria-valuemin="0" aria-valuemax="100" style="width: 52.00%">
<span class="sr-only">52.00% covered (warning)</span>
Expand Down Expand Up @@ -129,13 +129,13 @@
<tr>
<td class="warning"><img src="../_icons/file-code.svg" class="octicon" /><a href="OrderController.php.html">OrderController.php</a></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="81.53" aria-valuemin="0" aria-valuemax="100" style="width: 81.53%">
<span class="sr-only">81.53% covered (warning)</span>
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="82.10" aria-valuemin="0" aria-valuemax="100" style="width: 82.10%">
<span class="sr-only">82.10% covered (warning)</span>
</div>
</div>
</td>
<td class="warning small"><div align="right">81.53%</div></td>
<td class="warning small"><div align="right">128&nbsp;/&nbsp;157</div></td>
<td class="warning small"><div align="right">82.10%</div></td>
<td class="warning small"><div align="right">133&nbsp;/&nbsp;162</div></td>
<td class="warning big"> <div class="progress">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="58.33" aria-valuemin="0" aria-valuemax="100" style="width: 58.33%">
<span class="sr-only">58.33% covered (warning)</span>
Expand Down Expand Up @@ -251,7 +251,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 22:05:08 CET 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 23:15:41 CET 2024.</small>
</p>
</footer>
</div>
Expand Down
4 changes: 2 additions & 2 deletions coverage/html/Exceptions/DatabaseException.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
<tr class=" d-flex"><td class="col-1 text-right"><a id="3" href="#3">3</a></td><td class="col-11 codeLine"></td></tr>
<tr class=" d-flex"><td class="col-1 text-right"><a id="4" href="#4">4</a></td><td class="col-11 codeLine"><span class="keyword">class</span><span class="default">&nbsp;</span><span class="default">DatabaseException</span><span class="default">&nbsp;</span><span class="keyword">extends</span><span class="default">&nbsp;</span><span class="default">\Exception</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class=" d-flex"><td class="col-1 text-right"><a id="5" href="#5">5</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">public</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="default">__construct</span><span class="keyword">(</span><span class="default">string</span><span class="default">&nbsp;</span><span class="default">$message</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">&quot;&quot;</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">int</span><span class="default">&nbsp;</span><span class="default">$code</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">0</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">\Throwable</span><span class="default">&nbsp;</span><span class="default">$previous</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="default">null</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span></td></tr>
<tr class="covered-by-large-tests popin d-flex"><td data-title="4 tests cover line 6" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Config\DatabaseTest::test_conexion_fallida_lanza_excepcion&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Exceptions\DatabaseExceptionTest::hereda_de_exception&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Exceptions\DatabaseExceptionTest::puede_crear_excepcion_sin_parametros&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Exceptions\DatabaseExceptionTest::puede_crear_excepcion_con_parametros&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="6" href="#6">6</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">parent</span><span class="default">::</span><span class="default">__construct</span><span class="keyword">(</span><span class="default">$message</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$code</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$previous</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class="covered-by-large-tests popin d-flex"><td data-title="4 tests cover line 6" data-content="&lt;ul&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Exceptions\DatabaseExceptionTest::hereda_de_exception&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Exceptions\DatabaseExceptionTest::puede_crear_excepcion_sin_parametros&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Exceptions\DatabaseExceptionTest::puede_crear_excepcion_con_parametros&lt;/li&gt;&lt;li class=&quot;covered-by-large-tests&quot;&gt;Tests\Unit\Config\DatabaseTest::test_conexion_fallida_lanza_excepcion&lt;/li&gt;&lt;/ul&gt;" data-placement="top" data-html="true" class="col-1 text-right"><a id="6" href="#6">6</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">parent</span><span class="default">::</span><span class="default">__construct</span><span class="keyword">(</span><span class="default">$message</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$code</span><span class="keyword">,</span><span class="default">&nbsp;</span><span class="default">$previous</span><span class="keyword">)</span><span class="keyword">;</span></td></tr>
<tr class=" d-flex"><td class="col-1 text-right"><a id="7" href="#7">7</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">}</span></td></tr>
<tr class=" d-flex"><td class="col-1 text-right"><a id="8" href="#8">8</a></td><td class="col-11 codeLine"><span class="keyword">}</span><span class="default">&nbsp;</span></td></tr>

Expand All @@ -146,7 +146,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 22:05:08 CET 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 23:15:41 CET 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion coverage/html/Exceptions/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h3>Project Risks</h3>
<footer>
<hr/>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 22:05:08 CET 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 23:15:41 CET 2024.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion coverage/html/Exceptions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 22:05:08 CET 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 9.2.32</a> using <a href="https://secure.php.net/" target="_top">PHP 8.2.12</a> and <a href="https://phpunit.de/">PHPUnit 9.6.22</a> at Wed Dec 11 23:15:41 CET 2024.</small>
</p>
</footer>
</div>
Expand Down
Loading

0 comments on commit 0880597

Please sign in to comment.