@hazeljs/agent 0.2.0-beta.49 → 0.2.0-beta.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/coverage/clover.xml +281 -263
- package/coverage/lcov-report/index.html +30 -30
- package/coverage/lcov.info +454 -417
- package/dist/agent.module.d.ts +16 -1
- package/dist/agent.module.d.ts.map +1 -1
- package/dist/agent.module.js +13 -4
- package/dist/agent.module.js.map +1 -1
- package/dist/executor/tool.executor.d.ts +3 -1
- package/dist/executor/tool.executor.d.ts.map +1 -1
- package/dist/executor/tool.executor.js +33 -2
- package/dist/executor/tool.executor.js.map +1 -1
- package/dist/runtime/agent.runtime.d.ts +2 -1
- package/dist/runtime/agent.runtime.d.ts.map +1 -1
- package/dist/runtime/agent.runtime.js +1 -1
- package/dist/runtime/agent.runtime.js.map +1 -1
- package/dist/types/agent.types.d.ts +15 -0
- package/dist/types/agent.types.d.ts.map +1 -1
- package/dist/types/agent.types.js.map +1 -1
- package/logs/combined.log +1 -1
- package/package.json +10 -5
- package/tsconfig.tsbuildinfo +1 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1772392273918" clover="3.2.0">
|
|
3
|
+
<project timestamp="1772392273918" name="All files">
|
|
4
|
+
<metrics statements="1087" coveredstatements="1025" conditionals="369" coveredconditionals="303" methods="250" coveredmethods="237" elements="1706" coveredelements="1565" complexity="0" loc="1087" ncloc="1087" packages="10" files="23" classes="23"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="24" coveredstatements="22" conditionals="8" coveredconditionals="6" methods="12" coveredmethods="12"/>
|
|
7
7
|
<file name="agent.module.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/agent.module.ts">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="24" coveredstatements="22" conditionals="8" coveredconditionals="6" methods="12" coveredmethods="12"/>
|
|
9
9
|
<line num="6" count="1" type="stmt"/>
|
|
10
10
|
<line num="7" count="1" type="stmt"/>
|
|
11
|
-
<line num="
|
|
12
|
-
<line num="
|
|
13
|
-
<line num="
|
|
14
|
-
<line num="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
11
|
+
<line num="13" count="1" type="stmt"/>
|
|
12
|
+
<line num="28" count="1" type="stmt"/>
|
|
13
|
+
<line num="55" count="9" type="stmt"/>
|
|
14
|
+
<line num="56" count="9" type="stmt"/>
|
|
15
|
+
<line num="61" count="9" type="stmt"/>
|
|
16
|
+
<line num="64" count="9" type="cond" truecount="0" falsecount="1"/>
|
|
17
|
+
<line num="65" count="0" type="stmt"/>
|
|
18
|
+
<line num="66" count="0" type="stmt"/>
|
|
19
|
+
<line num="72" count="1" type="stmt"/>
|
|
20
|
+
<line num="80" count="1" type="stmt"/>
|
|
21
|
+
<line num="84" count="1" type="stmt"/>
|
|
22
|
+
<line num="88" count="1" type="stmt"/>
|
|
23
|
+
<line num="92" count="1" type="stmt"/>
|
|
24
|
+
<line num="96" count="1" type="stmt"/>
|
|
25
|
+
<line num="100" count="1" type="stmt"/>
|
|
26
|
+
<line num="104" count="1" type="stmt"/>
|
|
27
|
+
<line num="108" count="1" type="stmt"/>
|
|
28
|
+
<line num="120" count="1" type="stmt"/>
|
|
29
|
+
<line num="121" count="1" type="stmt"/>
|
|
30
|
+
<line num="124" count="3" type="stmt"/>
|
|
31
|
+
<line num="125" count="3" type="stmt"/>
|
|
32
|
+
<line num="129" count="12" type="stmt"/>
|
|
32
33
|
</file>
|
|
33
34
|
</package>
|
|
34
35
|
<package name="src.context">
|
|
@@ -106,40 +107,40 @@
|
|
|
106
107
|
</file>
|
|
107
108
|
</package>
|
|
108
109
|
<package name="src.events">
|
|
109
|
-
<metrics statements="27" coveredstatements="
|
|
110
|
+
<metrics statements="27" coveredstatements="27" conditionals="9" coveredconditionals="7" methods="8" coveredmethods="8"/>
|
|
110
111
|
<file name="event.emitter.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/events/event.emitter.ts">
|
|
111
|
-
<metrics statements="27" coveredstatements="
|
|
112
|
+
<metrics statements="27" coveredstatements="27" conditionals="9" coveredconditionals="7" methods="8" coveredmethods="8"/>
|
|
112
113
|
<line num="7" count="4" type="stmt"/>
|
|
113
114
|
<line num="15" count="4" type="stmt"/>
|
|
114
|
-
<line num="16" count="
|
|
115
|
-
<line num="17" count="
|
|
116
|
-
<line num="18" count="
|
|
115
|
+
<line num="16" count="100" type="stmt"/>
|
|
116
|
+
<line num="17" count="100" type="stmt"/>
|
|
117
|
+
<line num="18" count="100" type="stmt"/>
|
|
117
118
|
<line num="24" count="19" type="cond" truecount="1" falsecount="0"/>
|
|
118
119
|
<line num="25" count="16" type="stmt"/>
|
|
119
120
|
<line num="27" count="19" type="stmt"/>
|
|
120
|
-
<line num="34" count="
|
|
121
|
+
<line num="34" count="8" type="stmt"/>
|
|
121
122
|
<line num="41" count="3" type="stmt"/>
|
|
122
123
|
<line num="42" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
123
124
|
<line num="43" count="3" type="stmt"/>
|
|
124
125
|
<line num="51" count="1" type="stmt"/>
|
|
125
|
-
<line num="64" count="
|
|
126
|
-
<line num="73" count="
|
|
127
|
-
<line num="74" count="
|
|
126
|
+
<line num="64" count="30" type="stmt"/>
|
|
127
|
+
<line num="73" count="30" type="stmt"/>
|
|
128
|
+
<line num="74" count="30" type="cond" truecount="1" falsecount="0"/>
|
|
128
129
|
<line num="75" count="6" type="stmt"/>
|
|
129
130
|
<line num="76" count="6" type="stmt"/>
|
|
130
131
|
<line num="77" count="6" type="stmt"/>
|
|
131
132
|
<line num="79" count="2" type="stmt"/>
|
|
132
|
-
<line num="88" count="
|
|
133
|
-
<line num="89" count="
|
|
134
|
-
<line num="90" count="
|
|
135
|
-
<line num="92" count="
|
|
133
|
+
<line num="88" count="30" type="stmt"/>
|
|
134
|
+
<line num="89" count="2" type="stmt"/>
|
|
135
|
+
<line num="90" count="2" type="stmt"/>
|
|
136
|
+
<line num="92" count="1" type="stmt"/>
|
|
136
137
|
<line num="105" count="2" type="stmt"/>
|
|
137
138
|
<line num="106" count="2" type="stmt"/>
|
|
138
139
|
<line num="113" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
139
140
|
</file>
|
|
140
141
|
</package>
|
|
141
142
|
<package name="src.executor">
|
|
142
|
-
<metrics statements="
|
|
143
|
+
<metrics statements="214" coveredstatements="202" conditionals="68" coveredconditionals="56" methods="25" coveredmethods="24"/>
|
|
143
144
|
<file name="agent.executor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/executor/agent.executor.ts">
|
|
144
145
|
<metrics statements="112" coveredstatements="106" conditionals="35" coveredconditionals="28" methods="10" coveredmethods="9"/>
|
|
145
146
|
<line num="6" count="4" type="stmt"/>
|
|
@@ -256,92 +257,109 @@
|
|
|
256
257
|
<line num="375" count="50" type="stmt"/>
|
|
257
258
|
</file>
|
|
258
259
|
<file name="tool.executor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/executor/tool.executor.ts">
|
|
259
|
-
<metrics statements="
|
|
260
|
+
<metrics statements="102" coveredstatements="96" conditionals="33" coveredconditionals="28" methods="15" coveredmethods="15"/>
|
|
260
261
|
<line num="6" count="5" type="stmt"/>
|
|
261
262
|
<line num="7" count="5" type="stmt"/>
|
|
262
263
|
<line num="14" count="5" type="stmt"/>
|
|
263
|
-
<line num="
|
|
264
|
-
<line num="
|
|
265
|
-
<line num="
|
|
266
|
-
<line num="
|
|
267
|
-
<line num="
|
|
268
|
-
<line num="
|
|
269
|
-
<line num="
|
|
270
|
-
<line num="
|
|
271
|
-
<line num="
|
|
272
|
-
<line num="
|
|
273
|
-
<line num="
|
|
274
|
-
<line num="
|
|
275
|
-
<line num="
|
|
276
|
-
<line num="
|
|
277
|
-
<line num="
|
|
278
|
-
<line num="
|
|
279
|
-
<line num="
|
|
280
|
-
<line num="
|
|
281
|
-
<line num="
|
|
282
|
-
<line num="
|
|
283
|
-
<line num="
|
|
284
|
-
<line num="
|
|
285
|
-
<line num="
|
|
286
|
-
<line num="
|
|
287
|
-
<line num="
|
|
264
|
+
<line num="21" count="5" type="stmt"/>
|
|
265
|
+
<line num="22" count="124" type="stmt"/>
|
|
266
|
+
<line num="23" count="124" type="stmt"/>
|
|
267
|
+
<line num="26" count="124" type="stmt"/>
|
|
268
|
+
<line num="27" count="124" type="stmt"/>
|
|
269
|
+
<line num="40" count="14" type="stmt"/>
|
|
270
|
+
<line num="41" count="14" type="stmt"/>
|
|
271
|
+
<line num="43" count="14" type="stmt"/>
|
|
272
|
+
<line num="54" count="14" type="stmt"/>
|
|
273
|
+
<line num="56" count="14" type="stmt"/>
|
|
274
|
+
<line num="61" count="14" type="stmt"/>
|
|
275
|
+
<line num="62" count="14" type="cond" truecount="1" falsecount="0"/>
|
|
276
|
+
<line num="63" count="4" type="stmt"/>
|
|
277
|
+
<line num="64" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
278
|
+
<line num="65" count="1" type="stmt"/>
|
|
279
|
+
<line num="66" count="1" type="stmt"/>
|
|
280
|
+
<line num="67" count="1" type="stmt"/>
|
|
281
|
+
<line num="69" count="1" type="stmt"/>
|
|
282
|
+
<line num="76" count="1" type="stmt"/>
|
|
283
|
+
<line num="82" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
284
|
+
<line num="83" count="1" type="stmt"/>
|
|
285
|
+
<line num="87" count="13" type="cond" truecount="1" falsecount="0"/>
|
|
286
|
+
<line num="88" count="5" type="stmt"/>
|
|
287
|
+
<line num="90" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
288
|
+
<line num="91" count="2" type="stmt"/>
|
|
289
|
+
<line num="93" count="2" type="stmt"/>
|
|
290
|
+
<line num="99" count="2" type="stmt"/>
|
|
288
291
|
<line num="106" count="2" type="stmt"/>
|
|
289
292
|
<line num="107" count="2" type="stmt"/>
|
|
290
|
-
<line num="
|
|
291
|
-
<line num="
|
|
292
|
-
<line num="
|
|
293
|
-
<line num="
|
|
294
|
-
<line num="
|
|
295
|
-
<line num="
|
|
296
|
-
<line num="
|
|
297
|
-
<line num="
|
|
298
|
-
<line num="
|
|
299
|
-
<line num="
|
|
300
|
-
<line num="
|
|
301
|
-
<line num="146" count="
|
|
302
|
-
<line num="
|
|
303
|
-
<line num="
|
|
304
|
-
<line num="
|
|
305
|
-
<line num="
|
|
306
|
-
<line num="
|
|
307
|
-
<line num="
|
|
308
|
-
<line num="
|
|
309
|
-
<line num="
|
|
310
|
-
<line num="
|
|
311
|
-
<line num="
|
|
312
|
-
<line num="
|
|
313
|
-
<line num="
|
|
314
|
-
<line num="
|
|
293
|
+
<line num="114" count="10" type="stmt"/>
|
|
294
|
+
<line num="116" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
295
|
+
<line num="118" count="7" type="stmt"/>
|
|
296
|
+
<line num="119" count="7" type="stmt"/>
|
|
297
|
+
<line num="120" count="7" type="stmt"/>
|
|
298
|
+
<line num="122" count="7" type="stmt"/>
|
|
299
|
+
<line num="129" count="7" type="stmt"/>
|
|
300
|
+
<line num="135" count="3" type="stmt"/>
|
|
301
|
+
<line num="136" count="3" type="stmt"/>
|
|
302
|
+
<line num="137" count="3" type="stmt"/>
|
|
303
|
+
<line num="139" count="3" type="stmt"/>
|
|
304
|
+
<line num="146" count="3" type="stmt"/>
|
|
305
|
+
<line num="152" count="13" type="stmt"/>
|
|
306
|
+
<line num="166" count="10" type="stmt"/>
|
|
307
|
+
<line num="167" count="11" type="stmt"/>
|
|
308
|
+
<line num="168" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
309
|
+
<line num="169" count="11" type="stmt"/>
|
|
310
|
+
<line num="170" count="7" type="stmt"/>
|
|
311
|
+
<line num="172" count="4" type="stmt"/>
|
|
312
|
+
<line num="174" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
313
|
+
<line num="175" count="1" type="stmt"/>
|
|
314
|
+
<line num="180" count="3" type="stmt"/>
|
|
315
|
+
<line num="192" count="11" type="stmt"/>
|
|
316
|
+
<line num="193" count="11" type="stmt"/>
|
|
317
|
+
<line num="196" count="11" type="stmt"/>
|
|
318
|
+
<line num="197" count="4" type="stmt"/>
|
|
319
|
+
<line num="203" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
320
|
+
<line num="204" count="3" type="stmt"/>
|
|
321
|
+
<line num="205" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
322
|
+
<line num="206" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
323
|
+
<line num="208" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
315
324
|
<line num="211" count="5" type="stmt"/>
|
|
316
|
-
<line num="213" count="
|
|
317
|
-
<line num="
|
|
318
|
-
<line num="
|
|
319
|
-
<line num="
|
|
320
|
-
<line num="
|
|
321
|
-
<line num="
|
|
322
|
-
<line num="
|
|
323
|
-
<line num="
|
|
324
|
-
<line num="
|
|
325
|
-
<line num="
|
|
326
|
-
<line num="
|
|
327
|
-
<line num="
|
|
328
|
-
<line num="
|
|
329
|
-
<line num="
|
|
330
|
-
<line num="
|
|
331
|
-
<line num="
|
|
332
|
-
<line num="
|
|
333
|
-
<line num="240" count="0" type="stmt"/>
|
|
334
|
-
<line num="250" count="4" type="stmt"/>
|
|
335
|
-
<line num="251" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
336
|
-
<line num="252" count="2" type="stmt"/>
|
|
337
|
-
<line num="254" count="2" type="stmt"/>
|
|
338
|
-
<line num="262" count="4" type="stmt"/>
|
|
339
|
-
<line num="263" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
325
|
+
<line num="213" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
326
|
+
<line num="214" count="11" type="stmt"/>
|
|
327
|
+
<line num="228" count="5" type="stmt"/>
|
|
328
|
+
<line num="230" count="5" type="stmt"/>
|
|
329
|
+
<line num="240" count="5" type="stmt"/>
|
|
330
|
+
<line num="242" count="5" type="stmt"/>
|
|
331
|
+
<line num="248" count="5" type="stmt"/>
|
|
332
|
+
<line num="249" count="5" type="stmt"/>
|
|
333
|
+
<line num="250" count="5" type="stmt"/>
|
|
334
|
+
<line num="252" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
335
|
+
<line num="254" count="0" type="stmt"/>
|
|
336
|
+
<line num="255" count="0" type="stmt"/>
|
|
337
|
+
<line num="256" count="0" type="stmt"/>
|
|
338
|
+
<line num="260" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
339
|
+
<line num="261" count="2" type="stmt"/>
|
|
340
|
+
<line num="262" count="2" type="stmt"/>
|
|
341
|
+
<line num="263" count="2" type="stmt"/>
|
|
340
342
|
<line num="264" count="2" type="stmt"/>
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
343
|
+
<line num="268" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
344
|
+
<line num="269" count="2" type="stmt"/>
|
|
345
|
+
<line num="270" count="2" type="stmt"/>
|
|
346
|
+
<line num="271" count="2" type="stmt"/>
|
|
347
|
+
<line num="272" count="2" type="stmt"/>
|
|
348
|
+
<line num="276" count="1" type="cond" truecount="2" falsecount="1"/>
|
|
349
|
+
<line num="277" count="0" type="stmt"/>
|
|
350
|
+
<line num="278" count="0" type="stmt"/>
|
|
351
|
+
<line num="279" count="0" type="stmt"/>
|
|
352
|
+
<line num="289" count="4" type="stmt"/>
|
|
353
|
+
<line num="290" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
354
|
+
<line num="291" count="2" type="stmt"/>
|
|
355
|
+
<line num="293" count="2" type="stmt"/>
|
|
356
|
+
<line num="301" count="4" type="stmt"/>
|
|
357
|
+
<line num="302" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
358
|
+
<line num="303" count="2" type="stmt"/>
|
|
359
|
+
<line num="311" count="10" type="stmt"/>
|
|
360
|
+
<line num="318" count="34" type="cond" truecount="1" falsecount="0"/>
|
|
361
|
+
<line num="319" count="34" type="stmt"/>
|
|
362
|
+
<line num="327" count="1" type="stmt"/>
|
|
345
363
|
</file>
|
|
346
364
|
</package>
|
|
347
365
|
<package name="src.registry">
|
|
@@ -465,114 +483,114 @@
|
|
|
465
483
|
<line num="12" count="3" type="stmt"/>
|
|
466
484
|
<line num="13" count="3" type="stmt"/>
|
|
467
485
|
<line num="14" count="3" type="stmt"/>
|
|
468
|
-
<line num="24" count="3" type="stmt"/>
|
|
469
486
|
<line num="25" count="3" type="stmt"/>
|
|
470
487
|
<line num="26" count="3" type="stmt"/>
|
|
471
488
|
<line num="27" count="3" type="stmt"/>
|
|
472
489
|
<line num="28" count="3" type="stmt"/>
|
|
473
490
|
<line num="29" count="3" type="stmt"/>
|
|
474
|
-
<line num="
|
|
475
|
-
<line num="
|
|
476
|
-
<line num="
|
|
477
|
-
<line num="
|
|
478
|
-
<line num="
|
|
479
|
-
<line num="
|
|
480
|
-
<line num="
|
|
481
|
-
<line num="
|
|
482
|
-
<line num="
|
|
483
|
-
<line num="
|
|
484
|
-
<line num="
|
|
485
|
-
<line num="
|
|
486
|
-
<line num="
|
|
487
|
-
<line num="
|
|
488
|
-
<line num="
|
|
489
|
-
<line num="
|
|
491
|
+
<line num="30" count="3" type="stmt"/>
|
|
492
|
+
<line num="55" count="3" type="stmt"/>
|
|
493
|
+
<line num="72" count="82" type="stmt"/>
|
|
494
|
+
<line num="84" count="82" type="stmt"/>
|
|
495
|
+
<line num="87" count="82" type="cond" truecount="1" falsecount="0"/>
|
|
496
|
+
<line num="88" count="4" type="stmt"/>
|
|
497
|
+
<line num="91" count="4" type="stmt"/>
|
|
498
|
+
<line num="97" count="82" type="cond" truecount="1" falsecount="0"/>
|
|
499
|
+
<line num="98" count="78" type="stmt"/>
|
|
500
|
+
<line num="99" count="78" type="stmt"/>
|
|
501
|
+
<line num="103" count="82" type="cond" truecount="1" falsecount="0"/>
|
|
502
|
+
<line num="104" count="81" type="stmt"/>
|
|
503
|
+
<line num="108" count="0" type="stmt"/>
|
|
504
|
+
<line num="117" count="82" type="cond" truecount="1" falsecount="0"/>
|
|
505
|
+
<line num="118" count="77" type="stmt"/>
|
|
506
|
+
<line num="123" count="0" type="stmt"/>
|
|
490
507
|
<line num="129" count="82" type="stmt"/>
|
|
491
|
-
<line num="
|
|
492
|
-
<line num="131" count="82" type="cond" truecount="2" falsecount="0"/>
|
|
508
|
+
<line num="131" count="82" type="stmt"/>
|
|
493
509
|
<line num="132" count="82" type="stmt"/>
|
|
494
|
-
<line num="133" count="82" type="
|
|
510
|
+
<line num="133" count="82" type="cond" truecount="2" falsecount="0"/>
|
|
511
|
+
<line num="134" count="82" type="stmt"/>
|
|
495
512
|
<line num="135" count="82" type="stmt"/>
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="
|
|
499
|
-
<line num="
|
|
500
|
-
<line num="
|
|
501
|
-
<line num="
|
|
502
|
-
<line num="
|
|
503
|
-
<line num="
|
|
504
|
-
<line num="
|
|
505
|
-
<line num="
|
|
506
|
-
<line num="
|
|
507
|
-
<line num="
|
|
508
|
-
<line num="
|
|
509
|
-
<line num="
|
|
513
|
+
<line num="137" count="82" type="stmt"/>
|
|
514
|
+
<line num="138" count="0" type="stmt"/>
|
|
515
|
+
<line num="141" count="82" type="stmt"/>
|
|
516
|
+
<line num="148" count="22" type="stmt"/>
|
|
517
|
+
<line num="152" count="82" type="stmt"/>
|
|
518
|
+
<line num="163" count="10" type="stmt"/>
|
|
519
|
+
<line num="170" count="2" type="stmt"/>
|
|
520
|
+
<line num="171" count="2" type="stmt"/>
|
|
521
|
+
<line num="183" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
522
|
+
<line num="184" count="2" type="stmt"/>
|
|
523
|
+
<line num="185" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
524
|
+
<line num="186" count="1" type="stmt"/>
|
|
525
|
+
<line num="187" count="1" type="stmt"/>
|
|
526
|
+
<line num="191" count="16" type="stmt"/>
|
|
510
527
|
<line num="192" count="16" type="stmt"/>
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="202" count="
|
|
514
|
-
<line num="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
518
|
-
<line num="
|
|
519
|
-
<line num="219" count="
|
|
520
|
-
<line num="221" count="10" type="
|
|
521
|
-
<line num="
|
|
522
|
-
<line num="
|
|
523
|
-
<line num="
|
|
524
|
-
<line num="
|
|
525
|
-
<line num="
|
|
526
|
-
<line num="
|
|
527
|
-
<line num="
|
|
528
|
-
<line num="
|
|
529
|
-
<line num="
|
|
530
|
-
<line num="251" count="6" type="
|
|
531
|
-
<line num="
|
|
532
|
-
<line num="264" count="6" type="cond" truecount="
|
|
533
|
-
<line num="
|
|
534
|
-
<line num="
|
|
535
|
-
<line num="
|
|
536
|
-
<line num="
|
|
537
|
-
<line num="
|
|
538
|
-
<line num="
|
|
539
|
-
<line num="278" count="6" type="
|
|
540
|
-
<line num="
|
|
541
|
-
<line num="
|
|
542
|
-
<line num="
|
|
543
|
-
<line num="
|
|
544
|
-
<line num="
|
|
545
|
-
<line num="
|
|
546
|
-
<line num="
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
550
|
-
<line num="
|
|
551
|
-
<line num="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
554
|
-
<line num="
|
|
555
|
-
<line num="
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
558
|
-
<line num="
|
|
559
|
-
<line num="
|
|
560
|
-
<line num="
|
|
561
|
-
<line num="
|
|
562
|
-
<line num="
|
|
563
|
-
<line num="
|
|
564
|
-
<line num="
|
|
565
|
-
<line num="
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
570
|
-
<line num="
|
|
571
|
-
<line num="
|
|
572
|
-
<line num="
|
|
573
|
-
<line num="
|
|
574
|
-
<line num="462" count="
|
|
575
|
-
<line num="
|
|
528
|
+
<line num="194" count="16" type="stmt"/>
|
|
529
|
+
<line num="195" count="16" type="stmt"/>
|
|
530
|
+
<line num="202" count="16" type="stmt"/>
|
|
531
|
+
<line num="204" count="6" type="stmt"/>
|
|
532
|
+
<line num="205" count="6" type="stmt"/>
|
|
533
|
+
<line num="208" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
534
|
+
<line num="209" count="6" type="stmt"/>
|
|
535
|
+
<line num="212" count="6" type="stmt"/>
|
|
536
|
+
<line num="219" count="6" type="stmt"/>
|
|
537
|
+
<line num="221" count="10" type="stmt"/>
|
|
538
|
+
<line num="223" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
539
|
+
<line num="224" count="10" type="stmt"/>
|
|
540
|
+
<line num="227" count="10" type="stmt"/>
|
|
541
|
+
<line num="232" count="10" type="stmt"/>
|
|
542
|
+
<line num="244" count="16" type="stmt"/>
|
|
543
|
+
<line num="245" count="16" type="stmt"/>
|
|
544
|
+
<line num="246" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
545
|
+
<line num="247" count="10" type="stmt"/>
|
|
546
|
+
<line num="250" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
547
|
+
<line num="251" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
548
|
+
<line num="253" count="6" type="stmt"/>
|
|
549
|
+
<line num="264" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
550
|
+
<line num="266" count="6" type="cond" truecount="3" falsecount="0"/>
|
|
551
|
+
<line num="267" count="1" type="stmt"/>
|
|
552
|
+
<line num="270" count="6" type="cond" truecount="2" falsecount="1"/>
|
|
553
|
+
<line num="271" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
554
|
+
<line num="274" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
555
|
+
<line num="275" count="0" type="stmt"/>
|
|
556
|
+
<line num="278" count="6" type="stmt"/>
|
|
557
|
+
<line num="280" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
558
|
+
<line num="281" count="1" type="stmt"/>
|
|
559
|
+
<line num="284" count="6" type="stmt"/>
|
|
560
|
+
<line num="288" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
561
|
+
<line num="289" count="15" type="stmt"/>
|
|
562
|
+
<line num="290" count="15" type="stmt"/>
|
|
563
|
+
<line num="293" count="15" type="cond" truecount="1" falsecount="0"/>
|
|
564
|
+
<line num="294" count="14" type="stmt"/>
|
|
565
|
+
<line num="297" count="1" type="stmt"/>
|
|
566
|
+
<line num="301" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
567
|
+
<line num="302" count="1" type="stmt"/>
|
|
568
|
+
<line num="305" count="0" type="stmt"/>
|
|
569
|
+
<line num="312" count="2" type="stmt"/>
|
|
570
|
+
<line num="319" count="2" type="stmt"/>
|
|
571
|
+
<line num="320" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
572
|
+
<line num="327" count="3" type="stmt"/>
|
|
573
|
+
<line num="334" count="1" type="stmt"/>
|
|
574
|
+
<line num="341" count="1" type="stmt"/>
|
|
575
|
+
<line num="348" count="3" type="stmt"/>
|
|
576
|
+
<line num="355" count="2" type="stmt"/>
|
|
577
|
+
<line num="362" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
578
|
+
<line num="370" count="2" type="stmt"/>
|
|
579
|
+
<line num="377" count="2" type="stmt"/>
|
|
580
|
+
<line num="384" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
581
|
+
<line num="391" count="2" type="stmt"/>
|
|
582
|
+
<line num="398" count="2" type="stmt"/>
|
|
583
|
+
<line num="413" count="2" type="stmt"/>
|
|
584
|
+
<line num="425" count="2" type="stmt"/>
|
|
585
|
+
<line num="432" count="3" type="stmt"/>
|
|
586
|
+
<line num="439" count="2" type="stmt"/>
|
|
587
|
+
<line num="446" count="2" type="stmt"/>
|
|
588
|
+
<line num="453" count="2" type="stmt"/>
|
|
589
|
+
<line num="460" count="1" type="stmt"/>
|
|
590
|
+
<line num="461" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
591
|
+
<line num="462" count="0" type="stmt"/>
|
|
592
|
+
<line num="464" count="1" type="stmt"/>
|
|
593
|
+
<line num="471" count="6" type="stmt"/>
|
|
576
594
|
</file>
|
|
577
595
|
</package>
|
|
578
596
|
<package name="src.state">
|
|
@@ -857,21 +875,21 @@
|
|
|
857
875
|
<metrics statements="40" coveredstatements="40" conditionals="8" coveredconditionals="8" methods="4" coveredmethods="4"/>
|
|
858
876
|
<file name="agent.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/types/agent.types.ts">
|
|
859
877
|
<metrics statements="15" coveredstatements="15" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
860
|
-
<line num="
|
|
861
|
-
<line num="
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="
|
|
864
|
-
<line num="
|
|
865
|
-
<line num="
|
|
866
|
-
<line num="
|
|
867
|
-
<line num="
|
|
868
|
-
<line num="
|
|
869
|
-
<line num="
|
|
870
|
-
<line num="
|
|
871
|
-
<line num="
|
|
872
|
-
<line num="
|
|
873
|
-
<line num="
|
|
874
|
-
<line num="
|
|
878
|
+
<line num="30" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
879
|
+
<line num="31" count="8" type="stmt"/>
|
|
880
|
+
<line num="32" count="8" type="stmt"/>
|
|
881
|
+
<line num="33" count="8" type="stmt"/>
|
|
882
|
+
<line num="34" count="8" type="stmt"/>
|
|
883
|
+
<line num="35" count="8" type="stmt"/>
|
|
884
|
+
<line num="36" count="8" type="stmt"/>
|
|
885
|
+
<line num="37" count="8" type="stmt"/>
|
|
886
|
+
<line num="59" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
887
|
+
<line num="60" count="8" type="stmt"/>
|
|
888
|
+
<line num="61" count="8" type="stmt"/>
|
|
889
|
+
<line num="62" count="8" type="stmt"/>
|
|
890
|
+
<line num="63" count="8" type="stmt"/>
|
|
891
|
+
<line num="64" count="8" type="stmt"/>
|
|
892
|
+
<line num="65" count="8" type="stmt"/>
|
|
875
893
|
</file>
|
|
876
894
|
<file name="event.types.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/types/event.types.ts">
|
|
877
895
|
<metrics statements="18" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
@@ -985,49 +1003,49 @@
|
|
|
985
1003
|
<line num="10" count="5" type="stmt"/>
|
|
986
1004
|
<line num="11" count="5" type="stmt"/>
|
|
987
1005
|
<line num="41" count="5" type="stmt"/>
|
|
988
|
-
<line num="48" count="
|
|
989
|
-
<line num="49" count="
|
|
990
|
-
<line num="50" count="
|
|
991
|
-
<line num="51" count="
|
|
1006
|
+
<line num="48" count="205" type="cond" truecount="2" falsecount="0"/>
|
|
1007
|
+
<line num="49" count="205" type="cond" truecount="2" falsecount="0"/>
|
|
1008
|
+
<line num="50" count="205" type="cond" truecount="2" falsecount="0"/>
|
|
1009
|
+
<line num="51" count="205" type="stmt"/>
|
|
992
1010
|
<line num="55" count="2" type="stmt"/>
|
|
993
1011
|
<line num="59" count="194" type="stmt"/>
|
|
994
1012
|
<line num="63" count="1" type="stmt"/>
|
|
995
|
-
<line num="67" count="
|
|
996
|
-
<line num="77" count="
|
|
1013
|
+
<line num="67" count="18" type="cond" truecount="2" falsecount="0"/>
|
|
1014
|
+
<line num="77" count="18" type="stmt"/>
|
|
997
1015
|
<line num="81" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
998
1016
|
<line num="91" count="2" type="stmt"/>
|
|
999
|
-
<line num="95" count="
|
|
1017
|
+
<line num="95" count="217" type="cond" truecount="1" falsecount="0"/>
|
|
1000
1018
|
<line num="96" count="1" type="stmt"/>
|
|
1001
|
-
<line num="99" count="
|
|
1002
|
-
<line num="106" count="
|
|
1003
|
-
<line num="108" count="
|
|
1004
|
-
<line num="111" count="
|
|
1019
|
+
<line num="99" count="216" type="stmt"/>
|
|
1020
|
+
<line num="106" count="216" type="cond" truecount="1" falsecount="0"/>
|
|
1021
|
+
<line num="108" count="17" type="stmt"/>
|
|
1022
|
+
<line num="111" count="216" type="cond" truecount="1" falsecount="0"/>
|
|
1005
1023
|
<line num="112" count="3" type="stmt"/>
|
|
1006
|
-
<line num="115" count="
|
|
1007
|
-
<line num="116" count="
|
|
1008
|
-
<line num="121" count="
|
|
1024
|
+
<line num="115" count="216" type="cond" truecount="1" falsecount="0"/>
|
|
1025
|
+
<line num="116" count="215" type="stmt"/>
|
|
1026
|
+
<line num="121" count="215" type="cond" truecount="1" falsecount="0"/>
|
|
1009
1027
|
<line num="123" count="1" type="stmt"/>
|
|
1010
1028
|
<line num="124" count="1" type="stmt"/>
|
|
1011
|
-
<line num="127" count="
|
|
1012
|
-
<line num="135" count="
|
|
1013
|
-
<line num="136" count="
|
|
1014
|
-
<line num="137" count="
|
|
1015
|
-
<line num="138" count="
|
|
1016
|
-
<line num="140" count="
|
|
1017
|
-
<line num="142" count="
|
|
1018
|
-
<line num="143" count="
|
|
1019
|
-
<line num="144" count="
|
|
1020
|
-
<line num="147" count="
|
|
1021
|
-
<line num="148" count="
|
|
1022
|
-
<line num="149" count="
|
|
1023
|
-
<line num="150" count="
|
|
1024
|
-
<line num="154" count="
|
|
1029
|
+
<line num="127" count="214" type="stmt"/>
|
|
1030
|
+
<line num="135" count="214" type="stmt"/>
|
|
1031
|
+
<line num="136" count="214" type="stmt"/>
|
|
1032
|
+
<line num="137" count="214" type="stmt"/>
|
|
1033
|
+
<line num="138" count="214" type="stmt"/>
|
|
1034
|
+
<line num="140" count="214" type="stmt"/>
|
|
1035
|
+
<line num="142" count="214" type="cond" truecount="3" falsecount="0"/>
|
|
1036
|
+
<line num="143" count="127" type="stmt"/>
|
|
1037
|
+
<line num="144" count="127" type="stmt"/>
|
|
1038
|
+
<line num="147" count="214" type="cond" truecount="1" falsecount="0"/>
|
|
1039
|
+
<line num="148" count="17" type="stmt"/>
|
|
1040
|
+
<line num="149" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1041
|
+
<line num="150" count="17" type="stmt"/>
|
|
1042
|
+
<line num="154" count="214" type="cond" truecount="5" falsecount="0"/>
|
|
1025
1043
|
<line num="158" count="193" type="stmt"/>
|
|
1026
1044
|
<line num="159" count="193" type="stmt"/>
|
|
1027
1045
|
<line num="162" count="1" type="stmt"/>
|
|
1028
1046
|
<line num="163" count="1" type="stmt"/>
|
|
1029
|
-
<line num="167" count="
|
|
1030
|
-
<line num="168" count="
|
|
1047
|
+
<line num="167" count="20" type="stmt"/>
|
|
1048
|
+
<line num="168" count="20" type="stmt"/>
|
|
1031
1049
|
<line num="173" count="1" type="stmt"/>
|
|
1032
1050
|
<line num="177" count="2" type="stmt"/>
|
|
1033
1051
|
<line num="181" count="5" type="stmt"/>
|