@hedia/recommendation-screen 2.1.3 → 2.1.5

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 (41) hide show
  1. package/coverage/clover.xml +11 -11
  2. package/coverage/coverage-final.json +3 -3
  3. package/coverage/lcov-report/index.html +3 -3
  4. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +1 -1
  5. package/coverage/lcov-report/src/__tests__/index.html +1 -1
  6. package/coverage/lcov-report/src/__tests__/utils.tsx.html +2 -2
  7. package/coverage/lcov-report/src/components/Header.tsx.html +1 -1
  8. package/coverage/lcov-report/src/components/InfoBars.tsx.html +1 -1
  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 +1 -1
  12. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +1 -1
  16. package/coverage/lcov-report/src/components/Remeasure.tsx.html +1 -1
  17. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +1 -1
  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 +1 -1
  24. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +1 -1
  26. package/coverage/lcov-report/src/components/mood/index.html +1 -1
  27. package/coverage/lcov-report/src/index.html +1 -1
  28. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +1 -1
  29. package/coverage/lcov-report/src/locale/index.html +1 -1
  30. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +1 -1
  31. package/coverage/lcov-report/src/utils/Constants.ts.html +1 -1
  32. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +4 -4
  33. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +1 -1
  34. package/coverage/lcov-report/src/utils/Translations.ts.html +1 -1
  35. package/coverage/lcov-report/src/utils/Utils.ts.html +1 -1
  36. package/coverage/lcov-report/src/utils/Validations.ts.html +6 -6
  37. package/coverage/lcov-report/src/utils/index.html +3 -3
  38. package/coverage/lcov.info +73 -71
  39. package/package.json +1 -1
  40. package/src/__tests__/Validations.test.js +2 -1
  41. package/src/utils/Validations.js +2 -2
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1616486840858" clover="3.2.0">
3
- <project timestamp="1616486840858" 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"/>
2
+ <coverage generated="1617003804866" clover="3.2.0">
3
+ <project timestamp="1617003804866" name="All files">
4
+ <metrics statements="603" coveredstatements="603" conditionals="366" coveredconditionals="366" methods="199" coveredmethods="199" elements="1168" coveredelements="1168" 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
7
  <file name="RecommendationScreen.tsx" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/RecommendationScreen.tsx">
@@ -126,7 +126,7 @@
126
126
  <line num="45" count="67" type="stmt"/>
127
127
  <line num="66" count="22" type="stmt"/>
128
128
  <line num="75" count="24" type="stmt"/>
129
- <line num="84" count="97" type="stmt"/>
129
+ <line num="84" count="98" type="stmt"/>
130
130
  <line num="109" count="301" type="stmt"/>
131
131
  <line num="115" count="301" type="stmt"/>
132
132
  <line num="119" count="26" type="stmt"/>
@@ -412,7 +412,7 @@
412
412
  </file>
413
413
  </package>
414
414
  <package name="src.utils">
415
- <metrics statements="272" coveredstatements="272" conditionals="171" coveredconditionals="171" methods="95" coveredmethods="95"/>
415
+ <metrics statements="272" coveredstatements="272" conditionals="173" coveredconditionals="173" methods="95" coveredmethods="95"/>
416
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"/>
@@ -481,8 +481,8 @@
481
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
- <line num="12" count="243" type="stmt"/>
485
- <line num="13" count="243" type="stmt"/>
484
+ <line num="12" count="244" type="stmt"/>
485
+ <line num="13" count="244" type="stmt"/>
486
486
  <line num="17" count="4" type="stmt"/>
487
487
  <line num="18" count="9" type="stmt"/>
488
488
  <line num="23" count="4" type="stmt"/>
@@ -504,7 +504,7 @@
504
504
  <line num="73" count="4" type="stmt"/>
505
505
  <line num="74" count="24" type="stmt"/>
506
506
  <line num="79" count="4" type="stmt"/>
507
- <line num="80" count="12" type="stmt"/>
507
+ <line num="80" count="13" type="stmt"/>
508
508
  <line num="87" count="4" type="stmt"/>
509
509
  <line num="88" count="12" type="stmt"/>
510
510
  <line num="93" count="4" type="stmt"/>
@@ -608,7 +608,7 @@
608
608
  <line num="61" count="185" type="stmt"/>
609
609
  </file>
610
610
  <file name="Validations.ts" path="/home/runner/work/hedia-recommendation-screen/hedia-recommendation-screen/src/utils/Validations.ts">
611
- <metrics statements="96" coveredstatements="96" conditionals="72" coveredconditionals="72" methods="32" coveredmethods="32"/>
611
+ <metrics statements="96" coveredstatements="96" conditionals="74" coveredconditionals="74" methods="32" coveredmethods="32"/>
612
612
  <line num="47" count="2" type="stmt"/>
613
613
  <line num="48" count="2" type="stmt"/>
614
614
  <line num="51" count="56" type="stmt"/>
@@ -626,9 +626,9 @@
626
626
  <line num="68" count="2" type="stmt"/>
627
627
  <line num="73" count="66" type="cond" truecount="2" falsecount="0"/>
628
628
  <line num="74" count="5" type="stmt"/>
629
- <line num="78" count="62" type="cond" truecount="2" falsecount="0"/>
629
+ <line num="78" count="63" type="cond" truecount="2" falsecount="0"/>
630
630
  <line num="79" count="1" type="stmt"/>
631
- <line num="81" count="61" type="cond" truecount="2" falsecount="0"/>
631
+ <line num="81" count="62" type="cond" truecount="4" falsecount="0"/>
632
632
  <line num="82" count="60" type="cond" truecount="2" falsecount="0"/>
633
633
  <line num="83" count="4" type="stmt"/>
634
634
  <line num="89" count="62" type="stmt"/>