@zajno/common 1.4.4 → 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 (82) hide show
  1. package/.nvmrc +1 -1
  2. package/README.md +5 -5
  3. package/coverage/clover.xml +387 -106
  4. package/coverage/coverage-final.json +17 -12
  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 +70 -10
  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 +1 -1
  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 +1 -1
  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 +724 -130
  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/{observers.js → observersMap.js} +30 -11
  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/package.json +1 -1
  76. package/src/__tests__/observingCache.test.ts +127 -0
  77. package/src/cache.ts +25 -4
  78. package/src/{observers.ts → observersMap.ts} +32 -9
  79. package/src/observingCache.ts +135 -0
  80. package/lib/observers.d.ts +0 -16
  81. package/lib/observers.d.ts.map +0 -1
  82. package/lib/observers.js.map +0 -1
@@ -1,9 +1,141 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1644317470371" clover="3.2.0">
3
- <project timestamp="1644317470371" name="All files">
4
- <metrics statements="1217" coveredstatements="1030" conditionals="781" coveredconditionals="623" methods="359" coveredmethods="257" elements="2357" coveredelements="1910" complexity="0" loc="1217" ncloc="1217" 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="184" coveredstatements="160" conditionals="101" coveredconditionals="83" methods="69" 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,6 +235,126 @@
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
359
  <metrics statements="88" coveredstatements="78" conditionals="42" coveredconditionals="33" methods="23" coveredmethods="18"/>
108
360
  <line num="1" count="1" type="stmt"/>
@@ -196,15 +448,15 @@
196
448
  </file>
197
449
  <file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/types.ts">
198
450
  <metrics statements="9" coveredstatements="8" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
199
- <line num="9" count="8" type="cond" truecount="2" falsecount="0"/>
200
- <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"/>
201
453
  <line num="11" count="80" type="cond" truecount="2" falsecount="0"/>
202
454
  <line num="12" count="6" type="stmt"/>
203
455
  <line num="14" count="74" type="cond" truecount="1" falsecount="1"/>
204
456
  <line num="15" count="74" type="stmt"/>
205
457
  <line num="17" count="0" type="stmt"/>
206
- <line num="24" count="8" type="cond" truecount="2" falsecount="0"/>
207
- <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"/>
208
460
  </file>
209
461
  </package>
210
462
  <package name="src.__tests__.helpers">
@@ -220,7 +472,7 @@
220
472
  </file>
221
473
  </package>
222
474
  <package name="src.async">
223
- <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"/>
224
476
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/arrays.ts">
225
477
  <metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
226
478
  <line num="3" count="3" type="stmt"/>
@@ -245,6 +497,35 @@
245
497
  <line num="35" count="0" type="stmt"/>
246
498
  <line num="37" count="0" type="stmt"/>
247
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>
248
529
  </package>
249
530
  <package name="src.dates">
250
531
  <metrics statements="334" coveredstatements="334" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
@@ -669,7 +950,7 @@
669
950
  <metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
670
951
  <file name="batch.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/batch.ts">
671
952
  <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
672
- <line num="3" count="2" type="stmt"/>
953
+ <line num="3" count="3" type="stmt"/>
673
954
  <line num="4" count="3" type="stmt"/>
674
955
  <line num="5" count="2" type="stmt"/>
675
956
  <line num="6" count="2" type="stmt"/>
@@ -677,11 +958,11 @@
677
958
  </file>
678
959
  <file name="console.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/console.ts">
679
960
  <metrics statements="24" coveredstatements="4" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
680
- <line num="2" count="2" type="stmt"/>
681
- <line num="4" count="2" type="stmt"/>
682
- <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"/>
683
964
  <line num="7" count="0" type="stmt"/>
684
- <line num="10" count="2" type="stmt"/>
965
+ <line num="10" count="3" type="stmt"/>
685
966
  <line num="11" count="0" type="stmt"/>
686
967
  <line num="12" count="0" type="stmt"/>
687
968
  <line num="13" count="0" type="stmt"/>
@@ -704,28 +985,28 @@
704
985
  </file>
705
986
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/index.ts">
706
987
  <metrics statements="36" coveredstatements="30" conditionals="18" coveredconditionals="13" methods="10" coveredmethods="7"/>
707
- <line num="1" count="2" type="stmt"/>
708
- <line num="3" count="2" type="stmt"/>
709
- <line num="4" count="2" type="stmt"/>
710
- <line num="5" count="2" type="stmt"/>
711
- <line num="6" count="2" type="stmt"/>
712
- <line num="8" count="2" type="stmt"/>
713
- <line num="9" count="5" type="stmt"/>
714
- <line num="14" count="2" type="cond" truecount="2" falsecount="0"/>
715
- <line num="16" count="2" type="stmt"/>
716
- <line num="18" count="2" type="cond" truecount="1" falsecount="0"/>
717
- <line num="19" count="52" type="stmt"/>
718
- <line num="20" count="52" type="stmt"/>
719
- <line num="21" count="52" type="stmt"/>
720
- <line num="22" count="52" type="stmt"/>
721
- <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"/>
722
1003
  <line num="26" count="0" type="stmt"/>
723
1004
  <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
724
1005
  <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
725
1006
  <line num="29" count="0" type="stmt"/>
726
1007
  <line num="31" count="0" type="stmt"/>
727
1008
  <line num="33" count="0" type="stmt"/>
728
- <line num="36" count="2" type="stmt"/>
1009
+ <line num="36" count="3" type="stmt"/>
729
1010
  <line num="37" count="38" type="cond" truecount="2" falsecount="0"/>
730
1011
  <line num="38" count="15" type="stmt"/>
731
1012
  <line num="41" count="23" type="stmt"/>
@@ -733,27 +1014,27 @@
733
1014
  <line num="44" count="62" type="stmt"/>
734
1015
  <line num="46" count="105" type="stmt"/>
735
1016
  <line num="50" count="29" type="stmt"/>
736
- <line num="52" count="2" type="stmt"/>
737
- <line num="54" count="2" type="stmt"/>
738
- <line num="57" count="157" type="cond" truecount="2" falsecount="0"/>
739
- <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"/>
740
1021
  <line num="60" count="71" type="stmt"/>
741
- <line num="64" count="25" type="stmt"/>
1022
+ <line num="64" count="28" type="stmt"/>
742
1023
  <line num="68" count="61" type="stmt"/>
743
1024
  </file>
744
1025
  <file name="named.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/named.ts">
745
1026
  <metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
746
- <line num="3" count="2" type="stmt"/>
747
- <line num="5" count="2" type="stmt"/>
748
- <line num="6" count="52" type="stmt"/>
749
- <line num="7" count="52" type="stmt"/>
750
- <line num="8" count="52" type="stmt"/>
751
- <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"/>
752
1033
  <line num="12" count="0" type="stmt"/>
753
- <line num="17" count="52" type="stmt"/>
754
- <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"/>
755
1036
  <line num="20" count="21" type="stmt"/>
756
- <line num="22" count="31" type="stmt"/>
1037
+ <line num="22" count="34" type="stmt"/>
757
1038
  <line num="27" count="126" type="cond" truecount="2" falsecount="0"/>
758
1039
  <line num="29" count="126" type="stmt"/>
759
1040
  <line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
@@ -761,19 +1042,19 @@
761
1042
  <line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
762
1043
  <line num="37" count="126" type="stmt"/>
763
1044
  <line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
764
- <line num="43" count="93" type="stmt"/>
765
- <line num="44" count="93" type="stmt"/>
766
- <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"/>
767
1048
  </file>
768
1049
  <file name="proxy.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/proxy.ts">
769
1050
  <metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="3"/>
770
- <line num="2" count="2" type="stmt"/>
771
- <line num="4" count="2" type="stmt"/>
772
- <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"/>
773
1054
  <line num="12" count="66" type="cond" truecount="1" falsecount="1"/>
774
- <line num="14" count="52" type="stmt"/>
775
- <line num="17" count="52" type="stmt"/>
776
- <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"/>
777
1058
  <line num="22" count="105" type="cond" truecount="1" falsecount="1"/>
778
1059
  <line num="23" count="105" type="cond" truecount="1" falsecount="1"/>
779
1060
  <line num="24" count="105" type="stmt"/>
@@ -784,9 +1065,9 @@
784
1065
  <metrics statements="196" coveredstatements="195" conditionals="141" coveredconditionals="134" methods="40" coveredmethods="39"/>
785
1066
  <file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/arrays.ts">
786
1067
  <metrics statements="138" coveredstatements="138" conditionals="80" coveredconditionals="77" methods="29" coveredmethods="29"/>
787
- <line num="1" count="6" type="stmt"/>
788
- <line num="2" count="6" type="stmt"/>
789
- <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"/>
790
1071
  <line num="5" count="3" type="cond" truecount="4" falsecount="0"/>
791
1072
  <line num="6" count="2" type="stmt"/>
792
1073
  <line num="9" count="1" type="stmt"/>
@@ -795,7 +1076,7 @@
795
1076
  <line num="12" count="3" type="cond" truecount="1" falsecount="1"/>
796
1077
  <line num="13" count="3" type="stmt"/>
797
1078
  <line num="17" count="1" type="stmt"/>
798
- <line num="20" count="6" type="stmt"/>
1079
+ <line num="20" count="7" type="stmt"/>
799
1080
  <line num="21" count="17" type="cond" truecount="4" falsecount="0"/>
800
1081
  <line num="22" count="4" type="stmt"/>
801
1082
  <line num="25" count="13" type="stmt"/>
@@ -804,11 +1085,11 @@
804
1085
  <line num="28" count="23" type="cond" truecount="2" falsecount="0"/>
805
1086
  <line num="29" count="10" type="stmt"/>
806
1087
  <line num="33" count="12" type="stmt"/>
807
- <line num="36" count="6" type="cond" truecount="1" falsecount="0"/>
1088
+ <line num="36" count="7" type="cond" truecount="1" falsecount="0"/>
808
1089
  <line num="37" count="7" type="stmt"/>
809
- <line num="40" count="6" type="cond" truecount="1" falsecount="0"/>
1090
+ <line num="40" count="7" type="cond" truecount="1" falsecount="0"/>
810
1091
  <line num="41" count="7" type="stmt"/>
811
- <line num="44" count="6" type="cond" truecount="1" falsecount="0"/>
1092
+ <line num="44" count="7" type="cond" truecount="1" falsecount="0"/>
812
1093
  <line num="45" count="5" type="cond" truecount="4" falsecount="0"/>
813
1094
  <line num="46" count="2" type="stmt"/>
814
1095
  <line num="49" count="3" type="stmt"/>
@@ -816,7 +1097,7 @@
816
1097
  <line num="51" count="9" type="cond" truecount="2" falsecount="0"/>
817
1098
  <line num="52" count="9" type="stmt"/>
818
1099
  <line num="55" count="3" type="stmt"/>
819
- <line num="58" count="6" type="stmt"/>
1100
+ <line num="58" count="7" type="stmt"/>
820
1101
  <line num="59" count="5" type="cond" truecount="4" falsecount="0"/>
821
1102
  <line num="60" count="2" type="stmt"/>
822
1103
  <line num="63" count="3" type="stmt"/>
@@ -824,14 +1105,14 @@
824
1105
  <line num="65" count="7" type="cond" truecount="2" falsecount="0"/>
825
1106
  <line num="66" count="4" type="stmt"/>
826
1107
  <line num="69" count="2" type="stmt"/>
827
- <line num="72" count="6" type="stmt"/>
1108
+ <line num="72" count="7" type="stmt"/>
828
1109
  <line num="73" count="4" type="cond" truecount="6" falsecount="0"/>
829
1110
  <line num="74" count="2" type="stmt"/>
830
1111
  <line num="75" count="3" type="stmt"/>
831
1112
  <line num="76" count="2" type="cond" truecount="2" falsecount="0"/>
832
1113
  <line num="77" count="1" type="stmt"/>
833
1114
  <line num="82" count="2" type="stmt"/>
834
- <line num="85" count="6" type="stmt"/>
1115
+ <line num="85" count="7" type="stmt"/>
835
1116
  <line num="86" count="8" type="cond" truecount="4" falsecount="0"/>
836
1117
  <line num="87" count="2" type="stmt"/>
837
1118
  <line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
@@ -846,7 +1127,7 @@
846
1127
  <line num="108" count="1" type="stmt"/>
847
1128
  <line num="111" count="6" type="stmt"/>
848
1129
  <line num="112" count="6" type="stmt"/>
849
- <line num="115" count="6" type="stmt"/>
1130
+ <line num="115" count="7" type="stmt"/>
850
1131
  <line num="116" count="9" type="cond" truecount="4" falsecount="0"/>
851
1132
  <line num="117" count="2" type="stmt"/>
852
1133
  <line num="120" count="7" type="stmt"/>
@@ -860,9 +1141,9 @@
860
1141
  <line num="139" count="1" type="stmt"/>
861
1142
  <line num="142" count="7" type="stmt"/>
862
1143
  <line num="143" count="7" type="stmt"/>
863
- <line num="146" count="6" type="stmt"/>
1144
+ <line num="146" count="7" type="stmt"/>
864
1145
  <line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
865
- <line num="150" count="6" type="stmt"/>
1146
+ <line num="150" count="7" type="stmt"/>
866
1147
  <line num="151" count="3" type="cond" truecount="2" falsecount="0"/>
867
1148
  <line num="152" count="1" type="stmt"/>
868
1149
  <line num="155" count="2" type="stmt"/>
@@ -871,22 +1152,22 @@
871
1152
  <line num="158" count="2" type="cond" truecount="2" falsecount="0"/>
872
1153
  <line num="159" count="2" type="stmt"/>
873
1154
  <line num="162" count="3" type="stmt"/>
874
- <line num="165" count="6" type="stmt"/>
1155
+ <line num="165" count="7" type="stmt"/>
875
1156
  <line num="166" count="4" type="cond" truecount="2" falsecount="0"/>
876
1157
  <line num="167" count="1" type="stmt"/>
877
1158
  <line num="170" count="2" type="stmt"/>
878
1159
  <line num="171" count="2" type="stmt"/>
879
- <line num="174" count="6" type="stmt"/>
1160
+ <line num="174" count="7" type="stmt"/>
880
1161
  <line num="175" count="5" type="stmt"/>
881
1162
  <line num="176" count="5" type="stmt"/>
882
1163
  <line num="177" count="5" type="stmt"/>
883
- <line num="184" count="6" type="cond" truecount="1" falsecount="0"/>
1164
+ <line num="184" count="7" type="cond" truecount="1" falsecount="0"/>
884
1165
  <line num="185" count="4" type="cond" truecount="7" falsecount="1"/>
885
1166
  <line num="187" count="4" type="stmt"/>
886
1167
  <line num="188" count="4" type="stmt"/>
887
1168
  <line num="189" count="4" type="stmt"/>
888
1169
  <line num="192" count="4" type="stmt"/>
889
- <line num="195" count="6" type="stmt"/>
1170
+ <line num="195" count="7" type="stmt"/>
890
1171
  <line num="196" count="2" type="stmt"/>
891
1172
  <line num="197" count="2" type="stmt"/>
892
1173
  <line num="198" count="4" type="stmt"/>
@@ -896,28 +1177,28 @@
896
1177
  <line num="202" count="3" type="stmt"/>
897
1178
  <line num="205" count="4" type="stmt"/>
898
1179
  <line num="208" count="1" type="stmt"/>
899
- <line num="211" count="6" type="stmt"/>
1180
+ <line num="211" count="7" type="stmt"/>
900
1181
  <line num="212" count="2" type="stmt"/>
901
1182
  <line num="213" count="2" type="stmt"/>
902
1183
  <line num="214" count="4" type="stmt"/>
903
1184
  <line num="215" count="4" type="stmt"/>
904
1185
  <line num="218" count="1" type="stmt"/>
905
- <line num="221" count="6" type="stmt"/>
1186
+ <line num="221" count="7" type="stmt"/>
906
1187
  <line num="222" count="2" type="stmt"/>
907
1188
  <line num="223" count="2" type="stmt"/>
908
1189
  <line num="225" count="2" type="stmt"/>
909
1190
  <line num="226" count="4" type="stmt"/>
910
1191
  <line num="231" count="1" type="stmt"/>
911
- <line num="234" count="6" type="cond" truecount="1" falsecount="0"/>
1192
+ <line num="234" count="7" type="cond" truecount="1" falsecount="0"/>
912
1193
  <line num="235" count="4" type="cond" truecount="2" falsecount="0"/>
913
1194
  <line num="236" count="1" type="stmt"/>
914
1195
  <line num="239" count="7" type="stmt"/>
915
- <line num="244" count="6" type="stmt"/>
1196
+ <line num="244" count="7" type="stmt"/>
916
1197
  <line num="245" count="3" type="stmt"/>
917
1198
  <line num="248" count="3" type="cond" truecount="2" falsecount="0"/>
918
1199
  <line num="249" count="1" type="stmt"/>
919
1200
  <line num="252" count="2" type="stmt"/>
920
- <line num="255" count="6" type="cond" truecount="0" falsecount="1"/>
1201
+ <line num="255" count="7" type="cond" truecount="0" falsecount="1"/>
921
1202
  <line num="256" count="1" type="stmt"/>
922
1203
  <line num="257" count="1" type="stmt"/>
923
1204
  <line num="258" count="5" type="stmt"/>
@@ -925,26 +1206,26 @@
925
1206
  </file>
926
1207
  <file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/calc.ts">
927
1208
  <metrics statements="35" coveredstatements="34" conditionals="41" coveredconditionals="37" methods="8" coveredmethods="7"/>
928
- <line num="2" count="7" type="cond" truecount="3" falsecount="0"/>
1209
+ <line num="2" count="8" type="cond" truecount="3" falsecount="0"/>
929
1210
  <line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
930
1211
  <line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
931
1212
  <line num="7" count="10" type="cond" truecount="4" falsecount="0"/>
932
1213
  <line num="8" count="3" type="cond" truecount="4" falsecount="0"/>
933
1214
  <line num="11" count="7" type="stmt"/>
934
- <line num="14" count="7" type="stmt"/>
1215
+ <line num="14" count="8" type="stmt"/>
935
1216
  <line num="15" count="5" type="stmt"/>
936
- <line num="18" count="7" type="stmt"/>
1217
+ <line num="18" count="8" type="stmt"/>
937
1218
  <line num="19" count="4" type="stmt"/>
938
1219
  <line num="20" count="4" type="stmt"/>
939
1220
  <line num="21" count="4" type="cond" truecount="2" falsecount="0"/>
940
- <line num="24" count="7" type="stmt"/>
1221
+ <line num="24" count="8" type="stmt"/>
941
1222
  <line num="25" count="2" type="stmt"/>
942
1223
  <line num="26" count="2" type="stmt"/>
943
1224
  <line num="28" count="2" type="cond" truecount="7" falsecount="1"/>
944
1225
  <line num="33" count="2" type="cond" truecount="2" falsecount="0"/>
945
1226
  <line num="34" count="1" type="stmt"/>
946
1227
  <line num="37" count="1" type="stmt"/>
947
- <line num="46" count="7" type="cond" truecount="1" falsecount="0"/>
1228
+ <line num="46" count="8" type="cond" truecount="1" falsecount="0"/>
948
1229
  <line num="47" count="9" type="stmt"/>
949
1230
  <line num="48" count="9" type="stmt"/>
950
1231
  <line num="49" count="9" type="stmt"/>
@@ -952,18 +1233,18 @@
952
1233
  <line num="51" count="1" type="stmt"/>
953
1234
  <line num="52" count="7" type="stmt"/>
954
1235
  <line num="54" count="9" type="stmt"/>
955
- <line num="57" count="7" type="stmt"/>
1236
+ <line num="57" count="8" type="stmt"/>
956
1237
  <line num="58" count="2" type="stmt"/>
957
- <line num="61" count="7" type="cond" truecount="1" falsecount="2"/>
1238
+ <line num="61" count="8" type="cond" truecount="1" falsecount="2"/>
958
1239
  <line num="62" count="10" type="stmt"/>
959
1240
  <line num="63" count="10" type="stmt"/>
960
1241
  <line num="64" count="10" type="cond" truecount="2" falsecount="0"/>
961
- <line num="67" count="7" type="cond" truecount="0" falsecount="1"/>
1242
+ <line num="67" count="8" type="cond" truecount="0" falsecount="1"/>
962
1243
  <line num="68" count="0" type="stmt"/>
963
1244
  </file>
964
1245
  <file name="distribution.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/distribution.ts">
965
1246
  <metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
966
- <line num="8" count="6" type="stmt"/>
1247
+ <line num="8" count="7" type="stmt"/>
967
1248
  <line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
968
1249
  <line num="10" count="4" type="cond" truecount="2" falsecount="0"/>
969
1250
  <line num="11" count="1" type="stmt"/>
@@ -974,17 +1255,17 @@
974
1255
  </file>
975
1256
  <file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/index.ts">
976
1257
  <metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
977
- <line num="2" count="5" type="stmt"/>
978
- <line num="3" count="5" type="stmt"/>
979
- <line num="4" count="5" type="stmt"/>
980
- <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"/>
981
1262
  <line num="7" count="11" type="cond" truecount="2" falsecount="0"/>
982
1263
  <line num="9" count="11" type="stmt"/>
983
1264
  <line num="11" count="3" type="stmt"/>
984
1265
  <line num="13" count="2" type="stmt"/>
985
1266
  <line num="15" count="2" type="stmt"/>
986
1267
  <line num="17" count="4" type="stmt"/>
987
- <line num="21" count="5" type="stmt"/>
1268
+ <line num="21" count="6" type="stmt"/>
988
1269
  <line num="22" count="20" type="stmt"/>
989
1270
  <line num="23" count="20" type="cond" truecount="4" falsecount="0"/>
990
1271
  <line num="24" count="5" type="stmt"/>
@@ -1103,7 +1384,7 @@
1103
1384
  </file>
1104
1385
  </package>
1105
1386
  <package name="src.viewModels">
1106
- <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"/>
1107
1388
  <file name="FlagModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/FlagModel.ts">
1108
1389
  <metrics statements="22" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="9" coveredmethods="4"/>
1109
1390
  <line num="1" count="3" type="stmt"/>
@@ -1218,24 +1499,24 @@
1218
1499
  <line num="166" count="3" type="stmt"/>
1219
1500
  </file>
1220
1501
  <file name="NumberModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/NumberModel.ts">
1221
- <metrics statements="17" coveredstatements="15" conditionals="3" coveredconditionals="1" methods="8" coveredmethods="4"/>
1222
- <line num="1" count="1" type="stmt"/>
1223
- <line num="9" count="1" type="stmt"/>
1224
- <line num="12" count="3" type="stmt"/>
1225
- <line num="14" count="3" type="stmt"/>
1226
- <line num="17" count="3" type="stmt"/>
1227
- <line num="18" count="3" type="stmt"/>
1228
- <line num="19" count="3" type="stmt"/>
1229
- <line num="22" count="2" type="stmt"/>
1230
- <line num="23" count="1" type="stmt"/>
1231
- <line num="26" count="3" type="stmt"/>
1232
- <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"/>
1233
1514
  <line num="30" count="0" type="stmt"/>
1234
- <line num="33" count="3" type="stmt"/>
1515
+ <line num="33" count="7" type="stmt"/>
1235
1516
  <line num="34" count="0" type="stmt"/>
1236
- <line num="38" count="3" type="cond" truecount="0" falsecount="1"/>
1237
- <line num="41" count="3" type="cond" truecount="0" falsecount="1"/>
1238
- <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"/>
1239
1520
  </file>
1240
1521
  <file name="SelectModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/SelectModel.ts">
1241
1522
  <metrics statements="60" coveredstatements="54" conditionals="18" coveredconditionals="15" methods="26" coveredmethods="22"/>