Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions proj2/Ecobites/server/coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1762393870878" clover="3.2.0">
<project timestamp="1762393870878" name="All files">
<metrics statements="490" coveredstatements="330" conditionals="353" coveredconditionals="203" methods="56" coveredmethods="36" elements="899" coveredelements="569" complexity="0" loc="490" ncloc="490" packages="6" files="19" classes="19"/>
<coverage generated="1762457706287" clover="3.2.0">
<project timestamp="1762457706287" name="All files">
<metrics statements="490" coveredstatements="332" conditionals="353" coveredconditionals="203" methods="56" coveredmethods="36" elements="899" coveredelements="571" complexity="0" loc="490" ncloc="490" packages="6" files="19" classes="19"/>
<package name="src">
<metrics statements="24" coveredstatements="23" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="3"/>
<file name="app.js" path="/Users/yashdive/NCSU/NCSU Projects/Software_Engineering/proj2/Ecobites/server/src/app.js">
Expand Down Expand Up @@ -58,7 +58,7 @@
</file>
</package>
<package name="src.controller">
<metrics statements="369" coveredstatements="230" conditionals="305" coveredconditionals="180" methods="40" coveredmethods="25"/>
<metrics statements="369" coveredstatements="232" conditionals="305" coveredconditionals="180" methods="40" coveredmethods="25"/>
<file name="auth.controller.js" path="/Users/yashdive/NCSU/NCSU Projects/Software_Engineering/proj2/Ecobites/server/src/controller/auth.controller.js">
<metrics statements="54" coveredstatements="34" conditionals="69" coveredconditionals="44" methods="4" coveredmethods="2"/>
<line num="4" count="5" type="cond" truecount="2" falsecount="0"/>
Expand Down Expand Up @@ -179,7 +179,7 @@
<line num="160" count="0" type="stmt"/>
</file>
<file name="orders.controller.js" path="/Users/yashdive/NCSU/NCSU Projects/Software_Engineering/proj2/Ecobites/server/src/controller/orders.controller.js">
<metrics statements="220" coveredstatements="171" conditionals="191" coveredconditionals="125" methods="24" coveredmethods="21"/>
<metrics statements="220" coveredstatements="173" conditionals="191" coveredconditionals="125" methods="24" coveredmethods="21"/>
<line num="2" count="5" type="stmt"/>
<line num="3" count="13" type="stmt"/>
<line num="4" count="13" type="cond" truecount="1" falsecount="0"/>
Expand Down Expand Up @@ -244,13 +244,13 @@
<line num="114" count="18" type="stmt"/>
<line num="115" count="18" type="stmt"/>
<line num="116" count="18" type="stmt"/>
<line num="120" count="18" type="cond" truecount="4" falsecount="0"/>
<line num="121" count="5" type="stmt"/>
<line num="122" count="5" type="stmt"/>
<line num="123" count="5" type="stmt"/>
<line num="125" count="13" type="stmt"/>
<line num="127" count="0" type="stmt"/>
<line num="128" count="0" type="stmt"/>
<line num="120" count="16" type="cond" truecount="4" falsecount="0"/>
<line num="121" count="4" type="stmt"/>
<line num="122" count="4" type="stmt"/>
<line num="123" count="4" type="stmt"/>
<line num="125" count="12" type="stmt"/>
<line num="127" count="2" type="stmt"/>
<line num="128" count="2" type="stmt"/>
<line num="132" count="5" type="stmt"/>
<line num="133" count="20" type="stmt"/>
<line num="134" count="20" type="stmt"/>
Expand Down Expand Up @@ -289,12 +289,12 @@
<line num="204" count="18" type="stmt"/>
<line num="206" count="18" type="stmt"/>
<line num="212" count="18" type="cond" truecount="2" falsecount="0"/>
<line num="213" count="5" type="stmt"/>
<line num="217" count="13" type="stmt"/>
<line num="218" count="358" type="stmt"/>
<line num="219" count="13" type="stmt"/>
<line num="220" count="13" type="stmt"/>
<line num="221" count="13" type="stmt"/>
<line num="213" count="4" type="stmt"/>
<line num="217" count="14" type="stmt"/>
<line num="218" count="383" type="stmt"/>
<line num="219" count="14" type="stmt"/>
<line num="220" count="14" type="stmt"/>
<line num="221" count="14" type="stmt"/>
<line num="225" count="19" type="stmt"/>
<line num="241" count="19" type="stmt"/>
<line num="244" count="19" type="stmt"/>
Expand Down
2 changes: 1 addition & 1 deletion proj2/Ecobites/server/coverage/coverage-final.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions proj2/Ecobites/server/coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">66.15% </span>
<span class="strong">66.53% </span>
<span class="quiet">Statements</span>
<span class='fraction'>342/517</span>
<span class='fraction'>344/517</span>
</div>


Expand All @@ -44,9 +44,9 @@ <h1>All files</h1>


<div class='fl pad1y space-right2'>
<span class="strong">67.34% </span>
<span class="strong">67.75% </span>
<span class="quiet">Lines</span>
<span class='fraction'>330/490</span>
<span class='fraction'>332/490</span>
</div>


Expand Down Expand Up @@ -110,17 +110,17 @@ <h1>All files</h1>

<tr>
<td class="file medium" data-value="src/controller"><a href="src/controller/index.html">src/controller</a></td>
<td data-value="61.53" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 61%"></div><div class="cover-empty" style="width: 39%"></div></div>
<td data-value="62.05" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 62%"></div><div class="cover-empty" style="width: 38%"></div></div>
</td>
<td data-value="61.53" class="pct medium">61.53%</td>
<td data-value="390" class="abs medium">240/390</td>
<td data-value="62.05" class="pct medium">62.05%</td>
<td data-value="390" class="abs medium">242/390</td>
<td data-value="59.01" class="pct medium">59.01%</td>
<td data-value="305" class="abs medium">180/305</td>
<td data-value="62.5" class="pct medium">62.5%</td>
<td data-value="40" class="abs medium">25/40</td>
<td data-value="62.33" class="pct medium">62.33%</td>
<td data-value="369" class="abs medium">230/369</td>
<td data-value="62.87" class="pct medium">62.87%</td>
<td data-value="369" class="abs medium">232/369</td>
</tr>

<tr>
Expand Down Expand Up @@ -176,7 +176,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion proj2/Ecobites/server/coverage/lcov-report/src/app.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> app.js<
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/config</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> src/config</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h1><a href="../../index.html">All files</a> src/controller</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">61.53% </span>
<span class="strong">62.05% </span>
<span class="quiet">Statements</span>
<span class='fraction'>240/390</span>
<span class='fraction'>242/390</span>
</div>


Expand All @@ -44,9 +44,9 @@ <h1><a href="../../index.html">All files</a> src/controller</h1>


<div class='fl pad1y space-right2'>
<span class="strong">62.33% </span>
<span class="strong">62.87% </span>
<span class="quiet">Lines</span>
<span class='fraction'>230/369</span>
<span class='fraction'>232/369</span>
</div>


Expand Down Expand Up @@ -125,17 +125,17 @@ <h1><a href="../../index.html">All files</a> src/controller</h1>

<tr>
<td class="file medium" data-value="orders.controller.js"><a href="orders.controller.js.html">orders.controller.js</a></td>
<td data-value="75.41" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 75%"></div><div class="cover-empty" style="width: 25%"></div></div>
<td data-value="76.25" class="pic medium">
<div class="chart"><div class="cover-fill" style="width: 76%"></div><div class="cover-empty" style="width: 24%"></div></div>
</td>
<td data-value="75.41" class="pct medium">75.41%</td>
<td data-value="240" class="abs medium">181/240</td>
<td data-value="76.25" class="pct medium">76.25%</td>
<td data-value="240" class="abs medium">183/240</td>
<td data-value="65.44" class="pct medium">65.44%</td>
<td data-value="191" class="abs medium">125/191</td>
<td data-value="87.5" class="pct high">87.5%</td>
<td data-value="24" class="abs high">21/24</td>
<td data-value="77.72" class="pct medium">77.72%</td>
<td data-value="220" class="abs medium">171/220</td>
<td data-value="78.63" class="pct medium">78.63%</td>
<td data-value="220" class="abs medium">173/220</td>
</tr>

<tr>
Expand Down Expand Up @@ -176,7 +176,7 @@ <h1><a href="../../index.html">All files</a> src/controller</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">75.41% </span>
<span class="strong">76.25% </span>
<span class="quiet">Statements</span>
<span class='fraction'>181/240</span>
<span class='fraction'>183/240</span>
</div>


Expand All @@ -44,9 +44,9 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll


<div class='fl pad1y space-right2'>
<span class="strong">77.72% </span>
<span class="strong">78.63% </span>
<span class="quiet">Lines</span>
<span class='fraction'>171/220</span>
<span class='fraction'>173/220</span>
</div>


Expand Down Expand Up @@ -660,15 +660,15 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">16x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">12x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -753,15 +753,15 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">18x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">358x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">13x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">383x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-yes">14x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -1145,8 +1145,8 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
}
return null;
} catch (error) {
<span class="cstat-no" title="statement not covered" > console.error('Geocoding failed:', error.message);</span>
<span class="cstat-no" title="statement not covered" > return null;</span>
console.error('Geocoding failed:', error.message);
return null;
}
}
&nbsp;
Expand Down Expand Up @@ -1504,7 +1504,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/controll
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion proj2/Ecobites/server/coverage/lcov-report/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../index.html">All files</a> src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/middlewa
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> src/middleware</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/models</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">src/models</
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2025-11-06T01:51:10.854Z
at 2025-11-06T19:35:06.263Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading
Loading