@zajno/common 1.5.9 → 1.6.0
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/coverage/clover.xml +182 -116
- package/coverage/coverage-final.json +14 -10
- package/coverage/lcov-report/index.html +44 -29
- package/coverage/lcov-report/src/__tests__/helpers/expect.ts.html +94 -0
- package/coverage/lcov-report/src/__tests__/helpers/index.html +18 -3
- package/coverage/lcov-report/src/__tests__/helpers/main.ts.html +2 -2
- package/coverage/lcov-report/src/async/arrays.ts.html +1 -1
- package/coverage/lcov-report/src/async/index.html +1 -1
- package/coverage/lcov-report/src/async/timeout.ts.html +13 -13
- package/coverage/lcov-report/src/cache.ts.html +6 -6
- 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 +1 -1
- package/coverage/lcov-report/src/enumHelper.ts.html +1 -1
- package/coverage/lcov-report/src/event.ts.html +6 -6
- 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 +11 -26
- package/coverage/lcov-report/src/lazy/index.html +161 -0
- package/coverage/lcov-report/src/lazy/lazy.ts.html +181 -0
- package/coverage/lcov-report/src/lazy/light.ts.html +172 -0
- package/coverage/lcov-report/src/lazy/observable.ts.html +184 -0
- package/coverage/lcov-report/src/lazy/promise.ts.html +229 -0
- package/coverage/lcov-report/src/lazy/singleton.ts.html +181 -0
- package/coverage/lcov-report/src/lazy.light.ts.html +1 -1
- package/coverage/lcov-report/src/logger/batch.ts.html +1 -1
- package/coverage/lcov-report/src/logger/console.ts.html +1 -1
- package/coverage/lcov-report/src/logger/index.html +1 -1
- package/coverage/lcov-report/src/logger/index.ts.html +8 -8
- package/coverage/lcov-report/src/logger/named.ts.html +12 -12
- package/coverage/lcov-report/src/logger/proxy.ts.html +4 -4
- package/coverage/lcov-report/src/math/arrays.ts.html +1 -1
- package/coverage/lcov-report/src/math/calc.ts.html +1 -1
- package/coverage/lcov-report/src/math/distribution.ts.html +1 -1
- package/coverage/lcov-report/src/math/index.html +1 -1
- package/coverage/lcov-report/src/math/index.ts.html +1 -1
- package/coverage/lcov-report/src/observersMap.ts.html +1 -1
- package/coverage/lcov-report/src/observingCache.ts.html +1 -1
- package/coverage/lcov-report/src/queue/index.html +14 -14
- package/coverage/lcov-report/src/queue/parallel.ts.html +20 -8
- package/coverage/lcov-report/src/tempoCache.ts.html +1 -1
- package/coverage/lcov-report/src/transitionObserver.ts.html +1 -1
- package/coverage/lcov-report/src/types.ts.html +1 -1
- 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 +3 -3
- package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/CommonModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/LoadingModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +2 -2
- package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +2 -2
- package/coverage/lcov-report/src/viewModels/TextModel.ts.html +4 -4
- package/coverage/lcov-report/src/viewModels/Validatable.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/index.html +5 -5
- package/coverage/lcov-report/src/viewModels/wrappers.ts.html +1 -1
- package/coverage/lcov.info +358 -228
- package/lib/cache.js.map +1 -1
- package/lib/lazy/index.d.ts +10 -0
- package/lib/lazy/index.d.ts.map +1 -0
- package/lib/lazy/index.js +23 -0
- package/lib/lazy/index.js.map +1 -0
- package/lib/lazy/light.d.ts +8 -0
- package/lib/lazy/light.d.ts.map +1 -0
- package/lib/lazy/light.js +23 -0
- package/lib/lazy/light.js.map +1 -0
- package/lib/lazy/observable.d.ts +9 -0
- package/lib/lazy/observable.d.ts.map +1 -0
- package/lib/lazy/observable.js +30 -0
- package/lib/lazy/observable.js.map +1 -0
- package/lib/{lazy.d.ts → lazy/promise.d.ts} +4 -14
- package/lib/lazy/promise.d.ts.map +1 -0
- package/lib/lazy/promise.js +39 -0
- package/lib/lazy/promise.js.map +1 -0
- package/lib/lazy/singleton.d.ts +13 -0
- package/lib/lazy/singleton.d.ts.map +1 -0
- package/lib/lazy/singleton.js +29 -0
- package/lib/lazy/singleton.js.map +1 -0
- package/lib/lazy.light.d.ts +1 -7
- package/lib/lazy.light.d.ts.map +1 -1
- package/lib/lazy.light.js +5 -20
- package/lib/lazy.light.js.map +1 -1
- package/lib/queue/parallel.d.ts +2 -0
- package/lib/queue/parallel.d.ts.map +1 -1
- package/lib/queue/parallel.js +3 -0
- package/lib/queue/parallel.js.map +1 -1
- package/lib/services/localization/LocalaziedValidationErrors.js.map +1 -1
- package/lib/services/localization/LocalizationManager.js.map +1 -1
- package/lib/unsubscriber.d.ts.map +1 -1
- package/lib/unsubscriber.js +1 -0
- package/lib/unsubscriber.js.map +1 -1
- package/lib/validation/validators.js +2 -2
- package/lib/validation/validators.js.map +1 -1
- package/lib/viewModels/MultiSelectModel.js +2 -2
- package/lib/viewModels/MultiSelectModel.js.map +1 -1
- package/lib/viewModels/PromptModal.js.map +1 -1
- package/lib/viewModels/SelectModel.js +2 -2
- package/lib/viewModels/SelectModel.js.map +1 -1
- package/lib/viewModels/TextModel.js.map +1 -1
- package/package.json +15 -16
- package/src/__tests__/helpers/expect.ts +3 -0
- package/src/__tests__/helpers/main.ts +1 -1
- package/src/lazy/__tests__/lazy.test.ts +94 -0
- package/src/lazy/index.ts +33 -0
- package/src/lazy/light.ts +29 -0
- package/src/lazy/observable.ts +33 -0
- package/src/lazy/promise.ts +48 -0
- package/src/lazy/singleton.ts +32 -0
- package/src/lazy.light.ts +4 -25
- package/src/logger/__tests__/logger.test.ts +7 -7
- package/src/queue/parallel.ts +4 -0
- package/src/unsubscriber.ts +3 -0
- package/src/validation/__tests__/validator.test.ts +1 -1
- package/src/validation/validators.ts +2 -2
- package/src/viewModels/MultiSelectModel.ts +1 -1
- package/src/viewModels/SelectModel.ts +1 -1
- package/yarn.lock +585 -488
- package/lib/lazy.d.ts.map +0 -1
- package/lib/lazy.js +0 -87
- package/lib/lazy.js.map +0 -1
- package/src/lazy.ts +0 -86
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1663871553611" clover="3.2.0">
|
|
3
|
+
<project timestamp="1663871553611" name="All files">
|
|
4
|
+
<metrics statements="1751" coveredstatements="1441" conditionals="907" coveredconditionals="673" methods="519" coveredmethods="373" elements="3177" coveredelements="2487" complexity="0" loc="1751" ncloc="1751" packages="11" files="55" classes="55"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="451" coveredstatements="353" conditionals="188" coveredconditionals="124" methods="143" coveredmethods="109"/>
|
|
7
7
|
<file name="cache.ts" path="/Users/idudinov/projects/zajno-common-utils/src/cache.ts">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="91" coveredstatements="74" conditionals="38" coveredconditionals="23" methods="28" coveredmethods="20"/>
|
|
9
9
|
<line num="1" count="1" type="stmt"/>
|
|
10
10
|
<line num="2" count="1" type="stmt"/>
|
|
11
11
|
<line num="3" count="1" type="stmt"/>
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
<line num="15" count="0" type="stmt"/>
|
|
17
17
|
<line num="16" count="0" type="stmt"/>
|
|
18
18
|
<line num="21" count="1" type="stmt"/>
|
|
19
|
+
<line num="23" count="1" type="stmt"/>
|
|
19
20
|
<line num="24" count="2" type="stmt"/>
|
|
21
|
+
<line num="26" count="1" type="stmt"/>
|
|
20
22
|
<line num="27" count="2" type="stmt"/>
|
|
21
23
|
<line num="29" count="2" type="stmt"/>
|
|
22
24
|
<line num="31" count="2" type="stmt"/>
|
|
@@ -88,7 +90,7 @@
|
|
|
88
90
|
<line num="160" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
89
91
|
<line num="161" count="0" type="stmt"/>
|
|
90
92
|
<line num="164" count="0" type="stmt"/>
|
|
91
|
-
<line num="
|
|
93
|
+
<line num="167" count="1" type="stmt"/>
|
|
92
94
|
<line num="169" count="1" type="stmt"/>
|
|
93
95
|
<line num="170" count="1" type="stmt"/>
|
|
94
96
|
<line num="171" count="1" type="stmt"/>
|
|
@@ -198,15 +200,15 @@
|
|
|
198
200
|
<line num="3" count="3" type="stmt"/>
|
|
199
201
|
<line num="4" count="3" type="stmt"/>
|
|
200
202
|
<line num="13" count="3" type="stmt"/>
|
|
201
|
-
<line num="14" count="
|
|
202
|
-
<line num="15" count="
|
|
203
|
-
<line num="22" count="
|
|
203
|
+
<line num="14" count="14" type="stmt"/>
|
|
204
|
+
<line num="15" count="14" type="stmt"/>
|
|
205
|
+
<line num="22" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
204
206
|
<line num="28" count="5" type="stmt"/>
|
|
205
207
|
<line num="29" count="5" type="stmt"/>
|
|
206
208
|
<line num="30" count="4" type="stmt"/>
|
|
207
209
|
<line num="35" count="4" type="stmt"/>
|
|
208
|
-
<line num="39" count="
|
|
209
|
-
<line num="40" count="
|
|
210
|
+
<line num="39" count="30" type="cond" truecount="1" falsecount="0"/>
|
|
211
|
+
<line num="40" count="14" type="stmt"/>
|
|
210
212
|
<line num="43" count="16" type="stmt"/>
|
|
211
213
|
<line num="44" count="16" type="stmt"/>
|
|
212
214
|
<line num="45" count="16" type="stmt"/>
|
|
@@ -237,20 +239,6 @@
|
|
|
237
239
|
<line num="11" count="17" type="cond" truecount="0" falsecount="1"/>
|
|
238
240
|
<line num="12" count="0" type="stmt"/>
|
|
239
241
|
</file>
|
|
240
|
-
<file name="lazy.light.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy.light.ts">
|
|
241
|
-
<metrics statements="11" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="5" coveredmethods="3"/>
|
|
242
|
-
<line num="10" count="3" type="stmt"/>
|
|
243
|
-
<line num="11" count="12" type="stmt"/>
|
|
244
|
-
<line num="12" count="12" type="stmt"/>
|
|
245
|
-
<line num="14" count="12" type="stmt"/>
|
|
246
|
-
<line num="16" count="23" type="cond" truecount="1" falsecount="0"/>
|
|
247
|
-
<line num="17" count="1" type="stmt"/>
|
|
248
|
-
<line num="19" count="23" type="stmt"/>
|
|
249
|
-
<line num="21" count="31" type="stmt"/>
|
|
250
|
-
<line num="23" count="0" type="stmt"/>
|
|
251
|
-
<line num="25" count="0" type="stmt"/>
|
|
252
|
-
<line num="28" count="12" type="stmt"/>
|
|
253
|
-
</file>
|
|
254
242
|
<file name="observersMap.ts" path="/Users/idudinov/projects/zajno-common-utils/src/observersMap.ts">
|
|
255
243
|
<metrics statements="53" coveredstatements="35" conditionals="27" coveredconditionals="12" methods="10" coveredmethods="6"/>
|
|
256
244
|
<line num="1" count="1" type="stmt"/>
|
|
@@ -499,7 +487,12 @@
|
|
|
499
487
|
</file>
|
|
500
488
|
</package>
|
|
501
489
|
<package name="src.__tests__.helpers">
|
|
502
|
-
<metrics statements="
|
|
490
|
+
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
491
|
+
<file name="expect.ts" path="/Users/idudinov/projects/zajno-common-utils/src/__tests__/helpers/expect.ts">
|
|
492
|
+
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
493
|
+
<line num="1" count="1" type="stmt"/>
|
|
494
|
+
<line num="3" count="1" type="stmt"/>
|
|
495
|
+
</file>
|
|
503
496
|
<file name="main.ts" path="/Users/idudinov/projects/zajno-common-utils/src/__tests__/helpers/main.ts">
|
|
504
497
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
505
498
|
<line num="1" count="2" type="stmt"/>
|
|
@@ -538,23 +531,23 @@
|
|
|
538
531
|
</file>
|
|
539
532
|
<file name="timeout.ts" path="/Users/idudinov/projects/zajno-common-utils/src/async/timeout.ts">
|
|
540
533
|
<metrics statements="45" coveredstatements="30" conditionals="14" coveredconditionals="7" methods="14" coveredmethods="10"/>
|
|
541
|
-
<line num="2" count="
|
|
542
|
-
<line num="3" count="
|
|
543
|
-
<line num="6" count="
|
|
544
|
-
<line num="7" count="
|
|
545
|
-
<line num="8" count="
|
|
546
|
-
<line num="9" count="
|
|
547
|
-
<line num="10" count="
|
|
548
|
-
<line num="11" count="
|
|
549
|
-
<line num="16" count="
|
|
534
|
+
<line num="2" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
535
|
+
<line num="3" count="18" type="stmt"/>
|
|
536
|
+
<line num="6" count="18" type="stmt"/>
|
|
537
|
+
<line num="7" count="18" type="stmt"/>
|
|
538
|
+
<line num="8" count="18" type="stmt"/>
|
|
539
|
+
<line num="9" count="18" type="stmt"/>
|
|
540
|
+
<line num="10" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
541
|
+
<line num="11" count="18" type="stmt"/>
|
|
542
|
+
<line num="16" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
550
543
|
<line num="17" count="0" type="stmt"/>
|
|
551
544
|
<line num="18" count="0" type="stmt"/>
|
|
552
545
|
<line num="19" count="0" type="stmt"/>
|
|
553
546
|
<line num="20" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
554
547
|
<line num="21" count="0" type="stmt"/>
|
|
555
548
|
<line num="24" count="0" type="stmt"/>
|
|
556
|
-
<line num="27" count="
|
|
557
|
-
<line num="32" count="
|
|
549
|
+
<line num="27" count="18" type="stmt"/>
|
|
550
|
+
<line num="32" count="6" type="stmt"/>
|
|
558
551
|
<line num="33" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
559
552
|
<line num="34" count="0" type="stmt"/>
|
|
560
553
|
<line num="37" count="0" type="stmt"/>
|
|
@@ -564,7 +557,7 @@
|
|
|
564
557
|
<line num="42" count="0" type="stmt"/>
|
|
565
558
|
<line num="44" count="0" type="stmt"/>
|
|
566
559
|
<line num="48" count="0" type="stmt"/>
|
|
567
|
-
<line num="52" count="
|
|
560
|
+
<line num="52" count="6" type="stmt"/>
|
|
568
561
|
<line num="53" count="3" type="stmt"/>
|
|
569
562
|
<line num="55" count="3" type="stmt"/>
|
|
570
563
|
<line num="56" count="3" type="stmt"/>
|
|
@@ -1007,6 +1000,75 @@
|
|
|
1007
1000
|
<line num="120" count="5" type="stmt"/>
|
|
1008
1001
|
</file>
|
|
1009
1002
|
</package>
|
|
1003
|
+
<package name="src.lazy">
|
|
1004
|
+
<metrics statements="54" coveredstatements="51" conditionals="8" coveredconditionals="7" methods="22" coveredmethods="19"/>
|
|
1005
|
+
<file name="light.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy/light.ts">
|
|
1006
|
+
<metrics statements="11" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="5" coveredmethods="3"/>
|
|
1007
|
+
<line num="10" count="3" type="stmt"/>
|
|
1008
|
+
<line num="11" count="12" type="stmt"/>
|
|
1009
|
+
<line num="12" count="12" type="stmt"/>
|
|
1010
|
+
<line num="14" count="12" type="stmt"/>
|
|
1011
|
+
<line num="16" count="23" type="cond" truecount="1" falsecount="0"/>
|
|
1012
|
+
<line num="17" count="1" type="stmt"/>
|
|
1013
|
+
<line num="19" count="23" type="stmt"/>
|
|
1014
|
+
<line num="21" count="31" type="stmt"/>
|
|
1015
|
+
<line num="23" count="0" type="stmt"/>
|
|
1016
|
+
<line num="25" count="0" type="stmt"/>
|
|
1017
|
+
<line num="28" count="12" type="stmt"/>
|
|
1018
|
+
</file>
|
|
1019
|
+
<file name="observable.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy/observable.ts">
|
|
1020
|
+
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
1021
|
+
<line num="1" count="1" type="stmt"/>
|
|
1022
|
+
<line num="2" count="1" type="stmt"/>
|
|
1023
|
+
<line num="3" count="1" type="stmt"/>
|
|
1024
|
+
<line num="5" count="1" type="stmt"/>
|
|
1025
|
+
<line num="8" count="1" type="stmt"/>
|
|
1026
|
+
<line num="10" count="1" type="stmt"/>
|
|
1027
|
+
<line num="18" count="1" type="stmt"/>
|
|
1028
|
+
<line num="24" count="1" type="stmt"/>
|
|
1029
|
+
<line num="26" count="1" type="stmt"/>
|
|
1030
|
+
</file>
|
|
1031
|
+
<file name="promise.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy/promise.ts">
|
|
1032
|
+
<metrics statements="22" coveredstatements="22" conditionals="6" coveredconditionals="5" methods="8" coveredmethods="8"/>
|
|
1033
|
+
<line num="3" count="1" type="stmt"/>
|
|
1034
|
+
<line num="5" count="2" type="stmt"/>
|
|
1035
|
+
<line num="6" count="2" type="stmt"/>
|
|
1036
|
+
<line num="8" count="2" type="stmt"/>
|
|
1037
|
+
<line num="11" count="2" type="stmt"/>
|
|
1038
|
+
<line num="12" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1039
|
+
<line num="14" count="2" type="stmt"/>
|
|
1040
|
+
<line num="17" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1041
|
+
<line num="18" count="5" type="stmt"/>
|
|
1042
|
+
<line num="21" count="2" type="stmt"/>
|
|
1043
|
+
<line num="25" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1044
|
+
<line num="26" count="2" type="stmt"/>
|
|
1045
|
+
<line num="27" count="2" type="stmt"/>
|
|
1046
|
+
<line num="28" count="2" type="stmt"/>
|
|
1047
|
+
<line num="31" count="6" type="stmt"/>
|
|
1048
|
+
<line num="34" count="2" type="stmt"/>
|
|
1049
|
+
<line num="35" count="2" type="stmt"/>
|
|
1050
|
+
<line num="36" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1051
|
+
<line num="42" count="1" type="stmt"/>
|
|
1052
|
+
<line num="43" count="1" type="stmt"/>
|
|
1053
|
+
<line num="44" count="1" type="stmt"/>
|
|
1054
|
+
<line num="47" count="2" type="stmt"/>
|
|
1055
|
+
</file>
|
|
1056
|
+
<file name="singleton.ts" path="/Users/idudinov/projects/zajno-common-utils/src/lazy/singleton.ts">
|
|
1057
|
+
<metrics statements="12" coveredstatements="11" conditionals="1" coveredconditionals="1" methods="7" coveredmethods="6"/>
|
|
1058
|
+
<line num="3" count="1" type="stmt"/>
|
|
1059
|
+
<line num="5" count="2" type="stmt"/>
|
|
1060
|
+
<line num="7" count="2" type="stmt"/>
|
|
1061
|
+
<line num="9" count="4" type="stmt"/>
|
|
1062
|
+
<line num="12" count="5" type="stmt"/>
|
|
1063
|
+
<line num="13" count="5" type="stmt"/>
|
|
1064
|
+
<line num="17" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1065
|
+
<line num="18" count="4" type="stmt"/>
|
|
1066
|
+
<line num="23" count="1" type="stmt"/>
|
|
1067
|
+
<line num="24" count="1" type="stmt"/>
|
|
1068
|
+
<line num="28" count="2" type="stmt"/>
|
|
1069
|
+
<line num="31" count="0" type="stmt"/>
|
|
1070
|
+
</file>
|
|
1071
|
+
</package>
|
|
1010
1072
|
<package name="src.logger">
|
|
1011
1073
|
<metrics statements="97" coveredstatements="69" conditionals="40" coveredconditionals="26" methods="35" coveredmethods="24"/>
|
|
1012
1074
|
<file name="batch.ts" path="/Users/idudinov/projects/zajno-common-utils/src/logger/batch.ts">
|
|
@@ -1056,10 +1118,10 @@
|
|
|
1056
1118
|
<line num="14" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1057
1119
|
<line num="16" count="6" type="stmt"/>
|
|
1058
1120
|
<line num="18" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1059
|
-
<line num="19" count="
|
|
1060
|
-
<line num="20" count="
|
|
1061
|
-
<line num="21" count="
|
|
1062
|
-
<line num="22" count="
|
|
1121
|
+
<line num="19" count="66" type="stmt"/>
|
|
1122
|
+
<line num="20" count="66" type="stmt"/>
|
|
1123
|
+
<line num="21" count="66" type="stmt"/>
|
|
1124
|
+
<line num="22" count="66" type="stmt"/>
|
|
1063
1125
|
<line num="25" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
1064
1126
|
<line num="26" count="0" type="stmt"/>
|
|
1065
1127
|
<line num="27" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -1077,9 +1139,9 @@
|
|
|
1077
1139
|
<line num="50" count="29" type="stmt"/>
|
|
1078
1140
|
<line num="52" count="6" type="stmt"/>
|
|
1079
1141
|
<line num="54" count="6" type="stmt"/>
|
|
1080
|
-
<line num="57" count="
|
|
1081
|
-
<line num="58" count="
|
|
1082
|
-
<line num="60" count="
|
|
1142
|
+
<line num="57" count="172" type="cond" truecount="2" falsecount="0"/>
|
|
1143
|
+
<line num="58" count="172" type="stmt"/>
|
|
1144
|
+
<line num="60" count="76" type="stmt"/>
|
|
1083
1145
|
<line num="64" count="35" type="stmt"/>
|
|
1084
1146
|
<line num="68" count="61" type="stmt"/>
|
|
1085
1147
|
</file>
|
|
@@ -1087,21 +1149,21 @@
|
|
|
1087
1149
|
<metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
|
|
1088
1150
|
<line num="3" count="6" type="stmt"/>
|
|
1089
1151
|
<line num="5" count="6" type="stmt"/>
|
|
1090
|
-
<line num="6" count="
|
|
1091
|
-
<line num="7" count="
|
|
1092
|
-
<line num="8" count="
|
|
1093
|
-
<line num="10" count="
|
|
1152
|
+
<line num="6" count="66" type="stmt"/>
|
|
1153
|
+
<line num="7" count="66" type="stmt"/>
|
|
1154
|
+
<line num="8" count="66" type="stmt"/>
|
|
1155
|
+
<line num="10" count="66" type="stmt"/>
|
|
1094
1156
|
<line num="12" count="0" type="stmt"/>
|
|
1095
|
-
<line num="17" count="
|
|
1096
|
-
<line num="19" count="
|
|
1097
|
-
<line num="20" count="
|
|
1157
|
+
<line num="17" count="66" type="stmt"/>
|
|
1158
|
+
<line num="19" count="66" type="cond" truecount="2" falsecount="0"/>
|
|
1159
|
+
<line num="20" count="25" type="stmt"/>
|
|
1098
1160
|
<line num="22" count="41" type="stmt"/>
|
|
1099
|
-
<line num="27" count="
|
|
1100
|
-
<line num="29" count="
|
|
1161
|
+
<line num="27" count="131" type="cond" truecount="2" falsecount="0"/>
|
|
1162
|
+
<line num="29" count="131" type="stmt"/>
|
|
1101
1163
|
<line num="30" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
1102
|
-
<line num="33" count="
|
|
1164
|
+
<line num="33" count="131" type="stmt"/>
|
|
1103
1165
|
<line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1104
|
-
<line num="37" count="
|
|
1166
|
+
<line num="37" count="131" type="stmt"/>
|
|
1105
1167
|
<line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
1106
1168
|
<line num="43" count="103" type="stmt"/>
|
|
1107
1169
|
<line num="44" count="103" type="stmt"/>
|
|
@@ -1113,9 +1175,9 @@
|
|
|
1113
1175
|
<line num="4" count="6" type="stmt"/>
|
|
1114
1176
|
<line num="10" count="6" type="stmt"/>
|
|
1115
1177
|
<line num="12" count="72" type="cond" truecount="1" falsecount="1"/>
|
|
1116
|
-
<line num="14" count="
|
|
1117
|
-
<line num="17" count="
|
|
1118
|
-
<line num="18" count="
|
|
1178
|
+
<line num="14" count="66" type="stmt"/>
|
|
1179
|
+
<line num="17" count="66" type="stmt"/>
|
|
1180
|
+
<line num="18" count="66" type="stmt"/>
|
|
1119
1181
|
<line num="22" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
1120
1182
|
<line num="23" count="106" type="cond" truecount="1" falsecount="1"/>
|
|
1121
1183
|
<line num="24" count="106" type="stmt"/>
|
|
@@ -1334,9 +1396,9 @@
|
|
|
1334
1396
|
</file>
|
|
1335
1397
|
</package>
|
|
1336
1398
|
<package name="src.queue">
|
|
1337
|
-
<metrics statements="
|
|
1399
|
+
<metrics statements="72" coveredstatements="56" conditionals="54" coveredconditionals="24" methods="16" coveredmethods="10"/>
|
|
1338
1400
|
<file name="parallel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/queue/parallel.ts">
|
|
1339
|
-
<metrics statements="
|
|
1401
|
+
<metrics statements="72" coveredstatements="56" conditionals="54" coveredconditionals="24" methods="16" coveredmethods="10"/>
|
|
1340
1402
|
<line num="1" count="1" type="stmt"/>
|
|
1341
1403
|
<line num="2" count="1" type="stmt"/>
|
|
1342
1404
|
<line num="8" count="1" type="stmt"/>
|
|
@@ -1347,65 +1409,68 @@
|
|
|
1347
1409
|
<line num="16" count="1" type="stmt"/>
|
|
1348
1410
|
<line num="18" count="1" type="stmt"/>
|
|
1349
1411
|
<line num="19" count="1" type="stmt"/>
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="22" count="
|
|
1352
|
-
<line num="
|
|
1412
|
+
<line num="20" count="1" type="stmt"/>
|
|
1413
|
+
<line num="22" count="2" type="stmt"/>
|
|
1414
|
+
<line num="23" count="3" type="stmt"/>
|
|
1353
1415
|
<line num="25" count="0" type="stmt"/>
|
|
1354
|
-
<line num="
|
|
1355
|
-
<line num="
|
|
1356
|
-
<line num="
|
|
1357
|
-
<line num="
|
|
1358
|
-
<line num="
|
|
1359
|
-
<line num="41" count="
|
|
1360
|
-
<line num="
|
|
1361
|
-
<line num="
|
|
1362
|
-
<line num="
|
|
1416
|
+
<line num="26" count="0" type="stmt"/>
|
|
1417
|
+
<line num="28" count="0" type="stmt"/>
|
|
1418
|
+
<line num="31" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1419
|
+
<line num="32" count="1" type="stmt"/>
|
|
1420
|
+
<line num="37" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1421
|
+
<line num="41" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
1422
|
+
<line num="43" count="1" type="stmt"/>
|
|
1423
|
+
<line num="44" count="1" type="stmt"/>
|
|
1424
|
+
<line num="48" count="4" type="stmt"/>
|
|
1425
|
+
<line num="49" count="4" type="stmt"/>
|
|
1363
1426
|
<line num="50" count="4" type="stmt"/>
|
|
1364
|
-
<line num="
|
|
1365
|
-
<line num="
|
|
1366
|
-
<line num="
|
|
1367
|
-
<line num="
|
|
1368
|
-
<line num="
|
|
1369
|
-
<line num="
|
|
1370
|
-
<line num="
|
|
1371
|
-
<line num="
|
|
1372
|
-
<line num="
|
|
1427
|
+
<line num="53" count="4" type="stmt"/>
|
|
1428
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1429
|
+
<line num="56" count="0" type="stmt"/>
|
|
1430
|
+
<line num="60" count="0" type="stmt"/>
|
|
1431
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1432
|
+
<line num="62" count="0" type="stmt"/>
|
|
1433
|
+
<line num="64" count="0" type="stmt"/>
|
|
1434
|
+
<line num="66" count="0" type="stmt"/>
|
|
1435
|
+
<line num="71" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1373
1436
|
<line num="72" count="1" type="stmt"/>
|
|
1374
|
-
<line num="
|
|
1375
|
-
<line num="
|
|
1376
|
-
<line num="
|
|
1377
|
-
<line num="
|
|
1378
|
-
<line num="80" count="
|
|
1379
|
-
<line num="
|
|
1380
|
-
<line num="
|
|
1381
|
-
<line num="
|
|
1382
|
-
<line num="
|
|
1383
|
-
<line num="90" count="
|
|
1384
|
-
<line num="
|
|
1385
|
-
<line num="95" count="2" type="stmt"/>
|
|
1437
|
+
<line num="75" count="1" type="stmt"/>
|
|
1438
|
+
<line num="76" count="1" type="stmt"/>
|
|
1439
|
+
<line num="77" count="1" type="stmt"/>
|
|
1440
|
+
<line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1441
|
+
<line num="80" count="0" type="stmt"/>
|
|
1442
|
+
<line num="83" count="1" type="stmt"/>
|
|
1443
|
+
<line num="87" count="4" type="stmt"/>
|
|
1444
|
+
<line num="88" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1445
|
+
<line num="89" count="2" type="stmt"/>
|
|
1446
|
+
<line num="90" count="2" type="stmt"/>
|
|
1447
|
+
<line num="93" count="4" type="stmt"/>
|
|
1386
1448
|
<line num="97" count="2" type="stmt"/>
|
|
1387
|
-
<line num="
|
|
1388
|
-
<line num="100" count="2" type="
|
|
1389
|
-
<line num="
|
|
1390
|
-
<line num="
|
|
1391
|
-
<line num="
|
|
1392
|
-
<line num="107" count="2" type="
|
|
1393
|
-
<line num="109" count="
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1396
|
-
<line num="
|
|
1397
|
-
<line num="
|
|
1398
|
-
<line num="119" count="2" type="
|
|
1399
|
-
<line num="121" count="
|
|
1400
|
-
<line num="122" count="
|
|
1401
|
-
<line num="
|
|
1449
|
+
<line num="98" count="2" type="stmt"/>
|
|
1450
|
+
<line num="100" count="2" type="stmt"/>
|
|
1451
|
+
<line num="102" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1452
|
+
<line num="103" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1453
|
+
<line num="104" count="0" type="stmt"/>
|
|
1454
|
+
<line num="107" count="2" type="cond" truecount="3" falsecount="1"/>
|
|
1455
|
+
<line num="109" count="2" type="stmt"/>
|
|
1456
|
+
<line num="110" count="2" type="stmt"/>
|
|
1457
|
+
<line num="112" count="4" type="stmt"/>
|
|
1458
|
+
<line num="115" count="2" type="cond" truecount="5" falsecount="2"/>
|
|
1459
|
+
<line num="116" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1460
|
+
<line num="119" count="2" type="stmt"/>
|
|
1461
|
+
<line num="121" count="2" type="stmt"/>
|
|
1462
|
+
<line num="122" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1463
|
+
<line num="124" count="1" type="stmt"/>
|
|
1464
|
+
<line num="125" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
1402
1465
|
<line num="126" count="1" type="stmt"/>
|
|
1403
1466
|
<line num="127" count="1" type="stmt"/>
|
|
1404
1467
|
<line num="130" count="1" type="stmt"/>
|
|
1405
|
-
<line num="131" count="
|
|
1406
|
-
<line num="
|
|
1407
|
-
<line num="
|
|
1408
|
-
<line num="
|
|
1468
|
+
<line num="131" count="1" type="stmt"/>
|
|
1469
|
+
<line num="134" count="1" type="stmt"/>
|
|
1470
|
+
<line num="135" count="5" type="stmt"/>
|
|
1471
|
+
<line num="136" count="5" type="stmt"/>
|
|
1472
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
1473
|
+
<line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1409
1474
|
</file>
|
|
1410
1475
|
</package>
|
|
1411
1476
|
<package name="src.validation">
|
|
@@ -1522,7 +1587,7 @@
|
|
|
1522
1587
|
</file>
|
|
1523
1588
|
</package>
|
|
1524
1589
|
<package name="src.viewModels">
|
|
1525
|
-
<metrics statements="
|
|
1590
|
+
<metrics statements="335" coveredstatements="254" conditionals="84" coveredconditionals="49" methods="144" coveredmethods="91"/>
|
|
1526
1591
|
<file name="CommonModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/CommonModel.ts">
|
|
1527
1592
|
<metrics statements="19" coveredstatements="19" conditionals="7" coveredconditionals="3" methods="6" coveredmethods="6"/>
|
|
1528
1593
|
<line num="1" count="1" type="stmt"/>
|
|
@@ -1763,7 +1828,7 @@
|
|
|
1763
1828
|
<line num="150" count="3" type="stmt"/>
|
|
1764
1829
|
</file>
|
|
1765
1830
|
<file name="TextModel.ts" path="/Users/idudinov/projects/zajno-common-utils/src/viewModels/TextModel.ts">
|
|
1766
|
-
<metrics statements="
|
|
1831
|
+
<metrics statements="53" coveredstatements="25" conditionals="20" coveredconditionals="7" methods="21" coveredmethods="5"/>
|
|
1767
1832
|
<line num="1" count="1" type="stmt"/>
|
|
1768
1833
|
<line num="2" count="1" type="stmt"/>
|
|
1769
1834
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -1774,7 +1839,8 @@
|
|
|
1774
1839
|
<line num="23" count="0" type="stmt"/>
|
|
1775
1840
|
<line num="24" count="0" type="stmt"/>
|
|
1776
1841
|
<line num="30" count="1" type="stmt"/>
|
|
1777
|
-
<line num="
|
|
1842
|
+
<line num="31" count="1" type="stmt"/>
|
|
1843
|
+
<line num="32" count="0" type="stmt"/>
|
|
1778
1844
|
<line num="35" count="0" type="stmt"/>
|
|
1779
1845
|
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1780
1846
|
<line num="39" count="0" type="stmt"/>
|