@hedia/recommendation-screen 2.1.3-beta.7 → 2.1.4
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.
- package/coverage/clover.xml +29 -29
- package/coverage/coverage-final.json +27 -27
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/RecommendationScreen.tsx.html +1 -1
- package/coverage/lcov-report/src/__tests__/index.html +1 -1
- package/coverage/lcov-report/src/__tests__/utils.tsx.html +1 -1
- package/coverage/lcov-report/src/components/Header.tsx.html +1 -1
- package/coverage/lcov-report/src/components/InfoBars.tsx.html +1 -1
- package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +1 -1
- package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +1 -1
- package/coverage/lcov-report/src/components/LineSeparator.tsx.html +1 -1
- package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +1 -1
- package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +1 -1
- package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +1 -1
- package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +1 -1
- package/coverage/lcov-report/src/components/Remeasure.tsx.html +1 -1
- package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +1 -1
- package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +1 -1
- package/coverage/lcov-report/src/components/activity/Activity.tsx.html +1 -1
- package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +1 -1
- package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +1 -1
- package/coverage/lcov-report/src/components/activity/index.html +1 -1
- package/coverage/lcov-report/src/components/index.html +1 -1
- package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +1 -1
- package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +1 -1
- package/coverage/lcov-report/src/components/mood/index.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/locale/i18nUtils.ts.html +1 -1
- package/coverage/lcov-report/src/locale/index.html +1 -1
- package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +1 -1
- package/coverage/lcov-report/src/utils/Constants.ts.html +1 -1
- package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +1 -1
- package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +1 -1
- package/coverage/lcov-report/src/utils/Translations.ts.html +1 -1
- package/coverage/lcov-report/src/utils/Utils.ts.html +1 -1
- package/coverage/lcov-report/src/utils/Validations.ts.html +2 -2
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/package.json +1 -2
- package/src/__tests__/Validations.test.js +1 -1
- package/src/utils/Validations.js +1 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1616499622416" clover="3.2.0">
|
|
3
|
+
<project timestamp="1616499622417" name="All files">
|
|
4
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
6
|
<metrics statements="104" coveredstatements="104" conditionals="47" coveredconditionals="47" methods="35" coveredmethods="35"/>
|
|
7
|
-
<file name="RecommendationScreen.tsx" path="/
|
|
7
|
+
<file name="RecommendationScreen.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/RecommendationScreen.tsx">
|
|
8
8
|
<metrics statements="104" coveredstatements="104" conditionals="47" coveredconditionals="47" methods="35" coveredmethods="35"/>
|
|
9
9
|
<line num="36" count="1" type="stmt"/>
|
|
10
10
|
<line num="92" count="56" type="stmt"/>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</package>
|
|
115
115
|
<package name="src.__tests__">
|
|
116
116
|
<metrics statements="20" coveredstatements="20" conditionals="34" coveredconditionals="34" methods="10" coveredmethods="10"/>
|
|
117
|
-
<file name="utils.tsx" path="/
|
|
117
|
+
<file name="utils.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/__tests__/utils.tsx">
|
|
118
118
|
<metrics statements="20" coveredstatements="20" conditionals="34" coveredconditionals="34" methods="10" coveredmethods="10"/>
|
|
119
119
|
<line num="11" count="14" type="stmt"/>
|
|
120
120
|
<line num="12" count="14" type="stmt"/>
|
|
@@ -140,12 +140,12 @@
|
|
|
140
140
|
</package>
|
|
141
141
|
<package name="src.components">
|
|
142
142
|
<metrics statements="160" coveredstatements="160" conditionals="96" coveredconditionals="96" methods="45" coveredmethods="45"/>
|
|
143
|
-
<file name="Header.tsx" path="/
|
|
143
|
+
<file name="Header.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/Header.tsx">
|
|
144
144
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
145
145
|
<line num="15" count="130" type="stmt"/>
|
|
146
146
|
<line num="49" count="2" type="stmt"/>
|
|
147
147
|
</file>
|
|
148
|
-
<file name="InfoBars.tsx" path="/
|
|
148
|
+
<file name="InfoBars.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/InfoBars.tsx">
|
|
149
149
|
<metrics statements="13" coveredstatements="13" conditionals="14" coveredconditionals="14" methods="3" coveredmethods="3"/>
|
|
150
150
|
<line num="19" count="179" type="stmt"/>
|
|
151
151
|
<line num="20" count="386" type="stmt"/>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<line num="36" count="386" type="stmt"/>
|
|
162
162
|
<line num="64" count="6" type="stmt"/>
|
|
163
163
|
</file>
|
|
164
|
-
<file name="InvisibleNumberInput.tsx" path="/
|
|
164
|
+
<file name="InvisibleNumberInput.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/InvisibleNumberInput.tsx">
|
|
165
165
|
<metrics statements="29" coveredstatements="29" conditionals="12" coveredconditionals="12" methods="8" coveredmethods="8"/>
|
|
166
166
|
<line num="23" count="133" type="stmt"/>
|
|
167
167
|
<line num="28" count="133" type="stmt"/>
|
|
@@ -193,24 +193,24 @@
|
|
|
193
193
|
<line num="78" count="438" type="stmt"/>
|
|
194
194
|
<line num="92" count="4" type="stmt"/>
|
|
195
195
|
</file>
|
|
196
|
-
<file name="LimitationMessage.tsx" path="/
|
|
196
|
+
<file name="LimitationMessage.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/LimitationMessage.tsx">
|
|
197
197
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
198
198
|
<line num="14" count="11" type="stmt"/>
|
|
199
199
|
<line num="15" count="11" type="stmt"/>
|
|
200
200
|
<line num="16" count="11" type="stmt"/>
|
|
201
201
|
</file>
|
|
202
|
-
<file name="LineSeparator.tsx" path="/
|
|
202
|
+
<file name="LineSeparator.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/LineSeparator.tsx">
|
|
203
203
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
204
204
|
<line num="10" count="74" type="stmt"/>
|
|
205
205
|
<line num="18" count="2" type="stmt"/>
|
|
206
206
|
</file>
|
|
207
|
-
<file name="RecentInsulin.tsx" path="/
|
|
207
|
+
<file name="RecentInsulin.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecentInsulin.tsx">
|
|
208
208
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
209
209
|
<line num="14" count="21" type="stmt"/>
|
|
210
210
|
<line num="15" count="44" type="stmt"/>
|
|
211
211
|
<line num="48" count="1" type="stmt"/>
|
|
212
212
|
</file>
|
|
213
|
-
<file name="RecommendationModal.tsx" path="/
|
|
213
|
+
<file name="RecommendationModal.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendationModal.tsx">
|
|
214
214
|
<metrics statements="32" coveredstatements="32" conditionals="12" coveredconditionals="12" methods="7" coveredmethods="7"/>
|
|
215
215
|
<line num="24" count="65" type="stmt"/>
|
|
216
216
|
<line num="25" count="65" type="stmt"/>
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
<line num="147" count="4" type="stmt"/>
|
|
246
246
|
<line num="149" count="4" type="stmt"/>
|
|
247
247
|
</file>
|
|
248
|
-
<file name="RecommendedCarbs.tsx" path="/
|
|
248
|
+
<file name="RecommendedCarbs.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendedCarbs.tsx">
|
|
249
249
|
<metrics statements="21" coveredstatements="21" conditionals="10" coveredconditionals="10" methods="7" coveredmethods="7"/>
|
|
250
250
|
<line num="34" count="65" type="stmt"/>
|
|
251
251
|
<line num="40" count="65" type="stmt"/>
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
<line num="162" count="137" type="stmt"/>
|
|
270
270
|
<line num="182" count="2" type="stmt"/>
|
|
271
271
|
</file>
|
|
272
|
-
<file name="RecommendedInsulin.tsx" path="/
|
|
272
|
+
<file name="RecommendedInsulin.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/RecommendedInsulin.tsx">
|
|
273
273
|
<metrics statements="27" coveredstatements="27" conditionals="18" coveredconditionals="18" methods="7" coveredmethods="7"/>
|
|
274
274
|
<line num="29" count="2" type="stmt"/>
|
|
275
275
|
<line num="35" count="72" type="stmt"/>
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
<line num="123" count="72" type="stmt"/>
|
|
300
300
|
<line num="131" count="2" type="stmt"/>
|
|
301
301
|
</file>
|
|
302
|
-
<file name="Remeasure.tsx" path="/
|
|
302
|
+
<file name="Remeasure.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/Remeasure.tsx">
|
|
303
303
|
<metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="5" coveredmethods="5"/>
|
|
304
304
|
<line num="19" count="70" type="stmt"/>
|
|
305
305
|
<line num="24" count="70" type="stmt"/>
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
<line num="77" count="2" type="stmt"/>
|
|
318
318
|
<line num="115" count="2" type="stmt"/>
|
|
319
319
|
</file>
|
|
320
|
-
<file name="TransferToLogbook.tsx" path="/
|
|
320
|
+
<file name="TransferToLogbook.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/TransferToLogbook.tsx">
|
|
321
321
|
<metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
322
322
|
<line num="19" count="57" type="stmt"/>
|
|
323
323
|
<line num="23" count="57" type="stmt"/>
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
<line num="35" count="82" type="stmt"/>
|
|
329
329
|
<line num="58" count="2" type="stmt"/>
|
|
330
330
|
</file>
|
|
331
|
-
<file name="TwoOptionModal.tsx" path="/
|
|
331
|
+
<file name="TwoOptionModal.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/TwoOptionModal.tsx">
|
|
332
332
|
<metrics statements="5" coveredstatements="5" conditionals="16" coveredconditionals="16" methods="2" coveredmethods="2"/>
|
|
333
333
|
<line num="22" count="13" type="stmt"/>
|
|
334
334
|
<line num="26" count="16" type="stmt"/>
|
|
@@ -339,14 +339,14 @@
|
|
|
339
339
|
</package>
|
|
340
340
|
<package name="src.components.activity">
|
|
341
341
|
<metrics statements="17" coveredstatements="17" conditionals="8" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
342
|
-
<file name="Activity.tsx" path="/
|
|
342
|
+
<file name="Activity.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/activity/Activity.tsx">
|
|
343
343
|
<metrics statements="4" coveredstatements="4" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
344
344
|
<line num="18" count="25" type="stmt"/>
|
|
345
345
|
<line num="19" count="25" type="cond" truecount="2" falsecount="0"/>
|
|
346
346
|
<line num="21" count="25" type="stmt"/>
|
|
347
347
|
<line num="57" count="2" type="stmt"/>
|
|
348
348
|
</file>
|
|
349
|
-
<file name="ActivityIcon.tsx" path="/
|
|
349
|
+
<file name="ActivityIcon.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/activity/ActivityIcon.tsx">
|
|
350
350
|
<metrics statements="8" coveredstatements="8" conditionals="6" coveredconditionals="6" methods="2" coveredmethods="2"/>
|
|
351
351
|
<line num="8" count="2" type="stmt"/>
|
|
352
352
|
<line num="10" count="2" type="stmt"/>
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
<line num="26" count="25" type="stmt"/>
|
|
358
358
|
<line num="39" count="2" type="stmt"/>
|
|
359
359
|
</file>
|
|
360
|
-
<file name="ActivityIntensity.tsx" path="/
|
|
360
|
+
<file name="ActivityIntensity.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/activity/ActivityIntensity.tsx">
|
|
361
361
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
362
362
|
<line num="13" count="21" type="stmt"/>
|
|
363
363
|
<line num="14" count="25" type="stmt"/>
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
</package>
|
|
369
369
|
<package name="src.components.mood">
|
|
370
370
|
<metrics statements="24" coveredstatements="24" conditionals="4" coveredconditionals="4" methods="9" coveredmethods="9"/>
|
|
371
|
-
<file name="Emotion.tsx" path="/
|
|
371
|
+
<file name="Emotion.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/mood/Emotion.tsx">
|
|
372
372
|
<metrics statements="11" coveredstatements="11" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="6"/>
|
|
373
373
|
<line num="8" count="2" type="stmt"/>
|
|
374
374
|
<line num="16" count="61" type="stmt"/>
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
<line num="41" count="136" type="stmt"/>
|
|
383
383
|
<line num="52" count="2" type="stmt"/>
|
|
384
384
|
</file>
|
|
385
|
-
<file name="MoodIcon.tsx" path="/
|
|
385
|
+
<file name="MoodIcon.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/components/mood/MoodIcon.tsx">
|
|
386
386
|
<metrics statements="13" coveredstatements="13" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
|
|
387
387
|
<line num="5" count="3" type="stmt"/>
|
|
388
388
|
<line num="13" count="3" type="stmt"/>
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
</package>
|
|
402
402
|
<package name="src.locale">
|
|
403
403
|
<metrics statements="6" coveredstatements="6" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
404
|
-
<file name="i18nUtils.ts" path="/
|
|
404
|
+
<file name="i18nUtils.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/locale/i18nUtils.ts">
|
|
405
405
|
<metrics statements="6" coveredstatements="6" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
406
406
|
<line num="7" count="15" type="stmt"/>
|
|
407
407
|
<line num="16" count="15" type="stmt"/>
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
</package>
|
|
414
414
|
<package name="src.utils">
|
|
415
415
|
<metrics statements="272" coveredstatements="272" conditionals="171" coveredconditionals="171" methods="95" coveredmethods="95"/>
|
|
416
|
-
<file name="AttentionMessages.tsx" path="/
|
|
416
|
+
<file name="AttentionMessages.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/AttentionMessages.tsx">
|
|
417
417
|
<metrics statements="36" coveredstatements="36" conditionals="2" coveredconditionals="2" methods="22" coveredmethods="22"/>
|
|
418
418
|
<line num="6" count="5" type="stmt"/>
|
|
419
419
|
<line num="7" count="25" type="stmt"/>
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
<line num="77" count="6" type="stmt"/>
|
|
453
453
|
<line num="78" count="6" type="stmt"/>
|
|
454
454
|
</file>
|
|
455
|
-
<file name="Constants.ts" path="/
|
|
455
|
+
<file name="Constants.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Constants.ts">
|
|
456
456
|
<metrics statements="23" coveredstatements="23" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
457
457
|
<line num="3" count="13" type="stmt"/>
|
|
458
458
|
<line num="4" count="13" type="stmt"/>
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
<line num="31" count="13" type="stmt"/>
|
|
479
479
|
<line num="32" count="13" type="stmt"/>
|
|
480
480
|
</file>
|
|
481
|
-
<file name="RecommendationError.tsx" path="/
|
|
481
|
+
<file name="RecommendationError.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/RecommendationError.tsx">
|
|
482
482
|
<metrics statements="47" coveredstatements="47" conditionals="0" coveredconditionals="0" methods="23" coveredmethods="23"/>
|
|
483
483
|
<line num="6" count="4" type="stmt"/>
|
|
484
484
|
<line num="12" count="243" type="stmt"/>
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
<line num="147" count="4" type="stmt"/>
|
|
529
529
|
<line num="148" count="7" type="stmt"/>
|
|
530
530
|
</file>
|
|
531
|
-
<file name="RecommendationUtils.ts" path="/
|
|
531
|
+
<file name="RecommendationUtils.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/RecommendationUtils.ts">
|
|
532
532
|
<metrics statements="44" coveredstatements="44" conditionals="85" coveredconditionals="85" methods="6" coveredmethods="6"/>
|
|
533
533
|
<line num="10" count="235" type="cond" truecount="2" falsecount="0"/>
|
|
534
534
|
<line num="11" count="3" type="stmt"/>
|
|
@@ -575,14 +575,14 @@
|
|
|
575
575
|
<line num="125" count="127" type="cond" truecount="2" falsecount="0"/>
|
|
576
576
|
<line num="128" count="127" type="cond" truecount="2" falsecount="0"/>
|
|
577
577
|
</file>
|
|
578
|
-
<file name="Translations.ts" path="/
|
|
578
|
+
<file name="Translations.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Translations.ts">
|
|
579
579
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
580
580
|
<line num="5" count="2" type="stmt"/>
|
|
581
581
|
<line num="6" count="5" type="stmt"/>
|
|
582
582
|
<line num="7" count="21" type="stmt"/>
|
|
583
583
|
<line num="8" count="5" type="stmt"/>
|
|
584
584
|
</file>
|
|
585
|
-
<file name="Utils.ts" path="/
|
|
585
|
+
<file name="Utils.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Utils.ts">
|
|
586
586
|
<metrics statements="22" coveredstatements="22" conditionals="12" coveredconditionals="12" methods="9" coveredmethods="9"/>
|
|
587
587
|
<line num="4" count="9" type="stmt"/>
|
|
588
588
|
<line num="5" count="9" type="stmt"/>
|
|
@@ -607,7 +607,7 @@
|
|
|
607
607
|
<line num="60" count="185" type="stmt"/>
|
|
608
608
|
<line num="61" count="185" type="stmt"/>
|
|
609
609
|
</file>
|
|
610
|
-
<file name="Validations.ts" path="/
|
|
610
|
+
<file name="Validations.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Validations.ts">
|
|
611
611
|
<metrics statements="96" coveredstatements="96" conditionals="72" coveredconditionals="72" methods="32" coveredmethods="32"/>
|
|
612
612
|
<line num="47" count="2" type="stmt"/>
|
|
613
613
|
<line num="48" count="2" type="stmt"/>
|