apacuana-sdk-core 0.6.0 → 0.7.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/README.md +105 -250
- package/babel.config.cjs +11 -0
- package/coverage/clover.xml +189 -195
- package/coverage/coverage-final.json +8 -8
- package/coverage/lcov-report/api/index.html +131 -0
- package/coverage/lcov-report/api/signatures.js.html +1093 -0
- package/coverage/lcov-report/api/users.js.html +292 -0
- package/coverage/lcov-report/config/index.html +116 -0
- package/coverage/lcov-report/config/index.js.html +208 -0
- package/coverage/lcov-report/errors/index.html +116 -0
- package/coverage/lcov-report/errors/index.js.html +148 -0
- package/coverage/lcov-report/index.html +41 -41
- package/coverage/lcov-report/src/api/certs.js.html +55 -34
- package/coverage/lcov-report/src/api/index.html +25 -25
- package/coverage/lcov-report/src/api/revocations.js.html +135 -30
- package/coverage/lcov-report/src/api/signatures.js.html +76 -4
- package/coverage/lcov-report/src/api/users.js.html +1 -1
- package/coverage/lcov-report/src/config/index.html +13 -13
- package/coverage/lcov-report/src/config/index.js.html +69 -18
- package/coverage/lcov-report/src/errors/index.html +1 -1
- package/coverage/lcov-report/src/errors/index.js.html +8 -8
- package/coverage/lcov-report/src/index.html +15 -15
- package/coverage/lcov-report/src/index.js.html +14 -68
- package/coverage/lcov-report/src/utils/constant.js.html +1 -1
- package/coverage/lcov-report/src/utils/helpers.js.html +18 -51
- package/coverage/lcov-report/src/utils/httpClient.js.html +6 -72
- package/coverage/lcov-report/src/utils/index.html +19 -19
- package/coverage/lcov-report/utils/constant.js.html +145 -0
- package/coverage/lcov-report/utils/httpClient.js.html +646 -0
- package/coverage/lcov-report/utils/index.html +131 -0
- package/coverage/lcov.info +334 -337
- package/dist/api/certs.d.ts +11 -1
- package/dist/api/revocations.d.ts +32 -12
- package/dist/api/signatures.d.ts +37 -5
- package/dist/config/index.d.ts +13 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +436 -290
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +436 -290
- package/dist/index.mjs.map +1 -1
- package/dist/utils/helpers.d.ts +1 -1
- package/jest.config.cjs +6 -1
- package/package.json +12 -7
- package/rollup.config.js +1 -1
- package/src/api/certs.js +17 -10
- package/src/api/revocations.js +55 -20
- package/src/api/signatures.js +25 -1
- package/src/config/index.js +25 -8
- package/src/index.js +4 -22
- package/src/utils/helpers.js +11 -22
- package/src/utils/httpClient.js +0 -22
- package/tests/api/certs.test.js +30 -48
- package/tsconfig.json +2 -1
- package/.babelrc +0 -3
package/coverage/clover.xml
CHANGED
|
@@ -1,158 +1,160 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1756473625570" clover="3.2.0">
|
|
3
|
+
<project timestamp="1756473625570" name="All files">
|
|
4
|
+
<metrics statements="283" coveredstatements="116" conditionals="227" coveredconditionals="37" methods="41" coveredmethods="13" elements="551" coveredelements="166" complexity="0" loc="283" ncloc="283" packages="5" files="10" classes="10"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="14" coveredstatements="12" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
|
|
7
7
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/index.js">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="14" coveredstatements="12" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
|
|
9
9
|
<line num="8" count="1" type="stmt"/>
|
|
10
|
+
<line num="22" count="4" type="stmt"/>
|
|
10
11
|
<line num="23" count="4" type="stmt"/>
|
|
11
|
-
<line num="
|
|
12
|
-
<line num="
|
|
12
|
+
<line num="24" count="3" type="stmt"/>
|
|
13
|
+
<line num="25" count="3" type="stmt"/>
|
|
14
|
+
<line num="26" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
15
|
+
<line num="27" count="0" type="stmt"/>
|
|
13
16
|
<line num="32" count="3" type="stmt"/>
|
|
14
|
-
<line num="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="51" count="2" type="stmt"/>
|
|
21
|
-
<line num="55" count="2" type="stmt"/>
|
|
22
|
-
<line num="58" count="2" type="stmt"/>
|
|
23
|
-
<line num="59" count="2" type="stmt"/>
|
|
17
|
+
<line num="33" count="2" type="stmt"/>
|
|
18
|
+
<line num="34" count="2" type="stmt"/>
|
|
19
|
+
<line num="35" count="2" type="stmt"/>
|
|
20
|
+
<line num="38" count="2" type="stmt"/>
|
|
21
|
+
<line num="39" count="2" type="stmt"/>
|
|
22
|
+
<line num="42" count="0" type="stmt"/>
|
|
24
23
|
</file>
|
|
25
24
|
</package>
|
|
26
25
|
<package name="src.api">
|
|
27
|
-
<metrics statements="
|
|
26
|
+
<metrics statements="136" coveredstatements="77" conditionals="68" coveredconditionals="33" methods="20" coveredmethods="11"/>
|
|
28
27
|
<file name="certs.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/certs.js">
|
|
29
|
-
<metrics statements="
|
|
30
|
-
<line num="19" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
31
|
-
<line num="20" count="4" type="stmt"/>
|
|
32
|
-
<line num="21" count="4" type="stmt"/>
|
|
33
|
-
<line num="23" count="4" type="stmt"/>
|
|
28
|
+
<metrics statements="24" coveredstatements="20" conditionals="11" coveredconditionals="7" methods="4" coveredmethods="4"/>
|
|
34
29
|
<line num="28" count="2" type="stmt"/>
|
|
35
|
-
<line num="29" count="
|
|
30
|
+
<line num="29" count="1" type="stmt"/>
|
|
36
31
|
<line num="30" count="1" type="stmt"/>
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="47" count="
|
|
42
|
-
<line num="48" count="
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
48
|
-
<line num="
|
|
49
|
-
<line num="
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="
|
|
52
|
-
<line num="
|
|
53
|
-
<line num="
|
|
54
|
-
<line num="
|
|
32
|
+
<line num="35" count="1" type="stmt"/>
|
|
33
|
+
<line num="36" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
34
|
+
<line num="37" count="0" type="stmt"/>
|
|
35
|
+
<line num="44" count="1" type="stmt"/>
|
|
36
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
37
|
+
<line num="48" count="0" type="stmt"/>
|
|
38
|
+
<line num="50" count="0" type="stmt"/>
|
|
39
|
+
<line num="54" count="2" type="stmt"/>
|
|
40
|
+
<line num="55" count="1" type="stmt"/>
|
|
41
|
+
<line num="69" count="2" type="stmt"/>
|
|
42
|
+
<line num="70" count="3" type="stmt"/>
|
|
43
|
+
<line num="71" count="3" type="stmt"/>
|
|
44
|
+
<line num="72" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
45
|
+
<line num="73" count="1" type="stmt"/>
|
|
46
|
+
<line num="75" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
47
|
+
<line num="76" count="1" type="stmt"/>
|
|
48
|
+
<line num="79" count="1" type="stmt"/>
|
|
49
|
+
<line num="91" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
50
|
+
<line num="92" count="1" type="stmt"/>
|
|
51
|
+
<line num="93" count="1" type="stmt"/>
|
|
52
|
+
<line num="97" count="1" type="stmt"/>
|
|
55
53
|
</file>
|
|
56
54
|
<file name="revocations.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/revocations.js">
|
|
57
|
-
<metrics statements="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="21" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
62
|
-
<line num="22" count="0" type="stmt"/>
|
|
63
|
-
<line num="27" count="0" type="stmt"/>
|
|
64
|
-
<line num="28" count="0" type="stmt"/>
|
|
65
|
-
<line num="33" count="0" type="stmt"/>
|
|
66
|
-
<line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
67
|
-
<line num="35" count="0" type="stmt"/>
|
|
68
|
-
<line num="39" count="0" type="stmt"/>
|
|
55
|
+
<metrics statements="16" coveredstatements="2" conditionals="6" coveredconditionals="0" methods="2" coveredmethods="0"/>
|
|
56
|
+
<line num="39" count="1" type="stmt"/>
|
|
57
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
58
|
+
<line num="41" count="0" type="stmt"/>
|
|
69
59
|
<line num="44" count="0" type="stmt"/>
|
|
60
|
+
<line num="45" count="0" type="stmt"/>
|
|
61
|
+
<line num="51" count="0" type="stmt"/>
|
|
62
|
+
<line num="53" count="0" type="stmt"/>
|
|
63
|
+
<line num="62" count="1" type="stmt"/>
|
|
64
|
+
<line num="63" count="0" type="stmt"/>
|
|
65
|
+
<line num="64" count="0" type="stmt"/>
|
|
66
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
67
|
+
<line num="71" count="0" type="stmt"/>
|
|
68
|
+
<line num="74" count="0" type="stmt"/>
|
|
69
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
70
|
+
<line num="77" count="0" type="stmt"/>
|
|
71
|
+
<line num="79" count="0" type="stmt"/>
|
|
70
72
|
</file>
|
|
71
73
|
<file name="signatures.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/signatures.js">
|
|
72
74
|
<metrics statements="83" coveredstatements="42" conditionals="39" coveredconditionals="15" methods="13" coveredmethods="6"/>
|
|
73
|
-
<line num="
|
|
75
|
+
<line num="76" count="2" type="stmt"/>
|
|
76
|
+
<line num="77" count="0" type="stmt"/>
|
|
74
77
|
<line num="78" count="0" type="stmt"/>
|
|
75
78
|
<line num="79" count="0" type="stmt"/>
|
|
76
79
|
<line num="80" count="0" type="stmt"/>
|
|
77
|
-
<line num="
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="
|
|
80
|
-
<line num="
|
|
81
|
-
<line num="101" count="0" type="
|
|
82
|
-
<line num="
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="110" count="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="118" count="
|
|
80
|
+
<line num="82" count="0" type="stmt"/>
|
|
81
|
+
<line num="93" count="0" type="stmt"/>
|
|
82
|
+
<line num="98" count="0" type="stmt"/>
|
|
83
|
+
<line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
84
|
+
<line num="101" count="0" type="stmt"/>
|
|
85
|
+
<line num="103" count="0" type="stmt"/>
|
|
86
|
+
<line num="109" count="2" type="stmt"/>
|
|
87
|
+
<line num="110" count="0" type="stmt"/>
|
|
88
|
+
<line num="117" count="2" type="stmt"/>
|
|
89
|
+
<line num="118" count="0" type="stmt"/>
|
|
87
90
|
<line num="119" count="0" type="stmt"/>
|
|
88
|
-
<line num="
|
|
91
|
+
<line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
89
92
|
<line num="127" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
90
|
-
<line num="128" count="0" type="
|
|
91
|
-
<line num="
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="138" count="0" type="
|
|
94
|
-
<line num="
|
|
95
|
-
<line num="
|
|
96
|
-
<line num="147" count="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="155" count="
|
|
93
|
+
<line num="128" count="0" type="stmt"/>
|
|
94
|
+
<line num="135" count="0" type="stmt"/>
|
|
95
|
+
<line num="137" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
96
|
+
<line num="138" count="0" type="stmt"/>
|
|
97
|
+
<line num="140" count="0" type="stmt"/>
|
|
98
|
+
<line num="146" count="2" type="stmt"/>
|
|
99
|
+
<line num="147" count="0" type="stmt"/>
|
|
100
|
+
<line num="154" count="2" type="stmt"/>
|
|
101
|
+
<line num="155" count="1" type="stmt"/>
|
|
99
102
|
<line num="156" count="1" type="stmt"/>
|
|
100
103
|
<line num="157" count="1" type="stmt"/>
|
|
101
104
|
<line num="158" count="1" type="stmt"/>
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="161" count="0" type="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="168" count="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="176" count="
|
|
109
|
-
<line num="
|
|
105
|
+
<line num="160" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
106
|
+
<line num="161" count="0" type="stmt"/>
|
|
107
|
+
<line num="163" count="0" type="stmt"/>
|
|
108
|
+
<line num="167" count="2" type="stmt"/>
|
|
109
|
+
<line num="168" count="1" type="stmt"/>
|
|
110
|
+
<line num="175" count="2" type="stmt"/>
|
|
111
|
+
<line num="176" count="1" type="stmt"/>
|
|
112
|
+
<line num="183" count="2" type="stmt"/>
|
|
110
113
|
<line num="184" count="2" type="stmt"/>
|
|
111
|
-
<line num="185" count="2" type="
|
|
112
|
-
<line num="186" count="
|
|
113
|
-
<line num="
|
|
114
|
+
<line num="185" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
115
|
+
<line num="186" count="1" type="stmt"/>
|
|
116
|
+
<line num="193" count="1" type="stmt"/>
|
|
114
117
|
<line num="194" count="1" type="stmt"/>
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="201" count="1" type="
|
|
117
|
-
<line num="
|
|
118
|
+
<line num="200" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
119
|
+
<line num="201" count="1" type="stmt"/>
|
|
120
|
+
<line num="204" count="1" type="stmt"/>
|
|
118
121
|
<line num="205" count="1" type="stmt"/>
|
|
119
122
|
<line num="206" count="1" type="stmt"/>
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="213" count="0" type="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="233" count="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="236" count="0" type="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="240" count="0" type="
|
|
129
|
-
<line num="
|
|
130
|
-
<line num="
|
|
131
|
-
<line num="257" count="
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="
|
|
134
|
-
<line num="262" count="0" type="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="266" count="0" type="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="331" count="0" type="stmt"/>
|
|
123
|
+
<line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
124
|
+
<line num="213" count="0" type="stmt"/>
|
|
125
|
+
<line num="215" count="0" type="stmt"/>
|
|
126
|
+
<line num="232" count="2" type="stmt"/>
|
|
127
|
+
<line num="233" count="0" type="stmt"/>
|
|
128
|
+
<line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
129
|
+
<line num="236" count="0" type="stmt"/>
|
|
130
|
+
<line num="239" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
131
|
+
<line num="240" count="0" type="stmt"/>
|
|
132
|
+
<line num="243" count="0" type="stmt"/>
|
|
133
|
+
<line num="256" count="2" type="stmt"/>
|
|
134
|
+
<line num="257" count="0" type="stmt"/>
|
|
135
|
+
<line num="259" count="0" type="stmt"/>
|
|
136
|
+
<line num="261" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
137
|
+
<line num="262" count="0" type="stmt"/>
|
|
138
|
+
<line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
139
|
+
<line num="266" count="0" type="stmt"/>
|
|
140
|
+
<line num="269" count="0" type="stmt"/>
|
|
141
|
+
<line num="307" count="2" type="stmt"/>
|
|
142
|
+
<line num="308" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
143
|
+
<line num="313" count="1" type="stmt"/>
|
|
144
|
+
<line num="319" count="3" type="stmt"/>
|
|
145
|
+
<line num="321" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
146
|
+
<line num="322" count="1" type="stmt"/>
|
|
147
|
+
<line num="325" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
148
|
+
<line num="326" count="1" type="stmt"/>
|
|
149
|
+
<line num="329" count="1" type="stmt"/>
|
|
150
|
+
<line num="342" count="2" type="stmt"/>
|
|
151
|
+
<line num="343" count="5" type="stmt"/>
|
|
152
|
+
<line num="345" count="3" type="stmt"/>
|
|
153
|
+
<line num="347" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
154
|
+
<line num="348" count="2" type="stmt"/>
|
|
155
|
+
<line num="351" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
156
|
+
<line num="352" count="1" type="stmt"/>
|
|
157
|
+
<line num="355" count="0" type="stmt"/>
|
|
156
158
|
</file>
|
|
157
159
|
<file name="users.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/api/users.js">
|
|
158
160
|
<metrics statements="13" coveredstatements="13" conditionals="12" coveredconditionals="11" methods="1" coveredmethods="1"/>
|
|
@@ -172,36 +174,39 @@
|
|
|
172
174
|
</file>
|
|
173
175
|
</package>
|
|
174
176
|
<package name="src.config">
|
|
175
|
-
<metrics statements="
|
|
177
|
+
<metrics statements="13" coveredstatements="5" conditionals="9" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
176
178
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/config/index.js">
|
|
177
|
-
<metrics statements="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="
|
|
180
|
-
<line num="
|
|
181
|
-
<line num="
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
184
|
-
<line num="27" count="0" type="stmt"/>
|
|
185
|
-
<line num="33" count="0" type="stmt"/>
|
|
179
|
+
<metrics statements="13" coveredstatements="5" conditionals="9" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
180
|
+
<line num="16" count="2" type="stmt"/>
|
|
181
|
+
<line num="28" count="2" type="stmt"/>
|
|
182
|
+
<line num="30" count="2" type="stmt"/>
|
|
183
|
+
<line num="32" count="0" type="stmt"/>
|
|
184
|
+
<line num="34" count="0" type="cond" truecount="0" falsecount="7"/>
|
|
186
185
|
<line num="35" count="0" type="stmt"/>
|
|
187
|
-
<line num="
|
|
186
|
+
<line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
187
|
+
<line num="43" count="0" type="stmt"/>
|
|
188
|
+
<line num="49" count="0" type="stmt"/>
|
|
189
|
+
<line num="53" count="2" type="stmt"/>
|
|
190
|
+
<line num="55" count="2" type="stmt"/>
|
|
191
|
+
<line num="56" count="0" type="stmt"/>
|
|
192
|
+
<line num="57" count="0" type="stmt"/>
|
|
188
193
|
</file>
|
|
189
194
|
</package>
|
|
190
195
|
<package name="src.errors">
|
|
191
196
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
192
197
|
<file name="index.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/errors/index.js">
|
|
193
198
|
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
|
|
194
|
-
<line num="8" count="
|
|
195
|
-
<line num="9" count="
|
|
196
|
-
<line num="10" count="
|
|
197
|
-
<line num="11" count="
|
|
198
|
-
<line num="12" count="
|
|
199
|
-
<line num="15" count="
|
|
200
|
-
<line num="16" count="
|
|
199
|
+
<line num="8" count="19" type="stmt"/>
|
|
200
|
+
<line num="9" count="19" type="stmt"/>
|
|
201
|
+
<line num="10" count="19" type="stmt"/>
|
|
202
|
+
<line num="11" count="19" type="stmt"/>
|
|
203
|
+
<line num="12" count="19" type="stmt"/>
|
|
204
|
+
<line num="15" count="19" type="cond" truecount="1" falsecount="1"/>
|
|
205
|
+
<line num="16" count="19" type="stmt"/>
|
|
201
206
|
</file>
|
|
202
207
|
</package>
|
|
203
208
|
<package name="src.utils">
|
|
204
|
-
<metrics statements="
|
|
209
|
+
<metrics statements="113" coveredstatements="15" conditionals="144" coveredconditionals="0" methods="15" coveredmethods="0"/>
|
|
205
210
|
<file name="constant.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/constant.js">
|
|
206
211
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
207
212
|
<line num="1" count="6" type="stmt"/>
|
|
@@ -209,7 +214,7 @@
|
|
|
209
214
|
<line num="17" count="6" type="stmt"/>
|
|
210
215
|
</file>
|
|
211
216
|
<file name="helpers.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/helpers.js">
|
|
212
|
-
<metrics statements="
|
|
217
|
+
<metrics statements="70" coveredstatements="9" conditionals="104" coveredconditionals="0" methods="10" coveredmethods="0"/>
|
|
213
218
|
<line num="6" count="2" type="stmt"/>
|
|
214
219
|
<line num="8" count="2" type="stmt"/>
|
|
215
220
|
<line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -258,36 +263,31 @@
|
|
|
258
263
|
<line num="134" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
259
264
|
<line num="135" count="0" type="stmt"/>
|
|
260
265
|
<line num="146" count="2" type="stmt"/>
|
|
261
|
-
<line num="147" count="0" type="
|
|
262
|
-
<line num="
|
|
263
|
-
<line num="
|
|
264
|
-
<line num="
|
|
265
|
-
<line num="
|
|
266
|
-
<line num="
|
|
267
|
-
<line num="166" count="0" type="stmt"/>
|
|
268
|
-
<line num="174" count="2" type="stmt"/>
|
|
269
|
-
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
266
|
+
<line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
267
|
+
<line num="154" count="0" type="stmt"/>
|
|
268
|
+
<line num="163" count="2" type="stmt"/>
|
|
269
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
270
|
+
<line num="169" count="0" type="stmt"/>
|
|
271
|
+
<line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
270
272
|
<line num="180" count="0" type="stmt"/>
|
|
271
|
-
<line num="
|
|
272
|
-
<line num="
|
|
273
|
-
<line num="
|
|
274
|
-
<line num="
|
|
275
|
-
<line num="
|
|
276
|
-
<line num="
|
|
277
|
-
<line num="
|
|
278
|
-
<line num="
|
|
273
|
+
<line num="188" count="2" type="stmt"/>
|
|
274
|
+
<line num="189" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
275
|
+
<line num="196" count="0" type="stmt"/>
|
|
276
|
+
<line num="204" count="2" type="stmt"/>
|
|
277
|
+
<line num="205" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
278
|
+
<line num="206" count="0" type="stmt"/>
|
|
279
|
+
<line num="213" count="0" type="stmt"/>
|
|
280
|
+
<line num="215" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
281
|
+
<line num="216" count="0" type="stmt"/>
|
|
282
|
+
<line num="223" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
279
283
|
<line num="224" count="0" type="stmt"/>
|
|
280
|
-
<line num="
|
|
281
|
-
<line num="
|
|
282
|
-
<line num="
|
|
283
|
-
<line num="
|
|
284
|
-
<line num="242" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
285
|
-
<line num="243" count="0" type="stmt"/>
|
|
286
|
-
<line num="250" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
287
|
-
<line num="251" count="0" type="stmt"/>
|
|
284
|
+
<line num="231" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
285
|
+
<line num="232" count="0" type="stmt"/>
|
|
286
|
+
<line num="239" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
287
|
+
<line num="240" count="0" type="stmt"/>
|
|
288
288
|
</file>
|
|
289
289
|
<file name="httpClient.js" path="/builds/3dlinkweb/apacuana/libs/apacuana-sdk-core/main/src/utils/httpClient.js">
|
|
290
|
-
<metrics statements="
|
|
290
|
+
<metrics statements="40" coveredstatements="3" conditionals="40" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
291
291
|
<line num="12" count="2" type="stmt"/>
|
|
292
292
|
<line num="13" count="0" type="stmt"/>
|
|
293
293
|
<line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -304,36 +304,30 @@
|
|
|
304
304
|
<line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
305
305
|
<line num="71" count="0" type="stmt"/>
|
|
306
306
|
<line num="78" count="0" type="stmt"/>
|
|
307
|
-
<line num="
|
|
308
|
-
<line num="
|
|
309
|
-
<line num="
|
|
310
|
-
<line num="
|
|
311
|
-
<line num="
|
|
312
|
-
<line num="
|
|
313
|
-
<line num="
|
|
314
|
-
<line num="
|
|
315
|
-
<line num="
|
|
316
|
-
<line num="127" count="0" type="
|
|
317
|
-
<line num="
|
|
307
|
+
<line num="93" count="2" type="stmt"/>
|
|
308
|
+
<line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
309
|
+
<line num="95" count="0" type="stmt"/>
|
|
310
|
+
<line num="99" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
311
|
+
<line num="100" count="0" type="stmt"/>
|
|
312
|
+
<line num="104" count="0" type="stmt"/>
|
|
313
|
+
<line num="117" count="2" type="cond" truecount="0" falsecount="2"/>
|
|
314
|
+
<line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
315
|
+
<line num="119" count="0" type="stmt"/>
|
|
316
|
+
<line num="127" count="0" type="stmt"/>
|
|
317
|
+
<line num="131" count="0" type="stmt"/>
|
|
318
|
+
<line num="133" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
319
|
+
<line num="135" count="0" type="stmt"/>
|
|
318
320
|
<line num="136" count="0" type="stmt"/>
|
|
321
|
+
<line num="138" count="0" type="stmt"/>
|
|
322
|
+
<line num="139" count="0" type="stmt"/>
|
|
319
323
|
<line num="141" count="0" type="stmt"/>
|
|
324
|
+
<line num="142" count="0" type="stmt"/>
|
|
325
|
+
<line num="144" count="0" type="stmt"/>
|
|
320
326
|
<line num="145" count="0" type="stmt"/>
|
|
321
|
-
<line num="
|
|
322
|
-
<line num="152" count="0" type="stmt"/>
|
|
323
|
-
<line num="154" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
324
|
-
<line num="156" count="0" type="stmt"/>
|
|
327
|
+
<line num="147" count="0" type="stmt"/>
|
|
325
328
|
<line num="157" count="0" type="stmt"/>
|
|
326
|
-
<line num="159" count="0" type="stmt"/>
|
|
327
|
-
<line num="160" count="0" type="stmt"/>
|
|
328
329
|
<line num="162" count="0" type="stmt"/>
|
|
329
330
|
<line num="163" count="0" type="stmt"/>
|
|
330
|
-
<line num="165" count="0" type="stmt"/>
|
|
331
|
-
<line num="166" count="0" type="stmt"/>
|
|
332
|
-
<line num="168" count="0" type="stmt"/>
|
|
333
|
-
<line num="178" count="0" type="stmt"/>
|
|
334
|
-
<line num="179" count="0" type="stmt"/>
|
|
335
|
-
<line num="184" count="0" type="stmt"/>
|
|
336
|
-
<line num="185" count="0" type="stmt"/>
|
|
337
331
|
</file>
|
|
338
332
|
</package>
|
|
339
333
|
</project>
|