Skip to content

Commit 12f44fe

Browse files
authored
Merge branch 'Default' into feat/market-comment-api
2 parents 07b7394 + 591590d commit 12f44fe

43 files changed

Lines changed: 3791 additions & 492 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

backend/coverage/clover.xml

Lines changed: 83 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,86 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<coverage generated="1774430540628" clover="3.2.0">
3-
<project timestamp="1774430540628" name="All files">
4-
<metrics statements="27" coveredstatements="26" conditionals="16" coveredconditionals="14" methods="4" coveredmethods="3" elements="47" coveredelements="43" complexity="0" loc="27" ncloc="27" packages="2" files="2" classes="2"/>
5-
<package name="utils">
6-
<metrics statements="6" coveredstatements="5" conditionals="6" coveredconditionals="4" methods="2" coveredmethods="1"/>
7-
<file name="logger.js" path="/home/afolarinwa-soleye/Desktop/Stellar-PolyMarket/backend/src/utils/logger.js">
8-
<metrics statements="6" coveredstatements="5" conditionals="6" coveredconditionals="4" methods="2" coveredmethods="1"/>
9-
<line num="1" count="1" type="stmt"/>
10-
<line num="15" count="1" type="stmt"/>
11-
<line num="19" count="6" type="stmt"/>
12-
<line num="44" count="0" type="stmt"/>
13-
<line num="47" count="1" type="stmt"/>
14-
<line num="48" count="1" type="stmt"/>
15-
</file>
16-
</package>
17-
<package name="workers">
18-
<metrics statements="21" coveredstatements="21" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
19-
<file name="whale-watcher.js" path="/home/afolarinwa-soleye/Desktop/Stellar-PolyMarket/backend/src/workers/whale-watcher.js">
20-
<metrics statements="21" coveredstatements="21" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
21-
<line num="1" count="1" type="stmt"/>
22-
<line num="2" count="1" type="stmt"/>
23-
<line num="8" count="1" type="cond" truecount="4" falsecount="0"/>
24-
<line num="17" count="4" type="stmt"/>
25-
<line num="19" count="4" type="cond" truecount="2" falsecount="0"/>
26-
<line num="20" count="1" type="stmt"/>
27-
<line num="23" count="3" type="cond" truecount="2" falsecount="0"/>
28-
<line num="24" count="2" type="stmt"/>
29-
<line num="30" count="2" type="stmt"/>
30-
<line num="31" count="2" type="stmt"/>
31-
<line num="34" count="1" type="stmt"/>
32-
<line num="41" count="3" type="stmt"/>
33-
<line num="43" count="3" type="cond" truecount="2" falsecount="0"/>
34-
<line num="44" count="1" type="stmt"/>
35-
<line num="45" count="1" type="stmt"/>
36-
<line num="48" count="2" type="stmt"/>
37-
<line num="56" count="2" type="stmt"/>
38-
<line num="57" count="2" type="stmt"/>
39-
<line num="58" count="1" type="stmt"/>
40-
<line num="60" count="1" type="stmt"/>
41-
<line num="64" count="1" type="stmt"/>
42-
</file>
43-
</package>
2+
<coverage generated="1774828441064" clover="3.2.0">
3+
<project timestamp="1774828441064" name="All files">
4+
<metrics statements="77" coveredstatements="77" conditionals="56" coveredconditionals="52" methods="5" coveredmethods="5" elements="138" coveredelements="134" complexity="0" loc="77" ncloc="77" packages="1" files="1" classes="1"/>
5+
<file name="marketValidation.js" path="C:\Users\Samsung\Desktop\drpsss4\Stellar-PolyMarket\backend\src\middleware\marketValidation.js">
6+
<metrics statements="77" coveredstatements="77" conditionals="56" coveredconditionals="52" methods="5" coveredmethods="5"/>
7+
<line num="12" count="1" type="stmt"/>
8+
<line num="13" count="1" type="stmt"/>
9+
<line num="14" count="1" type="stmt"/>
10+
<line num="17" count="1" type="stmt"/>
11+
<line num="64" count="36" type="stmt"/>
12+
<line num="68" count="36" type="cond" truecount="4" falsecount="0"/>
13+
<line num="69" count="5" type="stmt"/>
14+
<line num="77" count="5" type="stmt"/>
15+
<line num="88" count="31" type="cond" truecount="6" falsecount="0"/>
16+
<line num="89" count="4" type="stmt"/>
17+
<line num="97" count="4" type="stmt"/>
18+
<line num="108" count="27" type="stmt"/>
19+
<line num="109" count="27" type="stmt"/>
20+
<line num="110" count="27" type="stmt"/>
21+
<line num="111" count="27" type="stmt"/>
22+
<line num="113" count="27" type="cond" truecount="2" falsecount="0"/>
23+
<line num="119" count="4" type="stmt"/>
24+
<line num="128" count="4" type="stmt"/>
25+
<line num="140" count="23" type="stmt"/>
26+
<line num="141" count="23" type="stmt"/>
27+
<line num="143" count="23" type="cond" truecount="1" falsecount="1"/>
28+
<line num="144" count="23" type="stmt"/>
29+
<line num="146" count="56" type="cond" truecount="1" falsecount="1"/>
30+
<line num="148" count="56" type="cond" truecount="2" falsecount="0"/>
31+
<line num="149" count="3" type="stmt"/>
32+
<line num="150" count="53" type="cond" truecount="2" falsecount="0"/>
33+
<line num="151" count="1" type="stmt"/>
34+
<line num="154" count="56" type="stmt"/>
35+
<line num="155" count="56" type="cond" truecount="4" falsecount="0"/>
36+
<line num="156" count="2" type="stmt"/>
37+
<line num="158" count="56" type="cond" truecount="2" falsecount="0"/>
38+
<line num="162" count="23" type="cond" truecount="2" falsecount="0"/>
39+
<line num="163" count="5" type="stmt"/>
40+
<line num="171" count="5" type="stmt"/>
41+
<line num="179" count="18" type="stmt"/>
42+
<line num="180" count="18" type="stmt"/>
43+
<line num="185" count="16" type="cond" truecount="2" falsecount="0"/>
44+
<line num="186" count="3" type="stmt"/>
45+
<line num="195" count="3" type="stmt"/>
46+
<line num="204" count="2" type="stmt"/>
47+
<line num="205" count="2" type="stmt"/>
48+
<line num="209" count="13" type="stmt"/>
49+
<line num="210" count="13" type="stmt"/>
50+
<line num="223" count="4" type="stmt"/>
51+
<line num="226" count="4" type="cond" truecount="2" falsecount="0"/>
52+
<line num="227" count="1" type="stmt"/>
53+
<line num="231" count="1" type="stmt"/>
54+
<line num="236" count="3" type="stmt"/>
55+
<line num="237" count="3" type="stmt"/>
56+
<line num="238" count="3" type="stmt"/>
57+
<line num="240" count="3" type="stmt"/>
58+
<line num="242" count="3" type="stmt"/>
59+
<line num="245" count="2" type="cond" truecount="2" falsecount="0"/>
60+
<line num="246" count="1" type="stmt"/>
61+
<line num="250" count="2" type="stmt"/>
62+
<line num="253" count="2" type="cond" truecount="2" falsecount="0"/>
63+
<line num="254" count="1" type="stmt"/>
64+
<line num="265" count="1" type="stmt"/>
65+
<line num="285" count="1" type="stmt"/>
66+
<line num="286" count="1" type="stmt"/>
67+
<line num="287" count="1" type="stmt"/>
68+
<line num="289" count="1" type="stmt"/>
69+
<line num="298" count="1" type="stmt"/>
70+
<line num="300" count="1" type="stmt"/>
71+
<line num="304" count="1" type="stmt"/>
72+
<line num="305" count="1" type="stmt"/>
73+
<line num="315" count="3" type="cond" truecount="1" falsecount="1"/>
74+
<line num="316" count="6" type="cond" truecount="1" falsecount="1"/>
75+
<line num="319" count="3" type="stmt"/>
76+
<line num="321" count="3" type="stmt"/>
77+
<line num="323" count="3" type="stmt"/>
78+
<line num="325" count="2" type="cond" truecount="2" falsecount="0"/>
79+
<line num="326" count="1" type="stmt"/>
80+
<line num="332" count="1" type="stmt"/>
81+
<line num="334" count="1" type="stmt"/>
82+
<line num="335" count="1" type="stmt"/>
83+
<line num="345" count="1" type="stmt"/>
84+
</file>
4485
</project>
4586
</coverage>

backend/coverage/coverage-final.json

Lines changed: 1 addition & 2 deletions
Large diffs are not rendered by default.

backend/coverage/lcov-report/index.html

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@ <h1>All files</h1>
2323
<div class='clearfix'>
2424

2525
<div class='fl pad1y space-right2'>
26-
<span class="strong">96.29% </span>
26+
<span class="strong">100% </span>
2727
<span class="quiet">Statements</span>
28-
<span class='fraction'>26/27</span>
28+
<span class='fraction'>79/79</span>
2929
</div>
3030

3131

3232
<div class='fl pad1y space-right2'>
33-
<span class="strong">87.5% </span>
33+
<span class="strong">92.85% </span>
3434
<span class="quiet">Branches</span>
35-
<span class='fraction'>14/16</span>
35+
<span class='fraction'>52/56</span>
3636
</div>
3737

3838

3939
<div class='fl pad1y space-right2'>
40-
<span class="strong">75% </span>
40+
<span class="strong">100% </span>
4141
<span class="quiet">Functions</span>
42-
<span class='fraction'>3/4</span>
42+
<span class='fraction'>5/5</span>
4343
</div>
4444

4545

4646
<div class='fl pad1y space-right2'>
47-
<span class="strong">96.29% </span>
47+
<span class="strong">100% </span>
4848
<span class="quiet">Lines</span>
49-
<span class='fraction'>26/27</span>
49+
<span class='fraction'>77/77</span>
5050
</div>
5151

5252

@@ -79,33 +79,18 @@ <h1>All files</h1>
7979
</tr>
8080
</thead>
8181
<tbody><tr>
82-
<td class="file high" data-value="utils"><a href="utils/index.html">utils</a></td>
83-
<td data-value="83.33" class="pic high">
84-
<div class="chart"><div class="cover-fill" style="width: 83%"></div><div class="cover-empty" style="width: 17%"></div></div>
85-
</td>
86-
<td data-value="83.33" class="pct high">83.33%</td>
87-
<td data-value="6" class="abs high">5/6</td>
88-
<td data-value="66.66" class="pct medium">66.66%</td>
89-
<td data-value="6" class="abs medium">4/6</td>
90-
<td data-value="50" class="pct medium">50%</td>
91-
<td data-value="2" class="abs medium">1/2</td>
92-
<td data-value="83.33" class="pct high">83.33%</td>
93-
<td data-value="6" class="abs high">5/6</td>
94-
</tr>
95-
96-
<tr>
97-
<td class="file high" data-value="workers"><a href="workers/index.html">workers</a></td>
82+
<td class="file high" data-value="marketValidation.js"><a href="marketValidation.js.html">marketValidation.js</a></td>
9883
<td data-value="100" class="pic high">
9984
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
10085
</td>
10186
<td data-value="100" class="pct high">100%</td>
102-
<td data-value="21" class="abs high">21/21</td>
103-
<td data-value="100" class="pct high">100%</td>
104-
<td data-value="10" class="abs high">10/10</td>
87+
<td data-value="79" class="abs high">79/79</td>
88+
<td data-value="92.85" class="pct high">92.85%</td>
89+
<td data-value="56" class="abs high">52/56</td>
10590
<td data-value="100" class="pct high">100%</td>
106-
<td data-value="2" class="abs high">2/2</td>
91+
<td data-value="5" class="abs high">5/5</td>
10792
<td data-value="100" class="pct high">100%</td>
108-
<td data-value="21" class="abs high">21/21</td>
93+
<td data-value="77" class="abs high">77/77</td>
10994
</tr>
11095

11196
</tbody>
@@ -116,7 +101,7 @@ <h1>All files</h1>
116101
<div class='footer quiet pad2 space-top1 center small'>
117102
Code coverage generated by
118103
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119-
at 2026-03-25T09:22:20.611Z
104+
at 2026-03-29T23:54:00.976Z
120105
</div>
121106
<script src="prettify.js"></script>
122107
<script>

0 commit comments

Comments
 (0)