@zajno/common 1.4.3 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nvmrc +1 -1
- package/README.md +5 -5
- package/coverage/clover.xml +391 -106
- package/coverage/coverage-final.json +17 -12
- package/coverage/lcov-report/index.html +38 -38
- package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
- package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +1 -1
- package/coverage/lcov-report/src/async/arrays.ts.html +1 -1
- package/coverage/lcov-report/src/async/index.html +24 -9
- package/coverage/lcov-report/src/async/timeout.ts.html +230 -0
- package/coverage/lcov-report/src/cache.ts.html +623 -0
- package/coverage/lcov-report/src/dates/calc.ts.html +1 -1
- package/coverage/lcov-report/src/dates/convert.ts.html +1 -1
- package/coverage/lcov-report/src/dates/datex.ts.html +1 -1
- package/coverage/lcov-report/src/dates/format.ts.html +1 -1
- package/coverage/lcov-report/src/dates/index.html +1 -1
- package/coverage/lcov-report/src/dates/index.ts.html +1 -1
- package/coverage/lcov-report/src/dates/parse.ts.html +1 -1
- package/coverage/lcov-report/src/dates/period.ts.html +1 -1
- package/coverage/lcov-report/src/dates/shift.ts.html +1 -1
- package/coverage/lcov-report/src/dates/types.ts.html +1 -1
- package/coverage/lcov-report/src/dates/yearDate.ts.html +1 -1
- package/coverage/lcov-report/src/disposer.ts.html +332 -0
- package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
- package/coverage/lcov-report/src/event.ts.html +1 -1
- package/coverage/lcov-report/src/fields/index.html +1 -1
- package/coverage/lcov-report/src/fields/update.ts.html +1 -1
- package/coverage/lcov-report/src/functions.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +70 -10
- package/coverage/lcov-report/src/lazy.light.ts.html +1 -1
- package/coverage/lcov-report/src/logger/batch.ts.html +2 -2
- package/coverage/lcov-report/src/logger/console.ts.html +5 -5
- package/coverage/lcov-report/src/logger/index.html +1 -1
- package/coverage/lcov-report/src/logger/index.ts.html +22 -22
- package/coverage/lcov-report/src/logger/named.ts.html +13 -13
- package/coverage/lcov-report/src/logger/proxy.ts.html +7 -7
- package/coverage/lcov-report/src/math/arrays.ts.html +23 -23
- package/coverage/lcov-report/src/math/calc.ts.html +9 -9
- package/coverage/lcov-report/src/math/distribution.ts.html +2 -2
- package/coverage/lcov-report/src/math/index.html +1 -1
- package/coverage/lcov-report/src/math/index.ts.html +6 -6
- package/coverage/lcov-report/src/observers.ts.html +368 -0
- package/coverage/lcov-report/src/observersMap.ts.html +395 -0
- package/coverage/lcov-report/src/observingCache.ts.html +530 -0
- package/coverage/lcov-report/src/transitionObserver.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +5 -5
- package/coverage/lcov-report/src/validation/ValidationErrors.ts.html +1 -1
- package/coverage/lcov-report/src/validation/creditCard.ts.html +1 -1
- package/coverage/lcov-report/src/validation/helpers.ts.html +1 -1
- package/coverage/lcov-report/src/validation/index.html +1 -1
- package/coverage/lcov-report/src/validation/index.ts.html +1 -1
- package/coverage/lcov-report/src/validation/types.ts.html +1 -1
- package/coverage/lcov-report/src/validation/validators.ts.html +2 -2
- package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +24 -24
- package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/Validatable.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/index.html +15 -15
- package/coverage/lcov-report/src/viewModels/wrappers.ts.html +1 -1
- package/coverage/lcov.info +734 -130
- package/lib/cache.d.ts +6 -2
- package/lib/cache.d.ts.map +1 -1
- package/lib/cache.js +20 -4
- package/lib/cache.js.map +1 -1
- package/lib/observersMap.d.ts +22 -0
- package/lib/observersMap.d.ts.map +1 -0
- package/lib/observersMap.js +93 -0
- package/lib/observersMap.js.map +1 -0
- package/lib/observingCache.d.ts +31 -0
- package/lib/observingCache.d.ts.map +1 -0
- package/lib/observingCache.js +118 -0
- package/lib/observingCache.js.map +1 -0
- package/lib/validation/validators.js +1 -1
- package/lib/viewModels/CommonModel.d.ts.map +1 -1
- package/lib/viewModels/CommonModel.js +1 -0
- package/lib/viewModels/CommonModel.js.map +1 -1
- package/lib/viewModels/InitializableModel.d.ts +6 -0
- package/lib/viewModels/InitializableModel.d.ts.map +1 -0
- package/lib/viewModels/InitializableModel.js +23 -0
- package/lib/viewModels/InitializableModel.js.map +1 -0
- package/lib/viewModels/ValueModel.d.ts +12 -0
- package/lib/viewModels/ValueModel.d.ts.map +1 -0
- package/lib/viewModels/ValueModel.js +29 -0
- package/lib/viewModels/ValueModel.js.map +1 -0
- package/lib/viewModels/index.d.ts +2 -1
- package/lib/viewModels/index.d.ts.map +1 -1
- package/lib/viewModels/index.js +2 -1
- package/lib/viewModels/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/observingCache.test.ts +127 -0
- package/src/cache.ts +25 -4
- package/src/observersMap.ts +105 -0
- package/src/observingCache.ts +150 -0
- package/src/validation/validators.ts +1 -1
- package/src/viewModels/CommonModel.ts +2 -0
- package/src/viewModels/InitializableModel.ts +17 -0
- package/src/viewModels/ValueModel.ts +34 -0
- package/src/viewModels/index.ts +4 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,9 +1,141 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1644961122930" clover="3.2.0">
|
|
3
|
+
<project timestamp="1644961122930" 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="
|
|
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,6 +235,130 @@
|
|
|
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
363
|
<metrics statements="88" coveredstatements="78" conditionals="42" coveredconditionals="33" methods="23" coveredmethods="18"/>
|
|
108
364
|
<line num="1" count="1" type="stmt"/>
|
|
@@ -196,15 +452,15 @@
|
|
|
196
452
|
</file>
|
|
197
453
|
<file name="types.ts" path="/Users/idudinov/projects/zajno-common-utils/src/types.ts">
|
|
198
454
|
<metrics statements="9" coveredstatements="8" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
|
|
199
|
-
<line num="9" count="
|
|
200
|
-
<line num="10" count="
|
|
455
|
+
<line num="9" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
456
|
+
<line num="10" count="9" type="stmt"/>
|
|
201
457
|
<line num="11" count="80" type="cond" truecount="2" falsecount="0"/>
|
|
202
458
|
<line num="12" count="6" type="stmt"/>
|
|
203
459
|
<line num="14" count="74" type="cond" truecount="1" falsecount="1"/>
|
|
204
460
|
<line num="15" count="74" type="stmt"/>
|
|
205
461
|
<line num="17" count="0" type="stmt"/>
|
|
206
|
-
<line num="24" count="
|
|
207
|
-
<line num="25" count="
|
|
462
|
+
<line num="24" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
463
|
+
<line num="25" count="9" type="stmt"/>
|
|
208
464
|
</file>
|
|
209
465
|
</package>
|
|
210
466
|
<package name="src.__tests__.helpers">
|
|
@@ -220,7 +476,7 @@
|
|
|
220
476
|
</file>
|
|
221
477
|
</package>
|
|
222
478
|
<package name="src.async">
|
|
223
|
-
<metrics statements="
|
|
479
|
+
<metrics statements="47" coveredstatements="15" conditionals="17" coveredconditionals="3" methods="11" coveredmethods="3"/>
|
|
224
480
|
<file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/arrays.ts">
|
|
225
481
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
226
482
|
<line num="3" count="3" type="stmt"/>
|
|
@@ -245,6 +501,35 @@
|
|
|
245
501
|
<line num="35" count="0" type="stmt"/>
|
|
246
502
|
<line num="37" count="0" type="stmt"/>
|
|
247
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>
|
|
248
533
|
</package>
|
|
249
534
|
<package name="src.dates">
|
|
250
535
|
<metrics statements="334" coveredstatements="334" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
|
|
@@ -669,7 +954,7 @@
|
|
|
669
954
|
<metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
|
|
670
955
|
<file name="batch.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/batch.ts">
|
|
671
956
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
|
|
672
|
-
<line num="3" count="
|
|
957
|
+
<line num="3" count="3" type="stmt"/>
|
|
673
958
|
<line num="4" count="3" type="stmt"/>
|
|
674
959
|
<line num="5" count="2" type="stmt"/>
|
|
675
960
|
<line num="6" count="2" type="stmt"/>
|
|
@@ -677,11 +962,11 @@
|
|
|
677
962
|
</file>
|
|
678
963
|
<file name="console.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/console.ts">
|
|
679
964
|
<metrics statements="24" coveredstatements="4" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
680
|
-
<line num="2" count="
|
|
681
|
-
<line num="4" count="
|
|
682
|
-
<line num="6" count="
|
|
965
|
+
<line num="2" count="3" type="stmt"/>
|
|
966
|
+
<line num="4" count="3" type="stmt"/>
|
|
967
|
+
<line num="6" count="3" type="stmt"/>
|
|
683
968
|
<line num="7" count="0" type="stmt"/>
|
|
684
|
-
<line num="10" count="
|
|
969
|
+
<line num="10" count="3" type="stmt"/>
|
|
685
970
|
<line num="11" count="0" type="stmt"/>
|
|
686
971
|
<line num="12" count="0" type="stmt"/>
|
|
687
972
|
<line num="13" count="0" type="stmt"/>
|
|
@@ -704,28 +989,28 @@
|
|
|
704
989
|
</file>
|
|
705
990
|
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/index.ts">
|
|
706
991
|
<metrics statements="36" coveredstatements="30" conditionals="18" coveredconditionals="13" methods="10" coveredmethods="7"/>
|
|
707
|
-
<line num="1" count="
|
|
708
|
-
<line num="3" count="
|
|
709
|
-
<line num="4" count="
|
|
710
|
-
<line num="5" count="
|
|
711
|
-
<line num="6" count="
|
|
712
|
-
<line num="8" count="
|
|
713
|
-
<line num="9" count="
|
|
714
|
-
<line num="14" count="
|
|
715
|
-
<line num="16" count="
|
|
716
|
-
<line num="18" count="
|
|
717
|
-
<line num="19" count="
|
|
718
|
-
<line num="20" count="
|
|
719
|
-
<line num="21" count="
|
|
720
|
-
<line num="22" count="
|
|
721
|
-
<line num="25" count="
|
|
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"/>
|
|
722
1007
|
<line num="26" count="0" type="stmt"/>
|
|
723
1008
|
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
724
1009
|
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
725
1010
|
<line num="29" count="0" type="stmt"/>
|
|
726
1011
|
<line num="31" count="0" type="stmt"/>
|
|
727
1012
|
<line num="33" count="0" type="stmt"/>
|
|
728
|
-
<line num="36" count="
|
|
1013
|
+
<line num="36" count="3" type="stmt"/>
|
|
729
1014
|
<line num="37" count="38" type="cond" truecount="2" falsecount="0"/>
|
|
730
1015
|
<line num="38" count="15" type="stmt"/>
|
|
731
1016
|
<line num="41" count="23" type="stmt"/>
|
|
@@ -733,27 +1018,27 @@
|
|
|
733
1018
|
<line num="44" count="62" type="stmt"/>
|
|
734
1019
|
<line num="46" count="105" type="stmt"/>
|
|
735
1020
|
<line num="50" count="29" type="stmt"/>
|
|
736
|
-
<line num="52" count="
|
|
737
|
-
<line num="54" count="
|
|
738
|
-
<line num="57" count="
|
|
739
|
-
<line num="58" count="
|
|
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"/>
|
|
740
1025
|
<line num="60" count="71" type="stmt"/>
|
|
741
|
-
<line num="64" count="
|
|
1026
|
+
<line num="64" count="28" type="stmt"/>
|
|
742
1027
|
<line num="68" count="61" type="stmt"/>
|
|
743
1028
|
</file>
|
|
744
1029
|
<file name="named.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/named.ts">
|
|
745
1030
|
<metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
|
|
746
|
-
<line num="3" count="
|
|
747
|
-
<line num="5" count="
|
|
748
|
-
<line num="6" count="
|
|
749
|
-
<line num="7" count="
|
|
750
|
-
<line num="8" count="
|
|
751
|
-
<line num="10" count="
|
|
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"/>
|
|
752
1037
|
<line num="12" count="0" type="stmt"/>
|
|
753
|
-
<line num="17" count="
|
|
754
|
-
<line num="19" count="
|
|
1038
|
+
<line num="17" count="55" type="stmt"/>
|
|
1039
|
+
<line num="19" count="55" type="cond" truecount="2" falsecount="0"/>
|
|
755
1040
|
<line num="20" count="21" type="stmt"/>
|
|
756
|
-
<line num="22" count="
|
|
1041
|
+
<line num="22" count="34" type="stmt"/>
|
|
757
1042
|
<line num="27" count="126" type="cond" truecount="2" falsecount="0"/>
|
|
758
1043
|
<line num="29" count="126" type="stmt"/>
|
|
759
1044
|
<line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -761,19 +1046,19 @@
|
|
|
761
1046
|
<line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
762
1047
|
<line num="37" count="126" type="stmt"/>
|
|
763
1048
|
<line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
764
|
-
<line num="43" count="
|
|
765
|
-
<line num="44" count="
|
|
766
|
-
<line num="45" count="
|
|
1049
|
+
<line num="43" count="96" type="stmt"/>
|
|
1050
|
+
<line num="44" count="96" type="stmt"/>
|
|
1051
|
+
<line num="45" count="96" type="stmt"/>
|
|
767
1052
|
</file>
|
|
768
1053
|
<file name="proxy.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/proxy.ts">
|
|
769
1054
|
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="3"/>
|
|
770
|
-
<line num="2" count="
|
|
771
|
-
<line num="4" count="
|
|
772
|
-
<line num="10" count="
|
|
1055
|
+
<line num="2" count="3" type="stmt"/>
|
|
1056
|
+
<line num="4" count="3" type="stmt"/>
|
|
1057
|
+
<line num="10" count="3" type="stmt"/>
|
|
773
1058
|
<line num="12" count="66" type="cond" truecount="1" falsecount="1"/>
|
|
774
|
-
<line num="14" count="
|
|
775
|
-
<line num="17" count="
|
|
776
|
-
<line num="18" count="
|
|
1059
|
+
<line num="14" count="55" type="stmt"/>
|
|
1060
|
+
<line num="17" count="55" type="stmt"/>
|
|
1061
|
+
<line num="18" count="55" type="stmt"/>
|
|
777
1062
|
<line num="22" count="105" type="cond" truecount="1" falsecount="1"/>
|
|
778
1063
|
<line num="23" count="105" type="cond" truecount="1" falsecount="1"/>
|
|
779
1064
|
<line num="24" count="105" type="stmt"/>
|
|
@@ -784,9 +1069,9 @@
|
|
|
784
1069
|
<metrics statements="196" coveredstatements="195" conditionals="141" coveredconditionals="134" methods="40" coveredmethods="39"/>
|
|
785
1070
|
<file name="arrays.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/arrays.ts">
|
|
786
1071
|
<metrics statements="138" coveredstatements="138" conditionals="80" coveredconditionals="77" methods="29" coveredmethods="29"/>
|
|
787
|
-
<line num="1" count="
|
|
788
|
-
<line num="2" count="
|
|
789
|
-
<line num="4" count="
|
|
1072
|
+
<line num="1" count="7" type="stmt"/>
|
|
1073
|
+
<line num="2" count="7" type="stmt"/>
|
|
1074
|
+
<line num="4" count="7" type="stmt"/>
|
|
790
1075
|
<line num="5" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
791
1076
|
<line num="6" count="2" type="stmt"/>
|
|
792
1077
|
<line num="9" count="1" type="stmt"/>
|
|
@@ -795,7 +1080,7 @@
|
|
|
795
1080
|
<line num="12" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
796
1081
|
<line num="13" count="3" type="stmt"/>
|
|
797
1082
|
<line num="17" count="1" type="stmt"/>
|
|
798
|
-
<line num="20" count="
|
|
1083
|
+
<line num="20" count="7" type="stmt"/>
|
|
799
1084
|
<line num="21" count="17" type="cond" truecount="4" falsecount="0"/>
|
|
800
1085
|
<line num="22" count="4" type="stmt"/>
|
|
801
1086
|
<line num="25" count="13" type="stmt"/>
|
|
@@ -804,11 +1089,11 @@
|
|
|
804
1089
|
<line num="28" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
805
1090
|
<line num="29" count="10" type="stmt"/>
|
|
806
1091
|
<line num="33" count="12" type="stmt"/>
|
|
807
|
-
<line num="36" count="
|
|
1092
|
+
<line num="36" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
808
1093
|
<line num="37" count="7" type="stmt"/>
|
|
809
|
-
<line num="40" count="
|
|
1094
|
+
<line num="40" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
810
1095
|
<line num="41" count="7" type="stmt"/>
|
|
811
|
-
<line num="44" count="
|
|
1096
|
+
<line num="44" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
812
1097
|
<line num="45" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
813
1098
|
<line num="46" count="2" type="stmt"/>
|
|
814
1099
|
<line num="49" count="3" type="stmt"/>
|
|
@@ -816,7 +1101,7 @@
|
|
|
816
1101
|
<line num="51" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
817
1102
|
<line num="52" count="9" type="stmt"/>
|
|
818
1103
|
<line num="55" count="3" type="stmt"/>
|
|
819
|
-
<line num="58" count="
|
|
1104
|
+
<line num="58" count="7" type="stmt"/>
|
|
820
1105
|
<line num="59" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
821
1106
|
<line num="60" count="2" type="stmt"/>
|
|
822
1107
|
<line num="63" count="3" type="stmt"/>
|
|
@@ -824,14 +1109,14 @@
|
|
|
824
1109
|
<line num="65" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
825
1110
|
<line num="66" count="4" type="stmt"/>
|
|
826
1111
|
<line num="69" count="2" type="stmt"/>
|
|
827
|
-
<line num="72" count="
|
|
1112
|
+
<line num="72" count="7" type="stmt"/>
|
|
828
1113
|
<line num="73" count="4" type="cond" truecount="6" falsecount="0"/>
|
|
829
1114
|
<line num="74" count="2" type="stmt"/>
|
|
830
1115
|
<line num="75" count="3" type="stmt"/>
|
|
831
1116
|
<line num="76" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
832
1117
|
<line num="77" count="1" type="stmt"/>
|
|
833
1118
|
<line num="82" count="2" type="stmt"/>
|
|
834
|
-
<line num="85" count="
|
|
1119
|
+
<line num="85" count="7" type="stmt"/>
|
|
835
1120
|
<line num="86" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
836
1121
|
<line num="87" count="2" type="stmt"/>
|
|
837
1122
|
<line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -846,7 +1131,7 @@
|
|
|
846
1131
|
<line num="108" count="1" type="stmt"/>
|
|
847
1132
|
<line num="111" count="6" type="stmt"/>
|
|
848
1133
|
<line num="112" count="6" type="stmt"/>
|
|
849
|
-
<line num="115" count="
|
|
1134
|
+
<line num="115" count="7" type="stmt"/>
|
|
850
1135
|
<line num="116" count="9" type="cond" truecount="4" falsecount="0"/>
|
|
851
1136
|
<line num="117" count="2" type="stmt"/>
|
|
852
1137
|
<line num="120" count="7" type="stmt"/>
|
|
@@ -860,9 +1145,9 @@
|
|
|
860
1145
|
<line num="139" count="1" type="stmt"/>
|
|
861
1146
|
<line num="142" count="7" type="stmt"/>
|
|
862
1147
|
<line num="143" count="7" type="stmt"/>
|
|
863
|
-
<line num="146" count="
|
|
1148
|
+
<line num="146" count="7" type="stmt"/>
|
|
864
1149
|
<line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
865
|
-
<line num="150" count="
|
|
1150
|
+
<line num="150" count="7" type="stmt"/>
|
|
866
1151
|
<line num="151" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
867
1152
|
<line num="152" count="1" type="stmt"/>
|
|
868
1153
|
<line num="155" count="2" type="stmt"/>
|
|
@@ -871,22 +1156,22 @@
|
|
|
871
1156
|
<line num="158" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
872
1157
|
<line num="159" count="2" type="stmt"/>
|
|
873
1158
|
<line num="162" count="3" type="stmt"/>
|
|
874
|
-
<line num="165" count="
|
|
1159
|
+
<line num="165" count="7" type="stmt"/>
|
|
875
1160
|
<line num="166" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
876
1161
|
<line num="167" count="1" type="stmt"/>
|
|
877
1162
|
<line num="170" count="2" type="stmt"/>
|
|
878
1163
|
<line num="171" count="2" type="stmt"/>
|
|
879
|
-
<line num="174" count="
|
|
1164
|
+
<line num="174" count="7" type="stmt"/>
|
|
880
1165
|
<line num="175" count="5" type="stmt"/>
|
|
881
1166
|
<line num="176" count="5" type="stmt"/>
|
|
882
1167
|
<line num="177" count="5" type="stmt"/>
|
|
883
|
-
<line num="184" count="
|
|
1168
|
+
<line num="184" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
884
1169
|
<line num="185" count="4" type="cond" truecount="7" falsecount="1"/>
|
|
885
1170
|
<line num="187" count="4" type="stmt"/>
|
|
886
1171
|
<line num="188" count="4" type="stmt"/>
|
|
887
1172
|
<line num="189" count="4" type="stmt"/>
|
|
888
1173
|
<line num="192" count="4" type="stmt"/>
|
|
889
|
-
<line num="195" count="
|
|
1174
|
+
<line num="195" count="7" type="stmt"/>
|
|
890
1175
|
<line num="196" count="2" type="stmt"/>
|
|
891
1176
|
<line num="197" count="2" type="stmt"/>
|
|
892
1177
|
<line num="198" count="4" type="stmt"/>
|
|
@@ -896,28 +1181,28 @@
|
|
|
896
1181
|
<line num="202" count="3" type="stmt"/>
|
|
897
1182
|
<line num="205" count="4" type="stmt"/>
|
|
898
1183
|
<line num="208" count="1" type="stmt"/>
|
|
899
|
-
<line num="211" count="
|
|
1184
|
+
<line num="211" count="7" type="stmt"/>
|
|
900
1185
|
<line num="212" count="2" type="stmt"/>
|
|
901
1186
|
<line num="213" count="2" type="stmt"/>
|
|
902
1187
|
<line num="214" count="4" type="stmt"/>
|
|
903
1188
|
<line num="215" count="4" type="stmt"/>
|
|
904
1189
|
<line num="218" count="1" type="stmt"/>
|
|
905
|
-
<line num="221" count="
|
|
1190
|
+
<line num="221" count="7" type="stmt"/>
|
|
906
1191
|
<line num="222" count="2" type="stmt"/>
|
|
907
1192
|
<line num="223" count="2" type="stmt"/>
|
|
908
1193
|
<line num="225" count="2" type="stmt"/>
|
|
909
1194
|
<line num="226" count="4" type="stmt"/>
|
|
910
1195
|
<line num="231" count="1" type="stmt"/>
|
|
911
|
-
<line num="234" count="
|
|
1196
|
+
<line num="234" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
912
1197
|
<line num="235" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
913
1198
|
<line num="236" count="1" type="stmt"/>
|
|
914
1199
|
<line num="239" count="7" type="stmt"/>
|
|
915
|
-
<line num="244" count="
|
|
1200
|
+
<line num="244" count="7" type="stmt"/>
|
|
916
1201
|
<line num="245" count="3" type="stmt"/>
|
|
917
1202
|
<line num="248" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
918
1203
|
<line num="249" count="1" type="stmt"/>
|
|
919
1204
|
<line num="252" count="2" type="stmt"/>
|
|
920
|
-
<line num="255" count="
|
|
1205
|
+
<line num="255" count="7" type="cond" truecount="0" falsecount="1"/>
|
|
921
1206
|
<line num="256" count="1" type="stmt"/>
|
|
922
1207
|
<line num="257" count="1" type="stmt"/>
|
|
923
1208
|
<line num="258" count="5" type="stmt"/>
|
|
@@ -925,26 +1210,26 @@
|
|
|
925
1210
|
</file>
|
|
926
1211
|
<file name="calc.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/calc.ts">
|
|
927
1212
|
<metrics statements="35" coveredstatements="34" conditionals="41" coveredconditionals="37" methods="8" coveredmethods="7"/>
|
|
928
|
-
<line num="2" count="
|
|
1213
|
+
<line num="2" count="8" type="cond" truecount="3" falsecount="0"/>
|
|
929
1214
|
<line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
|
|
930
1215
|
<line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
931
1216
|
<line num="7" count="10" type="cond" truecount="4" falsecount="0"/>
|
|
932
1217
|
<line num="8" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
933
1218
|
<line num="11" count="7" type="stmt"/>
|
|
934
|
-
<line num="14" count="
|
|
1219
|
+
<line num="14" count="8" type="stmt"/>
|
|
935
1220
|
<line num="15" count="5" type="stmt"/>
|
|
936
|
-
<line num="18" count="
|
|
1221
|
+
<line num="18" count="8" type="stmt"/>
|
|
937
1222
|
<line num="19" count="4" type="stmt"/>
|
|
938
1223
|
<line num="20" count="4" type="stmt"/>
|
|
939
1224
|
<line num="21" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
940
|
-
<line num="24" count="
|
|
1225
|
+
<line num="24" count="8" type="stmt"/>
|
|
941
1226
|
<line num="25" count="2" type="stmt"/>
|
|
942
1227
|
<line num="26" count="2" type="stmt"/>
|
|
943
1228
|
<line num="28" count="2" type="cond" truecount="7" falsecount="1"/>
|
|
944
1229
|
<line num="33" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
945
1230
|
<line num="34" count="1" type="stmt"/>
|
|
946
1231
|
<line num="37" count="1" type="stmt"/>
|
|
947
|
-
<line num="46" count="
|
|
1232
|
+
<line num="46" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
948
1233
|
<line num="47" count="9" type="stmt"/>
|
|
949
1234
|
<line num="48" count="9" type="stmt"/>
|
|
950
1235
|
<line num="49" count="9" type="stmt"/>
|
|
@@ -952,18 +1237,18 @@
|
|
|
952
1237
|
<line num="51" count="1" type="stmt"/>
|
|
953
1238
|
<line num="52" count="7" type="stmt"/>
|
|
954
1239
|
<line num="54" count="9" type="stmt"/>
|
|
955
|
-
<line num="57" count="
|
|
1240
|
+
<line num="57" count="8" type="stmt"/>
|
|
956
1241
|
<line num="58" count="2" type="stmt"/>
|
|
957
|
-
<line num="61" count="
|
|
1242
|
+
<line num="61" count="8" type="cond" truecount="1" falsecount="2"/>
|
|
958
1243
|
<line num="62" count="10" type="stmt"/>
|
|
959
1244
|
<line num="63" count="10" type="stmt"/>
|
|
960
1245
|
<line num="64" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
961
|
-
<line num="67" count="
|
|
1246
|
+
<line num="67" count="8" type="cond" truecount="0" falsecount="1"/>
|
|
962
1247
|
<line num="68" count="0" type="stmt"/>
|
|
963
1248
|
</file>
|
|
964
1249
|
<file name="distribution.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/distribution.ts">
|
|
965
1250
|
<metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
966
|
-
<line num="8" count="
|
|
1251
|
+
<line num="8" count="7" type="stmt"/>
|
|
967
1252
|
<line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
968
1253
|
<line num="10" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
969
1254
|
<line num="11" count="1" type="stmt"/>
|
|
@@ -974,17 +1259,17 @@
|
|
|
974
1259
|
</file>
|
|
975
1260
|
<file name="index.ts" path="/Users/idudinov/projects/zajno-common-utils/src/math/index.ts">
|
|
976
1261
|
<metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
|
|
977
|
-
<line num="2" count="
|
|
978
|
-
<line num="3" count="
|
|
979
|
-
<line num="4" count="
|
|
980
|
-
<line num="6" count="
|
|
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"/>
|
|
981
1266
|
<line num="7" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
982
1267
|
<line num="9" count="11" type="stmt"/>
|
|
983
1268
|
<line num="11" count="3" type="stmt"/>
|
|
984
1269
|
<line num="13" count="2" type="stmt"/>
|
|
985
1270
|
<line num="15" count="2" type="stmt"/>
|
|
986
1271
|
<line num="17" count="4" type="stmt"/>
|
|
987
|
-
<line num="21" count="
|
|
1272
|
+
<line num="21" count="6" type="stmt"/>
|
|
988
1273
|
<line num="22" count="20" type="stmt"/>
|
|
989
1274
|
<line num="23" count="20" type="cond" truecount="4" falsecount="0"/>
|
|
990
1275
|
<line num="24" count="5" type="stmt"/>
|
|
@@ -1103,7 +1388,7 @@
|
|
|
1103
1388
|
</file>
|
|
1104
1389
|
</package>
|
|
1105
1390
|
<package name="src.viewModels">
|
|
1106
|
-
<metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="
|
|
1391
|
+
<metrics statements="246" coveredstatements="180" conditionals="64" coveredconditionals="28" methods="110" coveredmethods="71"/>
|
|
1107
1392
|
<file name="FlagModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/FlagModel.ts">
|
|
1108
1393
|
<metrics statements="22" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="9" coveredmethods="4"/>
|
|
1109
1394
|
<line num="1" count="3" type="stmt"/>
|
|
@@ -1218,24 +1503,24 @@
|
|
|
1218
1503
|
<line num="166" count="3" type="stmt"/>
|
|
1219
1504
|
</file>
|
|
1220
1505
|
<file name="NumberModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/NumberModel.ts">
|
|
1221
|
-
<metrics statements="17" coveredstatements="15" conditionals="3" coveredconditionals="
|
|
1222
|
-
<line num="1" count="
|
|
1223
|
-
<line num="9" count="
|
|
1224
|
-
<line num="12" count="
|
|
1225
|
-
<line num="14" count="
|
|
1226
|
-
<line num="17" count="
|
|
1227
|
-
<line num="18" count="
|
|
1228
|
-
<line num="19" count="
|
|
1229
|
-
<line num="22" count="
|
|
1230
|
-
<line num="23" count="
|
|
1231
|
-
<line num="26" count="
|
|
1232
|
-
<line num="27" count="
|
|
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"/>
|
|
1233
1518
|
<line num="30" count="0" type="stmt"/>
|
|
1234
|
-
<line num="33" count="
|
|
1519
|
+
<line num="33" count="7" type="stmt"/>
|
|
1235
1520
|
<line num="34" count="0" type="stmt"/>
|
|
1236
|
-
<line num="38" count="
|
|
1237
|
-
<line num="41" count="
|
|
1238
|
-
<line num="44" count="
|
|
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"/>
|
|
1239
1524
|
</file>
|
|
1240
1525
|
<file name="SelectModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/SelectModel.ts">
|
|
1241
1526
|
<metrics statements="60" coveredstatements="54" conditionals="18" coveredconditionals="15" methods="26" coveredmethods="22"/>
|