@hedia/recommendation-screen 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/coverage/clover.xml +378 -367
  2. package/coverage/coverage-final.json +18 -18
  3. package/coverage/lcov-report/index.html +15 -15
  4. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +112 -67
  5. package/coverage/lcov-report/src/__tests__/index.html +1 -1
  6. package/coverage/lcov-report/src/__tests__/utils.tsx.html +11 -11
  7. package/coverage/lcov-report/src/components/Header.tsx.html +2 -2
  8. package/coverage/lcov-report/src/components/InfoBars.tsx.html +49 -19
  9. package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/LineSeparator.tsx.html +2 -2
  12. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +17 -17
  14. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +13 -13
  15. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +11 -11
  16. package/coverage/lcov-report/src/components/Remeasure.tsx.html +12 -12
  17. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +5 -5
  18. package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/activity/Activity.tsx.html +1 -1
  20. package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +1 -1
  22. package/coverage/lcov-report/src/components/activity/index.html +1 -1
  23. package/coverage/lcov-report/src/components/index.html +7 -7
  24. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +8 -8
  25. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +8 -8
  26. package/coverage/lcov-report/src/components/mood/index.html +1 -1
  27. package/coverage/lcov-report/src/index.html +7 -7
  28. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +5 -5
  29. package/coverage/lcov-report/src/locale/index.html +1 -1
  30. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +5 -5
  31. package/coverage/lcov-report/src/utils/Constants.ts.html +1 -1
  32. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +41 -8
  33. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +33 -33
  34. package/coverage/lcov-report/src/utils/Translations.ts.html +1 -1
  35. package/coverage/lcov-report/src/utils/Utils.ts.html +23 -17
  36. package/coverage/lcov-report/src/utils/Validations.ts.html +77 -50
  37. package/coverage/lcov-report/src/utils/index.html +12 -12
  38. package/coverage/lcov.info +821 -794
  39. package/ios/Podfile.lock +1 -1
  40. package/package.json +6 -5
  41. package/src/RecommendationScreen.d.ts +2 -2
  42. package/src/RecommendationScreen.jsx +8 -5
  43. package/src/__tests__/RecommendationScreen.test.jsx +44 -25
  44. package/src/__tests__/Validations.test.js +18 -0
  45. package/src/components/InfoBars.d.ts +7 -2
  46. package/src/components/InfoBars.jsx +11 -3
  47. package/src/locale/da/messages.js +1 -1
  48. package/src/locale/da/messages.po +31 -27
  49. package/src/locale/de/messages.js +1 -1
  50. package/src/locale/de/messages.po +31 -27
  51. package/src/locale/en/messages.js +1 -1
  52. package/src/locale/en/messages.po +31 -27
  53. package/src/locale/es/messages.js +1 -1
  54. package/src/locale/es/messages.po +31 -27
  55. package/src/locale/fr/messages.js +1 -1
  56. package/src/locale/fr/messages.po +31 -27
  57. package/src/locale/it/messages.js +1 -1
  58. package/src/locale/it/messages.po +31 -27
  59. package/src/types/enum.d.ts +20 -2
  60. package/src/types/enum.js +23 -1
  61. package/src/utils/RecommendationError.d.ts +1 -0
  62. package/src/utils/RecommendationError.jsx +3 -1
  63. package/src/utils/RecommendationUtils.d.ts +1 -1
  64. package/src/utils/Utils.d.ts +2 -2
  65. package/src/utils/Utils.js +2 -2
  66. package/src/utils/Validations.d.ts +4 -3
  67. package/src/utils/Validations.js +13 -4
@@ -1,113 +1,115 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1615475780552" clover="3.2.0">
3
- <project timestamp="1615475780552" name="All files">
4
- <metrics statements="592" coveredstatements="592" conditionals="352" coveredconditionals="352" methods="197" coveredmethods="197" elements="1141" coveredelements="1141" complexity="0" loc="592" ncloc="592" packages="7" files="27" classes="27"/>
2
+ <coverage generated="1616062548310" clover="3.2.0">
3
+ <project timestamp="1616062548310" name="All files">
4
+ <metrics statements="603" coveredstatements="603" conditionals="364" coveredconditionals="364" methods="199" coveredmethods="199" elements="1166" coveredelements="1166" complexity="0" loc="603" ncloc="603" packages="7" files="27" classes="27"/>
5
5
  <package name="src">
6
- <metrics statements="102" coveredstatements="102" conditionals="45" coveredconditionals="45" methods="35" coveredmethods="35"/>
6
+ <metrics statements="104" coveredstatements="104" conditionals="47" coveredconditionals="47" methods="35" coveredmethods="35"/>
7
7
  <file name="RecommendationScreen.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/RecommendationScreen.tsx">
8
- <metrics statements="102" coveredstatements="102" conditionals="45" coveredconditionals="45" methods="35" coveredmethods="35"/>
9
- <line num="35" count="1" type="stmt"/>
10
- <line num="91" count="55" type="stmt"/>
11
- <line num="96" count="55" type="stmt"/>
12
- <line num="97" count="55" type="stmt"/>
13
- <line num="98" count="55" type="stmt"/>
14
- <line num="99" count="54" type="stmt"/>
15
- <line num="101" count="54" type="stmt"/>
16
- <line num="102" count="54" type="stmt"/>
17
- <line num="109" count="54" type="stmt"/>
18
- <line num="111" count="53" type="stmt"/>
19
- <line num="113" count="53" type="stmt"/>
20
- <line num="131" count="53" type="stmt"/>
21
- <line num="133" count="2" type="stmt"/>
8
+ <metrics statements="104" coveredstatements="104" conditionals="47" coveredconditionals="47" methods="35" coveredmethods="35"/>
9
+ <line num="36" count="1" type="stmt"/>
10
+ <line num="92" count="56" type="stmt"/>
11
+ <line num="97" count="56" type="stmt"/>
12
+ <line num="98" count="56" type="stmt"/>
13
+ <line num="99" count="56" type="stmt"/>
14
+ <line num="100" count="55" type="stmt"/>
15
+ <line num="102" count="55" type="stmt"/>
16
+ <line num="103" count="55" type="stmt"/>
17
+ <line num="110" count="55" type="stmt"/>
18
+ <line num="112" count="54" type="stmt"/>
19
+ <line num="114" count="54" type="stmt"/>
20
+ <line num="132" count="54" type="stmt"/>
22
21
  <line num="134" count="2" type="stmt"/>
23
- <line num="139" count="55" type="stmt"/>
24
- <line num="143" count="55" type="cond" truecount="2" falsecount="0"/>
25
- <line num="144" count="53" type="stmt"/>
26
- <line num="146" count="55" type="stmt"/>
27
- <line num="149" count="55" type="stmt"/>
28
- <line num="150" count="4" type="stmt"/>
22
+ <line num="135" count="2" type="stmt"/>
23
+ <line num="140" count="56" type="stmt"/>
24
+ <line num="144" count="56" type="cond" truecount="2" falsecount="0"/>
25
+ <line num="145" count="54" type="stmt"/>
26
+ <line num="147" count="56" type="stmt"/>
27
+ <line num="150" count="56" type="stmt"/>
29
28
  <line num="151" count="4" type="stmt"/>
30
- <line num="152" count="4" type="cond" truecount="4" falsecount="0"/>
31
- <line num="153" count="1" type="stmt"/>
32
- <line num="157" count="55" type="stmt"/>
33
- <line num="158" count="6" type="stmt"/>
34
- <line num="161" count="55" type="stmt"/>
35
- <line num="162" count="5" type="stmt"/>
29
+ <line num="152" count="4" type="stmt"/>
30
+ <line num="153" count="4" type="cond" truecount="4" falsecount="0"/>
31
+ <line num="154" count="1" type="stmt"/>
32
+ <line num="158" count="56" type="stmt"/>
33
+ <line num="159" count="6" type="stmt"/>
34
+ <line num="162" count="56" type="stmt"/>
36
35
  <line num="163" count="5" type="stmt"/>
37
- <line num="172" count="55" type="stmt"/>
38
- <line num="173" count="5" type="cond" truecount="2" falsecount="0"/>
39
- <line num="174" count="4" type="stmt"/>
40
- <line num="176" count="1" type="stmt"/>
41
- <line num="180" count="55" type="stmt"/>
42
- <line num="181" count="8" type="stmt"/>
43
- <line num="184" count="55" type="stmt"/>
44
- <line num="185" count="1" type="stmt"/>
45
- <line num="188" count="55" type="stmt"/>
46
- <line num="189" count="3" type="stmt"/>
47
- <line num="192" count="55" type="stmt"/>
48
- <line num="193" count="10" type="stmt"/>
49
- <line num="196" count="55" type="stmt"/>
50
- <line num="197" count="3" type="stmt"/>
51
- <line num="200" count="55" type="stmt"/>
52
- <line num="201" count="6" type="stmt"/>
36
+ <line num="164" count="5" type="stmt"/>
37
+ <line num="173" count="56" type="stmt"/>
38
+ <line num="174" count="5" type="cond" truecount="2" falsecount="0"/>
39
+ <line num="175" count="4" type="stmt"/>
40
+ <line num="177" count="1" type="stmt"/>
41
+ <line num="181" count="56" type="stmt"/>
42
+ <line num="182" count="8" type="stmt"/>
43
+ <line num="185" count="56" type="stmt"/>
44
+ <line num="186" count="1" type="stmt"/>
45
+ <line num="189" count="56" type="stmt"/>
46
+ <line num="190" count="3" type="stmt"/>
47
+ <line num="193" count="56" type="stmt"/>
48
+ <line num="194" count="10" type="stmt"/>
49
+ <line num="197" count="56" type="stmt"/>
50
+ <line num="198" count="3" type="stmt"/>
51
+ <line num="201" count="56" type="stmt"/>
53
52
  <line num="202" count="6" type="stmt"/>
54
53
  <line num="203" count="6" type="stmt"/>
55
- <line num="208" count="55" type="stmt"/>
56
- <line num="209" count="2" type="stmt"/>
54
+ <line num="204" count="6" type="stmt"/>
55
+ <line num="209" count="56" type="stmt"/>
57
56
  <line num="210" count="2" type="stmt"/>
58
57
  <line num="211" count="2" type="stmt"/>
59
- <line num="215" count="55" type="stmt"/>
60
- <line num="216" count="3" type="stmt"/>
58
+ <line num="212" count="2" type="stmt"/>
59
+ <line num="216" count="56" type="stmt"/>
61
60
  <line num="217" count="3" type="stmt"/>
62
- <line num="221" count="55" type="stmt"/>
63
- <line num="222" count="1" type="stmt"/>
61
+ <line num="218" count="3" type="stmt"/>
62
+ <line num="222" count="56" type="stmt"/>
64
63
  <line num="223" count="1" type="stmt"/>
65
64
  <line num="224" count="1" type="stmt"/>
66
- <line num="227" count="55" type="stmt"/>
67
- <line num="228" count="5" type="stmt"/>
65
+ <line num="225" count="1" type="stmt"/>
66
+ <line num="228" count="56" type="stmt"/>
68
67
  <line num="229" count="5" type="stmt"/>
69
- <line num="232" count="55" type="stmt"/>
70
- <line num="233" count="4" type="cond" truecount="2" falsecount="0"/>
71
- <line num="234" count="4" type="stmt"/>
72
- <line num="237" count="55" type="stmt"/>
73
- <line num="238" count="1" type="stmt"/>
68
+ <line num="230" count="5" type="stmt"/>
69
+ <line num="233" count="56" type="stmt"/>
70
+ <line num="234" count="4" type="cond" truecount="2" falsecount="0"/>
71
+ <line num="235" count="4" type="stmt"/>
72
+ <line num="238" count="56" type="stmt"/>
74
73
  <line num="239" count="1" type="stmt"/>
75
- <line num="242" count="55" type="stmt"/>
76
- <line num="243" count="2" type="stmt"/>
77
- <line num="246" count="55" type="stmt"/>
78
- <line num="247" count="2" type="stmt"/>
79
- <line num="250" count="55" type="stmt"/>
80
- <line num="258" count="7" type="stmt"/>
74
+ <line num="240" count="1" type="stmt"/>
75
+ <line num="243" count="56" type="stmt"/>
76
+ <line num="244" count="2" type="stmt"/>
77
+ <line num="247" count="56" type="stmt"/>
78
+ <line num="248" count="2" type="stmt"/>
79
+ <line num="251" count="56" type="stmt"/>
81
80
  <line num="259" count="7" type="stmt"/>
82
81
  <line num="260" count="7" type="stmt"/>
83
- <line num="262" count="7" type="cond" truecount="2" falsecount="0"/>
84
- <line num="263" count="7" type="stmt"/>
85
- <line num="266" count="55" type="stmt"/>
86
- <line num="267" count="162" type="stmt"/>
87
- <line num="268" count="162" type="stmt"/>
88
- <line num="269" count="162" type="stmt"/>
89
- <line num="270" count="162" type="stmt"/>
90
- <line num="273" count="55" type="stmt"/>
91
- <line num="274" count="53" type="stmt"/>
92
- <line num="275" count="53" type="stmt"/>
93
- <line num="276" count="53" type="stmt"/>
94
- <line num="278" count="53" type="stmt"/>
95
- <line num="281" count="55" type="stmt"/>
96
- <line num="282" count="123" type="stmt"/>
97
- <line num="284" count="123" type="stmt"/>
98
- <line num="288" count="124" type="cond" truecount="2" falsecount="0"/>
99
- <line num="289" count="2" type="stmt"/>
100
- <line num="301" count="122" type="stmt"/>
101
- <line num="303" count="122" type="cond" truecount="2" falsecount="0"/>
102
- <line num="304" count="122" type="cond" truecount="2" falsecount="0"/>
103
- <line num="306" count="122" type="stmt"/>
104
- <line num="307" count="122" type="stmt"/>
105
- <line num="308" count="122" type="stmt"/>
106
- <line num="309" count="122" type="stmt"/>
107
- <line num="311" count="122" type="stmt"/>
108
- <line num="316" count="244" type="cond" truecount="2" falsecount="0"/>
109
- <line num="317" count="122" type="stmt"/>
110
- <line num="443" count="1" type="stmt"/>
82
+ <line num="261" count="7" type="stmt"/>
83
+ <line num="263" count="7" type="cond" truecount="2" falsecount="0"/>
84
+ <line num="264" count="7" type="stmt"/>
85
+ <line num="267" count="56" type="stmt"/>
86
+ <line num="268" count="165" type="stmt"/>
87
+ <line num="269" count="165" type="stmt"/>
88
+ <line num="270" count="165" type="stmt"/>
89
+ <line num="271" count="165" type="stmt"/>
90
+ <line num="274" count="56" type="stmt"/>
91
+ <line num="275" count="54" type="stmt"/>
92
+ <line num="276" count="54" type="stmt"/>
93
+ <line num="277" count="54" type="stmt"/>
94
+ <line num="279" count="54" type="stmt"/>
95
+ <line num="282" count="56" type="stmt"/>
96
+ <line num="283" count="124" type="stmt"/>
97
+ <line num="285" count="124" type="stmt"/>
98
+ <line num="289" count="125" type="cond" truecount="2" falsecount="0"/>
99
+ <line num="290" count="2" type="stmt"/>
100
+ <line num="302" count="123" type="stmt"/>
101
+ <line num="308" count="123" type="stmt"/>
102
+ <line num="313" count="123" type="stmt"/>
103
+ <line num="315" count="123" type="cond" truecount="2" falsecount="0"/>
104
+ <line num="316" count="123" type="cond" truecount="2" falsecount="0"/>
105
+ <line num="318" count="123" type="stmt"/>
106
+ <line num="319" count="123" type="stmt"/>
107
+ <line num="320" count="123" type="cond" truecount="2" falsecount="0"/>
108
+ <line num="322" count="123" type="cond" truecount="4" falsecount="0"/>
109
+ <line num="323" count="123" type="stmt"/>
110
+ <line num="328" count="246" type="cond" truecount="2" falsecount="0"/>
111
+ <line num="329" count="123" type="stmt"/>
112
+ <line num="458" count="1" type="stmt"/>
111
113
  </file>
112
114
  </package>
113
115
  <package name="src.__tests__">
@@ -120,41 +122,44 @@
120
122
  <line num="15" count="14" type="stmt"/>
121
123
  <line num="16" count="14" type="stmt"/>
122
124
  <line num="17" count="14" type="stmt"/>
123
- <line num="20" count="92" type="stmt"/>
124
- <line num="45" count="66" type="stmt"/>
125
+ <line num="20" count="91" type="stmt"/>
126
+ <line num="45" count="67" type="stmt"/>
125
127
  <line num="66" count="22" type="stmt"/>
126
128
  <line num="75" count="24" type="stmt"/>
127
- <line num="84" count="98" type="stmt"/>
128
- <line num="109" count="306" type="stmt"/>
129
- <line num="115" count="306" type="stmt"/>
130
- <line num="119" count="14" type="stmt"/>
131
- <line num="120" count="14" type="stmt"/>
132
- <line num="121" count="14" type="stmt"/>
133
- <line num="125" count="94" type="stmt"/>
134
- <line num="131" count="94" type="stmt"/>
129
+ <line num="84" count="97" type="stmt"/>
130
+ <line num="109" count="301" type="stmt"/>
131
+ <line num="115" count="301" type="stmt"/>
132
+ <line num="119" count="26" type="stmt"/>
133
+ <line num="120" count="26" type="stmt"/>
134
+ <line num="121" count="26" type="stmt"/>
135
+ <line num="125" count="93" type="stmt"/>
136
+ <line num="131" count="93" type="stmt"/>
135
137
  <line num="135" count="12" type="stmt"/>
136
138
  <line num="143" count="69" type="stmt"/>
137
139
  </file>
138
140
  </package>
139
141
  <package name="src.components">
140
- <metrics statements="157" coveredstatements="157" conditionals="92" coveredconditionals="92" methods="45" coveredmethods="45"/>
142
+ <metrics statements="160" coveredstatements="160" conditionals="96" coveredconditionals="96" methods="45" coveredmethods="45"/>
141
143
  <file name="Header.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/Header.tsx">
142
144
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
143
- <line num="15" count="129" type="stmt"/>
145
+ <line num="15" count="130" type="stmt"/>
144
146
  <line num="49" count="2" type="stmt"/>
145
147
  </file>
146
148
  <file name="InfoBars.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/InfoBars.tsx">
147
- <metrics statements="10" coveredstatements="10" conditionals="10" coveredconditionals="10" methods="3" coveredmethods="3"/>
148
- <line num="17" count="176" type="stmt"/>
149
- <line num="18" count="383" type="stmt"/>
150
- <line num="19" count="383" type="cond" truecount="2" falsecount="0"/>
151
- <line num="20" count="383" type="cond" truecount="2" falsecount="0"/>
152
- <line num="21" count="383" type="cond" truecount="4" falsecount="0"/>
153
- <line num="24" count="176" type="stmt"/>
154
- <line num="25" count="383" type="stmt"/>
155
- <line num="26" count="383" type="cond" truecount="2" falsecount="0"/>
156
- <line num="30" count="383" type="stmt"/>
157
- <line num="54" count="6" type="stmt"/>
149
+ <metrics statements="13" coveredstatements="13" conditionals="14" coveredconditionals="14" methods="3" coveredmethods="3"/>
150
+ <line num="19" count="179" type="stmt"/>
151
+ <line num="20" count="386" type="stmt"/>
152
+ <line num="21" count="386" type="cond" truecount="2" falsecount="0"/>
153
+ <line num="22" count="386" type="cond" truecount="4" falsecount="0"/>
154
+ <line num="23" count="386" type="cond" truecount="4" falsecount="0"/>
155
+ <line num="26" count="179" type="stmt"/>
156
+ <line num="27" count="386" type="stmt"/>
157
+ <line num="28" count="386" type="cond" truecount="2" falsecount="0"/>
158
+ <line num="29" count="1" type="stmt"/>
159
+ <line num="31" count="385" type="cond" truecount="2" falsecount="0"/>
160
+ <line num="35" count="386" type="stmt"/>
161
+ <line num="36" count="386" type="stmt"/>
162
+ <line num="64" count="6" type="stmt"/>
158
163
  </file>
159
164
  <file name="InvisibleNumberInput.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/InvisibleNumberInput.tsx">
160
165
  <metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="8" coveredmethods="8"/>
@@ -196,7 +201,7 @@
196
201
  </file>
197
202
  <file name="LineSeparator.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/LineSeparator.tsx">
198
203
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
199
- <line num="10" count="76" type="stmt"/>
204
+ <line num="10" count="74" type="stmt"/>
200
205
  <line num="18" count="2" type="stmt"/>
201
206
  </file>
202
207
  <file name="RecentInsulin.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecentInsulin.tsx">
@@ -207,27 +212,27 @@
207
212
  </file>
208
213
  <file name="RecommendationModal.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendationModal.tsx">
209
214
  <metrics statements="32" coveredstatements="32" conditionals="12" coveredconditionals="12" methods="7" coveredmethods="7"/>
210
- <line num="24" count="64" type="stmt"/>
211
- <line num="25" count="64" type="stmt"/>
212
- <line num="30" count="64" type="stmt"/>
215
+ <line num="24" count="65" type="stmt"/>
216
+ <line num="25" count="65" type="stmt"/>
217
+ <line num="30" count="65" type="stmt"/>
213
218
  <line num="31" count="3" type="stmt"/>
214
219
  <line num="32" count="3" type="cond" truecount="2" falsecount="0"/>
215
220
  <line num="33" count="3" type="cond" truecount="2" falsecount="0"/>
216
- <line num="36" count="64" type="stmt"/>
217
- <line num="37" count="36" type="stmt"/>
218
- <line num="59" count="64" type="stmt"/>
219
- <line num="60" count="36" type="stmt"/>
220
- <line num="62" count="36" type="stmt"/>
221
- <line num="93" count="64" type="stmt"/>
222
- <line num="94" count="132" type="stmt"/>
223
- <line num="95" count="132" type="cond" truecount="2" falsecount="0"/>
224
- <line num="97" count="132" type="stmt"/>
225
- <line num="122" count="64" type="stmt"/>
221
+ <line num="36" count="65" type="stmt"/>
222
+ <line num="37" count="35" type="stmt"/>
223
+ <line num="59" count="65" type="stmt"/>
224
+ <line num="60" count="35" type="stmt"/>
225
+ <line num="62" count="35" type="stmt"/>
226
+ <line num="93" count="65" type="stmt"/>
227
+ <line num="94" count="133" type="stmt"/>
228
+ <line num="95" count="133" type="cond" truecount="2" falsecount="0"/>
229
+ <line num="97" count="133" type="stmt"/>
230
+ <line num="122" count="65" type="stmt"/>
226
231
  <line num="123" count="3" type="stmt"/>
227
232
  <line num="124" count="3" type="stmt"/>
228
- <line num="128" count="135" type="stmt"/>
229
- <line num="129" count="135" type="stmt"/>
230
- <line num="130" count="135" type="stmt"/>
233
+ <line num="128" count="136" type="stmt"/>
234
+ <line num="129" count="136" type="stmt"/>
235
+ <line num="130" count="136" type="stmt"/>
231
236
  <line num="138" count="4" type="stmt"/>
232
237
  <line num="139" count="4" type="stmt"/>
233
238
  <line num="140" count="4" type="stmt"/>
@@ -242,43 +247,43 @@
242
247
  </file>
243
248
  <file name="RecommendedCarbs.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendedCarbs.tsx">
244
249
  <metrics statements="21" coveredstatements="21" conditionals="10" coveredconditionals="10" methods="7" coveredmethods="7"/>
245
- <line num="34" count="64" type="stmt"/>
246
- <line num="40" count="64" type="stmt"/>
250
+ <line num="34" count="65" type="stmt"/>
251
+ <line num="40" count="65" type="stmt"/>
247
252
  <line num="41" count="2" type="stmt"/>
248
- <line num="44" count="64" type="stmt"/>
253
+ <line num="44" count="65" type="stmt"/>
249
254
  <line num="45" count="1" type="stmt"/>
250
- <line num="50" count="64" type="stmt"/>
255
+ <line num="50" count="65" type="stmt"/>
251
256
  <line num="51" count="6" type="cond" truecount="2" falsecount="0"/>
252
257
  <line num="52" count="5" type="cond" truecount="2" falsecount="0"/>
253
258
  <line num="53" count="1" type="stmt"/>
254
259
  <line num="54" count="1" type="stmt"/>
255
260
  <line num="60" count="4" type="stmt"/>
256
- <line num="64" count="64" type="stmt"/>
257
- <line num="65" count="38" type="cond" truecount="2" falsecount="0"/>
258
- <line num="66" count="38" type="stmt"/>
259
- <line num="67" count="38" type="stmt"/>
260
- <line num="130" count="20" type="stmt"/>
261
- <line num="140" count="64" type="stmt"/>
261
+ <line num="64" count="65" type="stmt"/>
262
+ <line num="65" count="37" type="cond" truecount="2" falsecount="0"/>
263
+ <line num="66" count="37" type="stmt"/>
264
+ <line num="67" count="37" type="stmt"/>
265
+ <line num="130" count="19" type="stmt"/>
266
+ <line num="140" count="65" type="stmt"/>
262
267
  <line num="141" count="174" type="stmt"/>
263
- <line num="161" count="136" type="stmt"/>
264
- <line num="162" count="136" type="stmt"/>
268
+ <line num="161" count="137" type="stmt"/>
269
+ <line num="162" count="137" type="stmt"/>
265
270
  <line num="182" count="2" type="stmt"/>
266
271
  </file>
267
272
  <file name="RecommendedInsulin.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendedInsulin.tsx">
268
273
  <metrics statements="27" coveredstatements="27" conditionals="18" coveredconditionals="18" methods="7" coveredmethods="7"/>
269
274
  <line num="29" count="2" type="stmt"/>
270
- <line num="35" count="71" type="stmt"/>
271
- <line num="37" count="71" type="stmt"/>
275
+ <line num="35" count="72" type="stmt"/>
276
+ <line num="37" count="72" type="stmt"/>
272
277
  <line num="43" count="69" type="stmt"/>
273
278
  <line num="44" count="69" type="cond" truecount="2" falsecount="0"/>
274
279
  <line num="45" count="2" type="stmt"/>
275
- <line num="49" count="71" type="stmt"/>
280
+ <line num="49" count="72" type="stmt"/>
276
281
  <line num="50" count="1" type="stmt"/>
277
- <line num="53" count="71" type="stmt"/>
282
+ <line num="53" count="72" type="stmt"/>
278
283
  <line num="55" count="17" type="cond" truecount="5" falsecount="0"/>
279
284
  <line num="56" count="17" type="stmt"/>
280
285
  <line num="59" count="17" type="stmt"/>
281
- <line num="62" count="71" type="stmt"/>
286
+ <line num="62" count="72" type="stmt"/>
282
287
  <line num="63" count="28" type="stmt"/>
283
288
  <line num="66" count="27" type="cond" truecount="2" falsecount="0"/>
284
289
  <line num="68" count="27" type="cond" truecount="2" falsecount="0"/>
@@ -287,40 +292,40 @@
287
292
  <line num="71" count="12" type="stmt"/>
288
293
  <line num="77" count="15" type="stmt"/>
289
294
  <line num="78" count="15" type="stmt"/>
290
- <line num="81" count="71" type="stmt"/>
291
- <line num="82" count="140" type="cond" truecount="2" falsecount="0"/>
292
- <line num="83" count="140" type="cond" truecount="3" falsecount="0"/>
293
- <line num="84" count="140" type="stmt"/>
294
- <line num="123" count="71" type="stmt"/>
295
+ <line num="81" count="72" type="stmt"/>
296
+ <line num="82" count="141" type="cond" truecount="2" falsecount="0"/>
297
+ <line num="83" count="141" type="cond" truecount="3" falsecount="0"/>
298
+ <line num="84" count="141" type="stmt"/>
299
+ <line num="123" count="72" type="stmt"/>
295
300
  <line num="131" count="2" type="stmt"/>
296
301
  </file>
297
302
  <file name="Remeasure.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/Remeasure.tsx">
298
303
  <metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="5" coveredmethods="5"/>
299
- <line num="19" count="69" type="stmt"/>
300
- <line num="24" count="69" type="stmt"/>
304
+ <line num="19" count="70" type="stmt"/>
305
+ <line num="24" count="70" type="stmt"/>
301
306
  <line num="25" count="17" type="stmt"/>
302
307
  <line num="26" count="17" type="stmt"/>
303
- <line num="29" count="69" type="stmt"/>
304
- <line num="30" count="169" type="stmt"/>
305
- <line num="34" count="152" type="stmt"/>
306
- <line num="35" count="152" type="stmt"/>
307
- <line num="36" count="152" type="cond" truecount="2" falsecount="0"/>
308
- <line num="37" count="152" type="cond" truecount="2" falsecount="0"/>
309
- <line num="38" count="152" type="stmt"/>
310
- <line num="57" count="304" type="cond" truecount="2" falsecount="0"/>
311
- <line num="58" count="152" type="stmt"/>
308
+ <line num="29" count="70" type="stmt"/>
309
+ <line num="30" count="170" type="stmt"/>
310
+ <line num="34" count="153" type="stmt"/>
311
+ <line num="35" count="153" type="stmt"/>
312
+ <line num="36" count="153" type="cond" truecount="2" falsecount="0"/>
313
+ <line num="37" count="153" type="cond" truecount="2" falsecount="0"/>
314
+ <line num="38" count="153" type="stmt"/>
315
+ <line num="57" count="306" type="cond" truecount="2" falsecount="0"/>
316
+ <line num="58" count="153" type="stmt"/>
312
317
  <line num="77" count="2" type="stmt"/>
313
318
  <line num="115" count="2" type="stmt"/>
314
319
  </file>
315
320
  <file name="TransferToLogbook.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/TransferToLogbook.tsx">
316
321
  <metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
317
- <line num="19" count="56" type="stmt"/>
318
- <line num="23" count="56" type="stmt"/>
322
+ <line num="19" count="57" type="stmt"/>
323
+ <line num="23" count="57" type="stmt"/>
319
324
  <line num="24" count="6" type="stmt"/>
320
325
  <line num="27" count="6" type="stmt"/>
321
- <line num="31" count="126" type="cond" truecount="2" falsecount="0"/>
326
+ <line num="31" count="127" type="cond" truecount="2" falsecount="0"/>
322
327
  <line num="32" count="45" type="stmt"/>
323
- <line num="35" count="81" type="stmt"/>
328
+ <line num="35" count="82" type="stmt"/>
324
329
  <line num="58" count="2" type="stmt"/>
325
330
  </file>
326
331
  <file name="TwoOptionModal.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/TwoOptionModal.tsx">
@@ -366,15 +371,15 @@
366
371
  <file name="Emotion.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/mood/Emotion.tsx">
367
372
  <metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="6"/>
368
373
  <line num="8" count="2" type="stmt"/>
369
- <line num="16" count="60" type="stmt"/>
374
+ <line num="16" count="61" type="stmt"/>
370
375
  <line num="17" count="8" type="cond" truecount="2" falsecount="0"/>
371
- <line num="20" count="60" type="stmt"/>
372
- <line num="21" count="1350" type="stmt"/>
373
- <line num="25" count="135" type="stmt"/>
374
- <line num="27" count="675" type="stmt"/>
375
- <line num="28" count="675" type="stmt"/>
376
+ <line num="20" count="61" type="stmt"/>
377
+ <line num="21" count="1360" type="stmt"/>
378
+ <line num="25" count="136" type="stmt"/>
379
+ <line num="27" count="680" type="stmt"/>
380
+ <line num="28" count="680" type="stmt"/>
376
381
  <line num="30" count="8" type="stmt"/>
377
- <line num="41" count="135" type="stmt"/>
382
+ <line num="41" count="136" type="stmt"/>
378
383
  <line num="52" count="2" type="stmt"/>
379
384
  </file>
380
385
  <file name="MoodIcon.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/mood/MoodIcon.tsx">
@@ -382,15 +387,15 @@
382
387
  <line num="5" count="3" type="stmt"/>
383
388
  <line num="13" count="3" type="stmt"/>
384
389
  <line num="21" count="3" type="stmt"/>
385
- <line num="30" count="305" type="stmt"/>
386
- <line num="31" count="685" type="cond" truecount="2" falsecount="0"/>
390
+ <line num="30" count="310" type="stmt"/>
391
+ <line num="31" count="690" type="cond" truecount="2" falsecount="0"/>
387
392
  <line num="32" count="19" type="stmt"/>
388
- <line num="34" count="666" type="stmt"/>
389
- <line num="37" count="305" type="stmt"/>
393
+ <line num="34" count="671" type="stmt"/>
394
+ <line num="37" count="310" type="stmt"/>
390
395
  <line num="38" count="13" type="stmt"/>
391
- <line num="42" count="685" type="stmt"/>
392
- <line num="43" count="685" type="stmt"/>
393
- <line num="44" count="685" type="stmt"/>
396
+ <line num="42" count="690" type="stmt"/>
397
+ <line num="43" count="690" type="stmt"/>
398
+ <line num="44" count="690" type="stmt"/>
394
399
  <line num="52" count="3" type="stmt"/>
395
400
  </file>
396
401
  </package>
@@ -400,18 +405,18 @@
400
405
  <metrics statements="6" coveredstatements="6" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
401
406
  <line num="7" count="15" type="stmt"/>
402
407
  <line num="16" count="15" type="stmt"/>
403
- <line num="22" count="63" type="cond" truecount="2" falsecount="0"/>
404
- <line num="24" count="63" type="cond" truecount="2" falsecount="0"/>
405
- <line num="25" count="63" type="stmt"/>
406
- <line num="26" count="63" type="stmt"/>
408
+ <line num="22" count="64" type="cond" truecount="2" falsecount="0"/>
409
+ <line num="24" count="64" type="cond" truecount="2" falsecount="0"/>
410
+ <line num="25" count="64" type="stmt"/>
411
+ <line num="26" count="64" type="stmt"/>
407
412
  </file>
408
413
  </package>
409
414
  <package name="src.utils">
410
- <metrics statements="266" coveredstatements="266" conditionals="165" coveredconditionals="165" methods="93" coveredmethods="93"/>
415
+ <metrics statements="272" coveredstatements="272" conditionals="171" coveredconditionals="171" methods="95" coveredmethods="95"/>
411
416
  <file name="AttentionMessages.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/AttentionMessages.tsx">
412
417
  <metrics statements="36" coveredstatements="36" conditionals="2" coveredconditionals="2" methods="22" coveredmethods="22"/>
413
418
  <line num="6" count="5" type="stmt"/>
414
- <line num="7" count="26" type="stmt"/>
419
+ <line num="7" count="25" type="stmt"/>
415
420
  <line num="8" count="6" type="stmt"/>
416
421
  <line num="9" count="4" type="stmt"/>
417
422
  <line num="10" count="2" type="stmt"/>
@@ -422,10 +427,10 @@
422
427
  <line num="28" count="5" type="stmt"/>
423
428
  <line num="31" count="27" type="stmt"/>
424
429
  <line num="35" count="5" type="stmt"/>
425
- <line num="36" count="27" type="stmt"/>
430
+ <line num="36" count="26" type="stmt"/>
426
431
  <line num="39" count="6" type="stmt"/>
427
432
  <line num="40" count="5" type="stmt"/>
428
- <line num="41" count="42" type="stmt"/>
433
+ <line num="41" count="41" type="stmt"/>
429
434
  <line num="42" count="5" type="stmt"/>
430
435
  <line num="43" count="6" type="stmt"/>
431
436
  <line num="44" count="5" type="stmt"/>
@@ -433,7 +438,7 @@
433
438
  <line num="48" count="8" type="stmt"/>
434
439
  <line num="49" count="8" type="stmt"/>
435
440
  <line num="50" count="5" type="stmt"/>
436
- <line num="51" count="129" type="stmt"/>
441
+ <line num="51" count="130" type="stmt"/>
437
442
  <line num="55" count="5" type="stmt"/>
438
443
  <line num="56" count="10" type="stmt"/>
439
444
  <line num="64" count="5" type="stmt"/>
@@ -474,10 +479,10 @@
474
479
  <line num="32" count="13" type="stmt"/>
475
480
  </file>
476
481
  <file name="RecommendationError.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/RecommendationError.tsx">
477
- <metrics statements="45" coveredstatements="45" conditionals="0" coveredconditionals="0" methods="22" coveredmethods="22"/>
482
+ <metrics statements="47" coveredstatements="47" conditionals="0" coveredconditionals="0" methods="23" coveredmethods="23"/>
478
483
  <line num="6" count="4" type="stmt"/>
479
- <line num="12" count="235" type="stmt"/>
480
- <line num="13" count="235" type="stmt"/>
484
+ <line num="12" count="243" type="stmt"/>
485
+ <line num="13" count="243" type="stmt"/>
481
486
  <line num="17" count="4" type="stmt"/>
482
487
  <line num="18" count="9" type="stmt"/>
483
488
  <line num="23" count="4" type="stmt"/>
@@ -486,87 +491,89 @@
486
491
  <line num="30" count="7" type="stmt"/>
487
492
  <line num="35" count="4" type="stmt"/>
488
493
  <line num="36" count="11" type="stmt"/>
489
- <line num="40" count="4" type="stmt"/>
490
- <line num="41" count="15" type="stmt"/>
491
- <line num="46" count="4" type="stmt"/>
492
- <line num="47" count="12" type="stmt"/>
493
- <line num="52" count="4" type="stmt"/>
494
- <line num="53" count="13" type="stmt"/>
495
- <line num="60" count="4" type="stmt"/>
496
- <line num="61" count="12" type="stmt"/>
497
- <line num="66" count="4" type="stmt"/>
498
- <line num="67" count="12" type="stmt"/>
499
- <line num="72" count="4" type="stmt"/>
500
- <line num="73" count="24" type="stmt"/>
501
- <line num="77" count="4" type="stmt"/>
502
- <line num="78" count="12" type="stmt"/>
503
- <line num="84" count="4" type="stmt"/>
504
- <line num="85" count="12" type="stmt"/>
505
- <line num="90" count="4" type="stmt"/>
506
- <line num="91" count="12" type="stmt"/>
507
- <line num="96" count="4" type="stmt"/>
508
- <line num="97" count="6" type="stmt"/>
509
- <line num="102" count="4" type="stmt"/>
510
- <line num="103" count="9" type="stmt"/>
511
- <line num="108" count="4" type="stmt"/>
512
- <line num="109" count="4" type="stmt"/>
513
- <line num="114" count="4" type="stmt"/>
514
- <line num="115" count="12" type="stmt"/>
515
- <line num="120" count="4" type="stmt"/>
516
- <line num="121" count="9" type="stmt"/>
517
- <line num="126" count="4" type="stmt"/>
518
- <line num="127" count="16" type="stmt"/>
519
- <line num="131" count="4" type="stmt"/>
520
- <line num="132" count="8" type="stmt"/>
521
- <line num="136" count="4" type="stmt"/>
522
- <line num="137" count="8" type="stmt"/>
494
+ <line num="41" count="4" type="stmt"/>
495
+ <line num="42" count="15" type="stmt"/>
496
+ <line num="47" count="4" type="stmt"/>
497
+ <line num="48" count="12" type="stmt"/>
498
+ <line num="53" count="4" type="stmt"/>
499
+ <line num="54" count="13" type="stmt"/>
500
+ <line num="61" count="4" type="stmt"/>
501
+ <line num="62" count="12" type="stmt"/>
502
+ <line num="67" count="4" type="stmt"/>
503
+ <line num="68" count="12" type="stmt"/>
504
+ <line num="73" count="4" type="stmt"/>
505
+ <line num="74" count="24" type="stmt"/>
506
+ <line num="79" count="4" type="stmt"/>
507
+ <line num="80" count="12" type="stmt"/>
508
+ <line num="87" count="4" type="stmt"/>
509
+ <line num="88" count="12" type="stmt"/>
510
+ <line num="93" count="4" type="stmt"/>
511
+ <line num="94" count="12" type="stmt"/>
512
+ <line num="99" count="4" type="stmt"/>
513
+ <line num="100" count="6" type="stmt"/>
514
+ <line num="105" count="4" type="stmt"/>
515
+ <line num="106" count="9" type="stmt"/>
516
+ <line num="111" count="4" type="stmt"/>
517
+ <line num="112" count="4" type="stmt"/>
518
+ <line num="117" count="4" type="stmt"/>
519
+ <line num="118" count="12" type="stmt"/>
520
+ <line num="123" count="4" type="stmt"/>
521
+ <line num="124" count="9" type="stmt"/>
522
+ <line num="129" count="4" type="stmt"/>
523
+ <line num="130" count="16" type="stmt"/>
524
+ <line num="135" count="4" type="stmt"/>
525
+ <line num="136" count="9" type="stmt"/>
526
+ <line num="141" count="4" type="stmt"/>
527
+ <line num="142" count="8" type="stmt"/>
528
+ <line num="147" count="4" type="stmt"/>
529
+ <line num="148" count="7" type="stmt"/>
523
530
  </file>
524
531
  <file name="RecommendationUtils.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/RecommendationUtils.ts">
525
532
  <metrics statements="44" coveredstatements="44" conditionals="85" coveredconditionals="85" methods="6" coveredmethods="6"/>
526
- <line num="10" count="231" type="cond" truecount="2" falsecount="0"/>
533
+ <line num="10" count="235" type="cond" truecount="2" falsecount="0"/>
527
534
  <line num="11" count="3" type="stmt"/>
528
- <line num="13" count="228" type="cond" truecount="4" falsecount="0"/>
529
- <line num="14" count="31" type="stmt"/>
530
- <line num="16" count="197" type="cond" truecount="4" falsecount="0"/>
535
+ <line num="13" count="232" type="cond" truecount="4" falsecount="0"/>
536
+ <line num="14" count="29" type="stmt"/>
537
+ <line num="16" count="203" type="cond" truecount="4" falsecount="0"/>
531
538
  <line num="17" count="4" type="stmt"/>
532
- <line num="19" count="193" type="cond" truecount="4" falsecount="0"/>
539
+ <line num="19" count="199" type="cond" truecount="4" falsecount="0"/>
533
540
  <line num="20" count="2" type="stmt"/>
534
- <line num="22" count="191" type="cond" truecount="4" falsecount="0"/>
541
+ <line num="22" count="197" type="cond" truecount="4" falsecount="0"/>
535
542
  <line num="23" count="1" type="stmt"/>
536
- <line num="25" count="190" type="cond" truecount="4" falsecount="0"/>
537
- <line num="26" count="149" type="stmt"/>
538
- <line num="28" count="41" type="cond" truecount="4" falsecount="0"/>
543
+ <line num="25" count="196" type="cond" truecount="4" falsecount="0"/>
544
+ <line num="26" count="158" type="stmt"/>
545
+ <line num="28" count="38" type="cond" truecount="4" falsecount="0"/>
539
546
  <line num="29" count="27" type="stmt"/>
540
- <line num="31" count="14" type="cond" truecount="2" falsecount="0"/>
547
+ <line num="31" count="11" type="cond" truecount="2" falsecount="0"/>
541
548
  <line num="36" count="2" type="stmt"/>
542
- <line num="38" count="12" type="cond" truecount="4" falsecount="0"/>
543
- <line num="39" count="10" type="stmt"/>
549
+ <line num="38" count="9" type="cond" truecount="4" falsecount="0"/>
550
+ <line num="39" count="7" type="stmt"/>
544
551
  <line num="41" count="2" type="stmt"/>
545
- <line num="50" count="103" type="cond" truecount="2" falsecount="0"/>
546
- <line num="51" count="103" type="cond" truecount="10" falsecount="0"/>
547
- <line num="55" count="20" type="stmt"/>
548
- <line num="61" count="67" type="cond" truecount="4" falsecount="0"/>
549
- <line num="65" count="12" type="cond" truecount="2" falsecount="0"/>
552
+ <line num="50" count="104" type="cond" truecount="2" falsecount="0"/>
553
+ <line num="51" count="104" type="cond" truecount="10" falsecount="0"/>
554
+ <line num="55" count="19" type="stmt"/>
555
+ <line num="61" count="70" type="cond" truecount="4" falsecount="0"/>
556
+ <line num="65" count="11" type="cond" truecount="2" falsecount="0"/>
550
557
  <line num="70" count="4" type="stmt"/>
551
- <line num="75" count="182" type="stmt"/>
552
- <line num="76" count="182" type="stmt"/>
553
- <line num="77" count="182" type="stmt"/>
554
- <line num="78" count="182" type="cond" truecount="10" falsecount="0"/>
555
- <line num="82" count="140" type="stmt"/>
558
+ <line num="75" count="185" type="stmt"/>
559
+ <line num="76" count="185" type="stmt"/>
560
+ <line num="77" count="185" type="stmt"/>
561
+ <line num="78" count="185" type="cond" truecount="10" falsecount="0"/>
562
+ <line num="82" count="146" type="stmt"/>
556
563
  <line num="85" count="2" type="cond" truecount="2" falsecount="0"/>
557
- <line num="90" count="30" type="cond" truecount="4" falsecount="0"/>
558
- <line num="95" count="6" type="cond" truecount="2" falsecount="0"/>
564
+ <line num="90" count="29" type="cond" truecount="4" falsecount="0"/>
565
+ <line num="95" count="4" type="cond" truecount="2" falsecount="0"/>
559
566
  <line num="98" count="2" type="cond" truecount="2" falsecount="0"/>
560
567
  <line num="102" count="2" type="stmt"/>
561
- <line num="107" count="15" type="cond" truecount="4" falsecount="0"/>
562
- <line num="108" count="13" type="stmt"/>
563
- <line num="109" count="13" type="cond" truecount="2" falsecount="0"/>
564
- <line num="110" count="12" type="stmt"/>
568
+ <line num="107" count="12" type="cond" truecount="4" falsecount="0"/>
569
+ <line num="108" count="10" type="stmt"/>
570
+ <line num="109" count="10" type="cond" truecount="2" falsecount="0"/>
571
+ <line num="110" count="9" type="stmt"/>
565
572
  <line num="114" count="3" type="stmt"/>
566
- <line num="118" count="199" type="stmt"/>
567
- <line num="119" count="199" type="stmt"/>
568
- <line num="125" count="126" type="cond" truecount="2" falsecount="0"/>
569
- <line num="128" count="126" type="cond" truecount="2" falsecount="0"/>
573
+ <line num="118" count="201" type="stmt"/>
574
+ <line num="119" count="201" type="stmt"/>
575
+ <line num="125" count="127" type="cond" truecount="2" falsecount="0"/>
576
+ <line num="128" count="127" type="cond" truecount="2" falsecount="0"/>
570
577
  </file>
571
578
  <file name="Translations.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Translations.ts">
572
579
  <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
@@ -579,121 +586,125 @@
579
586
  <metrics statements="22" coveredstatements="22" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
580
587
  <line num="4" count="9" type="stmt"/>
581
588
  <line num="5" count="9" type="stmt"/>
582
- <line num="9" count="101" type="cond" truecount="4" falsecount="0"/>
589
+ <line num="9" count="102" type="cond" truecount="4" falsecount="0"/>
583
590
  <line num="11" count="8" type="stmt"/>
584
- <line num="14" count="64" type="stmt"/>
591
+ <line num="14" count="65" type="stmt"/>
585
592
  <line num="17" count="28" type="stmt"/>
586
593
  <line num="20" count="1" type="stmt"/>
587
- <line num="25" count="98" type="stmt"/>
588
- <line num="26" count="97" type="stmt"/>
589
- <line num="30" count="802" type="cond" truecount="2" falsecount="0"/>
594
+ <line num="25" count="99" type="stmt"/>
595
+ <line num="26" count="98" type="stmt"/>
596
+ <line num="30" count="813" type="cond" truecount="2" falsecount="0"/>
590
597
  <line num="31" count="18" type="stmt"/>
591
- <line num="34" count="784" type="cond" truecount="2" falsecount="0"/>
598
+ <line num="34" count="795" type="cond" truecount="2" falsecount="0"/>
592
599
  <line num="38" count="6" type="stmt"/>
593
- <line num="41" count="122" type="cond" truecount="2" falsecount="0"/>
594
- <line num="45" count="7" type="stmt"/>
595
- <line num="48" count="122" type="cond" truecount="2" falsecount="0"/>
596
- <line num="51" count="9" type="stmt"/>
597
- <line num="52" count="256" type="stmt"/>
598
- <line num="53" count="256" type="stmt"/>
599
- <line num="54" count="256" type="stmt"/>
600
- <line num="58" count="182" type="stmt"/>
601
- <line num="59" count="182" type="stmt"/>
600
+ <line num="42" count="122" type="cond" truecount="2" falsecount="0"/>
601
+ <line num="46" count="7" type="stmt"/>
602
+ <line num="50" count="121" type="cond" truecount="2" falsecount="0"/>
603
+ <line num="53" count="9" type="stmt"/>
604
+ <line num="54" count="257" type="stmt"/>
605
+ <line num="55" count="257" type="stmt"/>
606
+ <line num="56" count="257" type="stmt"/>
607
+ <line num="60" count="185" type="stmt"/>
608
+ <line num="61" count="185" type="stmt"/>
602
609
  </file>
603
610
  <file name="Validations.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Validations.ts">
604
- <metrics statements="92" coveredstatements="92" conditionals="66" coveredconditionals="66" methods="31" coveredmethods="31"/>
605
- <line num="46" count="2" type="stmt"/>
611
+ <metrics statements="96" coveredstatements="96" conditionals="72" coveredconditionals="72" methods="32" coveredmethods="32"/>
606
612
  <line num="47" count="2" type="stmt"/>
607
- <line num="50" count="55" type="stmt"/>
608
- <line num="51" count="55" type="stmt"/>
609
- <line num="53" count="55" type="stmt"/>
610
- <line num="54" count="55" type="stmt"/>
611
- <line num="56" count="55" type="stmt"/>
612
- <line num="57" count="55" type="stmt"/>
613
- <line num="58" count="55" type="stmt"/>
614
- <line num="59" count="54" type="stmt"/>
615
- <line num="60" count="54" type="cond" truecount="4" falsecount="0"/>
616
- <line num="61" count="5" type="stmt"/>
617
- <line num="66" count="65" type="cond" truecount="2" falsecount="0"/>
618
- <line num="67" count="5" type="stmt"/>
619
- <line num="71" count="61" type="cond" truecount="2" falsecount="0"/>
620
- <line num="72" count="1" type="stmt"/>
621
- <line num="74" count="60" type="cond" truecount="2" falsecount="0"/>
622
- <line num="75" count="59" type="cond" truecount="2" falsecount="0"/>
623
- <line num="76" count="4" type="stmt"/>
624
- <line num="82" count="61" type="stmt"/>
625
- <line num="83" count="74" type="stmt"/>
626
- <line num="85" count="61" type="cond" truecount="2" falsecount="0"/>
627
- <line num="86" count="3" type="stmt"/>
628
- <line num="91" count="65" type="stmt"/>
629
- <line num="92" count="60" type="cond" truecount="2" falsecount="0"/>
613
+ <line num="48" count="2" type="stmt"/>
614
+ <line num="51" count="56" type="stmt"/>
615
+ <line num="52" count="56" type="stmt"/>
616
+ <line num="54" count="56" type="stmt"/>
617
+ <line num="55" count="56" type="stmt"/>
618
+ <line num="56" count="56" type="stmt"/>
619
+ <line num="58" count="56" type="stmt"/>
620
+ <line num="59" count="56" type="stmt"/>
621
+ <line num="60" count="56" type="stmt"/>
622
+ <line num="61" count="55" type="stmt"/>
623
+ <line num="62" count="55" type="cond" truecount="4" falsecount="0"/>
624
+ <line num="63" count="5" type="stmt"/>
625
+ <line num="67" count="61" type="cond" truecount="4" falsecount="0"/>
626
+ <line num="68" count="2" type="stmt"/>
627
+ <line num="73" count="66" type="cond" truecount="2" falsecount="0"/>
628
+ <line num="74" count="5" type="stmt"/>
629
+ <line num="78" count="62" type="cond" truecount="2" falsecount="0"/>
630
+ <line num="79" count="1" type="stmt"/>
631
+ <line num="81" count="61" type="cond" truecount="2" falsecount="0"/>
632
+ <line num="82" count="60" type="cond" truecount="2" falsecount="0"/>
633
+ <line num="83" count="4" type="stmt"/>
634
+ <line num="89" count="62" type="stmt"/>
635
+ <line num="90" count="75" type="stmt"/>
636
+ <line num="92" count="62" type="cond" truecount="2" falsecount="0"/>
630
637
  <line num="93" count="3" type="stmt"/>
631
- <line num="97" count="66" type="stmt"/>
632
- <line num="98" count="60" type="cond" truecount="2" falsecount="0"/>
633
- <line num="99" count="3" type="stmt"/>
634
- <line num="104" count="63" type="cond" truecount="2" falsecount="0"/>
635
- <line num="105" count="4" type="stmt"/>
636
- <line num="110" count="55" type="stmt"/>
637
- <line num="111" count="55" type="stmt"/>
638
- <line num="112" count="55" type="stmt"/>
639
- <line num="113" count="55" type="stmt"/>
640
- <line num="114" count="55" type="stmt"/>
641
- <line num="115" count="55" type="stmt"/>
642
- <line num="116" count="55" type="stmt"/>
643
- <line num="117" count="55" type="stmt"/>
644
- <line num="118" count="55" type="stmt"/>
645
- <line num="122" count="57" type="cond" truecount="2" falsecount="0"/>
646
- <line num="123" count="7" type="stmt"/>
647
- <line num="124" count="6" type="stmt"/>
648
- <line num="125" count="6" type="stmt"/>
649
- <line num="126" count="6" type="stmt"/>
650
- <line num="127" count="6" type="stmt"/>
651
- <line num="132" count="57" type="cond" truecount="4" falsecount="0"/>
652
- <line num="133" count="2" type="stmt"/>
653
- <line num="138" count="61" type="stmt"/>
654
- <line num="139" count="75" type="cond" truecount="2" falsecount="0"/>
655
- <line num="140" count="3" type="stmt"/>
656
- <line num="146" count="61" type="stmt"/>
657
- <line num="147" count="76" type="cond" truecount="2" falsecount="0"/>
658
- <line num="148" count="3" type="stmt"/>
659
- <line num="154" count="14" type="cond" truecount="2" falsecount="0"/>
660
- <line num="155" count="4" type="stmt"/>
661
- <line num="160" count="13" type="stmt"/>
662
- <line num="161" count="31" type="stmt"/>
663
- <line num="163" count="13" type="cond" truecount="2" falsecount="0"/>
638
+ <line num="98" count="66" type="stmt"/>
639
+ <line num="99" count="61" type="cond" truecount="2" falsecount="0"/>
640
+ <line num="100" count="3" type="stmt"/>
641
+ <line num="104" count="62" type="cond" truecount="2" falsecount="0"/>
642
+ <line num="105" count="66" type="stmt"/>
643
+ <line num="106" count="60" type="cond" truecount="2" falsecount="0"/>
644
+ <line num="107" count="3" type="stmt"/>
645
+ <line num="113" count="64" type="cond" truecount="2" falsecount="0"/>
646
+ <line num="114" count="4" type="stmt"/>
647
+ <line num="119" count="56" type="stmt"/>
648
+ <line num="120" count="56" type="stmt"/>
649
+ <line num="121" count="56" type="stmt"/>
650
+ <line num="122" count="56" type="stmt"/>
651
+ <line num="123" count="56" type="stmt"/>
652
+ <line num="124" count="56" type="stmt"/>
653
+ <line num="125" count="56" type="stmt"/>
654
+ <line num="126" count="56" type="stmt"/>
655
+ <line num="127" count="56" type="stmt"/>
656
+ <line num="131" count="58" type="cond" truecount="2" falsecount="0"/>
657
+ <line num="132" count="7" type="stmt"/>
658
+ <line num="133" count="6" type="stmt"/>
659
+ <line num="134" count="6" type="stmt"/>
660
+ <line num="135" count="6" type="stmt"/>
661
+ <line num="136" count="6" type="stmt"/>
662
+ <line num="141" count="58" type="cond" truecount="4" falsecount="0"/>
663
+ <line num="142" count="2" type="stmt"/>
664
+ <line num="147" count="62" type="stmt"/>
665
+ <line num="148" count="77" type="cond" truecount="2" falsecount="0"/>
666
+ <line num="149" count="3" type="stmt"/>
667
+ <line num="155" count="62" type="stmt"/>
668
+ <line num="156" count="78" type="cond" truecount="2" falsecount="0"/>
669
+ <line num="157" count="3" type="stmt"/>
670
+ <line num="163" count="14" type="cond" truecount="2" falsecount="0"/>
664
671
  <line num="164" count="4" type="stmt"/>
665
- <line num="169" count="45" type="stmt"/>
666
- <line num="170" count="15" type="cond" truecount="2" falsecount="0"/>
667
- <line num="171" count="5" type="stmt"/>
668
- <line num="176" count="11" type="stmt"/>
669
- <line num="179" count="11" type="cond" truecount="2" falsecount="0"/>
670
- <line num="180" count="3" type="stmt"/>
671
- <line num="185" count="12" type="stmt"/>
672
- <line num="186" count="49" type="stmt"/>
673
- <line num="187" count="49" type="stmt"/>
674
- <line num="188" count="117" type="stmt"/>
675
- <line num="189" count="117" type="stmt"/>
676
- <line num="190" count="117" type="cond" truecount="4" falsecount="0"/>
677
- <line num="191" count="11" type="cond" truecount="4" falsecount="0"/>
678
- <line num="192" count="1" type="stmt"/>
679
- <line num="194" count="106" type="cond" truecount="2" falsecount="0"/>
680
- <line num="195" count="2" type="stmt"/>
681
- <line num="202" count="14" type="cond" truecount="2" falsecount="0"/>
682
- <line num="203" count="4" type="stmt"/>
683
- <line num="208" count="63" type="cond" truecount="2" falsecount="0"/>
684
- <line num="209" count="61" type="cond" truecount="2" falsecount="0"/>
685
- <line num="210" count="4" type="stmt"/>
686
- <line num="216" count="63" type="cond" truecount="2" falsecount="0"/>
687
- <line num="217" count="4" type="stmt"/>
688
- <line num="222" count="63" type="cond" truecount="2" falsecount="0"/>
689
- <line num="223" count="61" type="cond" truecount="2" falsecount="0"/>
690
- <line num="224" count="4" type="stmt"/>
691
- <line num="230" count="63" type="cond" truecount="2" falsecount="0"/>
692
- <line num="231" count="4" type="stmt"/>
693
- <line num="236" count="63" type="cond" truecount="2" falsecount="0"/>
694
- <line num="237" count="4" type="stmt"/>
695
- <line num="242" count="63" type="cond" truecount="2" falsecount="0"/>
696
- <line num="243" count="4" type="stmt"/>
672
+ <line num="169" count="13" type="stmt"/>
673
+ <line num="170" count="31" type="stmt"/>
674
+ <line num="172" count="13" type="cond" truecount="2" falsecount="0"/>
675
+ <line num="173" count="4" type="stmt"/>
676
+ <line num="178" count="45" type="stmt"/>
677
+ <line num="179" count="15" type="cond" truecount="2" falsecount="0"/>
678
+ <line num="180" count="5" type="stmt"/>
679
+ <line num="185" count="11" type="stmt"/>
680
+ <line num="188" count="11" type="cond" truecount="2" falsecount="0"/>
681
+ <line num="189" count="3" type="stmt"/>
682
+ <line num="194" count="12" type="stmt"/>
683
+ <line num="195" count="49" type="stmt"/>
684
+ <line num="196" count="49" type="stmt"/>
685
+ <line num="197" count="117" type="stmt"/>
686
+ <line num="198" count="117" type="stmt"/>
687
+ <line num="199" count="117" type="cond" truecount="4" falsecount="0"/>
688
+ <line num="200" count="11" type="cond" truecount="4" falsecount="0"/>
689
+ <line num="201" count="1" type="stmt"/>
690
+ <line num="203" count="106" type="cond" truecount="2" falsecount="0"/>
691
+ <line num="204" count="2" type="stmt"/>
692
+ <line num="211" count="14" type="cond" truecount="2" falsecount="0"/>
693
+ <line num="212" count="4" type="stmt"/>
694
+ <line num="217" count="64" type="cond" truecount="2" falsecount="0"/>
695
+ <line num="218" count="62" type="cond" truecount="2" falsecount="0"/>
696
+ <line num="219" count="4" type="stmt"/>
697
+ <line num="225" count="64" type="cond" truecount="2" falsecount="0"/>
698
+ <line num="226" count="4" type="stmt"/>
699
+ <line num="231" count="64" type="cond" truecount="2" falsecount="0"/>
700
+ <line num="232" count="61" type="cond" truecount="2" falsecount="0"/>
701
+ <line num="233" count="4" type="stmt"/>
702
+ <line num="239" count="64" type="cond" truecount="2" falsecount="0"/>
703
+ <line num="240" count="4" type="stmt"/>
704
+ <line num="245" count="64" type="cond" truecount="2" falsecount="0"/>
705
+ <line num="246" count="4" type="stmt"/>
706
+ <line num="251" count="64" type="cond" truecount="2" falsecount="0"/>
707
+ <line num="252" count="4" type="stmt"/>
697
708
  </file>
698
709
  </package>
699
710
  </project>