@zajno/common 1.4.2 → 1.4.6

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 +394 -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 +530 -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 +741 -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 +31 -0
  72. package/lib/observingCache.d.ts.map +1 -0
  73. package/lib/observingCache.js +118 -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/InitializableModel.d.ts +6 -0
  81. package/lib/viewModels/InitializableModel.d.ts.map +1 -0
  82. package/lib/viewModels/InitializableModel.js +23 -0
  83. package/lib/viewModels/InitializableModel.js.map +1 -0
  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 +150 -0
  89. package/src/transitionObserver.ts +7 -0
  90. package/src/validation/validators.ts +1 -1
  91. package/src/viewModels/InitializableModel.ts +17 -0
@@ -1,9 +1,141 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1643647161934" clover="3.2.0">
3
- <project timestamp="1643647161934" 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="1644795228344" clover="3.2.0">
3
+ <project timestamp="1644795228344" name="All files">
4
+ <metrics statements="1487" coveredstatements="1216" conditionals="916" coveredconditionals="693" methods="436" coveredmethods="309" elements="2839" coveredelements="2218" complexity="0" loc="1487" ncloc="1487" 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="428" coveredstatements="335" conditionals="223" coveredconditionals="148" methods="139" coveredmethods="102"/>
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,132 @@
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="65" coveredstatements="45" conditionals="24" coveredconditionals="15" methods="20" coveredmethods="11"/>
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="0" type="stmt"/>
322
+ <line num="62" count="0" type="stmt"/>
323
+ <line num="66" count="2" type="cond" truecount="1" falsecount="1"/>
324
+ <line num="67" count="0" type="stmt"/>
325
+ <line num="70" count="2" type="stmt"/>
326
+ <line num="72" count="2" type="cond" truecount="4" falsecount="0"/>
327
+ <line num="74" count="1" type="cond" truecount="1" falsecount="1"/>
328
+ <line num="76" count="0" type="stmt"/>
329
+ <line num="77" count="0" type="stmt"/>
330
+ <line num="81" count="2" type="stmt"/>
331
+ <line num="84" count="2" type="stmt"/>
332
+ <line num="85" count="0" type="stmt"/>
333
+ <line num="88" count="2" type="stmt"/>
334
+ <line num="89" count="2" type="stmt"/>
335
+ <line num="91" count="2" type="stmt"/>
336
+ <line num="92" count="2" type="stmt"/>
337
+ <line num="94" count="3" type="cond" truecount="2" falsecount="0"/>
338
+ <line num="95" count="2" type="stmt"/>
339
+ <line num="96" count="2" type="stmt"/>
340
+ <line num="98" count="1" type="stmt"/>
341
+ <line num="102" count="2" type="stmt"/>
342
+ <line num="103" count="2" type="cond" truecount="2" falsecount="0"/>
343
+ <line num="105" count="1" type="stmt"/>
344
+ <line num="107" count="1" type="stmt"/>
345
+ <line num="108" count="1" type="stmt"/>
346
+ <line num="114" count="2" type="stmt"/>
347
+ <line num="115" count="0" type="stmt"/>
348
+ <line num="116" count="0" type="stmt"/>
349
+ <line num="120" count="2" type="stmt"/>
350
+ <line num="121" count="1" type="cond" truecount="1" falsecount="1"/>
351
+ <line num="122" count="0" type="stmt"/>
352
+ <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
353
+ <line num="124" count="0" type="stmt"/>
354
+ <line num="126" count="0" type="stmt"/>
355
+ <line num="127" count="0" type="stmt"/>
356
+ <line num="131" count="1" type="stmt"/>
357
+ <line num="136" count="2" type="cond" truecount="1" falsecount="1"/>
358
+ <line num="137" count="0" type="stmt"/>
359
+ <line num="140" count="2" type="stmt"/>
360
+ <line num="149" count="8" type="stmt"/>
361
+ </file>
106
362
  <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"/>
363
+ <metrics statements="88" coveredstatements="78" conditionals="42" coveredconditionals="33" methods="23" coveredmethods="18"/>
108
364
  <line num="1" count="1" type="stmt"/>
109
365
  <line num="2" count="1" type="stmt"/>
110
366
  <line num="3" count="1" type="stmt"/>
@@ -191,18 +447,20 @@
191
447
  <line num="171" count="3" type="stmt"/>
192
448
  <line num="172" count="3" type="cond" truecount="1" falsecount="1"/>
193
449
  <line num="173" count="3" type="stmt"/>
450
+ <line num="178" count="1" type="stmt"/>
451
+ <line num="179" count="0" type="stmt"/>
194
452
  </file>
195
453
  <file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/types.ts">
196
454
  <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"/>
455
+ <line num="9" count="9" type="cond" truecount="2" falsecount="0"/>
456
+ <line num="10" count="9" type="stmt"/>
199
457
  <line num="11" count="80" type="cond" truecount="2" falsecount="0"/>
200
458
  <line num="12" count="6" type="stmt"/>
201
459
  <line num="14" count="74" type="cond" truecount="1" falsecount="1"/>
202
460
  <line num="15" count="74" type="stmt"/>
203
461
  <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"/>
462
+ <line num="24" count="9" type="cond" truecount="2" falsecount="0"/>
463
+ <line num="25" count="9" type="stmt"/>
206
464
  </file>
207
465
  </package>
208
466
  <package name="src.__tests__.helpers">
@@ -218,7 +476,7 @@
218
476
  </file>
219
477
  </package>
220
478
  <package name="src.async">
221
- <metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
479
+ <metrics statements="47" coveredstatements="15" conditionals="17" coveredconditionals="3" methods="11" coveredmethods="3"/>
222
480
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/arrays.ts">
223
481
  <metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
224
482
  <line num="3" count="3" type="stmt"/>
@@ -243,6 +501,35 @@
243
501
  <line num="35" count="0" type="stmt"/>
244
502
  <line num="37" count="0" type="stmt"/>
245
503
  </file>
504
+ <file name="timeout.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/timeout.ts">
505
+ <metrics statements="26" coveredstatements="11" conditionals="13" coveredconditionals="3" methods="7" coveredmethods="3"/>
506
+ <line num="2" count="1" type="cond" truecount="1" falsecount="0"/>
507
+ <line num="3" count="4" type="stmt"/>
508
+ <line num="6" count="4" type="stmt"/>
509
+ <line num="7" count="4" type="stmt"/>
510
+ <line num="8" count="4" type="stmt"/>
511
+ <line num="9" count="4" type="stmt"/>
512
+ <line num="10" count="4" type="cond" truecount="1" falsecount="1"/>
513
+ <line num="11" count="4" type="stmt"/>
514
+ <line num="16" count="4" type="cond" truecount="1" falsecount="1"/>
515
+ <line num="17" count="0" type="stmt"/>
516
+ <line num="18" count="0" type="stmt"/>
517
+ <line num="19" count="0" type="stmt"/>
518
+ <line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
519
+ <line num="21" count="0" type="stmt"/>
520
+ <line num="24" count="0" type="stmt"/>
521
+ <line num="27" count="4" type="stmt"/>
522
+ <line num="32" count="1" type="stmt"/>
523
+ <line num="33" count="0" type="cond" truecount="0" falsecount="2"/>
524
+ <line num="34" count="0" type="stmt"/>
525
+ <line num="37" count="0" type="stmt"/>
526
+ <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
527
+ <line num="40" count="0" type="stmt"/>
528
+ <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
529
+ <line num="42" count="0" type="stmt"/>
530
+ <line num="44" count="0" type="stmt"/>
531
+ <line num="48" count="0" type="stmt"/>
532
+ </file>
246
533
  </package>
247
534
  <package name="src.dates">
248
535
  <metrics statements="334" coveredstatements="334" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
@@ -667,7 +954,7 @@
667
954
  <metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
668
955
  <file name="batch.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/batch.ts">
669
956
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
670
- <line num="3" count="2" type="stmt"/>
957
+ <line num="3" count="3" type="stmt"/>
671
958
  <line num="4" count="3" type="stmt"/>
672
959
  <line num="5" count="2" type="stmt"/>
673
960
  <line num="6" count="2" type="stmt"/>
@@ -675,11 +962,11 @@
675
962
  </file>
676
963
  <file name="console.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/console.ts">
677
964
  <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"/>
965
+ <line num="2" count="3" type="stmt"/>
966
+ <line num="4" count="3" type="stmt"/>
967
+ <line num="6" count="3" type="stmt"/>
681
968
  <line num="7" count="0" type="stmt"/>
682
- <line num="10" count="2" type="stmt"/>
969
+ <line num="10" count="3" type="stmt"/>
683
970
  <line num="11" count="0" type="stmt"/>
684
971
  <line num="12" count="0" type="stmt"/>
685
972
  <line num="13" count="0" type="stmt"/>
@@ -702,28 +989,28 @@
702
989
  </file>
703
990
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/index.ts">
704
991
  <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"/>
992
+ <line num="1" count="3" type="stmt"/>
993
+ <line num="3" count="3" type="stmt"/>
994
+ <line num="4" count="3" type="stmt"/>
995
+ <line num="5" count="3" type="stmt"/>
996
+ <line num="6" count="3" type="stmt"/>
997
+ <line num="8" count="3" type="stmt"/>
998
+ <line num="9" count="6" type="stmt"/>
999
+ <line num="14" count="3" type="cond" truecount="2" falsecount="0"/>
1000
+ <line num="16" count="3" type="stmt"/>
1001
+ <line num="18" count="3" type="cond" truecount="1" falsecount="0"/>
1002
+ <line num="19" count="55" type="stmt"/>
1003
+ <line num="20" count="55" type="stmt"/>
1004
+ <line num="21" count="55" type="stmt"/>
1005
+ <line num="22" count="55" type="stmt"/>
1006
+ <line num="25" count="3" type="cond" truecount="0" falsecount="1"/>
720
1007
  <line num="26" count="0" type="stmt"/>
721
1008
  <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
722
1009
  <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
723
1010
  <line num="29" count="0" type="stmt"/>
724
1011
  <line num="31" count="0" type="stmt"/>
725
1012
  <line num="33" count="0" type="stmt"/>
726
- <line num="36" count="2" type="stmt"/>
1013
+ <line num="36" count="3" type="stmt"/>
727
1014
  <line num="37" count="38" type="cond" truecount="2" falsecount="0"/>
728
1015
  <line num="38" count="15" type="stmt"/>
729
1016
  <line num="41" count="23" type="stmt"/>
@@ -731,27 +1018,27 @@
731
1018
  <line num="44" count="62" type="stmt"/>
732
1019
  <line num="46" count="105" type="stmt"/>
733
1020
  <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"/>
1021
+ <line num="52" count="3" type="stmt"/>
1022
+ <line num="54" count="3" type="stmt"/>
1023
+ <line num="57" count="160" type="cond" truecount="2" falsecount="0"/>
1024
+ <line num="58" count="160" type="stmt"/>
738
1025
  <line num="60" count="71" type="stmt"/>
739
- <line num="64" count="25" type="stmt"/>
1026
+ <line num="64" count="28" type="stmt"/>
740
1027
  <line num="68" count="61" type="stmt"/>
741
1028
  </file>
742
1029
  <file name="named.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/named.ts">
743
1030
  <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"/>
1031
+ <line num="3" count="3" type="stmt"/>
1032
+ <line num="5" count="3" type="stmt"/>
1033
+ <line num="6" count="55" type="stmt"/>
1034
+ <line num="7" count="55" type="stmt"/>
1035
+ <line num="8" count="55" type="stmt"/>
1036
+ <line num="10" count="55" type="stmt"/>
750
1037
  <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"/>
1038
+ <line num="17" count="55" type="stmt"/>
1039
+ <line num="19" count="55" type="cond" truecount="2" falsecount="0"/>
753
1040
  <line num="20" count="21" type="stmt"/>
754
- <line num="22" count="31" type="stmt"/>
1041
+ <line num="22" count="34" type="stmt"/>
755
1042
  <line num="27" count="126" type="cond" truecount="2" falsecount="0"/>
756
1043
  <line num="29" count="126" type="stmt"/>
757
1044
  <line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
@@ -759,19 +1046,19 @@
759
1046
  <line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
760
1047
  <line num="37" count="126" type="stmt"/>
761
1048
  <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"/>
1049
+ <line num="43" count="96" type="stmt"/>
1050
+ <line num="44" count="96" type="stmt"/>
1051
+ <line num="45" count="96" type="stmt"/>
765
1052
  </file>
766
1053
  <file name="proxy.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/proxy.ts">
767
1054
  <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"/>
1055
+ <line num="2" count="3" type="stmt"/>
1056
+ <line num="4" count="3" type="stmt"/>
1057
+ <line num="10" count="3" type="stmt"/>
771
1058
  <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"/>
1059
+ <line num="14" count="55" type="stmt"/>
1060
+ <line num="17" count="55" type="stmt"/>
1061
+ <line num="18" count="55" type="stmt"/>
775
1062
  <line num="22" count="105" type="cond" truecount="1" falsecount="1"/>
776
1063
  <line num="23" count="105" type="cond" truecount="1" falsecount="1"/>
777
1064
  <line num="24" count="105" type="stmt"/>
@@ -782,9 +1069,9 @@
782
1069
  <metrics statements="196" coveredstatements="195" conditionals="141" coveredconditionals="134" methods="40" coveredmethods="39"/>
783
1070
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/arrays.ts">
784
1071
  <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"/>
1072
+ <line num="1" count="7" type="stmt"/>
1073
+ <line num="2" count="7" type="stmt"/>
1074
+ <line num="4" count="7" type="stmt"/>
788
1075
  <line num="5" count="3" type="cond" truecount="4" falsecount="0"/>
789
1076
  <line num="6" count="2" type="stmt"/>
790
1077
  <line num="9" count="1" type="stmt"/>
@@ -793,7 +1080,7 @@
793
1080
  <line num="12" count="3" type="cond" truecount="1" falsecount="1"/>
794
1081
  <line num="13" count="3" type="stmt"/>
795
1082
  <line num="17" count="1" type="stmt"/>
796
- <line num="20" count="6" type="stmt"/>
1083
+ <line num="20" count="7" type="stmt"/>
797
1084
  <line num="21" count="17" type="cond" truecount="4" falsecount="0"/>
798
1085
  <line num="22" count="4" type="stmt"/>
799
1086
  <line num="25" count="13" type="stmt"/>
@@ -802,11 +1089,11 @@
802
1089
  <line num="28" count="23" type="cond" truecount="2" falsecount="0"/>
803
1090
  <line num="29" count="10" type="stmt"/>
804
1091
  <line num="33" count="12" type="stmt"/>
805
- <line num="36" count="6" type="cond" truecount="1" falsecount="0"/>
1092
+ <line num="36" count="7" type="cond" truecount="1" falsecount="0"/>
806
1093
  <line num="37" count="7" type="stmt"/>
807
- <line num="40" count="6" type="cond" truecount="1" falsecount="0"/>
1094
+ <line num="40" count="7" type="cond" truecount="1" falsecount="0"/>
808
1095
  <line num="41" count="7" type="stmt"/>
809
- <line num="44" count="6" type="cond" truecount="1" falsecount="0"/>
1096
+ <line num="44" count="7" type="cond" truecount="1" falsecount="0"/>
810
1097
  <line num="45" count="5" type="cond" truecount="4" falsecount="0"/>
811
1098
  <line num="46" count="2" type="stmt"/>
812
1099
  <line num="49" count="3" type="stmt"/>
@@ -814,7 +1101,7 @@
814
1101
  <line num="51" count="9" type="cond" truecount="2" falsecount="0"/>
815
1102
  <line num="52" count="9" type="stmt"/>
816
1103
  <line num="55" count="3" type="stmt"/>
817
- <line num="58" count="6" type="stmt"/>
1104
+ <line num="58" count="7" type="stmt"/>
818
1105
  <line num="59" count="5" type="cond" truecount="4" falsecount="0"/>
819
1106
  <line num="60" count="2" type="stmt"/>
820
1107
  <line num="63" count="3" type="stmt"/>
@@ -822,14 +1109,14 @@
822
1109
  <line num="65" count="7" type="cond" truecount="2" falsecount="0"/>
823
1110
  <line num="66" count="4" type="stmt"/>
824
1111
  <line num="69" count="2" type="stmt"/>
825
- <line num="72" count="6" type="stmt"/>
1112
+ <line num="72" count="7" type="stmt"/>
826
1113
  <line num="73" count="4" type="cond" truecount="6" falsecount="0"/>
827
1114
  <line num="74" count="2" type="stmt"/>
828
1115
  <line num="75" count="3" type="stmt"/>
829
1116
  <line num="76" count="2" type="cond" truecount="2" falsecount="0"/>
830
1117
  <line num="77" count="1" type="stmt"/>
831
1118
  <line num="82" count="2" type="stmt"/>
832
- <line num="85" count="6" type="stmt"/>
1119
+ <line num="85" count="7" type="stmt"/>
833
1120
  <line num="86" count="8" type="cond" truecount="4" falsecount="0"/>
834
1121
  <line num="87" count="2" type="stmt"/>
835
1122
  <line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
@@ -844,7 +1131,7 @@
844
1131
  <line num="108" count="1" type="stmt"/>
845
1132
  <line num="111" count="6" type="stmt"/>
846
1133
  <line num="112" count="6" type="stmt"/>
847
- <line num="115" count="6" type="stmt"/>
1134
+ <line num="115" count="7" type="stmt"/>
848
1135
  <line num="116" count="9" type="cond" truecount="4" falsecount="0"/>
849
1136
  <line num="117" count="2" type="stmt"/>
850
1137
  <line num="120" count="7" type="stmt"/>
@@ -858,9 +1145,9 @@
858
1145
  <line num="139" count="1" type="stmt"/>
859
1146
  <line num="142" count="7" type="stmt"/>
860
1147
  <line num="143" count="7" type="stmt"/>
861
- <line num="146" count="6" type="stmt"/>
1148
+ <line num="146" count="7" type="stmt"/>
862
1149
  <line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
863
- <line num="150" count="6" type="stmt"/>
1150
+ <line num="150" count="7" type="stmt"/>
864
1151
  <line num="151" count="3" type="cond" truecount="2" falsecount="0"/>
865
1152
  <line num="152" count="1" type="stmt"/>
866
1153
  <line num="155" count="2" type="stmt"/>
@@ -869,22 +1156,22 @@
869
1156
  <line num="158" count="2" type="cond" truecount="2" falsecount="0"/>
870
1157
  <line num="159" count="2" type="stmt"/>
871
1158
  <line num="162" count="3" type="stmt"/>
872
- <line num="165" count="6" type="stmt"/>
1159
+ <line num="165" count="7" type="stmt"/>
873
1160
  <line num="166" count="4" type="cond" truecount="2" falsecount="0"/>
874
1161
  <line num="167" count="1" type="stmt"/>
875
1162
  <line num="170" count="2" type="stmt"/>
876
1163
  <line num="171" count="2" type="stmt"/>
877
- <line num="174" count="6" type="stmt"/>
1164
+ <line num="174" count="7" type="stmt"/>
878
1165
  <line num="175" count="5" type="stmt"/>
879
1166
  <line num="176" count="5" type="stmt"/>
880
1167
  <line num="177" count="5" type="stmt"/>
881
- <line num="184" count="6" type="cond" truecount="1" falsecount="0"/>
1168
+ <line num="184" count="7" type="cond" truecount="1" falsecount="0"/>
882
1169
  <line num="185" count="4" type="cond" truecount="7" falsecount="1"/>
883
1170
  <line num="187" count="4" type="stmt"/>
884
1171
  <line num="188" count="4" type="stmt"/>
885
1172
  <line num="189" count="4" type="stmt"/>
886
1173
  <line num="192" count="4" type="stmt"/>
887
- <line num="195" count="6" type="stmt"/>
1174
+ <line num="195" count="7" type="stmt"/>
888
1175
  <line num="196" count="2" type="stmt"/>
889
1176
  <line num="197" count="2" type="stmt"/>
890
1177
  <line num="198" count="4" type="stmt"/>
@@ -894,28 +1181,28 @@
894
1181
  <line num="202" count="3" type="stmt"/>
895
1182
  <line num="205" count="4" type="stmt"/>
896
1183
  <line num="208" count="1" type="stmt"/>
897
- <line num="211" count="6" type="stmt"/>
1184
+ <line num="211" count="7" type="stmt"/>
898
1185
  <line num="212" count="2" type="stmt"/>
899
1186
  <line num="213" count="2" type="stmt"/>
900
1187
  <line num="214" count="4" type="stmt"/>
901
1188
  <line num="215" count="4" type="stmt"/>
902
1189
  <line num="218" count="1" type="stmt"/>
903
- <line num="221" count="6" type="stmt"/>
1190
+ <line num="221" count="7" type="stmt"/>
904
1191
  <line num="222" count="2" type="stmt"/>
905
1192
  <line num="223" count="2" type="stmt"/>
906
1193
  <line num="225" count="2" type="stmt"/>
907
1194
  <line num="226" count="4" type="stmt"/>
908
1195
  <line num="231" count="1" type="stmt"/>
909
- <line num="234" count="6" type="cond" truecount="1" falsecount="0"/>
1196
+ <line num="234" count="7" type="cond" truecount="1" falsecount="0"/>
910
1197
  <line num="235" count="4" type="cond" truecount="2" falsecount="0"/>
911
1198
  <line num="236" count="1" type="stmt"/>
912
1199
  <line num="239" count="7" type="stmt"/>
913
- <line num="244" count="6" type="stmt"/>
1200
+ <line num="244" count="7" type="stmt"/>
914
1201
  <line num="245" count="3" type="stmt"/>
915
1202
  <line num="248" count="3" type="cond" truecount="2" falsecount="0"/>
916
1203
  <line num="249" count="1" type="stmt"/>
917
1204
  <line num="252" count="2" type="stmt"/>
918
- <line num="255" count="6" type="cond" truecount="0" falsecount="1"/>
1205
+ <line num="255" count="7" type="cond" truecount="0" falsecount="1"/>
919
1206
  <line num="256" count="1" type="stmt"/>
920
1207
  <line num="257" count="1" type="stmt"/>
921
1208
  <line num="258" count="5" type="stmt"/>
@@ -923,26 +1210,26 @@
923
1210
  </file>
924
1211
  <file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/calc.ts">
925
1212
  <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"/>
1213
+ <line num="2" count="8" type="cond" truecount="3" falsecount="0"/>
927
1214
  <line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
928
1215
  <line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
929
1216
  <line num="7" count="10" type="cond" truecount="4" falsecount="0"/>
930
1217
  <line num="8" count="3" type="cond" truecount="4" falsecount="0"/>
931
1218
  <line num="11" count="7" type="stmt"/>
932
- <line num="14" count="7" type="stmt"/>
1219
+ <line num="14" count="8" type="stmt"/>
933
1220
  <line num="15" count="5" type="stmt"/>
934
- <line num="18" count="7" type="stmt"/>
1221
+ <line num="18" count="8" type="stmt"/>
935
1222
  <line num="19" count="4" type="stmt"/>
936
1223
  <line num="20" count="4" type="stmt"/>
937
1224
  <line num="21" count="4" type="cond" truecount="2" falsecount="0"/>
938
- <line num="24" count="7" type="stmt"/>
1225
+ <line num="24" count="8" type="stmt"/>
939
1226
  <line num="25" count="2" type="stmt"/>
940
1227
  <line num="26" count="2" type="stmt"/>
941
1228
  <line num="28" count="2" type="cond" truecount="7" falsecount="1"/>
942
1229
  <line num="33" count="2" type="cond" truecount="2" falsecount="0"/>
943
1230
  <line num="34" count="1" type="stmt"/>
944
1231
  <line num="37" count="1" type="stmt"/>
945
- <line num="46" count="7" type="cond" truecount="1" falsecount="0"/>
1232
+ <line num="46" count="8" type="cond" truecount="1" falsecount="0"/>
946
1233
  <line num="47" count="9" type="stmt"/>
947
1234
  <line num="48" count="9" type="stmt"/>
948
1235
  <line num="49" count="9" type="stmt"/>
@@ -950,18 +1237,18 @@
950
1237
  <line num="51" count="1" type="stmt"/>
951
1238
  <line num="52" count="7" type="stmt"/>
952
1239
  <line num="54" count="9" type="stmt"/>
953
- <line num="57" count="7" type="stmt"/>
1240
+ <line num="57" count="8" type="stmt"/>
954
1241
  <line num="58" count="2" type="stmt"/>
955
- <line num="61" count="7" type="cond" truecount="1" falsecount="2"/>
1242
+ <line num="61" count="8" type="cond" truecount="1" falsecount="2"/>
956
1243
  <line num="62" count="10" type="stmt"/>
957
1244
  <line num="63" count="10" type="stmt"/>
958
1245
  <line num="64" count="10" type="cond" truecount="2" falsecount="0"/>
959
- <line num="67" count="7" type="cond" truecount="0" falsecount="1"/>
1246
+ <line num="67" count="8" type="cond" truecount="0" falsecount="1"/>
960
1247
  <line num="68" count="0" type="stmt"/>
961
1248
  </file>
962
1249
  <file name="distribution.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/distribution.ts">
963
1250
  <metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
964
- <line num="8" count="6" type="stmt"/>
1251
+ <line num="8" count="7" type="stmt"/>
965
1252
  <line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
966
1253
  <line num="10" count="4" type="cond" truecount="2" falsecount="0"/>
967
1254
  <line num="11" count="1" type="stmt"/>
@@ -972,17 +1259,17 @@
972
1259
  </file>
973
1260
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/index.ts">
974
1261
  <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"/>
1262
+ <line num="2" count="6" type="stmt"/>
1263
+ <line num="3" count="6" type="stmt"/>
1264
+ <line num="4" count="6" type="stmt"/>
1265
+ <line num="6" count="6" type="stmt"/>
979
1266
  <line num="7" count="11" type="cond" truecount="2" falsecount="0"/>
980
1267
  <line num="9" count="11" type="stmt"/>
981
1268
  <line num="11" count="3" type="stmt"/>
982
1269
  <line num="13" count="2" type="stmt"/>
983
1270
  <line num="15" count="2" type="stmt"/>
984
1271
  <line num="17" count="4" type="stmt"/>
985
- <line num="21" count="5" type="stmt"/>
1272
+ <line num="21" count="6" type="stmt"/>
986
1273
  <line num="22" count="20" type="stmt"/>
987
1274
  <line num="23" count="20" type="cond" truecount="4" falsecount="0"/>
988
1275
  <line num="24" count="5" type="stmt"/>
@@ -1101,7 +1388,7 @@
1101
1388
  </file>
1102
1389
  </package>
1103
1390
  <package name="src.viewModels">
1104
- <metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="26" methods="110" coveredmethods="69"/>
1391
+ <metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="28" methods="110" coveredmethods="71"/>
1105
1392
  <file name="FlagModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/FlagModel.ts">
1106
1393
  <metrics statements="22" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="9" coveredmethods="4"/>
1107
1394
  <line num="1" count="3" type="stmt"/>
@@ -1216,24 +1503,24 @@
1216
1503
  <line num="166" count="3" type="stmt"/>
1217
1504
  </file>
1218
1505
  <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"/>
1506
+ <metrics statements="17" coveredstatements="15" conditionals="3" coveredconditionals="3" methods="8" coveredmethods="6"/>
1507
+ <line num="1" count="2" type="stmt"/>
1508
+ <line num="9" count="2" type="stmt"/>
1509
+ <line num="12" count="7" type="stmt"/>
1510
+ <line num="14" count="7" type="stmt"/>
1511
+ <line num="17" count="7" type="stmt"/>
1512
+ <line num="18" count="7" type="stmt"/>
1513
+ <line num="19" count="7" type="stmt"/>
1514
+ <line num="22" count="7" type="stmt"/>
1515
+ <line num="23" count="6" type="stmt"/>
1516
+ <line num="26" count="7" type="stmt"/>
1517
+ <line num="27" count="8" type="stmt"/>
1231
1518
  <line num="30" count="0" type="stmt"/>
1232
- <line num="33" count="3" type="stmt"/>
1519
+ <line num="33" count="7" type="stmt"/>
1233
1520
  <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"/>
1521
+ <line num="38" count="7" type="cond" truecount="1" falsecount="0"/>
1522
+ <line num="41" count="7" type="cond" truecount="1" falsecount="0"/>
1523
+ <line num="44" count="2" type="stmt"/>
1237
1524
  </file>
1238
1525
  <file name="SelectModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/SelectModel.ts">
1239
1526
  <metrics statements="60" coveredstatements="54" conditionals="18" coveredconditionals="15" methods="26" coveredmethods="22"/>