Skip to content

Commit b205bfc

Browse files
unit tests fixed
1 parent ed95551 commit b205bfc

File tree

9 files changed

+595
-490
lines changed

9 files changed

+595
-490
lines changed

coverage/clover.xml

Lines changed: 35 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,46 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<coverage generated="1700034159430" clover="3.2.0">
3-
<project timestamp="1700034159430" name="All files">
4-
<metrics statements="41" coveredstatements="41" conditionals="20" coveredconditionals="20" methods="5" coveredmethods="5" elements="66" coveredelements="66" complexity="0" loc="41" ncloc="41" packages="1" files="1" classes="1"/>
2+
<coverage generated="1700210849656" clover="3.2.0">
3+
<project timestamp="1700210849656" name="All files">
4+
<metrics statements="37" coveredstatements="37" conditionals="17" coveredconditionals="17" methods="4" coveredmethods="4" elements="58" coveredelements="58" complexity="0" loc="37" ncloc="37" packages="1" files="1" classes="1"/>
55
<file name="ChartDataPreparation.tsx" path="/home/bmenghan/Documents/kruize/kruize-ui/src/app/Analytics/SRE_Analytics/RecommendationComponents/ChartDataPreparation.tsx">
6-
<metrics statements="41" coveredstatements="41" conditionals="20" coveredconditionals="20" methods="5" coveredmethods="5"/>
6+
<metrics statements="37" coveredstatements="37" conditionals="17" coveredconditionals="17" methods="4" coveredmethods="4"/>
77
<line num="1" count="1" type="stmt"/>
8-
<line num="3" count="1" type="stmt"/>
9-
<line num="6" count="4" type="cond" truecount="2" falsecount="0"/>
8+
<line num="4" count="4" type="cond" truecount="2" falsecount="0"/>
9+
<line num="5" count="1" type="stmt"/>
10+
<line num="6" count="3" type="cond" truecount="2" falsecount="0"/>
1011
<line num="7" count="1" type="stmt"/>
11-
<line num="8" count="3" type="cond" truecount="2" falsecount="0"/>
12+
<line num="8" count="2" type="cond" truecount="2" falsecount="0"/>
1213
<line num="9" count="1" type="stmt"/>
13-
<line num="10" count="2" type="cond" truecount="2" falsecount="0"/>
1414
<line num="11" count="1" type="stmt"/>
15-
<line num="13" count="1" type="stmt"/>
15+
<line num="14" count="3" type="stmt"/>
16+
<line num="15" count="3" type="stmt"/>
1617
<line num="16" count="3" type="stmt"/>
17-
<line num="19" count="1" type="stmt"/>
18-
<line num="20" count="2" type="stmt"/>
19-
<line num="22" count="2" type="stmt"/>
20-
<line num="23" count="4" type="stmt"/>
21-
<line num="24" count="4" type="stmt"/>
22-
<line num="25" count="4" type="stmt"/>
23-
<line num="26" count="4" type="stmt"/>
24-
<line num="29" count="2" type="stmt"/>
25-
<line num="32" count="1" type="stmt"/>
26-
<line num="33" count="6" type="cond" truecount="2" falsecount="0"/>
27-
<line num="34" count="3" type="stmt"/>
28-
<line num="35" count="3" type="cond" truecount="1" falsecount="0"/>
29-
<line num="36" count="1" type="stmt"/>
30-
<line num="38" count="2" type="stmt"/>
31-
<line num="40" count="1" type="stmt"/>
32-
<line num="41" count="5" type="stmt"/>
33-
<line num="43" count="5" type="cond" truecount="3" falsecount="0"/>
34-
<line num="44" count="3" type="cond" truecount="1" falsecount="0"/>
35-
<line num="45" count="2" type="stmt"/>
36-
<line num="49" count="3" type="stmt"/>
18+
<line num="18" count="3" type="stmt"/>
19+
<line num="19" count="45" type="cond" truecount="1" falsecount="0"/>
20+
<line num="20" count="45" type="stmt"/>
21+
<line num="22" count="45" type="cond" truecount="3" falsecount="0"/>
22+
<line num="23" count="22" type="stmt"/>
23+
<line num="28" count="3" type="stmt"/>
24+
<line num="31" count="1" type="stmt"/>
25+
<line num="32" count="2" type="stmt"/>
26+
<line num="34" count="2" type="stmt"/>
27+
<line num="35" count="4" type="stmt"/>
28+
<line num="36" count="4" type="stmt"/>
29+
<line num="37" count="4" type="stmt"/>
30+
<line num="38" count="4" type="stmt"/>
31+
<line num="41" count="2" type="stmt"/>
32+
<line num="44" count="1" type="stmt"/>
33+
<line num="45" count="6" type="cond" truecount="2" falsecount="0"/>
34+
<line num="46" count="3" type="stmt"/>
35+
<line num="47" count="3" type="cond" truecount="1" falsecount="0"/>
36+
<line num="48" count="1" type="stmt"/>
37+
<line num="50" count="2" type="stmt"/>
3738
<line num="52" count="1" type="stmt"/>
38-
<line num="53" count="6" type="stmt"/>
39-
<line num="54" count="6" type="stmt"/>
40-
<line num="55" count="6" type="stmt"/>
41-
<line num="57" count="6" type="stmt"/>
42-
<line num="58" count="24" type="cond" truecount="1" falsecount="0"/>
43-
<line num="59" count="24" type="stmt"/>
44-
<line num="61" count="24" type="cond" truecount="2" falsecount="0"/>
45-
<line num="64" count="24" type="cond" truecount="1" falsecount="0"/>
46-
<line num="69" count="6" type="stmt"/>
47-
<line num="74" count="6" type="stmt"/>
39+
<line num="53" count="5" type="stmt"/>
40+
<line num="55" count="5" type="cond" truecount="3" falsecount="0"/>
41+
<line num="56" count="3" type="cond" truecount="1" falsecount="0"/>
42+
<line num="57" count="2" type="stmt"/>
43+
<line num="61" count="3" type="stmt"/>
4844
</file>
4945
</project>
5046
</coverage>

0 commit comments

Comments
 (0)