@zajno/common 1.4.1 → 1.4.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 (91) hide show
  1. package/.nvmrc +1 -1
  2. package/README.md +5 -5
  3. package/coverage/clover.xml +390 -107
  4. package/coverage/coverage-final.json +18 -13
  5. package/coverage/lcov-report/index.html +38 -38
  6. package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
  7. package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +1 -1
  8. package/coverage/lcov-report/src/async/arrays.ts.html +1 -1
  9. package/coverage/lcov-report/src/async/index.html +24 -9
  10. package/coverage/lcov-report/src/async/timeout.ts.html +230 -0
  11. package/coverage/lcov-report/src/cache.ts.html +623 -0
  12. package/coverage/lcov-report/src/dates/calc.ts.html +1 -1
  13. package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
  14. package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
  15. package/coverage/lcov-report/src/dates/format.ts.html +1 -1
  16. package/coverage/lcov-report/src/dates/index.html +1 -1
  17. package/coverage/lcov-report/src/dates/index.ts.html +1 -1
  18. package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
  19. package/coverage/lcov-report/src/dates/period.ts.html +1 -1
  20. package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
  21. package/coverage/lcov-report/src/dates/types.ts.html +1 -1
  22. package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
  23. package/coverage/lcov-report/src/disposer.ts.html +332 -0
  24. package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
  25. package/coverage/lcov-report/src/event.ts.html +1 -1
  26. package/coverage/lcov-report/src/fields/index.html +1 -1
  27. package/coverage/lcov-report/src/fields/update.ts.html +1 -1
  28. package/coverage/lcov-report/src/functions.ts.html +1 -1
  29. package/coverage/lcov-report/src/index.html +78 -18
  30. package/coverage/lcov-report/src/lazy.light.ts.html +1 -1
  31. package/coverage/lcov-report/src/logger/batch.ts.html +2 -2
  32. package/coverage/lcov-report/src/logger/console.ts.html +5 -5
  33. package/coverage/lcov-report/src/logger/index.html +1 -1
  34. package/coverage/lcov-report/src/logger/index.ts.html +22 -22
  35. package/coverage/lcov-report/src/logger/named.ts.html +13 -13
  36. package/coverage/lcov-report/src/logger/proxy.ts.html +7 -7
  37. package/coverage/lcov-report/src/math/arrays.ts.html +23 -23
  38. package/coverage/lcov-report/src/math/calc.ts.html +9 -9
  39. package/coverage/lcov-report/src/math/distribution.ts.html +2 -2
  40. package/coverage/lcov-report/src/math/index.html +1 -1
  41. package/coverage/lcov-report/src/math/index.ts.html +6 -6
  42. package/coverage/lcov-report/src/observers.ts.html +368 -0
  43. package/coverage/lcov-report/src/observersMap.ts.html +395 -0
  44. package/coverage/lcov-report/src/observingCache.ts.html +485 -0
  45. package/coverage/lcov-report/src/transitionObserver.ts.html +29 -8
  46. package/coverage/lcov-report/src/types.ts.html +5 -5
  47. package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +1 -1
  48. package/coverage/lcov-report/src/validation/creditCard.ts.html +1 -1
  49. package/coverage/lcov-report/src/validation/helpers.ts.html +1 -1
  50. package/coverage/lcov-report/src/validation/index.html +1 -1
  51. package/coverage/lcov-report/src/validation/index.ts.html +1 -1
  52. package/coverage/lcov-report/src/validation/types.ts.html +1 -1
  53. package/coverage/lcov-report/src/validation/validators.ts.html +2 -2
  54. package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
  55. package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +1 -1
  56. package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +1 -1
  57. package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +24 -24
  58. package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +1 -1
  59. package/coverage/lcov-report/src/viewModels/Validatable.ts.html +1 -1
  60. package/coverage/lcov-report/src/viewModels/index.html +15 -15
  61. package/coverage/lcov-report/src/viewModels/wrappers.ts.html +1 -1
  62. package/coverage/lcov.info +731 -133
  63. package/lib/cache.d.ts +6 -2
  64. package/lib/cache.d.ts.map +1 -1
  65. package/lib/cache.js +20 -4
  66. package/lib/cache.js.map +1 -1
  67. package/lib/observersMap.d.ts +22 -0
  68. package/lib/observersMap.d.ts.map +1 -0
  69. package/lib/observersMap.js +93 -0
  70. package/lib/observersMap.js.map +1 -0
  71. package/lib/observingCache.d.ts +29 -0
  72. package/lib/observingCache.d.ts.map +1 -0
  73. package/lib/observingCache.js +107 -0
  74. package/lib/observingCache.js.map +1 -0
  75. package/lib/transitionObserver.d.ts +1 -0
  76. package/lib/transitionObserver.d.ts.map +1 -1
  77. package/lib/transitionObserver.js +8 -1
  78. package/lib/transitionObserver.js.map +1 -1
  79. package/lib/validation/validators.js +1 -1
  80. package/lib/viewModels/CommonModel.d.ts +2 -1
  81. package/lib/viewModels/CommonModel.d.ts.map +1 -1
  82. package/lib/viewModels/CommonModel.js +8 -14
  83. package/lib/viewModels/CommonModel.js.map +1 -1
  84. package/package.json +1 -1
  85. package/src/__tests__/observingCache.test.ts +127 -0
  86. package/src/cache.ts +25 -4
  87. package/src/observersMap.ts +105 -0
  88. package/src/observingCache.ts +135 -0
  89. package/src/transitionObserver.ts +7 -0
  90. package/src/validation/validators.ts +1 -1
  91. package/src/viewModels/CommonModel.ts +11 -8
@@ -1,9 +1,141 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1643639460812" clover="3.2.0">
3
- <project timestamp="1643639460812" name="All files">
4
- <metrics statements="1215" coveredstatements="1029" conditionals="781" coveredconditionals="623" methods="358" coveredmethods="257" elements="2354" coveredelements="1909" complexity="0" loc="1215" ncloc="1215" packages="9" files="41" classes="41"/>
2
+ <coverage generated="1644448197955" clover="3.2.0">
3
+ <project timestamp="1644448197955" name="All files">
4
+ <metrics statements="1483" coveredstatements="1215" conditionals="918" coveredconditionals="696" methods="432" coveredmethods="307" elements="2833" coveredelements="2218" complexity="0" loc="1483" ncloc="1483" packages="9" files="46" classes="46"/>
5
5
  <package name="src">
6
- <metrics statements="182" coveredstatements="159" conditionals="101" coveredconditionals="83" methods="68" coveredmethods="55"/>
6
+ <metrics statements="424" coveredstatements="334" conditionals="225" coveredconditionals="151" methods="135" coveredmethods="100"/>
7
+ <file name="cache.ts" path="/Users/idudinov/projects/zajno-common-utils/src/cache.ts">
8
+ <metrics statements="89" coveredstatements="72" conditionals="46" coveredconditionals="26" methods="28" coveredmethods="20"/>
9
+ <line num="1" count="1" type="stmt"/>
10
+ <line num="2" count="1" type="stmt"/>
11
+ <line num="3" count="1" type="stmt"/>
12
+ <line num="11" count="1" type="cond" truecount="2" falsecount="0"/>
13
+ <line num="12" count="1" type="stmt"/>
14
+ <line num="13" count="1" type="stmt"/>
15
+ <line num="14" count="0" type="stmt"/>
16
+ <line num="15" count="0" type="stmt"/>
17
+ <line num="16" count="0" type="stmt"/>
18
+ <line num="21" count="1" type="stmt"/>
19
+ <line num="24" count="2" type="stmt"/>
20
+ <line num="27" count="2" type="stmt"/>
21
+ <line num="29" count="2" type="stmt"/>
22
+ <line num="31" count="2" type="stmt"/>
23
+ <line num="32" count="2" type="stmt"/>
24
+ <line num="34" count="2" type="stmt"/>
25
+ <line num="37" count="2" type="stmt"/>
26
+ <line num="38" count="2" type="stmt"/>
27
+ <line num="39" count="2" type="stmt"/>
28
+ <line num="42" count="2" type="stmt"/>
29
+ <line num="43" count="2" type="stmt"/>
30
+ <line num="46" count="0" type="stmt"/>
31
+ <line num="49" count="0" type="stmt"/>
32
+ <line num="50" count="0" type="stmt"/>
33
+ <line num="54" count="20" type="cond" truecount="1" falsecount="1"/>
34
+ <line num="55" count="0" type="stmt"/>
35
+ <line num="58" count="20" type="cond" truecount="1" falsecount="1"/>
36
+ <line num="59" count="20" type="stmt"/>
37
+ <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
38
+ <line num="63" count="0" type="stmt"/>
39
+ <line num="66" count="0" type="stmt"/>
40
+ <line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
41
+ <line num="71" count="0" type="stmt"/>
42
+ <line num="75" count="2" type="stmt"/>
43
+ <line num="76" count="2" type="stmt"/>
44
+ <line num="77" count="5" type="stmt"/>
45
+ <line num="78" count="2" type="stmt"/>
46
+ <line num="79" count="6" type="stmt"/>
47
+ <line num="84" count="6" type="stmt"/>
48
+ <line num="85" count="6" type="stmt"/>
49
+ <line num="89" count="5" type="stmt"/>
50
+ <line num="90" count="5" type="stmt"/>
51
+ <line num="91" count="5" type="cond" truecount="1" falsecount="1"/>
52
+ <line num="92" count="5" type="stmt"/>
53
+ <line num="94" count="5" type="cond" truecount="2" falsecount="2"/>
54
+ <line num="95" count="5" type="stmt"/>
55
+ <line num="99" count="7" type="stmt"/>
56
+ <line num="100" count="7" type="stmt"/>
57
+ <line num="101" count="7" type="cond" truecount="2" falsecount="0"/>
58
+ <line num="102" count="3" type="cond" truecount="2" falsecount="2"/>
59
+ <line num="103" count="3" type="stmt"/>
60
+ <line num="106" count="4" type="stmt"/>
61
+ <line num="107" count="4" type="cond" truecount="2" falsecount="0"/>
62
+ <line num="108" count="2" type="cond" truecount="2" falsecount="2"/>
63
+ <line num="109" count="2" type="stmt"/>
64
+ <line num="112" count="2" type="stmt"/>
65
+ <line num="113" count="2" type="stmt"/>
66
+ <line num="115" count="2" type="stmt"/>
67
+ <line num="116" count="2" type="stmt"/>
68
+ <line num="119" count="2" type="stmt"/>
69
+ <line num="120" count="2" type="stmt"/>
70
+ <line num="121" count="2" type="stmt"/>
71
+ <line num="122" count="2" type="stmt"/>
72
+ <line num="123" count="2" type="cond" truecount="1" falsecount="1"/>
73
+ <line num="124" count="2" type="cond" truecount="2" falsecount="2"/>
74
+ <line num="125" count="2" type="stmt"/>
75
+ <line num="128" count="2" type="stmt"/>
76
+ <line num="130" count="2" type="stmt"/>
77
+ <line num="132" count="2" type="stmt"/>
78
+ <line num="133" count="2" type="stmt"/>
79
+ <line num="134" count="2" type="stmt"/>
80
+ <line num="135" count="2" type="stmt"/>
81
+ <line num="141" count="0" type="stmt"/>
82
+ <line num="142" count="0" type="stmt"/>
83
+ <line num="146" count="1" type="stmt"/>
84
+ <line num="147" count="1" type="stmt"/>
85
+ <line num="151" count="1" type="stmt"/>
86
+ <line num="152" count="1" type="cond" truecount="2" falsecount="0"/>
87
+ <line num="156" count="1" type="stmt"/>
88
+ <line num="160" count="0" type="cond" truecount="0" falsecount="2"/>
89
+ <line num="161" count="0" type="stmt"/>
90
+ <line num="164" count="0" type="stmt"/>
91
+ <line num="168" count="1" type="stmt"/>
92
+ <line num="169" count="1" type="stmt"/>
93
+ <line num="170" count="1" type="stmt"/>
94
+ <line num="171" count="1" type="stmt"/>
95
+ <line num="176" count="3" type="cond" truecount="2" falsecount="0"/>
96
+ <line num="177" count="2" type="stmt"/>
97
+ <line num="179" count="1" type="stmt"/>
98
+ </file>
99
+ <file name="disposer.ts" path="/Users/idudinov/projects/zajno-common-utils/src/disposer.ts">
100
+ <metrics statements="37" coveredstatements="23" conditionals="20" coveredconditionals="7" methods="12" coveredmethods="10"/>
101
+ <line num="1" count="1" type="stmt"/>
102
+ <line num="11" count="1" type="stmt"/>
103
+ <line num="13" count="2" type="stmt"/>
104
+ <line num="14" count="2" type="stmt"/>
105
+ <line num="16" count="2" type="cond" truecount="1" falsecount="0"/>
106
+ <line num="19" count="2" type="cond" truecount="1" falsecount="1"/>
107
+ <line num="20" count="0" type="stmt"/>
108
+ <line num="23" count="2" type="stmt"/>
109
+ <line num="24" count="2" type="cond" truecount="2" falsecount="2"/>
110
+ <line num="27" count="2" type="stmt"/>
111
+ <line num="29" count="2" type="cond" truecount="1" falsecount="1"/>
112
+ <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
113
+ <line num="32" count="0" type="stmt"/>
114
+ <line num="35" count="0" type="stmt"/>
115
+ <line num="40" count="0" type="stmt"/>
116
+ <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
117
+ <line num="42" count="0" type="stmt"/>
118
+ <line num="45" count="0" type="stmt"/>
119
+ <line num="46" count="0" type="stmt"/>
120
+ <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
121
+ <line num="48" count="0" type="stmt"/>
122
+ <line num="51" count="0" type="stmt"/>
123
+ <line num="55" count="2" type="cond" truecount="1" falsecount="1"/>
124
+ <line num="56" count="0" type="stmt"/>
125
+ <line num="58" count="0" type="stmt"/>
126
+ <line num="62" count="2" type="stmt"/>
127
+ <line num="63" count="2" type="stmt"/>
128
+ <line num="64" count="2" type="stmt"/>
129
+ <line num="67" count="2" type="stmt"/>
130
+ <line num="71" count="1" type="stmt"/>
131
+ <line num="72" count="1" type="stmt"/>
132
+ <line num="75" count="1" type="stmt"/>
133
+ <line num="77" count="2" type="stmt"/>
134
+ <line num="78" count="2" type="stmt"/>
135
+ <line num="80" count="2" type="stmt"/>
136
+ <line num="81" count="2" type="stmt"/>
137
+ <line num="82" count="2" type="stmt"/>
138
+ </file>
7
139
  <file name="enumHelper.ts" path="/Users/idudinov/projects/zajno-common-utils/src/enumHelper.ts">
8
140
  <metrics statements="50" coveredstatements="50" conditionals="41" coveredconditionals="36" methods="25" coveredmethods="25"/>
9
141
  <line num="1" count="5" type="stmt"/>
@@ -103,8 +235,128 @@
103
235
  <line num="25" count="0" type="stmt"/>
104
236
  <line num="28" count="11" type="stmt"/>
105
237
  </file>
238
+ <file name="observersMap.ts" path="/Users/idudinov/projects/zajno-common-utils/src/observersMap.ts">
239
+ <metrics statements="53" coveredstatements="35" conditionals="32" coveredconditionals="17" methods="10" coveredmethods="6"/>
240
+ <line num="1" count="1" type="stmt"/>
241
+ <line num="2" count="1" type="stmt"/>
242
+ <line num="3" count="1" type="stmt"/>
243
+ <line num="7" count="1" type="stmt"/>
244
+ <line num="9" count="2" type="stmt"/>
245
+ <line num="11" count="2" type="stmt"/>
246
+ <line num="13" count="2" type="stmt"/>
247
+ <line num="14" count="2" type="stmt"/>
248
+ <line num="16" count="2" type="stmt"/>
249
+ <line num="17" count="2" type="cond" truecount="2" falsecount="0"/>
250
+ <line num="20" count="0" type="stmt"/>
251
+ <line num="23" count="2" type="stmt"/>
252
+ <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
253
+ <line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
254
+ <line num="32" count="0" type="stmt"/>
255
+ <line num="33" count="0" type="stmt"/>
256
+ <line num="36" count="1" type="cond" truecount="1" falsecount="1"/>
257
+ <line num="37" count="1" type="cond" truecount="1" falsecount="1"/>
258
+ <line num="40" count="1" type="stmt"/>
259
+ <line num="41" count="1" type="stmt"/>
260
+ <line num="43" count="1" type="stmt"/>
261
+ <line num="45" count="1" type="cond" truecount="2" falsecount="2"/>
262
+ <line num="46" count="0" type="stmt"/>
263
+ <line num="49" count="1" type="cond" truecount="1" falsecount="1"/>
264
+ <line num="50" count="1" type="stmt"/>
265
+ <line num="52" count="1" type="cond" truecount="1" falsecount="1"/>
266
+ <line num="53" count="0" type="stmt"/>
267
+ <line num="55" count="1" type="stmt"/>
268
+ <line num="56" count="1" type="stmt"/>
269
+ <line num="57" count="1" type="stmt"/>
270
+ <line num="60" count="0" type="stmt"/>
271
+ <line num="61" count="0" type="stmt"/>
272
+ <line num="62" count="0" type="stmt"/>
273
+ <line num="63" count="0" type="stmt"/>
274
+ <line num="64" count="0" type="stmt"/>
275
+ <line num="65" count="0" type="stmt"/>
276
+ <line num="70" count="1" type="stmt"/>
277
+ <line num="71" count="1" type="cond" truecount="1" falsecount="1"/>
278
+ <line num="72" count="0" type="stmt"/>
279
+ <line num="73" count="0" type="stmt"/>
280
+ <line num="76" count="1" type="cond" truecount="3" falsecount="2"/>
281
+ <line num="78" count="0" type="stmt"/>
282
+ <line num="81" count="1" type="cond" truecount="3" falsecount="1"/>
283
+ <line num="82" count="0" type="stmt"/>
284
+ <line num="83" count="0" type="stmt"/>
285
+ <line num="89" count="2" type="stmt"/>
286
+ <line num="90" count="0" type="stmt"/>
287
+ <line num="92" count="2" type="stmt"/>
288
+ <line num="95" count="2" type="stmt"/>
289
+ <line num="96" count="1" type="stmt"/>
290
+ <line num="98" count="2" type="stmt"/>
291
+ <line num="99" count="2" type="stmt"/>
292
+ <line num="103" count="2" type="stmt"/>
293
+ </file>
294
+ <file name="observingCache.ts" path="/Users/idudinov/projects/zajno-common-utils/src/observingCache.ts">
295
+ <metrics statements="61" coveredstatements="44" conditionals="26" coveredconditionals="18" methods="16" coveredmethods="9"/>
296
+ <line num="1" count="1" type="stmt"/>
297
+ <line num="2" count="1" type="stmt"/>
298
+ <line num="3" count="1" type="stmt"/>
299
+ <line num="4" count="1" type="stmt"/>
300
+ <line num="16" count="1" type="stmt"/>
301
+ <line num="21" count="2" type="stmt"/>
302
+ <line num="22" count="2" type="stmt"/>
303
+ <line num="24" count="2" type="stmt"/>
304
+ <line num="26" count="2" type="stmt"/>
305
+ <line num="27" count="2" type="stmt"/>
306
+ <line num="29" count="2" type="stmt"/>
307
+ <line num="30" count="2" type="stmt"/>
308
+ <line num="32" count="2" type="stmt"/>
309
+ <line num="35" count="0" type="stmt"/>
310
+ <line num="36" count="0" type="stmt"/>
311
+ <line num="39" count="1" type="stmt"/>
312
+ <line num="40" count="1" type="cond" truecount="1" falsecount="1"/>
313
+ <line num="41" count="0" type="stmt"/>
314
+ <line num="43" count="1" type="stmt"/>
315
+ <line num="44" count="1" type="stmt"/>
316
+ <line num="45" count="1" type="stmt"/>
317
+ <line num="48" count="1" type="stmt"/>
318
+ <line num="52" count="0" type="stmt"/>
319
+ <line num="53" count="0" type="stmt"/>
320
+ <line num="54" count="0" type="stmt"/>
321
+ <line num="58" count="2" type="stmt"/>
322
+ <line num="60" count="2" type="cond" truecount="2" falsecount="0"/>
323
+ <line num="61" count="2" type="cond" truecount="4" falsecount="0"/>
324
+ <line num="63" count="1" type="cond" truecount="1" falsecount="1"/>
325
+ <line num="65" count="0" type="stmt"/>
326
+ <line num="66" count="0" type="stmt"/>
327
+ <line num="70" count="2" type="stmt"/>
328
+ <line num="73" count="2" type="stmt"/>
329
+ <line num="74" count="0" type="stmt"/>
330
+ <line num="77" count="2" type="stmt"/>
331
+ <line num="78" count="2" type="stmt"/>
332
+ <line num="80" count="2" type="stmt"/>
333
+ <line num="81" count="2" type="stmt"/>
334
+ <line num="83" count="3" type="cond" truecount="2" falsecount="0"/>
335
+ <line num="84" count="2" type="stmt"/>
336
+ <line num="85" count="2" type="stmt"/>
337
+ <line num="87" count="1" type="stmt"/>
338
+ <line num="91" count="2" type="cond" truecount="2" falsecount="0"/>
339
+ <line num="92" count="2" type="cond" truecount="2" falsecount="0"/>
340
+ <line num="94" count="1" type="stmt"/>
341
+ <line num="96" count="1" type="stmt"/>
342
+ <line num="97" count="1" type="stmt"/>
343
+ <line num="103" count="2" type="stmt"/>
344
+ <line num="104" count="0" type="stmt"/>
345
+ <line num="105" count="0" type="stmt"/>
346
+ <line num="109" count="2" type="stmt"/>
347
+ <line num="110" count="1" type="cond" truecount="1" falsecount="1"/>
348
+ <line num="111" count="0" type="stmt"/>
349
+ <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
350
+ <line num="113" count="0" type="stmt"/>
351
+ <line num="115" count="0" type="stmt"/>
352
+ <line num="116" count="0" type="stmt"/>
353
+ <line num="120" count="1" type="stmt"/>
354
+ <line num="125" count="2" type="cond" truecount="1" falsecount="1"/>
355
+ <line num="126" count="0" type="stmt"/>
356
+ <line num="129" count="2" type="stmt"/>
357
+ </file>
106
358
  <file name="transitionObserver.ts" path="/Users/idudinov/projects/zajno-common-utils/src/transitionObserver.ts">
107
- <metrics statements="86" coveredstatements="77" conditionals="42" coveredconditionals="33" methods="22" coveredmethods="18"/>
359
+ <metrics statements="88" coveredstatements="78" conditionals="42" coveredconditionals="33" methods="23" coveredmethods="18"/>
108
360
  <line num="1" count="1" type="stmt"/>
109
361
  <line num="2" count="1" type="stmt"/>
110
362
  <line num="3" count="1" type="stmt"/>
@@ -191,18 +443,20 @@
191
443
  <line num="171" count="3" type="stmt"/>
192
444
  <line num="172" count="3" type="cond" truecount="1" falsecount="1"/>
193
445
  <line num="173" count="3" type="stmt"/>
446
+ <line num="178" count="1" type="stmt"/>
447
+ <line num="179" count="0" type="stmt"/>
194
448
  </file>
195
449
  <file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/types.ts">
196
450
  <metrics statements="9" coveredstatements="8" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
197
- <line num="9" count="8" type="cond" truecount="2" falsecount="0"/>
198
- <line num="10" count="8" type="stmt"/>
451
+ <line num="9" count="9" type="cond" truecount="2" falsecount="0"/>
452
+ <line num="10" count="9" type="stmt"/>
199
453
  <line num="11" count="80" type="cond" truecount="2" falsecount="0"/>
200
454
  <line num="12" count="6" type="stmt"/>
201
455
  <line num="14" count="74" type="cond" truecount="1" falsecount="1"/>
202
456
  <line num="15" count="74" type="stmt"/>
203
457
  <line num="17" count="0" type="stmt"/>
204
- <line num="24" count="8" type="cond" truecount="2" falsecount="0"/>
205
- <line num="25" count="8" type="stmt"/>
458
+ <line num="24" count="9" type="cond" truecount="2" falsecount="0"/>
459
+ <line num="25" count="9" type="stmt"/>
206
460
  </file>
207
461
  </package>
208
462
  <package name="src.__tests__.helpers">
@@ -218,7 +472,7 @@
218
472
  </file>
219
473
  </package>
220
474
  <package name="src.async">
221
- <metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
475
+ <metrics statements="47" coveredstatements="15" conditionals="17" coveredconditionals="3" methods="11" coveredmethods="3"/>
222
476
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/arrays.ts">
223
477
  <metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
224
478
  <line num="3" count="3" type="stmt"/>
@@ -243,6 +497,35 @@
243
497
  <line num="35" count="0" type="stmt"/>
244
498
  <line num="37" count="0" type="stmt"/>
245
499
  </file>
500
+ <file name="timeout.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/timeout.ts">
501
+ <metrics statements="26" coveredstatements="11" conditionals="13" coveredconditionals="3" methods="7" coveredmethods="3"/>
502
+ <line num="2" count="1" type="cond" truecount="1" falsecount="0"/>
503
+ <line num="3" count="4" type="stmt"/>
504
+ <line num="6" count="4" type="stmt"/>
505
+ <line num="7" count="4" type="stmt"/>
506
+ <line num="8" count="4" type="stmt"/>
507
+ <line num="9" count="4" type="stmt"/>
508
+ <line num="10" count="4" type="cond" truecount="1" falsecount="1"/>
509
+ <line num="11" count="4" type="stmt"/>
510
+ <line num="16" count="4" type="cond" truecount="1" falsecount="1"/>
511
+ <line num="17" count="0" type="stmt"/>
512
+ <line num="18" count="0" type="stmt"/>
513
+ <line num="19" count="0" type="stmt"/>
514
+ <line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
515
+ <line num="21" count="0" type="stmt"/>
516
+ <line num="24" count="0" type="stmt"/>
517
+ <line num="27" count="4" type="stmt"/>
518
+ <line num="32" count="1" type="stmt"/>
519
+ <line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
520
+ <line num="34" count="0" type="stmt"/>
521
+ <line num="37" count="0" type="stmt"/>
522
+ <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
523
+ <line num="40" count="0" type="stmt"/>
524
+ <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
525
+ <line num="42" count="0" type="stmt"/>
526
+ <line num="44" count="0" type="stmt"/>
527
+ <line num="48" count="0" type="stmt"/>
528
+ </file>
246
529
  </package>
247
530
  <package name="src.dates">
248
531
  <metrics statements="334" coveredstatements="334" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
@@ -667,7 +950,7 @@
667
950
  <metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
668
951
  <file name="batch.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/batch.ts">
669
952
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
670
- <line num="3" count="2" type="stmt"/>
953
+ <line num="3" count="3" type="stmt"/>
671
954
  <line num="4" count="3" type="stmt"/>
672
955
  <line num="5" count="2" type="stmt"/>
673
956
  <line num="6" count="2" type="stmt"/>
@@ -675,11 +958,11 @@
675
958
  </file>
676
959
  <file name="console.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/console.ts">
677
960
  <metrics statements="24" coveredstatements="4" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
678
- <line num="2" count="2" type="stmt"/>
679
- <line num="4" count="2" type="stmt"/>
680
- <line num="6" count="2" type="stmt"/>
961
+ <line num="2" count="3" type="stmt"/>
962
+ <line num="4" count="3" type="stmt"/>
963
+ <line num="6" count="3" type="stmt"/>
681
964
  <line num="7" count="0" type="stmt"/>
682
- <line num="10" count="2" type="stmt"/>
965
+ <line num="10" count="3" type="stmt"/>
683
966
  <line num="11" count="0" type="stmt"/>
684
967
  <line num="12" count="0" type="stmt"/>
685
968
  <line num="13" count="0" type="stmt"/>
@@ -702,28 +985,28 @@
702
985
  </file>
703
986
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/index.ts">
704
987
  <metrics statements="36" coveredstatements="30" conditionals="18" coveredconditionals="13" methods="10" coveredmethods="7"/>
705
- <line num="1" count="2" type="stmt"/>
706
- <line num="3" count="2" type="stmt"/>
707
- <line num="4" count="2" type="stmt"/>
708
- <line num="5" count="2" type="stmt"/>
709
- <line num="6" count="2" type="stmt"/>
710
- <line num="8" count="2" type="stmt"/>
711
- <line num="9" count="5" type="stmt"/>
712
- <line num="14" count="2" type="cond" truecount="2" falsecount="0"/>
713
- <line num="16" count="2" type="stmt"/>
714
- <line num="18" count="2" type="cond" truecount="1" falsecount="0"/>
715
- <line num="19" count="52" type="stmt"/>
716
- <line num="20" count="52" type="stmt"/>
717
- <line num="21" count="52" type="stmt"/>
718
- <line num="22" count="52" type="stmt"/>
719
- <line num="25" count="2" type="cond" truecount="0" falsecount="1"/>
988
+ <line num="1" count="3" type="stmt"/>
989
+ <line num="3" count="3" type="stmt"/>
990
+ <line num="4" count="3" type="stmt"/>
991
+ <line num="5" count="3" type="stmt"/>
992
+ <line num="6" count="3" type="stmt"/>
993
+ <line num="8" count="3" type="stmt"/>
994
+ <line num="9" count="6" type="stmt"/>
995
+ <line num="14" count="3" type="cond" truecount="2" falsecount="0"/>
996
+ <line num="16" count="3" type="stmt"/>
997
+ <line num="18" count="3" type="cond" truecount="1" falsecount="0"/>
998
+ <line num="19" count="55" type="stmt"/>
999
+ <line num="20" count="55" type="stmt"/>
1000
+ <line num="21" count="55" type="stmt"/>
1001
+ <line num="22" count="55" type="stmt"/>
1002
+ <line num="25" count="3" type="cond" truecount="0" falsecount="1"/>
720
1003
  <line num="26" count="0" type="stmt"/>
721
1004
  <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
722
1005
  <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
723
1006
  <line num="29" count="0" type="stmt"/>
724
1007
  <line num="31" count="0" type="stmt"/>
725
1008
  <line num="33" count="0" type="stmt"/>
726
- <line num="36" count="2" type="stmt"/>
1009
+ <line num="36" count="3" type="stmt"/>
727
1010
  <line num="37" count="38" type="cond" truecount="2" falsecount="0"/>
728
1011
  <line num="38" count="15" type="stmt"/>
729
1012
  <line num="41" count="23" type="stmt"/>
@@ -731,27 +1014,27 @@
731
1014
  <line num="44" count="62" type="stmt"/>
732
1015
  <line num="46" count="105" type="stmt"/>
733
1016
  <line num="50" count="29" type="stmt"/>
734
- <line num="52" count="2" type="stmt"/>
735
- <line num="54" count="2" type="stmt"/>
736
- <line num="57" count="157" type="cond" truecount="2" falsecount="0"/>
737
- <line num="58" count="157" type="stmt"/>
1017
+ <line num="52" count="3" type="stmt"/>
1018
+ <line num="54" count="3" type="stmt"/>
1019
+ <line num="57" count="160" type="cond" truecount="2" falsecount="0"/>
1020
+ <line num="58" count="160" type="stmt"/>
738
1021
  <line num="60" count="71" type="stmt"/>
739
- <line num="64" count="25" type="stmt"/>
1022
+ <line num="64" count="28" type="stmt"/>
740
1023
  <line num="68" count="61" type="stmt"/>
741
1024
  </file>
742
1025
  <file name="named.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/named.ts">
743
1026
  <metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
744
- <line num="3" count="2" type="stmt"/>
745
- <line num="5" count="2" type="stmt"/>
746
- <line num="6" count="52" type="stmt"/>
747
- <line num="7" count="52" type="stmt"/>
748
- <line num="8" count="52" type="stmt"/>
749
- <line num="10" count="52" type="stmt"/>
1027
+ <line num="3" count="3" type="stmt"/>
1028
+ <line num="5" count="3" type="stmt"/>
1029
+ <line num="6" count="55" type="stmt"/>
1030
+ <line num="7" count="55" type="stmt"/>
1031
+ <line num="8" count="55" type="stmt"/>
1032
+ <line num="10" count="55" type="stmt"/>
750
1033
  <line num="12" count="0" type="stmt"/>
751
- <line num="17" count="52" type="stmt"/>
752
- <line num="19" count="52" type="cond" truecount="2" falsecount="0"/>
1034
+ <line num="17" count="55" type="stmt"/>
1035
+ <line num="19" count="55" type="cond" truecount="2" falsecount="0"/>
753
1036
  <line num="20" count="21" type="stmt"/>
754
- <line num="22" count="31" type="stmt"/>
1037
+ <line num="22" count="34" type="stmt"/>
755
1038
  <line num="27" count="126" type="cond" truecount="2" falsecount="0"/>
756
1039
  <line num="29" count="126" type="stmt"/>
757
1040
  <line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
@@ -759,19 +1042,19 @@
759
1042
  <line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
760
1043
  <line num="37" count="126" type="stmt"/>
761
1044
  <line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
762
- <line num="43" count="93" type="stmt"/>
763
- <line num="44" count="93" type="stmt"/>
764
- <line num="45" count="93" type="stmt"/>
1045
+ <line num="43" count="96" type="stmt"/>
1046
+ <line num="44" count="96" type="stmt"/>
1047
+ <line num="45" count="96" type="stmt"/>
765
1048
  </file>
766
1049
  <file name="proxy.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/proxy.ts">
767
1050
  <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="3"/>
768
- <line num="2" count="2" type="stmt"/>
769
- <line num="4" count="2" type="stmt"/>
770
- <line num="10" count="2" type="stmt"/>
1051
+ <line num="2" count="3" type="stmt"/>
1052
+ <line num="4" count="3" type="stmt"/>
1053
+ <line num="10" count="3" type="stmt"/>
771
1054
  <line num="12" count="66" type="cond" truecount="1" falsecount="1"/>
772
- <line num="14" count="52" type="stmt"/>
773
- <line num="17" count="52" type="stmt"/>
774
- <line num="18" count="52" type="stmt"/>
1055
+ <line num="14" count="55" type="stmt"/>
1056
+ <line num="17" count="55" type="stmt"/>
1057
+ <line num="18" count="55" type="stmt"/>
775
1058
  <line num="22" count="105" type="cond" truecount="1" falsecount="1"/>
776
1059
  <line num="23" count="105" type="cond" truecount="1" falsecount="1"/>
777
1060
  <line num="24" count="105" type="stmt"/>
@@ -782,9 +1065,9 @@
782
1065
  <metrics statements="196" coveredstatements="195" conditionals="141" coveredconditionals="134" methods="40" coveredmethods="39"/>
783
1066
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/arrays.ts">
784
1067
  <metrics statements="138" coveredstatements="138" conditionals="80" coveredconditionals="77" methods="29" coveredmethods="29"/>
785
- <line num="1" count="6" type="stmt"/>
786
- <line num="2" count="6" type="stmt"/>
787
- <line num="4" count="6" type="stmt"/>
1068
+ <line num="1" count="7" type="stmt"/>
1069
+ <line num="2" count="7" type="stmt"/>
1070
+ <line num="4" count="7" type="stmt"/>
788
1071
  <line num="5" count="3" type="cond" truecount="4" falsecount="0"/>
789
1072
  <line num="6" count="2" type="stmt"/>
790
1073
  <line num="9" count="1" type="stmt"/>
@@ -793,7 +1076,7 @@
793
1076
  <line num="12" count="3" type="cond" truecount="1" falsecount="1"/>
794
1077
  <line num="13" count="3" type="stmt"/>
795
1078
  <line num="17" count="1" type="stmt"/>
796
- <line num="20" count="6" type="stmt"/>
1079
+ <line num="20" count="7" type="stmt"/>
797
1080
  <line num="21" count="17" type="cond" truecount="4" falsecount="0"/>
798
1081
  <line num="22" count="4" type="stmt"/>
799
1082
  <line num="25" count="13" type="stmt"/>
@@ -802,11 +1085,11 @@
802
1085
  <line num="28" count="23" type="cond" truecount="2" falsecount="0"/>
803
1086
  <line num="29" count="10" type="stmt"/>
804
1087
  <line num="33" count="12" type="stmt"/>
805
- <line num="36" count="6" type="cond" truecount="1" falsecount="0"/>
1088
+ <line num="36" count="7" type="cond" truecount="1" falsecount="0"/>
806
1089
  <line num="37" count="7" type="stmt"/>
807
- <line num="40" count="6" type="cond" truecount="1" falsecount="0"/>
1090
+ <line num="40" count="7" type="cond" truecount="1" falsecount="0"/>
808
1091
  <line num="41" count="7" type="stmt"/>
809
- <line num="44" count="6" type="cond" truecount="1" falsecount="0"/>
1092
+ <line num="44" count="7" type="cond" truecount="1" falsecount="0"/>
810
1093
  <line num="45" count="5" type="cond" truecount="4" falsecount="0"/>
811
1094
  <line num="46" count="2" type="stmt"/>
812
1095
  <line num="49" count="3" type="stmt"/>
@@ -814,7 +1097,7 @@
814
1097
  <line num="51" count="9" type="cond" truecount="2" falsecount="0"/>
815
1098
  <line num="52" count="9" type="stmt"/>
816
1099
  <line num="55" count="3" type="stmt"/>
817
- <line num="58" count="6" type="stmt"/>
1100
+ <line num="58" count="7" type="stmt"/>
818
1101
  <line num="59" count="5" type="cond" truecount="4" falsecount="0"/>
819
1102
  <line num="60" count="2" type="stmt"/>
820
1103
  <line num="63" count="3" type="stmt"/>
@@ -822,14 +1105,14 @@
822
1105
  <line num="65" count="7" type="cond" truecount="2" falsecount="0"/>
823
1106
  <line num="66" count="4" type="stmt"/>
824
1107
  <line num="69" count="2" type="stmt"/>
825
- <line num="72" count="6" type="stmt"/>
1108
+ <line num="72" count="7" type="stmt"/>
826
1109
  <line num="73" count="4" type="cond" truecount="6" falsecount="0"/>
827
1110
  <line num="74" count="2" type="stmt"/>
828
1111
  <line num="75" count="3" type="stmt"/>
829
1112
  <line num="76" count="2" type="cond" truecount="2" falsecount="0"/>
830
1113
  <line num="77" count="1" type="stmt"/>
831
1114
  <line num="82" count="2" type="stmt"/>
832
- <line num="85" count="6" type="stmt"/>
1115
+ <line num="85" count="7" type="stmt"/>
833
1116
  <line num="86" count="8" type="cond" truecount="4" falsecount="0"/>
834
1117
  <line num="87" count="2" type="stmt"/>
835
1118
  <line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
@@ -844,7 +1127,7 @@
844
1127
  <line num="108" count="1" type="stmt"/>
845
1128
  <line num="111" count="6" type="stmt"/>
846
1129
  <line num="112" count="6" type="stmt"/>
847
- <line num="115" count="6" type="stmt"/>
1130
+ <line num="115" count="7" type="stmt"/>
848
1131
  <line num="116" count="9" type="cond" truecount="4" falsecount="0"/>
849
1132
  <line num="117" count="2" type="stmt"/>
850
1133
  <line num="120" count="7" type="stmt"/>
@@ -858,9 +1141,9 @@
858
1141
  <line num="139" count="1" type="stmt"/>
859
1142
  <line num="142" count="7" type="stmt"/>
860
1143
  <line num="143" count="7" type="stmt"/>
861
- <line num="146" count="6" type="stmt"/>
1144
+ <line num="146" count="7" type="stmt"/>
862
1145
  <line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
863
- <line num="150" count="6" type="stmt"/>
1146
+ <line num="150" count="7" type="stmt"/>
864
1147
  <line num="151" count="3" type="cond" truecount="2" falsecount="0"/>
865
1148
  <line num="152" count="1" type="stmt"/>
866
1149
  <line num="155" count="2" type="stmt"/>
@@ -869,22 +1152,22 @@
869
1152
  <line num="158" count="2" type="cond" truecount="2" falsecount="0"/>
870
1153
  <line num="159" count="2" type="stmt"/>
871
1154
  <line num="162" count="3" type="stmt"/>
872
- <line num="165" count="6" type="stmt"/>
1155
+ <line num="165" count="7" type="stmt"/>
873
1156
  <line num="166" count="4" type="cond" truecount="2" falsecount="0"/>
874
1157
  <line num="167" count="1" type="stmt"/>
875
1158
  <line num="170" count="2" type="stmt"/>
876
1159
  <line num="171" count="2" type="stmt"/>
877
- <line num="174" count="6" type="stmt"/>
1160
+ <line num="174" count="7" type="stmt"/>
878
1161
  <line num="175" count="5" type="stmt"/>
879
1162
  <line num="176" count="5" type="stmt"/>
880
1163
  <line num="177" count="5" type="stmt"/>
881
- <line num="184" count="6" type="cond" truecount="1" falsecount="0"/>
1164
+ <line num="184" count="7" type="cond" truecount="1" falsecount="0"/>
882
1165
  <line num="185" count="4" type="cond" truecount="7" falsecount="1"/>
883
1166
  <line num="187" count="4" type="stmt"/>
884
1167
  <line num="188" count="4" type="stmt"/>
885
1168
  <line num="189" count="4" type="stmt"/>
886
1169
  <line num="192" count="4" type="stmt"/>
887
- <line num="195" count="6" type="stmt"/>
1170
+ <line num="195" count="7" type="stmt"/>
888
1171
  <line num="196" count="2" type="stmt"/>
889
1172
  <line num="197" count="2" type="stmt"/>
890
1173
  <line num="198" count="4" type="stmt"/>
@@ -894,28 +1177,28 @@
894
1177
  <line num="202" count="3" type="stmt"/>
895
1178
  <line num="205" count="4" type="stmt"/>
896
1179
  <line num="208" count="1" type="stmt"/>
897
- <line num="211" count="6" type="stmt"/>
1180
+ <line num="211" count="7" type="stmt"/>
898
1181
  <line num="212" count="2" type="stmt"/>
899
1182
  <line num="213" count="2" type="stmt"/>
900
1183
  <line num="214" count="4" type="stmt"/>
901
1184
  <line num="215" count="4" type="stmt"/>
902
1185
  <line num="218" count="1" type="stmt"/>
903
- <line num="221" count="6" type="stmt"/>
1186
+ <line num="221" count="7" type="stmt"/>
904
1187
  <line num="222" count="2" type="stmt"/>
905
1188
  <line num="223" count="2" type="stmt"/>
906
1189
  <line num="225" count="2" type="stmt"/>
907
1190
  <line num="226" count="4" type="stmt"/>
908
1191
  <line num="231" count="1" type="stmt"/>
909
- <line num="234" count="6" type="cond" truecount="1" falsecount="0"/>
1192
+ <line num="234" count="7" type="cond" truecount="1" falsecount="0"/>
910
1193
  <line num="235" count="4" type="cond" truecount="2" falsecount="0"/>
911
1194
  <line num="236" count="1" type="stmt"/>
912
1195
  <line num="239" count="7" type="stmt"/>
913
- <line num="244" count="6" type="stmt"/>
1196
+ <line num="244" count="7" type="stmt"/>
914
1197
  <line num="245" count="3" type="stmt"/>
915
1198
  <line num="248" count="3" type="cond" truecount="2" falsecount="0"/>
916
1199
  <line num="249" count="1" type="stmt"/>
917
1200
  <line num="252" count="2" type="stmt"/>
918
- <line num="255" count="6" type="cond" truecount="0" falsecount="1"/>
1201
+ <line num="255" count="7" type="cond" truecount="0" falsecount="1"/>
919
1202
  <line num="256" count="1" type="stmt"/>
920
1203
  <line num="257" count="1" type="stmt"/>
921
1204
  <line num="258" count="5" type="stmt"/>
@@ -923,26 +1206,26 @@
923
1206
  </file>
924
1207
  <file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/calc.ts">
925
1208
  <metrics statements="35" coveredstatements="34" conditionals="41" coveredconditionals="37" methods="8" coveredmethods="7"/>
926
- <line num="2" count="7" type="cond" truecount="3" falsecount="0"/>
1209
+ <line num="2" count="8" type="cond" truecount="3" falsecount="0"/>
927
1210
  <line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
928
1211
  <line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
929
1212
  <line num="7" count="10" type="cond" truecount="4" falsecount="0"/>
930
1213
  <line num="8" count="3" type="cond" truecount="4" falsecount="0"/>
931
1214
  <line num="11" count="7" type="stmt"/>
932
- <line num="14" count="7" type="stmt"/>
1215
+ <line num="14" count="8" type="stmt"/>
933
1216
  <line num="15" count="5" type="stmt"/>
934
- <line num="18" count="7" type="stmt"/>
1217
+ <line num="18" count="8" type="stmt"/>
935
1218
  <line num="19" count="4" type="stmt"/>
936
1219
  <line num="20" count="4" type="stmt"/>
937
1220
  <line num="21" count="4" type="cond" truecount="2" falsecount="0"/>
938
- <line num="24" count="7" type="stmt"/>
1221
+ <line num="24" count="8" type="stmt"/>
939
1222
  <line num="25" count="2" type="stmt"/>
940
1223
  <line num="26" count="2" type="stmt"/>
941
1224
  <line num="28" count="2" type="cond" truecount="7" falsecount="1"/>
942
1225
  <line num="33" count="2" type="cond" truecount="2" falsecount="0"/>
943
1226
  <line num="34" count="1" type="stmt"/>
944
1227
  <line num="37" count="1" type="stmt"/>
945
- <line num="46" count="7" type="cond" truecount="1" falsecount="0"/>
1228
+ <line num="46" count="8" type="cond" truecount="1" falsecount="0"/>
946
1229
  <line num="47" count="9" type="stmt"/>
947
1230
  <line num="48" count="9" type="stmt"/>
948
1231
  <line num="49" count="9" type="stmt"/>
@@ -950,18 +1233,18 @@
950
1233
  <line num="51" count="1" type="stmt"/>
951
1234
  <line num="52" count="7" type="stmt"/>
952
1235
  <line num="54" count="9" type="stmt"/>
953
- <line num="57" count="7" type="stmt"/>
1236
+ <line num="57" count="8" type="stmt"/>
954
1237
  <line num="58" count="2" type="stmt"/>
955
- <line num="61" count="7" type="cond" truecount="1" falsecount="2"/>
1238
+ <line num="61" count="8" type="cond" truecount="1" falsecount="2"/>
956
1239
  <line num="62" count="10" type="stmt"/>
957
1240
  <line num="63" count="10" type="stmt"/>
958
1241
  <line num="64" count="10" type="cond" truecount="2" falsecount="0"/>
959
- <line num="67" count="7" type="cond" truecount="0" falsecount="1"/>
1242
+ <line num="67" count="8" type="cond" truecount="0" falsecount="1"/>
960
1243
  <line num="68" count="0" type="stmt"/>
961
1244
  </file>
962
1245
  <file name="distribution.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/distribution.ts">
963
1246
  <metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
964
- <line num="8" count="6" type="stmt"/>
1247
+ <line num="8" count="7" type="stmt"/>
965
1248
  <line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
966
1249
  <line num="10" count="4" type="cond" truecount="2" falsecount="0"/>
967
1250
  <line num="11" count="1" type="stmt"/>
@@ -972,17 +1255,17 @@
972
1255
  </file>
973
1256
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/index.ts">
974
1257
  <metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
975
- <line num="2" count="5" type="stmt"/>
976
- <line num="3" count="5" type="stmt"/>
977
- <line num="4" count="5" type="stmt"/>
978
- <line num="6" count="5" type="stmt"/>
1258
+ <line num="2" count="6" type="stmt"/>
1259
+ <line num="3" count="6" type="stmt"/>
1260
+ <line num="4" count="6" type="stmt"/>
1261
+ <line num="6" count="6" type="stmt"/>
979
1262
  <line num="7" count="11" type="cond" truecount="2" falsecount="0"/>
980
1263
  <line num="9" count="11" type="stmt"/>
981
1264
  <line num="11" count="3" type="stmt"/>
982
1265
  <line num="13" count="2" type="stmt"/>
983
1266
  <line num="15" count="2" type="stmt"/>
984
1267
  <line num="17" count="4" type="stmt"/>
985
- <line num="21" count="5" type="stmt"/>
1268
+ <line num="21" count="6" type="stmt"/>
986
1269
  <line num="22" count="20" type="stmt"/>
987
1270
  <line num="23" count="20" type="cond" truecount="4" falsecount="0"/>
988
1271
  <line num="24" count="5" type="stmt"/>
@@ -1101,7 +1384,7 @@
1101
1384
  </file>
1102
1385
  </package>
1103
1386
  <package name="src.viewModels">
1104
- <metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="26" methods="110" coveredmethods="69"/>
1387
+ <metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="28" methods="110" coveredmethods="71"/>
1105
1388
  <file name="FlagModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/FlagModel.ts">
1106
1389
  <metrics statements="22" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="9" coveredmethods="4"/>
1107
1390
  <line num="1" count="3" type="stmt"/>
@@ -1216,24 +1499,24 @@
1216
1499
  <line num="166" count="3" type="stmt"/>
1217
1500
  </file>
1218
1501
  <file name="NumberModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/NumberModel.ts">
1219
- <metrics statements="17" coveredstatements="15" conditionals="3" coveredconditionals="1" methods="8" coveredmethods="4"/>
1220
- <line num="1" count="1" type="stmt"/>
1221
- <line num="9" count="1" type="stmt"/>
1222
- <line num="12" count="3" type="stmt"/>
1223
- <line num="14" count="3" type="stmt"/>
1224
- <line num="17" count="3" type="stmt"/>
1225
- <line num="18" count="3" type="stmt"/>
1226
- <line num="19" count="3" type="stmt"/>
1227
- <line num="22" count="2" type="stmt"/>
1228
- <line num="23" count="1" type="stmt"/>
1229
- <line num="26" count="3" type="stmt"/>
1230
- <line num="27" count="1" type="stmt"/>
1502
+ <metrics statements="17" coveredstatements="15" conditionals="3" coveredconditionals="3" methods="8" coveredmethods="6"/>
1503
+ <line num="1" count="2" type="stmt"/>
1504
+ <line num="9" count="2" type="stmt"/>
1505
+ <line num="12" count="7" type="stmt"/>
1506
+ <line num="14" count="7" type="stmt"/>
1507
+ <line num="17" count="7" type="stmt"/>
1508
+ <line num="18" count="7" type="stmt"/>
1509
+ <line num="19" count="7" type="stmt"/>
1510
+ <line num="22" count="7" type="stmt"/>
1511
+ <line num="23" count="6" type="stmt"/>
1512
+ <line num="26" count="7" type="stmt"/>
1513
+ <line num="27" count="8" type="stmt"/>
1231
1514
  <line num="30" count="0" type="stmt"/>
1232
- <line num="33" count="3" type="stmt"/>
1515
+ <line num="33" count="7" type="stmt"/>
1233
1516
  <line num="34" count="0" type="stmt"/>
1234
- <line num="38" count="3" type="cond" truecount="0" falsecount="1"/>
1235
- <line num="41" count="3" type="cond" truecount="0" falsecount="1"/>
1236
- <line num="44" count="1" type="stmt"/>
1517
+ <line num="38" count="7" type="cond" truecount="1" falsecount="0"/>
1518
+ <line num="41" count="7" type="cond" truecount="1" falsecount="0"/>
1519
+ <line num="44" count="2" type="stmt"/>
1237
1520
  </file>
1238
1521
  <file name="SelectModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/SelectModel.ts">
1239
1522
  <metrics statements="60" coveredstatements="54" conditionals="18" coveredconditionals="15" methods="26" coveredmethods="22"/>