@zajno/common 1.3.0 → 1.3.4
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/.github/workflows/CI.yml +8 -0
- package/coverage/clover.xml +466 -398
- package/coverage/coverage-final.json +39 -38
- package/coverage/lcov-report/NumberModel.ts.html +188 -0
- package/coverage/lcov-report/arrays.ts.html +602 -0
- package/coverage/lcov-report/calc.ts.html +278 -0
- package/coverage/lcov-report/enumHelper.ts.html +449 -0
- package/coverage/lcov-report/index.html +44 -44
- package/coverage/lcov-report/src/__tests__/helpers/index.html +1 -1
- 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/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/enumHelper.ts.html +1 -1
- package/coverage/lcov-report/src/event.ts.html +3 -3
- package/coverage/lcov-report/src/index.html +21 -21
- package/coverage/lcov-report/src/lazy.light.ts.html +3 -3
- package/coverage/lcov-report/src/logger/batch.ts.html +107 -0
- package/coverage/lcov-report/src/logger/console.ts.html +10 -25
- package/coverage/lcov-report/src/logger/index.html +54 -39
- package/coverage/lcov-report/src/logger/index.ts.html +88 -61
- package/coverage/lcov-report/src/logger/named.ts.html +31 -31
- package/coverage/lcov-report/src/logger/proxy.ts.html +13 -13
- package/coverage/lcov-report/src/math/arrays.ts.html +293 -32
- package/coverage/lcov-report/src/math/calc.ts.html +11 -11
- package/coverage/lcov-report/src/math/distribution.ts.html +2 -2
- package/coverage/lcov-report/src/math/index.html +11 -11
- package/coverage/lcov-report/src/math/index.ts.html +6 -6
- package/coverage/lcov-report/src/transitionObserver.ts.html +5 -5
- package/coverage/lcov-report/src/types.ts.html +33 -18
- 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 +1 -1
- package/coverage/lcov-report/src/validation/wrappers.ts.html +1 -1
- package/coverage/lcov-report/src/viewModels/FlagModel.ts.html +21 -18
- package/coverage/lcov-report/src/viewModels/LabeledFlagModel.ts.html +17 -26
- package/coverage/lcov-report/src/viewModels/MultiSelectModel.ts.html +136 -94
- package/coverage/lcov-report/src/viewModels/NumberModel.ts.html +19 -10
- package/coverage/lcov-report/src/viewModels/SelectModel.ts.html +19 -10
- package/coverage/lcov-report/src/viewModels/SelectViewModel.ts.html +17 -14
- package/coverage/lcov-report/src/viewModels/Validatable.ts.html +12 -12
- package/coverage/lcov-report/src/viewModels/index.html +45 -45
- package/coverage/lcov-report/src/viewModels/labeled.ts.html +128 -0
- package/coverage/lcov-report/src/viewModels/wrappers.ts.html +3 -15
- package/coverage/lcov-report/transitionObserver.ts.html +41 -77
- package/coverage/lcov.info +871 -720
- package/lib/event.d.ts.map +1 -1
- package/lib/event.js +1 -1
- package/lib/event.js.map +1 -1
- package/lib/logger/batch.d.ts +3 -0
- package/lib/logger/batch.d.ts.map +1 -0
- package/lib/logger/batch.js +12 -0
- package/lib/logger/batch.js.map +1 -0
- package/lib/logger/console.d.ts +0 -1
- package/lib/logger/console.d.ts.map +1 -1
- package/lib/logger/console.js +0 -3
- package/lib/logger/console.js.map +1 -1
- package/lib/logger/file.d.ts +15 -0
- package/lib/logger/file.d.ts.map +1 -0
- package/lib/logger/file.js +43 -0
- package/lib/logger/file.js.map +1 -0
- package/lib/logger/index.d.ts +7 -6
- package/lib/logger/index.d.ts.map +1 -1
- package/lib/logger/index.js +34 -21
- package/lib/logger/index.js.map +1 -1
- package/lib/logger/named.js +3 -3
- package/lib/logger/named.js.map +1 -1
- package/lib/logger/proxy.d.ts +1 -1
- package/lib/logger/proxy.d.ts.map +1 -1
- package/lib/logger/proxy.js +2 -2
- package/lib/logger/proxy.js.map +1 -1
- package/lib/math/arrays.d.ts +16 -0
- package/lib/math/arrays.d.ts.map +1 -1
- package/lib/math/arrays.js +77 -1
- package/lib/math/arrays.js.map +1 -1
- package/lib/transitionObserver.d.ts.map +1 -1
- package/lib/transitionObserver.js +2 -2
- package/lib/transitionObserver.js.map +1 -1
- package/lib/types.d.ts +4 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js +6 -2
- package/lib/types.js.map +1 -1
- package/lib/viewModels/FlagModel.d.ts +4 -4
- package/lib/viewModels/FlagModel.d.ts.map +1 -1
- package/lib/viewModels/FlagModel.js +1 -0
- package/lib/viewModels/FlagModel.js.map +1 -1
- package/lib/viewModels/MultiSelectModel.d.ts +9 -3
- package/lib/viewModels/MultiSelectModel.d.ts.map +1 -1
- package/lib/viewModels/MultiSelectModel.js +16 -2
- package/lib/viewModels/MultiSelectModel.js.map +1 -1
- package/lib/viewModels/NumberModel.d.ts +4 -2
- package/lib/viewModels/NumberModel.d.ts.map +1 -1
- package/lib/viewModels/NumberModel.js +1 -0
- package/lib/viewModels/NumberModel.js.map +1 -1
- package/lib/viewModels/PromptModal.d.ts.map +1 -1
- package/lib/viewModels/PromptModal.js +1 -1
- package/lib/viewModels/PromptModal.js.map +1 -1
- package/lib/viewModels/SelectModel.d.ts +4 -2
- package/lib/viewModels/SelectModel.d.ts.map +1 -1
- package/lib/viewModels/SelectModel.js +1 -0
- package/lib/viewModels/SelectModel.js.map +1 -1
- package/lib/viewModels/TextModel.d.ts +4 -3
- package/lib/viewModels/TextModel.d.ts.map +1 -1
- package/lib/viewModels/TextModel.js +5 -5
- package/lib/viewModels/TextModel.js.map +1 -1
- package/lib/viewModels/ValuesCollector.d.ts +1 -3
- package/lib/viewModels/ValuesCollector.d.ts.map +1 -1
- package/lib/viewModels/ValuesCollector.js.map +1 -1
- package/lib/viewModels/index.d.ts +1 -0
- package/lib/viewModels/index.d.ts.map +1 -1
- package/lib/viewModels/index.js +1 -0
- package/lib/viewModels/index.js.map +1 -1
- package/lib/viewModels/types.d.ts +16 -0
- package/lib/viewModels/types.d.ts.map +1 -0
- package/lib/viewModels/types.js +3 -0
- package/lib/viewModels/types.js.map +1 -0
- package/lib/viewModels/wrappers.d.ts +1 -4
- package/lib/viewModels/wrappers.d.ts.map +1 -1
- package/lib/viewModels/wrappers.js.map +1 -1
- package/package.json +1 -1
- package/src/event.ts +2 -2
- package/src/logger/__tests__/{index.test.ts → logger.test.ts} +97 -41
- package/src/logger/batch.ts +9 -0
- package/src/logger/console.ts +0 -5
- package/src/logger/file.ts +46 -0
- package/src/logger/index.ts +37 -28
- package/src/logger/named.ts +3 -3
- package/src/logger/proxy.ts +2 -2
- package/src/math/__tests__/arrays.test.ts +53 -0
- package/src/math/arrays.ts +87 -0
- package/src/transitionObserver.ts +2 -2
- package/src/types.ts +6 -1
- package/src/viewModels/FlagModel.ts +5 -4
- package/src/viewModels/MultiSelectModel.ts +19 -5
- package/src/viewModels/NumberModel.ts +5 -2
- package/src/viewModels/PromptModal.ts +1 -1
- package/src/viewModels/SelectModel.ts +5 -2
- package/src/viewModels/TextModel.ts +5 -4
- package/src/viewModels/ValuesCollector.ts +1 -4
- package/src/viewModels/__tests__/multiSelect.test.ts +127 -12
- package/src/viewModels/index.ts +1 -0
- package/src/viewModels/types.ts +19 -0
- package/src/viewModels/wrappers.ts +1 -5
- package/yarn-error.log +0 -3709
package/coverage/clover.xml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1638281290821" clover="3.2.0">
|
|
3
|
+
<project timestamp="1638281290822" name="All files">
|
|
4
|
+
<metrics statements="1133" coveredstatements="984" conditionals="693" coveredconditionals="568" methods="336" coveredmethods="251" elements="2162" coveredelements="1803" complexity="0" loc="1133" ncloc="1133" packages="8" files="39" classes="39"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
7
|
-
<file name="enumHelper.ts" path="/Users/idudinov/projects/
|
|
6
|
+
<metrics statements="175" coveredstatements="154" conditionals="99" coveredconditionals="82" methods="66" coveredmethods="54"/>
|
|
7
|
+
<file name="enumHelper.ts" path="/Users/idudinov/projects/common-utils/src/enumHelper.ts">
|
|
8
8
|
<metrics statements="50" coveredstatements="50" conditionals="41" coveredconditionals="36" methods="25" coveredmethods="25"/>
|
|
9
9
|
<line num="1" count="5" type="stmt"/>
|
|
10
10
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<line num="117" count="14" type="stmt"/>
|
|
58
58
|
<line num="121" count="1" type="stmt"/>
|
|
59
59
|
</file>
|
|
60
|
-
<file name="event.ts" path="/Users/idudinov/projects/
|
|
60
|
+
<file name="event.ts" path="/Users/idudinov/projects/common-utils/src/event.ts">
|
|
61
61
|
<metrics statements="23" coveredstatements="13" conditionals="6" coveredconditionals="4" methods="11" coveredmethods="4"/>
|
|
62
62
|
<line num="1" count="1" type="stmt"/>
|
|
63
63
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -83,18 +83,18 @@
|
|
|
83
83
|
<line num="60" count="0" type="stmt"/>
|
|
84
84
|
<line num="64" count="0" type="stmt"/>
|
|
85
85
|
</file>
|
|
86
|
-
<file name="lazy.light.ts" path="/Users/idudinov/projects/
|
|
86
|
+
<file name="lazy.light.ts" path="/Users/idudinov/projects/common-utils/src/lazy.light.ts">
|
|
87
87
|
<metrics statements="7" coveredstatements="6" conditionals="2" coveredconditionals="2" methods="4" coveredmethods="3"/>
|
|
88
88
|
<line num="9" count="2" type="stmt"/>
|
|
89
|
-
<line num="10" count="
|
|
89
|
+
<line num="10" count="11" type="stmt"/>
|
|
90
90
|
<line num="14" count="19" type="cond" truecount="2" falsecount="0"/>
|
|
91
91
|
<line num="15" count="1" type="stmt"/>
|
|
92
92
|
<line num="17" count="19" type="stmt"/>
|
|
93
|
-
<line num="19" count="
|
|
93
|
+
<line num="19" count="27" type="stmt"/>
|
|
94
94
|
<line num="21" count="0" type="stmt"/>
|
|
95
95
|
</file>
|
|
96
|
-
<file name="transitionObserver.ts" path="/Users/idudinov/projects/
|
|
97
|
-
<metrics statements="86" coveredstatements="77" conditionals="
|
|
96
|
+
<file name="transitionObserver.ts" path="/Users/idudinov/projects/common-utils/src/transitionObserver.ts">
|
|
97
|
+
<metrics statements="86" coveredstatements="77" conditionals="42" coveredconditionals="33" methods="22" coveredmethods="18"/>
|
|
98
98
|
<line num="1" count="1" type="stmt"/>
|
|
99
99
|
<line num="2" count="1" type="stmt"/>
|
|
100
100
|
<line num="3" count="1" type="stmt"/>
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
<line num="106" count="3" type="stmt"/>
|
|
152
152
|
<line num="108" count="3" type="stmt"/>
|
|
153
153
|
<line num="112" count="0" type="stmt"/>
|
|
154
|
-
<line num="118" count="0" type="
|
|
154
|
+
<line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
155
155
|
<line num="119" count="0" type="stmt"/>
|
|
156
156
|
<line num="122" count="7" type="stmt"/>
|
|
157
157
|
<line num="123" count="12" type="stmt"/>
|
|
@@ -182,32 +182,34 @@
|
|
|
182
182
|
<line num="172" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
183
183
|
<line num="173" count="3" type="stmt"/>
|
|
184
184
|
</file>
|
|
185
|
-
<file name="types.ts" path="/Users/idudinov/projects/
|
|
186
|
-
<metrics statements="
|
|
187
|
-
<line num="9" count="
|
|
188
|
-
<line num="10" count="
|
|
189
|
-
<line num="11" count="
|
|
190
|
-
<line num="12" count="
|
|
191
|
-
<line num="14" count="
|
|
192
|
-
<line num="15" count="
|
|
185
|
+
<file name="types.ts" path="/Users/idudinov/projects/common-utils/src/types.ts">
|
|
186
|
+
<metrics statements="9" coveredstatements="8" conditionals="8" coveredconditionals="7" methods="4" coveredmethods="4"/>
|
|
187
|
+
<line num="9" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
188
|
+
<line num="10" count="8" type="stmt"/>
|
|
189
|
+
<line num="11" count="80" type="cond" truecount="2" falsecount="0"/>
|
|
190
|
+
<line num="12" count="6" type="stmt"/>
|
|
191
|
+
<line num="14" count="74" type="cond" truecount="1" falsecount="1"/>
|
|
192
|
+
<line num="15" count="74" type="stmt"/>
|
|
193
193
|
<line num="17" count="0" type="stmt"/>
|
|
194
|
+
<line num="24" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
195
|
+
<line num="25" count="8" type="stmt"/>
|
|
194
196
|
</file>
|
|
195
197
|
</package>
|
|
196
198
|
<package name="src.__tests__.helpers">
|
|
197
199
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
198
|
-
<file name="main.ts" path="/Users/idudinov/projects/
|
|
200
|
+
<file name="main.ts" path="/Users/idudinov/projects/common-utils/src/__tests__/helpers/main.ts">
|
|
199
201
|
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
200
202
|
<line num="1" count="2" type="stmt"/>
|
|
201
203
|
<line num="2" count="2" type="stmt"/>
|
|
202
204
|
<line num="4" count="2" type="stmt"/>
|
|
203
|
-
<line num="5" count="
|
|
205
|
+
<line num="5" count="15" type="stmt"/>
|
|
204
206
|
<line num="9" count="833" type="stmt"/>
|
|
205
207
|
<line num="10" count="833" type="stmt"/>
|
|
206
208
|
</file>
|
|
207
209
|
</package>
|
|
208
210
|
<package name="src.async">
|
|
209
211
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
210
|
-
<file name="arrays.ts" path="/Users/idudinov/projects/
|
|
212
|
+
<file name="arrays.ts" path="/Users/idudinov/projects/common-utils/src/async/arrays.ts">
|
|
211
213
|
<metrics statements="21" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
212
214
|
<line num="3" count="3" type="stmt"/>
|
|
213
215
|
<line num="4" count="0" type="stmt"/>
|
|
@@ -234,7 +236,7 @@
|
|
|
234
236
|
</package>
|
|
235
237
|
<package name="src.dates">
|
|
236
238
|
<metrics statements="332" coveredstatements="332" conditionals="289" coveredconditionals="284" methods="59" coveredmethods="59"/>
|
|
237
|
-
<file name="calc.ts" path="/Users/idudinov/projects/
|
|
239
|
+
<file name="calc.ts" path="/Users/idudinov/projects/common-utils/src/dates/calc.ts">
|
|
238
240
|
<metrics statements="40" coveredstatements="40" conditionals="30" coveredconditionals="29" methods="7" coveredmethods="7"/>
|
|
239
241
|
<line num="1" count="1" type="stmt"/>
|
|
240
242
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -277,7 +279,7 @@
|
|
|
277
279
|
<line num="69" count="1" type="stmt"/>
|
|
278
280
|
<line num="71" count="1" type="stmt"/>
|
|
279
281
|
</file>
|
|
280
|
-
<file name="convert.ts" path="/Users/idudinov/projects/
|
|
282
|
+
<file name="convert.ts" path="/Users/idudinov/projects/common-utils/src/dates/convert.ts">
|
|
281
283
|
<metrics statements="109" coveredstatements="109" conditionals="59" coveredconditionals="59" methods="18" coveredmethods="18"/>
|
|
282
284
|
<line num="1" count="1" type="stmt"/>
|
|
283
285
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -389,7 +391,7 @@
|
|
|
389
391
|
<line num="197" count="12" type="stmt"/>
|
|
390
392
|
<line num="201" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
391
393
|
</file>
|
|
392
|
-
<file name="datex.ts" path="/Users/idudinov/projects/
|
|
394
|
+
<file name="datex.ts" path="/Users/idudinov/projects/common-utils/src/dates/datex.ts">
|
|
393
395
|
<metrics statements="25" coveredstatements="25" conditionals="50" coveredconditionals="50" methods="4" coveredmethods="4"/>
|
|
394
396
|
<line num="3" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
395
397
|
<line num="4" count="1" type="stmt"/>
|
|
@@ -417,7 +419,7 @@
|
|
|
417
419
|
<line num="37" count="7" type="stmt"/>
|
|
418
420
|
<line num="40" count="329" type="cond" truecount="2" falsecount="0"/>
|
|
419
421
|
</file>
|
|
420
|
-
<file name="format.ts" path="/Users/idudinov/projects/
|
|
422
|
+
<file name="format.ts" path="/Users/idudinov/projects/common-utils/src/dates/format.ts">
|
|
421
423
|
<metrics statements="51" coveredstatements="51" conditionals="54" coveredconditionals="53" methods="10" coveredmethods="10"/>
|
|
422
424
|
<line num="1" count="1" type="stmt"/>
|
|
423
425
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -471,7 +473,7 @@
|
|
|
471
473
|
<line num="96" count="8" type="stmt"/>
|
|
472
474
|
<line num="101" count="7" type="stmt"/>
|
|
473
475
|
</file>
|
|
474
|
-
<file name="index.ts" path="/Users/idudinov/projects/
|
|
476
|
+
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/dates/index.ts">
|
|
475
477
|
<metrics statements="9" coveredstatements="9" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
476
478
|
<line num="1" count="1" type="stmt"/>
|
|
477
479
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -483,7 +485,7 @@
|
|
|
483
485
|
<line num="8" count="1" type="stmt"/>
|
|
484
486
|
<line num="9" count="1" type="stmt"/>
|
|
485
487
|
</file>
|
|
486
|
-
<file name="parse.ts" path="/Users/idudinov/projects/
|
|
488
|
+
<file name="parse.ts" path="/Users/idudinov/projects/common-utils/src/dates/parse.ts">
|
|
487
489
|
<metrics statements="7" coveredstatements="7" conditionals="5" coveredconditionals="5" methods="2" coveredmethods="2"/>
|
|
488
490
|
<line num="2" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
489
491
|
<line num="4" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
@@ -493,7 +495,7 @@
|
|
|
493
495
|
<line num="8" count="1" type="stmt"/>
|
|
494
496
|
<line num="10" count="1" type="stmt"/>
|
|
495
497
|
</file>
|
|
496
|
-
<file name="period.ts" path="/Users/idudinov/projects/
|
|
498
|
+
<file name="period.ts" path="/Users/idudinov/projects/common-utils/src/dates/period.ts">
|
|
497
499
|
<metrics statements="11" coveredstatements="11" conditionals="7" coveredconditionals="6" methods="5" coveredmethods="5"/>
|
|
498
500
|
<line num="1" count="1" type="stmt"/>
|
|
499
501
|
<line num="5" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -507,7 +509,7 @@
|
|
|
507
509
|
<line num="19" count="1" type="stmt"/>
|
|
508
510
|
<line num="20" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
509
511
|
</file>
|
|
510
|
-
<file name="shift.ts" path="/Users/idudinov/projects/
|
|
512
|
+
<file name="shift.ts" path="/Users/idudinov/projects/common-utils/src/dates/shift.ts">
|
|
511
513
|
<metrics statements="54" coveredstatements="54" conditionals="22" coveredconditionals="22" methods="5" coveredmethods="5"/>
|
|
512
514
|
<line num="1" count="1" type="stmt"/>
|
|
513
515
|
<line num="2" count="1" type="stmt"/>
|
|
@@ -564,7 +566,7 @@
|
|
|
564
566
|
<line num="88" count="32" type="stmt"/>
|
|
565
567
|
<line num="89" count="32" type="stmt"/>
|
|
566
568
|
</file>
|
|
567
|
-
<file name="types.ts" path="/Users/idudinov/projects/
|
|
569
|
+
<file name="types.ts" path="/Users/idudinov/projects/common-utils/src/dates/types.ts">
|
|
568
570
|
<metrics statements="10" coveredstatements="10" conditionals="9" coveredconditionals="9" methods="2" coveredmethods="2"/>
|
|
569
571
|
<line num="5" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
570
572
|
<line num="6" count="1" type="stmt"/>
|
|
@@ -577,7 +579,7 @@
|
|
|
577
579
|
<line num="24" count="17" type="stmt"/>
|
|
578
580
|
<line num="27" count="3" type="stmt"/>
|
|
579
581
|
</file>
|
|
580
|
-
<file name="yearDate.ts" path="/Users/idudinov/projects/
|
|
582
|
+
<file name="yearDate.ts" path="/Users/idudinov/projects/common-utils/src/dates/yearDate.ts">
|
|
581
583
|
<metrics statements="16" coveredstatements="16" conditionals="53" coveredconditionals="51" methods="6" coveredmethods="6"/>
|
|
582
584
|
<line num="1" count="1" type="stmt"/>
|
|
583
585
|
<line num="6" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -598,230 +600,285 @@
|
|
|
598
600
|
</file>
|
|
599
601
|
</package>
|
|
600
602
|
<package name="src.logger">
|
|
601
|
-
<metrics statements="
|
|
602
|
-
<file name="
|
|
603
|
-
<metrics statements="
|
|
603
|
+
<metrics statements="97" coveredstatements="69" conditionals="46" coveredconditionals="27" methods="35" coveredmethods="24"/>
|
|
604
|
+
<file name="batch.ts" path="/Users/idudinov/projects/common-utils/src/logger/batch.ts">
|
|
605
|
+
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
|
|
606
|
+
<line num="3" count="2" type="stmt"/>
|
|
607
|
+
<line num="4" count="3" type="stmt"/>
|
|
608
|
+
<line num="5" count="2" type="stmt"/>
|
|
609
|
+
<line num="6" count="2" type="stmt"/>
|
|
610
|
+
<line num="7" count="2" type="stmt"/>
|
|
611
|
+
</file>
|
|
612
|
+
<file name="console.ts" path="/Users/idudinov/projects/common-utils/src/logger/console.ts">
|
|
613
|
+
<metrics statements="24" coveredstatements="4" conditionals="10" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
604
614
|
<line num="2" count="2" type="stmt"/>
|
|
605
615
|
<line num="4" count="2" type="stmt"/>
|
|
606
616
|
<line num="6" count="2" type="stmt"/>
|
|
607
|
-
<line num="
|
|
608
|
-
<line num="
|
|
609
|
-
<line num="
|
|
610
|
-
<line num="
|
|
611
|
-
<line num="
|
|
612
|
-
<line num="
|
|
613
|
-
<line num="
|
|
614
|
-
<line num="
|
|
617
|
+
<line num="7" count="0" type="stmt"/>
|
|
618
|
+
<line num="10" count="2" type="stmt"/>
|
|
619
|
+
<line num="11" count="0" type="stmt"/>
|
|
620
|
+
<line num="12" count="0" type="stmt"/>
|
|
621
|
+
<line num="13" count="0" type="stmt"/>
|
|
622
|
+
<line num="15" count="0" type="stmt"/>
|
|
623
|
+
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
624
|
+
<line num="22" count="0" type="stmt"/>
|
|
625
|
+
<line num="26" count="0" type="stmt"/>
|
|
615
626
|
<line num="27" count="0" type="stmt"/>
|
|
616
627
|
<line num="31" count="0" type="stmt"/>
|
|
617
628
|
<line num="32" count="0" type="stmt"/>
|
|
618
|
-
<line num="36" count="0" type="
|
|
629
|
+
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
619
630
|
<line num="37" count="0" type="stmt"/>
|
|
620
|
-
<line num="
|
|
621
|
-
<line num="
|
|
622
|
-
<line num="
|
|
623
|
-
<line num="
|
|
624
|
-
<line num="
|
|
625
|
-
<line num="
|
|
626
|
-
<line num="
|
|
627
|
-
<line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
628
|
-
<line num="53" count="0" type="stmt"/>
|
|
631
|
+
<line num="38" count="0" type="stmt"/>
|
|
632
|
+
<line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
633
|
+
<line num="44" count="0" type="stmt"/>
|
|
634
|
+
<line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
635
|
+
<line num="46" count="0" type="stmt"/>
|
|
636
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
637
|
+
<line num="48" count="0" type="stmt"/>
|
|
629
638
|
</file>
|
|
630
|
-
<file name="index.ts" path="/Users/idudinov/projects/
|
|
631
|
-
<metrics statements="
|
|
632
|
-
<line num="
|
|
639
|
+
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/logger/index.ts">
|
|
640
|
+
<metrics statements="36" coveredstatements="30" conditionals="18" coveredconditionals="13" methods="10" coveredmethods="7"/>
|
|
641
|
+
<line num="1" count="2" type="stmt"/>
|
|
633
642
|
<line num="3" count="2" type="stmt"/>
|
|
643
|
+
<line num="4" count="2" type="stmt"/>
|
|
634
644
|
<line num="5" count="2" type="stmt"/>
|
|
635
|
-
<line num="
|
|
636
|
-
<line num="
|
|
637
|
-
<line num="
|
|
638
|
-
<line num="
|
|
639
|
-
<line num="
|
|
640
|
-
<line num="
|
|
641
|
-
<line num="
|
|
642
|
-
<line num="
|
|
643
|
-
<line num="
|
|
644
|
-
<line num="
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="
|
|
648
|
-
<line num="
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="
|
|
651
|
-
<line num="
|
|
652
|
-
<line num="
|
|
653
|
-
<line num="
|
|
654
|
-
<line num="
|
|
655
|
-
<line num="
|
|
656
|
-
<line num="
|
|
657
|
-
<line num="
|
|
658
|
-
<line num="
|
|
645
|
+
<line num="6" count="2" type="stmt"/>
|
|
646
|
+
<line num="8" count="2" type="stmt"/>
|
|
647
|
+
<line num="9" count="5" type="stmt"/>
|
|
648
|
+
<line num="14" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
649
|
+
<line num="16" count="2" type="stmt"/>
|
|
650
|
+
<line num="18" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
651
|
+
<line num="19" count="52" type="stmt"/>
|
|
652
|
+
<line num="20" count="52" type="stmt"/>
|
|
653
|
+
<line num="21" count="52" type="stmt"/>
|
|
654
|
+
<line num="22" count="52" type="stmt"/>
|
|
655
|
+
<line num="25" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
656
|
+
<line num="26" count="0" type="stmt"/>
|
|
657
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
658
|
+
<line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
659
|
+
<line num="29" count="0" type="stmt"/>
|
|
660
|
+
<line num="31" count="0" type="stmt"/>
|
|
661
|
+
<line num="33" count="0" type="stmt"/>
|
|
662
|
+
<line num="36" count="2" type="stmt"/>
|
|
663
|
+
<line num="37" count="38" type="cond" truecount="2" falsecount="0"/>
|
|
664
|
+
<line num="38" count="15" type="stmt"/>
|
|
665
|
+
<line num="41" count="23" type="stmt"/>
|
|
666
|
+
<line num="43" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
667
|
+
<line num="44" count="62" type="stmt"/>
|
|
668
|
+
<line num="46" count="105" type="stmt"/>
|
|
669
|
+
<line num="50" count="29" type="stmt"/>
|
|
670
|
+
<line num="52" count="2" type="stmt"/>
|
|
671
|
+
<line num="54" count="2" type="stmt"/>
|
|
672
|
+
<line num="57" count="157" type="cond" truecount="2" falsecount="0"/>
|
|
673
|
+
<line num="58" count="157" type="stmt"/>
|
|
674
|
+
<line num="60" count="71" type="stmt"/>
|
|
675
|
+
<line num="64" count="25" type="stmt"/>
|
|
676
|
+
<line num="68" count="61" type="stmt"/>
|
|
659
677
|
</file>
|
|
660
|
-
<file name="named.ts" path="/Users/idudinov/projects/
|
|
661
|
-
<metrics statements="
|
|
678
|
+
<file name="named.ts" path="/Users/idudinov/projects/common-utils/src/logger/named.ts">
|
|
679
|
+
<metrics statements="21" coveredstatements="20" conditionals="12" coveredconditionals="11" methods="8" coveredmethods="7"/>
|
|
662
680
|
<line num="3" count="2" type="stmt"/>
|
|
663
681
|
<line num="5" count="2" type="stmt"/>
|
|
664
|
-
<line num="6" count="
|
|
665
|
-
<line num="7" count="
|
|
666
|
-
<line num="8" count="
|
|
667
|
-
<line num="10" count="
|
|
682
|
+
<line num="6" count="52" type="stmt"/>
|
|
683
|
+
<line num="7" count="52" type="stmt"/>
|
|
684
|
+
<line num="8" count="52" type="stmt"/>
|
|
685
|
+
<line num="10" count="52" type="stmt"/>
|
|
668
686
|
<line num="12" count="0" type="stmt"/>
|
|
669
|
-
<line num="17" count="
|
|
670
|
-
<line num="19" count="
|
|
671
|
-
<line num="20" count="
|
|
672
|
-
<line num="22" count="
|
|
673
|
-
<line num="27" count="
|
|
674
|
-
<line num="29" count="
|
|
675
|
-
<line num="30" count="
|
|
676
|
-
<line num="
|
|
677
|
-
<line num="
|
|
678
|
-
<line num="
|
|
679
|
-
<line num="
|
|
680
|
-
<line num="
|
|
681
|
-
<line num="
|
|
682
|
-
<line num="
|
|
683
|
-
<line num="43" count="44" type="stmt"/>
|
|
684
|
-
<line num="44" count="44" type="stmt"/>
|
|
685
|
-
<line num="45" count="44" type="stmt"/>
|
|
687
|
+
<line num="17" count="52" type="stmt"/>
|
|
688
|
+
<line num="19" count="52" type="cond" truecount="2" falsecount="0"/>
|
|
689
|
+
<line num="20" count="21" type="stmt"/>
|
|
690
|
+
<line num="22" count="31" type="stmt"/>
|
|
691
|
+
<line num="27" count="126" type="cond" truecount="2" falsecount="0"/>
|
|
692
|
+
<line num="29" count="126" type="stmt"/>
|
|
693
|
+
<line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
694
|
+
<line num="33" count="126" type="stmt"/>
|
|
695
|
+
<line num="34" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
696
|
+
<line num="37" count="126" type="stmt"/>
|
|
697
|
+
<line num="38" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
698
|
+
<line num="43" count="93" type="stmt"/>
|
|
699
|
+
<line num="44" count="93" type="stmt"/>
|
|
700
|
+
<line num="45" count="93" type="stmt"/>
|
|
686
701
|
</file>
|
|
687
|
-
<file name="proxy.ts" path="/Users/idudinov/projects/
|
|
688
|
-
<metrics statements="11" coveredstatements="10" conditionals="
|
|
702
|
+
<file name="proxy.ts" path="/Users/idudinov/projects/common-utils/src/logger/proxy.ts">
|
|
703
|
+
<metrics statements="11" coveredstatements="10" conditionals="6" coveredconditionals="3" methods="3" coveredmethods="3"/>
|
|
689
704
|
<line num="2" count="2" type="stmt"/>
|
|
690
705
|
<line num="4" count="2" type="stmt"/>
|
|
691
706
|
<line num="10" count="2" type="stmt"/>
|
|
692
|
-
<line num="12" count="
|
|
693
|
-
<line num="14" count="
|
|
694
|
-
<line num="17" count="
|
|
695
|
-
<line num="18" count="
|
|
696
|
-
<line num="22" count="
|
|
697
|
-
<line num="23" count="
|
|
698
|
-
<line num="24" count="
|
|
707
|
+
<line num="12" count="66" type="cond" truecount="1" falsecount="1"/>
|
|
708
|
+
<line num="14" count="52" type="stmt"/>
|
|
709
|
+
<line num="17" count="52" type="stmt"/>
|
|
710
|
+
<line num="18" count="52" type="stmt"/>
|
|
711
|
+
<line num="22" count="105" type="cond" truecount="1" falsecount="1"/>
|
|
712
|
+
<line num="23" count="105" type="cond" truecount="1" falsecount="1"/>
|
|
713
|
+
<line num="24" count="105" type="stmt"/>
|
|
699
714
|
<line num="26" count="0" type="stmt"/>
|
|
700
715
|
</file>
|
|
701
716
|
</package>
|
|
702
717
|
<package name="src.math">
|
|
703
|
-
<metrics statements="
|
|
704
|
-
<file name="arrays.ts" path="/Users/idudinov/projects/
|
|
705
|
-
<metrics statements="
|
|
706
|
-
<line num="1" count="
|
|
707
|
-
<line num="
|
|
708
|
-
<line num="4" count="
|
|
709
|
-
<line num="5" count="
|
|
710
|
-
<line num="
|
|
718
|
+
<metrics statements="194" coveredstatements="194" conditionals="140" coveredconditionals="134" methods="39" coveredmethods="39"/>
|
|
719
|
+
<file name="arrays.ts" path="/Users/idudinov/projects/common-utils/src/math/arrays.ts">
|
|
720
|
+
<metrics statements="138" coveredstatements="138" conditionals="80" coveredconditionals="77" methods="29" coveredmethods="29"/>
|
|
721
|
+
<line num="1" count="6" type="stmt"/>
|
|
722
|
+
<line num="2" count="6" type="stmt"/>
|
|
723
|
+
<line num="4" count="6" type="stmt"/>
|
|
724
|
+
<line num="5" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
725
|
+
<line num="6" count="2" type="stmt"/>
|
|
711
726
|
<line num="9" count="1" type="stmt"/>
|
|
712
|
-
<line num="10" count="
|
|
713
|
-
<line num="11" count="3" type="
|
|
714
|
-
<line num="12" count="3" type="
|
|
715
|
-
<line num="
|
|
716
|
-
<line num="
|
|
717
|
-
<line num="20" count="
|
|
718
|
-
<line num="21" count="
|
|
719
|
-
<line num="
|
|
727
|
+
<line num="10" count="1" type="stmt"/>
|
|
728
|
+
<line num="11" count="3" type="stmt"/>
|
|
729
|
+
<line num="12" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
730
|
+
<line num="13" count="3" type="stmt"/>
|
|
731
|
+
<line num="17" count="1" type="stmt"/>
|
|
732
|
+
<line num="20" count="6" type="stmt"/>
|
|
733
|
+
<line num="21" count="17" type="cond" truecount="4" falsecount="0"/>
|
|
734
|
+
<line num="22" count="4" type="stmt"/>
|
|
720
735
|
<line num="25" count="13" type="stmt"/>
|
|
721
|
-
<line num="26" count="
|
|
736
|
+
<line num="26" count="13" type="stmt"/>
|
|
722
737
|
<line num="27" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
723
|
-
<line num="28" count="
|
|
724
|
-
<line num="
|
|
725
|
-
<line num="
|
|
726
|
-
<line num="36" count="
|
|
727
|
-
<line num="
|
|
728
|
-
<line num="40" count="
|
|
729
|
-
<line num="
|
|
730
|
-
<line num="44" count="
|
|
731
|
-
<line num="45" count="
|
|
732
|
-
<line num="
|
|
738
|
+
<line num="28" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
739
|
+
<line num="29" count="10" type="stmt"/>
|
|
740
|
+
<line num="33" count="12" type="stmt"/>
|
|
741
|
+
<line num="36" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
742
|
+
<line num="37" count="7" type="stmt"/>
|
|
743
|
+
<line num="40" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
744
|
+
<line num="41" count="7" type="stmt"/>
|
|
745
|
+
<line num="44" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
746
|
+
<line num="45" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
747
|
+
<line num="46" count="2" type="stmt"/>
|
|
733
748
|
<line num="49" count="3" type="stmt"/>
|
|
734
|
-
<line num="50" count="
|
|
735
|
-
<line num="51" count="9" type="
|
|
736
|
-
<line num="
|
|
737
|
-
<line num="
|
|
738
|
-
<line num="58" count="
|
|
739
|
-
<line num="59" count="
|
|
740
|
-
<line num="
|
|
749
|
+
<line num="50" count="3" type="stmt"/>
|
|
750
|
+
<line num="51" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
751
|
+
<line num="52" count="9" type="stmt"/>
|
|
752
|
+
<line num="55" count="3" type="stmt"/>
|
|
753
|
+
<line num="58" count="6" type="stmt"/>
|
|
754
|
+
<line num="59" count="5" type="cond" truecount="4" falsecount="0"/>
|
|
755
|
+
<line num="60" count="2" type="stmt"/>
|
|
741
756
|
<line num="63" count="3" type="stmt"/>
|
|
742
|
-
<line num="64" count="
|
|
743
|
-
<line num="65" count="
|
|
744
|
-
<line num="
|
|
745
|
-
<line num="
|
|
746
|
-
<line num="72" count="
|
|
747
|
-
<line num="73" count="
|
|
748
|
-
<line num="74" count="
|
|
749
|
-
<line num="75" count="
|
|
750
|
-
<line num="76" count="
|
|
751
|
-
<line num="
|
|
752
|
-
<line num="
|
|
753
|
-
<line num="85" count="
|
|
754
|
-
<line num="86" count="
|
|
755
|
-
<line num="
|
|
756
|
-
<line num="90" count="
|
|
757
|
-
<line num="91" count="
|
|
758
|
-
<line num="
|
|
759
|
-
<line num="
|
|
760
|
-
<line num="
|
|
761
|
-
<line num="
|
|
762
|
-
<line num="
|
|
763
|
-
<line num="
|
|
764
|
-
<line num="
|
|
765
|
-
<line num="
|
|
766
|
-
<line num="
|
|
767
|
-
<line num="
|
|
768
|
-
<line num="
|
|
769
|
-
<line num="
|
|
770
|
-
<line num="
|
|
771
|
-
<line num="
|
|
772
|
-
<line num="121" count="
|
|
773
|
-
<line num="122" count="
|
|
774
|
-
<line num="
|
|
775
|
-
<line num="
|
|
776
|
-
<line num="129" count="3" type="stmt"/>
|
|
757
|
+
<line num="64" count="3" type="stmt"/>
|
|
758
|
+
<line num="65" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
759
|
+
<line num="66" count="4" type="stmt"/>
|
|
760
|
+
<line num="69" count="2" type="stmt"/>
|
|
761
|
+
<line num="72" count="6" type="stmt"/>
|
|
762
|
+
<line num="73" count="4" type="cond" truecount="6" falsecount="0"/>
|
|
763
|
+
<line num="74" count="2" type="stmt"/>
|
|
764
|
+
<line num="75" count="3" type="stmt"/>
|
|
765
|
+
<line num="76" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
766
|
+
<line num="77" count="1" type="stmt"/>
|
|
767
|
+
<line num="82" count="2" type="stmt"/>
|
|
768
|
+
<line num="85" count="6" type="stmt"/>
|
|
769
|
+
<line num="86" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
770
|
+
<line num="87" count="2" type="stmt"/>
|
|
771
|
+
<line num="90" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
772
|
+
<line num="91" count="6" type="stmt"/>
|
|
773
|
+
<line num="97" count="6" type="stmt"/>
|
|
774
|
+
<line num="98" count="7" type="stmt"/>
|
|
775
|
+
<line num="99" count="7" type="stmt"/>
|
|
776
|
+
<line num="100" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
777
|
+
<line num="101" count="3" type="stmt"/>
|
|
778
|
+
<line num="104" count="4" type="stmt"/>
|
|
779
|
+
<line num="107" count="6" type="stmt"/>
|
|
780
|
+
<line num="108" count="1" type="stmt"/>
|
|
781
|
+
<line num="111" count="6" type="stmt"/>
|
|
782
|
+
<line num="112" count="6" type="stmt"/>
|
|
783
|
+
<line num="115" count="6" type="stmt"/>
|
|
784
|
+
<line num="116" count="9" type="cond" truecount="4" falsecount="0"/>
|
|
785
|
+
<line num="117" count="2" type="stmt"/>
|
|
786
|
+
<line num="120" count="7" type="stmt"/>
|
|
787
|
+
<line num="121" count="7" type="stmt"/>
|
|
788
|
+
<line num="122" count="7" type="stmt"/>
|
|
789
|
+
<line num="128" count="7" type="stmt"/>
|
|
790
|
+
<line num="129" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
777
791
|
<line num="130" count="2" type="stmt"/>
|
|
778
|
-
<line num="
|
|
779
|
-
<line num="
|
|
780
|
-
<line num="
|
|
781
|
-
<line num="
|
|
782
|
-
<line num="
|
|
783
|
-
<line num="
|
|
784
|
-
<line num="
|
|
785
|
-
<line num="
|
|
786
|
-
<line num="
|
|
787
|
-
<line num="146" count="2" type="stmt"/>
|
|
788
|
-
<line num="147" count="2" type="stmt"/>
|
|
789
|
-
<line num="148" count="4" type="stmt"/>
|
|
790
|
-
<line num="149" count="4" type="stmt"/>
|
|
792
|
+
<line num="133" count="7" type="stmt"/>
|
|
793
|
+
<line num="137" count="7" type="stmt"/>
|
|
794
|
+
<line num="139" count="1" type="stmt"/>
|
|
795
|
+
<line num="142" count="7" type="stmt"/>
|
|
796
|
+
<line num="143" count="7" type="stmt"/>
|
|
797
|
+
<line num="146" count="6" type="stmt"/>
|
|
798
|
+
<line num="147" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
799
|
+
<line num="150" count="6" type="stmt"/>
|
|
800
|
+
<line num="151" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
791
801
|
<line num="152" count="1" type="stmt"/>
|
|
792
|
-
<line num="155" count="
|
|
802
|
+
<line num="155" count="2" type="stmt"/>
|
|
793
803
|
<line num="156" count="2" type="stmt"/>
|
|
794
804
|
<line num="157" count="2" type="stmt"/>
|
|
805
|
+
<line num="158" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
795
806
|
<line num="159" count="2" type="stmt"/>
|
|
796
|
-
<line num="
|
|
797
|
-
<line num="165" count="
|
|
798
|
-
<line num="
|
|
799
|
-
<line num="
|
|
800
|
-
<line num="170" count="
|
|
801
|
-
<line num="
|
|
807
|
+
<line num="162" count="3" type="stmt"/>
|
|
808
|
+
<line num="165" count="6" type="stmt"/>
|
|
809
|
+
<line num="166" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
810
|
+
<line num="167" count="1" type="stmt"/>
|
|
811
|
+
<line num="170" count="2" type="stmt"/>
|
|
812
|
+
<line num="171" count="2" type="stmt"/>
|
|
813
|
+
<line num="174" count="6" type="stmt"/>
|
|
814
|
+
<line num="175" count="5" type="stmt"/>
|
|
815
|
+
<line num="176" count="5" type="stmt"/>
|
|
816
|
+
<line num="177" count="5" type="stmt"/>
|
|
817
|
+
<line num="184" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
818
|
+
<line num="185" count="4" type="cond" truecount="7" falsecount="1"/>
|
|
819
|
+
<line num="187" count="4" type="stmt"/>
|
|
820
|
+
<line num="188" count="4" type="stmt"/>
|
|
821
|
+
<line num="189" count="4" type="stmt"/>
|
|
822
|
+
<line num="192" count="4" type="stmt"/>
|
|
823
|
+
<line num="195" count="6" type="stmt"/>
|
|
824
|
+
<line num="196" count="2" type="stmt"/>
|
|
825
|
+
<line num="197" count="2" type="stmt"/>
|
|
826
|
+
<line num="198" count="4" type="stmt"/>
|
|
827
|
+
<line num="199" count="4" type="stmt"/>
|
|
828
|
+
<line num="200" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
829
|
+
<line num="201" count="3" type="stmt"/>
|
|
830
|
+
<line num="202" count="3" type="stmt"/>
|
|
831
|
+
<line num="205" count="4" type="stmt"/>
|
|
832
|
+
<line num="208" count="1" type="stmt"/>
|
|
833
|
+
<line num="211" count="6" type="stmt"/>
|
|
834
|
+
<line num="212" count="2" type="stmt"/>
|
|
835
|
+
<line num="213" count="2" type="stmt"/>
|
|
836
|
+
<line num="214" count="4" type="stmt"/>
|
|
837
|
+
<line num="215" count="4" type="stmt"/>
|
|
838
|
+
<line num="218" count="1" type="stmt"/>
|
|
839
|
+
<line num="221" count="6" type="stmt"/>
|
|
840
|
+
<line num="222" count="2" type="stmt"/>
|
|
841
|
+
<line num="223" count="2" type="stmt"/>
|
|
842
|
+
<line num="225" count="2" type="stmt"/>
|
|
843
|
+
<line num="226" count="4" type="stmt"/>
|
|
844
|
+
<line num="231" count="1" type="stmt"/>
|
|
845
|
+
<line num="234" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
846
|
+
<line num="235" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
847
|
+
<line num="236" count="1" type="stmt"/>
|
|
848
|
+
<line num="239" count="7" type="stmt"/>
|
|
849
|
+
<line num="244" count="6" type="stmt"/>
|
|
850
|
+
<line num="245" count="3" type="stmt"/>
|
|
851
|
+
<line num="248" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
852
|
+
<line num="249" count="1" type="stmt"/>
|
|
853
|
+
<line num="252" count="2" type="stmt"/>
|
|
854
|
+
<line num="255" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
855
|
+
<line num="256" count="1" type="stmt"/>
|
|
856
|
+
<line num="257" count="1" type="stmt"/>
|
|
857
|
+
<line num="258" count="5" type="stmt"/>
|
|
858
|
+
<line num="260" count="1" type="stmt"/>
|
|
802
859
|
</file>
|
|
803
|
-
<file name="calc.ts" path="/Users/idudinov/projects/
|
|
860
|
+
<file name="calc.ts" path="/Users/idudinov/projects/common-utils/src/math/calc.ts">
|
|
804
861
|
<metrics statements="33" coveredstatements="33" conditionals="40" coveredconditionals="37" methods="7" coveredmethods="7"/>
|
|
805
|
-
<line num="2" count="
|
|
862
|
+
<line num="2" count="7" type="cond" truecount="3" falsecount="0"/>
|
|
806
863
|
<line num="3" count="13" type="cond" truecount="4" falsecount="0"/>
|
|
807
864
|
<line num="4" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
808
865
|
<line num="7" count="10" type="cond" truecount="4" falsecount="0"/>
|
|
809
866
|
<line num="8" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
810
867
|
<line num="11" count="7" type="stmt"/>
|
|
811
|
-
<line num="14" count="
|
|
868
|
+
<line num="14" count="7" type="stmt"/>
|
|
812
869
|
<line num="15" count="5" type="stmt"/>
|
|
813
|
-
<line num="18" count="
|
|
870
|
+
<line num="18" count="7" type="stmt"/>
|
|
814
871
|
<line num="19" count="4" type="stmt"/>
|
|
815
872
|
<line num="20" count="4" type="stmt"/>
|
|
816
873
|
<line num="21" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
817
|
-
<line num="24" count="
|
|
874
|
+
<line num="24" count="7" type="stmt"/>
|
|
818
875
|
<line num="25" count="2" type="stmt"/>
|
|
819
876
|
<line num="26" count="2" type="stmt"/>
|
|
820
877
|
<line num="28" count="2" type="cond" truecount="7" falsecount="1"/>
|
|
821
878
|
<line num="33" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
822
879
|
<line num="34" count="1" type="stmt"/>
|
|
823
880
|
<line num="37" count="1" type="stmt"/>
|
|
824
|
-
<line num="46" count="
|
|
881
|
+
<line num="46" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
825
882
|
<line num="47" count="9" type="stmt"/>
|
|
826
883
|
<line num="48" count="9" type="stmt"/>
|
|
827
884
|
<line num="49" count="9" type="stmt"/>
|
|
@@ -829,16 +886,16 @@
|
|
|
829
886
|
<line num="51" count="1" type="stmt"/>
|
|
830
887
|
<line num="52" count="7" type="stmt"/>
|
|
831
888
|
<line num="54" count="9" type="stmt"/>
|
|
832
|
-
<line num="57" count="
|
|
889
|
+
<line num="57" count="7" type="stmt"/>
|
|
833
890
|
<line num="58" count="2" type="stmt"/>
|
|
834
|
-
<line num="61" count="
|
|
835
|
-
<line num="62" count="
|
|
836
|
-
<line num="63" count="
|
|
837
|
-
<line num="64" count="
|
|
891
|
+
<line num="61" count="7" type="cond" truecount="1" falsecount="2"/>
|
|
892
|
+
<line num="62" count="10" type="stmt"/>
|
|
893
|
+
<line num="63" count="10" type="stmt"/>
|
|
894
|
+
<line num="64" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
838
895
|
</file>
|
|
839
|
-
<file name="distribution.ts" path="/Users/idudinov/projects/
|
|
896
|
+
<file name="distribution.ts" path="/Users/idudinov/projects/common-utils/src/math/distribution.ts">
|
|
840
897
|
<metrics statements="8" coveredstatements="8" conditionals="10" coveredconditionals="10" methods="1" coveredmethods="1"/>
|
|
841
|
-
<line num="8" count="
|
|
898
|
+
<line num="8" count="6" type="stmt"/>
|
|
842
899
|
<line num="9" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
843
900
|
<line num="10" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
844
901
|
<line num="11" count="1" type="stmt"/>
|
|
@@ -847,19 +904,19 @@
|
|
|
847
904
|
<line num="16" count="3" type="stmt"/>
|
|
848
905
|
<line num="19" count="4" type="stmt"/>
|
|
849
906
|
</file>
|
|
850
|
-
<file name="index.ts" path="/Users/idudinov/projects/
|
|
907
|
+
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/math/index.ts">
|
|
851
908
|
<metrics statements="15" coveredstatements="15" conditionals="10" coveredconditionals="10" methods="2" coveredmethods="2"/>
|
|
852
|
-
<line num="2" count="
|
|
853
|
-
<line num="3" count="
|
|
854
|
-
<line num="4" count="
|
|
855
|
-
<line num="6" count="
|
|
909
|
+
<line num="2" count="5" type="stmt"/>
|
|
910
|
+
<line num="3" count="5" type="stmt"/>
|
|
911
|
+
<line num="4" count="5" type="stmt"/>
|
|
912
|
+
<line num="6" count="5" type="stmt"/>
|
|
856
913
|
<line num="7" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
857
914
|
<line num="9" count="11" type="stmt"/>
|
|
858
915
|
<line num="11" count="3" type="stmt"/>
|
|
859
916
|
<line num="13" count="2" type="stmt"/>
|
|
860
917
|
<line num="15" count="2" type="stmt"/>
|
|
861
918
|
<line num="17" count="4" type="stmt"/>
|
|
862
|
-
<line num="21" count="
|
|
919
|
+
<line num="21" count="5" type="stmt"/>
|
|
863
920
|
<line num="22" count="20" type="stmt"/>
|
|
864
921
|
<line num="23" count="20" type="cond" truecount="4" falsecount="0"/>
|
|
865
922
|
<line num="24" count="5" type="stmt"/>
|
|
@@ -868,7 +925,7 @@
|
|
|
868
925
|
</package>
|
|
869
926
|
<package name="src.validation">
|
|
870
927
|
<metrics statements="87" coveredstatements="45" conditionals="58" coveredconditionals="6" methods="29" coveredmethods="4"/>
|
|
871
|
-
<file name="ValidationErrors.ts" path="/Users/idudinov/projects/
|
|
928
|
+
<file name="ValidationErrors.ts" path="/Users/idudinov/projects/common-utils/src/validation/ValidationErrors.ts">
|
|
872
929
|
<metrics statements="21" coveredstatements="21" conditionals="4" coveredconditionals="3" methods="2" coveredmethods="2"/>
|
|
873
930
|
<line num="1" count="4" type="stmt"/>
|
|
874
931
|
<line num="3" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -892,7 +949,7 @@
|
|
|
892
949
|
<line num="24" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
893
950
|
<line num="25" count="4" type="stmt"/>
|
|
894
951
|
</file>
|
|
895
|
-
<file name="creditCard.ts" path="/Users/idudinov/projects/
|
|
952
|
+
<file name="creditCard.ts" path="/Users/idudinov/projects/common-utils/src/validation/creditCard.ts">
|
|
896
953
|
<metrics statements="7" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
897
954
|
<line num="1" count="4" type="stmt"/>
|
|
898
955
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -902,7 +959,7 @@
|
|
|
902
959
|
<line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
903
960
|
<line num="21" count="4" type="stmt"/>
|
|
904
961
|
</file>
|
|
905
|
-
<file name="helpers.ts" path="/Users/idudinov/projects/
|
|
962
|
+
<file name="helpers.ts" path="/Users/idudinov/projects/common-utils/src/validation/helpers.ts">
|
|
906
963
|
<metrics statements="19" coveredstatements="5" conditionals="9" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
907
964
|
<line num="1" count="4" type="stmt"/>
|
|
908
965
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -924,7 +981,7 @@
|
|
|
924
981
|
<line num="42" count="0" type="stmt"/>
|
|
925
982
|
<line num="46" count="0" type="stmt"/>
|
|
926
983
|
</file>
|
|
927
|
-
<file name="index.ts" path="/Users/idudinov/projects/
|
|
984
|
+
<file name="index.ts" path="/Users/idudinov/projects/common-utils/src/validation/index.ts">
|
|
928
985
|
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
929
986
|
<line num="1" count="4" type="stmt"/>
|
|
930
987
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -932,14 +989,14 @@
|
|
|
932
989
|
<line num="4" count="4" type="stmt"/>
|
|
933
990
|
<line num="5" count="4" type="stmt"/>
|
|
934
991
|
</file>
|
|
935
|
-
<file name="types.ts" path="/Users/idudinov/projects/
|
|
992
|
+
<file name="types.ts" path="/Users/idudinov/projects/common-utils/src/validation/types.ts">
|
|
936
993
|
<metrics statements="4" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
|
|
937
994
|
<line num="8" count="4" type="stmt"/>
|
|
938
995
|
<line num="9" count="0" type="stmt"/>
|
|
939
996
|
<line num="12" count="0" type="stmt"/>
|
|
940
997
|
<line num="13" count="0" type="stmt"/>
|
|
941
998
|
</file>
|
|
942
|
-
<file name="validators.ts" path="/Users/idudinov/projects/
|
|
999
|
+
<file name="validators.ts" path="/Users/idudinov/projects/common-utils/src/validation/validators.ts">
|
|
943
1000
|
<metrics statements="21" coveredstatements="6" conditionals="33" coveredconditionals="3" methods="13" coveredmethods="2"/>
|
|
944
1001
|
<line num="1" count="4" type="stmt"/>
|
|
945
1002
|
<line num="2" count="4" type="stmt"/>
|
|
@@ -963,7 +1020,7 @@
|
|
|
963
1020
|
<line num="53" count="802" type="cond" truecount="2" falsecount="0"/>
|
|
964
1021
|
<line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
965
1022
|
</file>
|
|
966
|
-
<file name="wrappers.ts" path="/Users/idudinov/projects/
|
|
1023
|
+
<file name="wrappers.ts" path="/Users/idudinov/projects/common-utils/src/validation/wrappers.ts">
|
|
967
1024
|
<metrics statements="10" coveredstatements="4" conditionals="4" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
968
1025
|
<line num="1" count="4" type="stmt"/>
|
|
969
1026
|
<line num="3" count="4" type="stmt"/>
|
|
@@ -978,192 +1035,203 @@
|
|
|
978
1035
|
</file>
|
|
979
1036
|
</package>
|
|
980
1037
|
<package name="src.viewModels">
|
|
981
|
-
<metrics statements="
|
|
982
|
-
<file name="FlagModel.ts" path="/Users/idudinov/projects/
|
|
983
|
-
<metrics statements="
|
|
1038
|
+
<metrics statements="221" coveredstatements="180" conditionals="57" coveredconditionals="35" methods="102" coveredmethods="69"/>
|
|
1039
|
+
<file name="FlagModel.ts" path="/Users/idudinov/projects/common-utils/src/viewModels/FlagModel.ts">
|
|
1040
|
+
<metrics statements="12" coveredstatements="9" conditionals="1" coveredconditionals="1" methods="6" coveredmethods="3"/>
|
|
984
1041
|
<line num="1" count="3" type="stmt"/>
|
|
985
|
-
<line num="
|
|
986
|
-
<line num="
|
|
987
|
-
<line num="
|
|
988
|
-
<line num="
|
|
989
|
-
<line num="
|
|
990
|
-
<line num="
|
|
991
|
-
<line num="
|
|
992
|
-
<line num="36" count="
|
|
993
|
-
<line num="
|
|
994
|
-
<line num="41" count="
|
|
1042
|
+
<line num="15" count="3" type="stmt"/>
|
|
1043
|
+
<line num="18" count="17" type="stmt"/>
|
|
1044
|
+
<line num="21" count="17" type="stmt"/>
|
|
1045
|
+
<line num="22" count="17" type="stmt"/>
|
|
1046
|
+
<line num="26" count="39" type="stmt"/>
|
|
1047
|
+
<line num="30" count="38" type="stmt"/>
|
|
1048
|
+
<line num="33" count="0" type="stmt"/>
|
|
1049
|
+
<line num="36" count="17" type="stmt"/>
|
|
1050
|
+
<line num="37" count="0" type="stmt"/>
|
|
1051
|
+
<line num="41" count="17" type="stmt"/>
|
|
1052
|
+
<line num="42" count="0" type="stmt"/>
|
|
995
1053
|
</file>
|
|
996
|
-
<file name="MultiSelectModel.ts" path="/Users/idudinov/projects/
|
|
997
|
-
<metrics statements="
|
|
1054
|
+
<file name="MultiSelectModel.ts" path="/Users/idudinov/projects/common-utils/src/viewModels/MultiSelectModel.ts">
|
|
1055
|
+
<metrics statements="83" coveredstatements="64" conditionals="16" coveredconditionals="7" methods="42" coveredmethods="28"/>
|
|
998
1056
|
<line num="1" count="1" type="stmt"/>
|
|
999
1057
|
<line num="2" count="1" type="stmt"/>
|
|
1000
1058
|
<line num="3" count="1" type="stmt"/>
|
|
1001
1059
|
<line num="4" count="1" type="stmt"/>
|
|
1002
1060
|
<line num="6" count="1" type="stmt"/>
|
|
1003
1061
|
<line num="8" count="1" type="stmt"/>
|
|
1004
|
-
<line num="
|
|
1005
|
-
<line num="13" count="
|
|
1006
|
-
<line num="
|
|
1007
|
-
<line num="16" count="
|
|
1008
|
-
<line num="
|
|
1009
|
-
<line num="
|
|
1010
|
-
<line num="
|
|
1011
|
-
<line num="
|
|
1012
|
-
<line num="
|
|
1013
|
-
<line num="
|
|
1014
|
-
<line num="
|
|
1015
|
-
<line num="
|
|
1016
|
-
<line num="33" count="
|
|
1017
|
-
<line num="35" count="
|
|
1018
|
-
<line num="
|
|
1019
|
-
<line num="
|
|
1020
|
-
<line num="
|
|
1021
|
-
<line num="
|
|
1022
|
-
<line num="
|
|
1023
|
-
<line num="
|
|
1024
|
-
<line num="
|
|
1025
|
-
<line num="
|
|
1026
|
-
<line num="
|
|
1027
|
-
<line num="56" count="
|
|
1028
|
-
<line num="
|
|
1029
|
-
<line num="59" count="
|
|
1030
|
-
<line num="61" count="
|
|
1031
|
-
<line num="
|
|
1032
|
-
<line num="
|
|
1033
|
-
<line num="
|
|
1034
|
-
<line num="
|
|
1035
|
-
<line num="70" count="
|
|
1036
|
-
<line num="71" count="
|
|
1037
|
-
<line num="
|
|
1038
|
-
<line num="
|
|
1039
|
-
<line num="
|
|
1040
|
-
<line num="
|
|
1041
|
-
<line num="
|
|
1042
|
-
<line num="
|
|
1043
|
-
<line num="85" count="
|
|
1044
|
-
<line num="86" count="
|
|
1045
|
-
<line num="
|
|
1046
|
-
<line num="
|
|
1047
|
-
<line num="
|
|
1048
|
-
<line num="
|
|
1049
|
-
<line num="96" count="
|
|
1050
|
-
<line num="
|
|
1051
|
-
<line num="
|
|
1052
|
-
<line num="102" count="
|
|
1053
|
-
<line num="
|
|
1054
|
-
<line num="106" count="
|
|
1055
|
-
<line num="
|
|
1056
|
-
<line num="
|
|
1057
|
-
<line num="
|
|
1058
|
-
<line num="113" count="
|
|
1059
|
-
<line num="
|
|
1062
|
+
<line num="10" count="1" type="stmt"/>
|
|
1063
|
+
<line num="13" count="6" type="stmt"/>
|
|
1064
|
+
<line num="15" count="6" type="stmt"/>
|
|
1065
|
+
<line num="16" count="6" type="stmt"/>
|
|
1066
|
+
<line num="18" count="6" type="stmt"/>
|
|
1067
|
+
<line num="19" count="6" type="stmt"/>
|
|
1068
|
+
<line num="22" count="6" type="stmt"/>
|
|
1069
|
+
<line num="23" count="6" type="stmt"/>
|
|
1070
|
+
<line num="26" count="6" type="stmt"/>
|
|
1071
|
+
<line num="27" count="6" type="stmt"/>
|
|
1072
|
+
<line num="28" count="6" type="stmt"/>
|
|
1073
|
+
<line num="29" count="6" type="stmt"/>
|
|
1074
|
+
<line num="33" count="25" type="stmt"/>
|
|
1075
|
+
<line num="35" count="7" type="stmt"/>
|
|
1076
|
+
<line num="37" count="0" type="stmt"/>
|
|
1077
|
+
<line num="40" count="1" type="stmt"/>
|
|
1078
|
+
<line num="41" count="49" type="stmt"/>
|
|
1079
|
+
<line num="45" count="1" type="stmt"/>
|
|
1080
|
+
<line num="46" count="9" type="stmt"/>
|
|
1081
|
+
<line num="50" count="1" type="stmt"/>
|
|
1082
|
+
<line num="51" count="21" type="stmt"/>
|
|
1083
|
+
<line num="52" count="21" type="stmt"/>
|
|
1084
|
+
<line num="55" count="0" type="stmt"/>
|
|
1085
|
+
<line num="56" count="0" type="stmt"/>
|
|
1086
|
+
<line num="58" count="11" type="stmt"/>
|
|
1087
|
+
<line num="59" count="18" type="stmt"/>
|
|
1088
|
+
<line num="61" count="4" type="stmt"/>
|
|
1089
|
+
<line num="62" count="4" type="stmt"/>
|
|
1090
|
+
<line num="63" count="0" type="stmt"/>
|
|
1091
|
+
<line num="66" count="1" type="cond" truecount="0" falsecount="4"/>
|
|
1092
|
+
<line num="68" count="0" type="stmt"/>
|
|
1093
|
+
<line num="70" count="6" type="stmt"/>
|
|
1094
|
+
<line num="71" count="4" type="stmt"/>
|
|
1095
|
+
<line num="72" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1096
|
+
<line num="73" count="4" type="stmt"/>
|
|
1097
|
+
<line num="77" count="6" type="stmt"/>
|
|
1098
|
+
<line num="78" count="6" type="stmt"/>
|
|
1099
|
+
<line num="81" count="6" type="stmt"/>
|
|
1100
|
+
<line num="82" count="1" type="stmt"/>
|
|
1101
|
+
<line num="85" count="6" type="stmt"/>
|
|
1102
|
+
<line num="86" count="2" type="stmt"/>
|
|
1103
|
+
<line num="87" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1104
|
+
<line num="88" count="2" type="stmt"/>
|
|
1105
|
+
<line num="92" count="6" type="stmt"/>
|
|
1106
|
+
<line num="93" count="6" type="stmt"/>
|
|
1107
|
+
<line num="96" count="6" type="stmt"/>
|
|
1108
|
+
<line num="97" count="0" type="stmt"/>
|
|
1109
|
+
<line num="101" count="6" type="stmt"/>
|
|
1110
|
+
<line num="102" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1111
|
+
<line num="103" count="0" type="stmt"/>
|
|
1112
|
+
<line num="106" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1113
|
+
<line num="107" count="5" type="stmt"/>
|
|
1114
|
+
<line num="109" count="3" type="stmt"/>
|
|
1115
|
+
<line num="112" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1116
|
+
<line num="113" count="8" type="stmt"/>
|
|
1117
|
+
<line num="116" count="0" type="stmt"/>
|
|
1118
|
+
<line num="117" count="0" type="stmt"/>
|
|
1060
1119
|
<line num="118" count="0" type="stmt"/>
|
|
1061
|
-
<line num="
|
|
1062
|
-
<line num="
|
|
1063
|
-
<line num="
|
|
1064
|
-
<line num="
|
|
1065
|
-
<line num="
|
|
1066
|
-
<line num="
|
|
1067
|
-
<line num="
|
|
1120
|
+
<line num="120" count="0" type="stmt"/>
|
|
1121
|
+
<line num="124" count="6" type="stmt"/>
|
|
1122
|
+
<line num="125" count="6" type="stmt"/>
|
|
1123
|
+
<line num="127" count="6" type="stmt"/>
|
|
1124
|
+
<line num="128" count="1" type="stmt"/>
|
|
1125
|
+
<line num="129" count="1" type="stmt"/>
|
|
1126
|
+
<line num="133" count="7" type="stmt"/>
|
|
1127
|
+
<line num="134" count="7" type="stmt"/>
|
|
1128
|
+
<line num="136" count="7" type="cond" truecount="1" falsecount="1"/>
|
|
1068
1129
|
<line num="137" count="0" type="stmt"/>
|
|
1069
|
-
<line num="
|
|
1070
|
-
<line num="
|
|
1071
|
-
<line num="
|
|
1072
|
-
<line num="
|
|
1130
|
+
<line num="142" count="0" type="stmt"/>
|
|
1131
|
+
<line num="144" count="0" type="stmt"/>
|
|
1132
|
+
<line num="146" count="0" type="stmt"/>
|
|
1133
|
+
<line num="150" count="0" type="stmt"/>
|
|
1134
|
+
<line num="151" count="0" type="stmt"/>
|
|
1135
|
+
<line num="153" count="0" type="stmt"/>
|
|
1136
|
+
<line num="155" count="0" type="stmt"/>
|
|
1137
|
+
<line num="159" count="1" type="stmt"/>
|
|
1138
|
+
<line num="162" count="3" type="stmt"/>
|
|
1073
1139
|
</file>
|
|
1074
|
-
<file name="NumberModel.ts" path="/Users/idudinov/projects/
|
|
1075
|
-
<metrics statements="
|
|
1140
|
+
<file name="NumberModel.ts" path="/Users/idudinov/projects/common-utils/src/viewModels/NumberModel.ts">
|
|
1141
|
+
<metrics statements="15" coveredstatements="13" conditionals="3" coveredconditionals="1" methods="7" coveredmethods="3"/>
|
|
1076
1142
|
<line num="1" count="1" type="stmt"/>
|
|
1077
|
-
<line num="
|
|
1078
|
-
<line num="
|
|
1079
|
-
<line num="
|
|
1080
|
-
<line num="16" count="3" type="stmt"/>
|
|
1143
|
+
<line num="9" count="1" type="stmt"/>
|
|
1144
|
+
<line num="12" count="3" type="stmt"/>
|
|
1145
|
+
<line num="14" count="3" type="stmt"/>
|
|
1081
1146
|
<line num="17" count="3" type="stmt"/>
|
|
1082
1147
|
<line num="18" count="3" type="stmt"/>
|
|
1083
|
-
<line num="
|
|
1084
|
-
<line num="22" count="
|
|
1085
|
-
<line num="
|
|
1086
|
-
<line num="
|
|
1087
|
-
<line num="
|
|
1148
|
+
<line num="19" count="3" type="stmt"/>
|
|
1149
|
+
<line num="22" count="2" type="stmt"/>
|
|
1150
|
+
<line num="23" count="1" type="stmt"/>
|
|
1151
|
+
<line num="25" count="0" type="stmt"/>
|
|
1152
|
+
<line num="28" count="3" type="stmt"/>
|
|
1153
|
+
<line num="29" count="0" type="stmt"/>
|
|
1088
1154
|
<line num="33" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
1089
|
-
<line num="36" count="
|
|
1155
|
+
<line num="36" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
1156
|
+
<line num="39" count="1" type="stmt"/>
|
|
1090
1157
|
</file>
|
|
1091
|
-
<file name="SelectModel.ts" path="/Users/idudinov/projects/
|
|
1092
|
-
<metrics statements="
|
|
1158
|
+
<file name="SelectModel.ts" path="/Users/idudinov/projects/common-utils/src/viewModels/SelectModel.ts">
|
|
1159
|
+
<metrics statements="56" coveredstatements="53" conditionals="16" coveredconditionals="15" methods="25" coveredmethods="22"/>
|
|
1093
1160
|
<line num="1" count="1" type="stmt"/>
|
|
1094
1161
|
<line num="2" count="1" type="stmt"/>
|
|
1095
1162
|
<line num="3" count="1" type="stmt"/>
|
|
1096
1163
|
<line num="4" count="1" type="stmt"/>
|
|
1097
1164
|
<line num="6" count="1" type="stmt"/>
|
|
1098
|
-
<line num="
|
|
1099
|
-
<line num="
|
|
1100
|
-
<line num="12" count="5" type="stmt"/>
|
|
1165
|
+
<line num="9" count="1" type="stmt"/>
|
|
1166
|
+
<line num="11" count="5" type="stmt"/>
|
|
1101
1167
|
<line num="13" count="5" type="stmt"/>
|
|
1102
1168
|
<line num="14" count="5" type="stmt"/>
|
|
1103
|
-
<line num="
|
|
1104
|
-
<line num="
|
|
1169
|
+
<line num="15" count="5" type="stmt"/>
|
|
1170
|
+
<line num="17" count="5" type="stmt"/>
|
|
1105
1171
|
<line num="20" count="5" type="stmt"/>
|
|
1106
|
-
<line num="
|
|
1172
|
+
<line num="21" count="5" type="stmt"/>
|
|
1107
1173
|
<line num="24" count="5" type="stmt"/>
|
|
1108
|
-
<line num="
|
|
1174
|
+
<line num="25" count="5" type="stmt"/>
|
|
1109
1175
|
<line num="27" count="5" type="stmt"/>
|
|
1110
|
-
<line num="
|
|
1111
|
-
<line num="
|
|
1112
|
-
<line num="34" count="
|
|
1113
|
-
<line num="
|
|
1114
|
-
<line num="
|
|
1115
|
-
<line num="
|
|
1116
|
-
<line num="
|
|
1117
|
-
<line num="48" count="6" type="
|
|
1118
|
-
<line num="
|
|
1119
|
-
<line num="
|
|
1120
|
-
<line num="54" count="4" type="
|
|
1121
|
-
<line num="55" count="
|
|
1122
|
-
<line num="
|
|
1123
|
-
<line num="
|
|
1124
|
-
<line num="65" count="5" type="
|
|
1125
|
-
<line num="66" count="
|
|
1126
|
-
<line num="
|
|
1127
|
-
<line num="
|
|
1128
|
-
<line num="
|
|
1129
|
-
<line num="
|
|
1176
|
+
<line num="28" count="5" type="stmt"/>
|
|
1177
|
+
<line num="31" count="1" type="stmt"/>
|
|
1178
|
+
<line num="34" count="1" type="stmt"/>
|
|
1179
|
+
<line num="35" count="34" type="stmt"/>
|
|
1180
|
+
<line num="39" count="8" type="stmt"/>
|
|
1181
|
+
<line num="43" count="1" type="stmt"/>
|
|
1182
|
+
<line num="46" count="0" type="stmt"/>
|
|
1183
|
+
<line num="48" count="6" type="stmt"/>
|
|
1184
|
+
<line num="49" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1185
|
+
<line num="52" count="0" type="stmt"/>
|
|
1186
|
+
<line num="54" count="4" type="stmt"/>
|
|
1187
|
+
<line num="55" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1188
|
+
<line num="56" count="3" type="stmt"/>
|
|
1189
|
+
<line num="61" count="5" type="cond" truecount="1" falsecount="1"/>
|
|
1190
|
+
<line num="65" count="5" type="stmt"/>
|
|
1191
|
+
<line num="66" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
1192
|
+
<line num="67" count="4" type="stmt"/>
|
|
1193
|
+
<line num="71" count="0" type="stmt"/>
|
|
1194
|
+
<line num="74" count="11" type="stmt"/>
|
|
1195
|
+
<line num="78" count="16" type="cond" truecount="2" falsecount="0"/>
|
|
1196
|
+
<line num="79" count="4" type="stmt"/>
|
|
1130
1197
|
<line num="82" count="12" type="stmt"/>
|
|
1131
|
-
<line num="
|
|
1132
|
-
<line num="
|
|
1133
|
-
<line num="
|
|
1134
|
-
<line num="89" count="
|
|
1135
|
-
<line num="
|
|
1136
|
-
<line num="
|
|
1137
|
-
<line num="
|
|
1138
|
-
<line num="
|
|
1139
|
-
<line num="
|
|
1140
|
-
<line num="
|
|
1141
|
-
<line num="
|
|
1142
|
-
<line num="
|
|
1143
|
-
<line num="
|
|
1144
|
-
<line num="
|
|
1145
|
-
<line num="116" count="
|
|
1146
|
-
<line num="
|
|
1147
|
-
<line num="
|
|
1198
|
+
<line num="85" count="12" type="stmt"/>
|
|
1199
|
+
<line num="86" count="12" type="stmt"/>
|
|
1200
|
+
<line num="88" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1201
|
+
<line num="89" count="33" type="stmt"/>
|
|
1202
|
+
<line num="92" count="12" type="stmt"/>
|
|
1203
|
+
<line num="96" count="5" type="stmt"/>
|
|
1204
|
+
<line num="97" count="1" type="stmt"/>
|
|
1205
|
+
<line num="98" count="1" type="stmt"/>
|
|
1206
|
+
<line num="102" count="1" type="stmt"/>
|
|
1207
|
+
<line num="104" count="3" type="stmt"/>
|
|
1208
|
+
<line num="106" count="9" type="stmt"/>
|
|
1209
|
+
<line num="110" count="18" type="stmt"/>
|
|
1210
|
+
<line num="111" count="15" type="cond" truecount="2" falsecount="0"/>
|
|
1211
|
+
<line num="112" count="7" type="stmt"/>
|
|
1212
|
+
<line num="116" count="3" type="stmt"/>
|
|
1213
|
+
<line num="119" count="1" type="stmt"/>
|
|
1214
|
+
<line num="124" count="1" type="stmt"/>
|
|
1215
|
+
<line num="126" count="3" type="stmt"/>
|
|
1148
1216
|
</file>
|
|
1149
|
-
<file name="Validatable.ts" path="/Users/idudinov/projects/
|
|
1217
|
+
<file name="Validatable.ts" path="/Users/idudinov/projects/common-utils/src/viewModels/Validatable.ts">
|
|
1150
1218
|
<metrics statements="36" coveredstatements="25" conditionals="21" coveredconditionals="11" methods="12" coveredmethods="6"/>
|
|
1151
1219
|
<line num="1" count="2" type="stmt"/>
|
|
1152
1220
|
<line num="2" count="2" type="stmt"/>
|
|
1153
1221
|
<line num="3" count="2" type="stmt"/>
|
|
1154
1222
|
<line num="13" count="2" type="stmt"/>
|
|
1155
1223
|
<line num="14" count="2" type="stmt"/>
|
|
1156
|
-
<line num="16" count="
|
|
1157
|
-
<line num="17" count="
|
|
1158
|
-
<line num="20" count="
|
|
1159
|
-
<line num="22" count="
|
|
1160
|
-
<line num="25" count="
|
|
1161
|
-
<line num="26" count="
|
|
1224
|
+
<line num="16" count="11" type="stmt"/>
|
|
1225
|
+
<line num="17" count="11" type="stmt"/>
|
|
1226
|
+
<line num="20" count="11" type="stmt"/>
|
|
1227
|
+
<line num="22" count="11" type="stmt"/>
|
|
1228
|
+
<line num="25" count="11" type="stmt"/>
|
|
1229
|
+
<line num="26" count="11" type="stmt"/>
|
|
1162
1230
|
<line num="31" count="0" type="stmt"/>
|
|
1163
1231
|
<line num="33" count="1" type="stmt"/>
|
|
1164
|
-
<line num="36" count="
|
|
1165
|
-
<line num="37" count="
|
|
1166
|
-
<line num="38" count="
|
|
1232
|
+
<line num="36" count="11" type="cond" truecount="5" falsecount="1"/>
|
|
1233
|
+
<line num="37" count="11" type="cond" truecount="3" falsecount="1"/>
|
|
1234
|
+
<line num="38" count="11" type="stmt"/>
|
|
1167
1235
|
<line num="42" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1168
1236
|
<line num="43" count="0" type="stmt"/>
|
|
1169
1237
|
<line num="46" count="1" type="stmt"/>
|
|
@@ -1178,34 +1246,34 @@
|
|
|
1178
1246
|
<line num="65" count="0" type="stmt"/>
|
|
1179
1247
|
<line num="66" count="0" type="stmt"/>
|
|
1180
1248
|
<line num="70" count="2" type="stmt"/>
|
|
1181
|
-
<line num="71" count="
|
|
1182
|
-
<line num="72" count="
|
|
1249
|
+
<line num="71" count="2" type="stmt"/>
|
|
1250
|
+
<line num="72" count="2" type="stmt"/>
|
|
1183
1251
|
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1184
1252
|
<line num="77" count="0" type="stmt"/>
|
|
1185
1253
|
<line num="80" count="0" type="stmt"/>
|
|
1186
1254
|
<line num="81" count="0" type="stmt"/>
|
|
1187
1255
|
</file>
|
|
1188
|
-
<file name="wrappers.ts" path="/Users/idudinov/projects/
|
|
1256
|
+
<file name="wrappers.ts" path="/Users/idudinov/projects/common-utils/src/viewModels/wrappers.ts">
|
|
1189
1257
|
<metrics statements="19" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="10" coveredmethods="7"/>
|
|
1190
1258
|
<line num="1" count="3" type="stmt"/>
|
|
1191
|
-
<line num="
|
|
1192
|
-
<line num="
|
|
1193
|
-
<line num="
|
|
1194
|
-
<line num="
|
|
1195
|
-
<line num="
|
|
1196
|
-
<line num="
|
|
1259
|
+
<line num="4" count="3" type="stmt"/>
|
|
1260
|
+
<line num="5" count="6" type="stmt"/>
|
|
1261
|
+
<line num="6" count="6" type="stmt"/>
|
|
1262
|
+
<line num="9" count="13" type="stmt"/>
|
|
1263
|
+
<line num="12" count="6" type="stmt"/>
|
|
1264
|
+
<line num="15" count="3" type="stmt"/>
|
|
1265
|
+
<line num="16" count="3" type="stmt"/>
|
|
1266
|
+
<line num="19" count="6" type="stmt"/>
|
|
1197
1267
|
<line num="20" count="3" type="stmt"/>
|
|
1198
|
-
<line num="23" count="
|
|
1199
|
-
<line num="
|
|
1200
|
-
<line num="27" count="
|
|
1201
|
-
<line num="
|
|
1202
|
-
<line num="
|
|
1203
|
-
<line num="
|
|
1204
|
-
<line num="
|
|
1205
|
-
<line num="
|
|
1206
|
-
<line num="
|
|
1207
|
-
<line num="48" count="2" type="stmt"/>
|
|
1208
|
-
<line num="52" count="1" type="stmt"/>
|
|
1268
|
+
<line num="23" count="3" type="stmt"/>
|
|
1269
|
+
<line num="26" count="3" type="stmt"/>
|
|
1270
|
+
<line num="27" count="0" type="stmt"/>
|
|
1271
|
+
<line num="28" count="0" type="stmt"/>
|
|
1272
|
+
<line num="29" count="0" type="stmt"/>
|
|
1273
|
+
<line num="39" count="3" type="stmt"/>
|
|
1274
|
+
<line num="43" count="2" type="stmt"/>
|
|
1275
|
+
<line num="44" count="2" type="stmt"/>
|
|
1276
|
+
<line num="48" count="1" type="stmt"/>
|
|
1209
1277
|
</file>
|
|
1210
1278
|
</package>
|
|
1211
1279
|
</project>
|