@hazeljs/agent 0.7.9 → 0.8.1
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/.eslintrc.js +4 -0
- package/IMPLEMENTATION_SUMMARY.md +36 -11
- package/PERSISTENCE.md +6 -0
- package/PRISMA_INTEGRATION.md +10 -5
- package/PRODUCTION_READINESS.md +37 -0
- package/QUICKSTART.md +12 -8
- package/README.md +72 -57
- package/STATE_VS_MEMORY.md +29 -12
- package/benchmarks/performance.benchmark.ts +1 -5
- package/coverage/clover.xml +616 -601
- package/coverage/lcov-report/index.html +33 -33
- package/coverage/lcov.info +957 -927
- package/dist/agent.module.js +2 -2
- package/dist/agent.module.js.map +1 -1
- package/dist/decorators/approval.decorator.d.ts +14 -0
- package/dist/decorators/approval.decorator.d.ts.map +1 -0
- package/dist/decorators/approval.decorator.js +20 -0
- package/dist/decorators/approval.decorator.js.map +1 -0
- package/dist/evaluation/agent-eval.d.ts +17 -0
- package/dist/evaluation/agent-eval.d.ts.map +1 -0
- package/dist/evaluation/agent-eval.js +18 -0
- package/dist/evaluation/agent-eval.js.map +1 -0
- package/dist/executor/agent.executor.d.ts +2 -0
- package/dist/executor/agent.executor.d.ts.map +1 -1
- package/dist/executor/agent.executor.js +4 -0
- package/dist/executor/agent.executor.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/runtime/agent.runtime.d.ts.map +1 -1
- package/dist/runtime/agent.runtime.js +1 -2
- package/dist/runtime/agent.runtime.js.map +1 -1
- package/dist/state/agent.state.d.ts.map +1 -1
- package/dist/state/agent.state.js +8 -7
- package/dist/state/agent.state.js.map +1 -1
- package/dist/state/database-state.manager.d.ts.map +1 -1
- package/dist/state/database-state.manager.js +8 -7
- package/dist/state/database-state.manager.js.map +1 -1
- package/dist/state/redis-state.manager.d.ts.map +1 -1
- package/dist/state/redis-state.manager.js +8 -7
- package/dist/state/redis-state.manager.js.map +1 -1
- package/dist/utils/circuit-breaker.d.ts +1 -1
- package/dist/utils/circuit-breaker.js +1 -1
- package/logs/combined.log +1 -1
- package/package.json +13 -7
- package/tsconfig.tsbuildinfo +1 -1
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1775921845779" clover="3.2.0">
|
|
3
|
+
<project timestamp="1775921845780" name="All files">
|
|
4
|
+
<metrics statements="1861" coveredstatements="1653" conditionals="730" coveredconditionals="544" methods="362" coveredmethods="329" elements="2953" coveredelements="2526" complexity="0" loc="1861" ncloc="1861" packages="15" files="36" classes="36"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="90" coveredstatements="67" conditionals="39" coveredconditionals="30" methods="30" coveredmethods="22"/>
|
|
7
7
|
<file name="agent.module.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/agent.module.ts">
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
</file>
|
|
233
233
|
</package>
|
|
234
234
|
<package name="src.decorators">
|
|
235
|
-
<metrics statements="
|
|
235
|
+
<metrics statements="62" coveredstatements="52" conditionals="25" coveredconditionals="23" methods="18" coveredmethods="13"/>
|
|
236
236
|
<file name="agent.decorator.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/decorators/agent.decorator.ts">
|
|
237
237
|
<metrics statements="14" coveredstatements="14" conditionals="0" coveredconditionals="0" methods="5" coveredmethods="5"/>
|
|
238
238
|
<line num="6" count="6" type="stmt"/>
|
|
@@ -250,6 +250,17 @@
|
|
|
250
250
|
<line num="55" count="6" type="stmt"/>
|
|
251
251
|
<line num="56" count="40" type="stmt"/>
|
|
252
252
|
</file>
|
|
253
|
+
<file name="approval.decorator.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/decorators/approval.decorator.ts">
|
|
254
|
+
<metrics statements="8" coveredstatements="0" conditionals="1" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
255
|
+
<line num="1" count="0" type="stmt"/>
|
|
256
|
+
<line num="3" count="0" type="stmt"/>
|
|
257
|
+
<line num="16" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
258
|
+
<line num="17" count="0" type="stmt"/>
|
|
259
|
+
<line num="18" count="0" type="stmt"/>
|
|
260
|
+
<line num="19" count="0" type="stmt"/>
|
|
261
|
+
<line num="23" count="0" type="stmt"/>
|
|
262
|
+
<line num="27" count="0" type="stmt"/>
|
|
263
|
+
</file>
|
|
253
264
|
<file name="delegate.decorator.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/decorators/delegate.decorator.ts">
|
|
254
265
|
<metrics statements="21" coveredstatements="20" conditionals="7" coveredconditionals="7" methods="5" coveredmethods="4"/>
|
|
255
266
|
<line num="44" count="4" type="stmt"/>
|
|
@@ -301,28 +312,28 @@
|
|
|
301
312
|
<metrics statements="23" coveredstatements="23" conditionals="5" coveredconditionals="5" methods="10" coveredmethods="10"/>
|
|
302
313
|
<file name="agent.error.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/errors/agent.error.ts">
|
|
303
314
|
<metrics statements="23" coveredstatements="23" conditionals="5" coveredconditionals="5" methods="10" coveredmethods="10"/>
|
|
304
|
-
<line num="5" count="
|
|
305
|
-
<line num="6" count="
|
|
306
|
-
<line num="7" count="
|
|
307
|
-
<line num="8" count="
|
|
308
|
-
<line num="9" count="
|
|
309
|
-
<line num="10" count="
|
|
310
|
-
<line num="11" count="
|
|
311
|
-
<line num="12" count="
|
|
312
|
-
<line num="13" count="
|
|
313
|
-
<line num="19" count="
|
|
314
|
-
<line num="24" count="
|
|
315
|
-
<line num="25" count="
|
|
316
|
-
<line num="26" count="
|
|
317
|
-
<line num="27" count="
|
|
318
|
-
<line num="28" count="
|
|
315
|
+
<line num="5" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
316
|
+
<line num="6" count="9" type="stmt"/>
|
|
317
|
+
<line num="7" count="9" type="stmt"/>
|
|
318
|
+
<line num="8" count="9" type="stmt"/>
|
|
319
|
+
<line num="9" count="9" type="stmt"/>
|
|
320
|
+
<line num="10" count="9" type="stmt"/>
|
|
321
|
+
<line num="11" count="9" type="stmt"/>
|
|
322
|
+
<line num="12" count="9" type="stmt"/>
|
|
323
|
+
<line num="13" count="9" type="stmt"/>
|
|
324
|
+
<line num="19" count="9" type="stmt"/>
|
|
325
|
+
<line num="24" count="34" type="stmt"/>
|
|
326
|
+
<line num="25" count="34" type="stmt"/>
|
|
327
|
+
<line num="26" count="34" type="stmt"/>
|
|
328
|
+
<line num="27" count="34" type="stmt"/>
|
|
329
|
+
<line num="28" count="34" type="stmt"/>
|
|
319
330
|
<line num="32" count="2" type="stmt"/>
|
|
320
331
|
<line num="36" count="2" type="stmt"/>
|
|
321
332
|
<line num="40" count="4" type="stmt"/>
|
|
322
333
|
<line num="47" count="2" type="stmt"/>
|
|
323
334
|
<line num="51" count="2" type="stmt"/>
|
|
324
335
|
<line num="59" count="6" type="stmt"/>
|
|
325
|
-
<line num="63" count="
|
|
336
|
+
<line num="63" count="11" type="stmt"/>
|
|
326
337
|
<line num="72" count="3" type="stmt"/>
|
|
327
338
|
</file>
|
|
328
339
|
</package>
|
|
@@ -360,9 +371,9 @@
|
|
|
360
371
|
</file>
|
|
361
372
|
</package>
|
|
362
373
|
<package name="src.executor">
|
|
363
|
-
<metrics statements="
|
|
374
|
+
<metrics statements="381" coveredstatements="308" conditionals="134" coveredconditionals="88" methods="33" coveredmethods="28"/>
|
|
364
375
|
<file name="agent.executor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/executor/agent.executor.ts">
|
|
365
|
-
<metrics statements="
|
|
376
|
+
<metrics statements="263" coveredstatements="200" conditionals="94" coveredconditionals="53" methods="18" coveredmethods="13"/>
|
|
366
377
|
<line num="6" count="5" type="stmt"/>
|
|
367
378
|
<line num="7" count="5" type="stmt"/>
|
|
368
379
|
<line num="21" count="5" type="stmt"/>
|
|
@@ -377,254 +388,255 @@
|
|
|
377
388
|
<line num="47" count="131" type="stmt"/>
|
|
378
389
|
<line num="48" count="131" type="stmt"/>
|
|
379
390
|
<line num="49" count="131" type="stmt"/>
|
|
380
|
-
<line num="
|
|
381
|
-
<line num="
|
|
382
|
-
<line num="
|
|
383
|
-
<line num="66" count="
|
|
384
|
-
<line num="
|
|
385
|
-
<line num="
|
|
386
|
-
<line num="80" count="17" type="stmt"/>
|
|
387
|
-
<line num="81" count="17" type="stmt"/>
|
|
388
|
-
<line num="82" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
391
|
+
<line num="54" count="0" type="stmt"/>
|
|
392
|
+
<line num="61" count="103" type="cond" truecount="1" falsecount="1"/>
|
|
393
|
+
<line num="65" count="62" type="cond" truecount="0" falsecount="1"/>
|
|
394
|
+
<line num="66" count="0" type="stmt"/>
|
|
395
|
+
<line num="71" count="7" type="cond" truecount="0" falsecount="1"/>
|
|
396
|
+
<line num="72" count="0" type="stmt"/>
|
|
389
397
|
<line num="84" count="17" type="stmt"/>
|
|
390
398
|
<line num="85" count="17" type="stmt"/>
|
|
391
|
-
<line num="
|
|
392
|
-
<line num="
|
|
393
|
-
<line num="
|
|
399
|
+
<line num="86" count="17" type="stmt"/>
|
|
400
|
+
<line num="87" count="17" type="cond" truecount="2" falsecount="0"/>
|
|
401
|
+
<line num="89" count="17" type="stmt"/>
|
|
402
|
+
<line num="90" count="17" type="stmt"/>
|
|
403
|
+
<line num="92" count="17" type="stmt"/>
|
|
394
404
|
<line num="99" count="17" type="stmt"/>
|
|
395
|
-
<line num="
|
|
396
|
-
<line num="
|
|
397
|
-
<line num="
|
|
398
|
-
<line num="
|
|
399
|
-
<line num="
|
|
400
|
-
<line num="
|
|
401
|
-
<line num="
|
|
402
|
-
<line num="
|
|
403
|
-
<line num="
|
|
404
|
-
<line num="
|
|
405
|
-
<line num="
|
|
406
|
-
<line num="
|
|
407
|
-
<line num="
|
|
408
|
-
<line num="
|
|
409
|
-
<line num="
|
|
410
|
-
<line num="
|
|
411
|
-
<line num="
|
|
412
|
-
<line num="133" count="
|
|
413
|
-
<line num="
|
|
414
|
-
<line num="
|
|
415
|
-
<line num="139" count="
|
|
416
|
-
<line num="
|
|
417
|
-
<line num="
|
|
418
|
-
<line num="
|
|
419
|
-
<line num="
|
|
420
|
-
<line num="
|
|
421
|
-
<line num="
|
|
422
|
-
<line num="
|
|
423
|
-
<line num="
|
|
424
|
-
<line num="
|
|
425
|
-
<line num="192" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
426
|
-
<line num="193" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
405
|
+
<line num="101" count="17" type="stmt"/>
|
|
406
|
+
<line num="104" count="17" type="stmt"/>
|
|
407
|
+
<line num="105" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
408
|
+
<line num="106" count="24" type="stmt"/>
|
|
409
|
+
<line num="108" count="24" type="stmt"/>
|
|
410
|
+
<line num="110" count="24" type="stmt"/>
|
|
411
|
+
<line num="111" count="23" type="stmt"/>
|
|
412
|
+
<line num="113" count="23" type="cond" truecount="1" falsecount="0"/>
|
|
413
|
+
<line num="114" count="8" type="stmt"/>
|
|
414
|
+
<line num="115" count="8" type="stmt"/>
|
|
415
|
+
<line num="118" count="15" type="cond" truecount="1" falsecount="0"/>
|
|
416
|
+
<line num="119" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
417
|
+
<line num="122" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
418
|
+
<line num="123" count="1" type="stmt"/>
|
|
419
|
+
<line num="126" count="1" type="stmt"/>
|
|
420
|
+
<line num="129" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
421
|
+
<line num="130" count="1" type="stmt"/>
|
|
422
|
+
<line num="133" count="1" type="stmt"/>
|
|
423
|
+
<line num="137" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
424
|
+
<line num="138" count="2" type="stmt"/>
|
|
425
|
+
<line num="139" count="2" type="stmt"/>
|
|
426
|
+
<line num="142" count="10" type="stmt"/>
|
|
427
|
+
<line num="144" count="10" type="stmt"/>
|
|
428
|
+
<line num="146" count="10" type="stmt"/>
|
|
429
|
+
<line num="152" count="10" type="stmt"/>
|
|
430
|
+
<line num="163" count="7" type="stmt"/>
|
|
431
|
+
<line num="165" count="7" type="stmt"/>
|
|
432
|
+
<line num="167" count="7" type="stmt"/>
|
|
433
|
+
<line num="173" count="7" type="stmt"/>
|
|
434
|
+
<line num="194" count="2" type="stmt"/>
|
|
427
435
|
<line num="195" count="2" type="stmt"/>
|
|
428
436
|
<line num="196" count="2" type="stmt"/>
|
|
429
|
-
<line num="
|
|
430
|
-
<line num="
|
|
431
|
-
<line num="
|
|
437
|
+
<line num="197" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
438
|
+
<line num="198" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
439
|
+
<line num="200" count="2" type="stmt"/>
|
|
440
|
+
<line num="201" count="2" type="stmt"/>
|
|
441
|
+
<line num="203" count="2" type="stmt"/>
|
|
432
442
|
<line num="210" count="2" type="stmt"/>
|
|
433
|
-
<line num="211" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
434
443
|
<line num="212" count="2" type="stmt"/>
|
|
435
|
-
<line num="
|
|
436
|
-
<line num="
|
|
437
|
-
<line num="
|
|
438
|
-
<line num="
|
|
439
|
-
<line num="
|
|
440
|
-
<line num="222" count="0" type="stmt"/>
|
|
441
|
-
<line num="223" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
444
|
+
<line num="215" count="2" type="stmt"/>
|
|
445
|
+
<line num="216" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
446
|
+
<line num="217" count="2" type="stmt"/>
|
|
447
|
+
<line num="219" count="2" type="stmt"/>
|
|
448
|
+
<line num="222" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
442
449
|
<line num="224" count="0" type="stmt"/>
|
|
443
|
-
<line num="
|
|
444
|
-
<line num="
|
|
445
|
-
<line num="
|
|
446
|
-
<line num="
|
|
447
|
-
<line num="
|
|
448
|
-
<line num="
|
|
449
|
-
<line num="
|
|
450
|
-
<line num="
|
|
451
|
-
<line num="
|
|
452
|
-
<line num="
|
|
453
|
-
<line num="
|
|
454
|
-
<line num="
|
|
455
|
-
<line num="
|
|
450
|
+
<line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
451
|
+
<line num="226" count="0" type="stmt"/>
|
|
452
|
+
<line num="227" count="0" type="stmt"/>
|
|
453
|
+
<line num="228" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
454
|
+
<line num="229" count="0" type="stmt"/>
|
|
455
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
456
|
+
<line num="233" count="0" type="stmt"/>
|
|
457
|
+
<line num="235" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
458
|
+
<line num="236" count="0" type="stmt"/>
|
|
459
|
+
<line num="237" count="0" type="stmt"/>
|
|
460
|
+
<line num="239" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
461
|
+
<line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
462
|
+
<line num="242" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
463
|
+
<line num="243" count="0" type="stmt"/>
|
|
464
|
+
<line num="246" count="0" type="stmt"/>
|
|
465
|
+
<line num="248" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
456
466
|
<line num="249" count="0" type="stmt"/>
|
|
457
|
-
<line num="
|
|
458
|
-
<line num="254" count="
|
|
459
|
-
<line num="
|
|
460
|
-
<line num="
|
|
461
|
-
<line num="
|
|
462
|
-
<line num="
|
|
463
|
-
<line num="263" count="
|
|
464
|
-
<line num="
|
|
465
|
-
<line num="
|
|
466
|
-
<line num="
|
|
467
|
-
<line num="
|
|
468
|
-
<line num="
|
|
469
|
-
<line num="
|
|
470
|
-
<line num="
|
|
471
|
-
<line num="
|
|
472
|
-
<line num="
|
|
473
|
-
<line num="
|
|
474
|
-
<line num="
|
|
475
|
-
<line num="
|
|
476
|
-
<line num="290" count="
|
|
477
|
-
<line num="
|
|
478
|
-
<line num="
|
|
479
|
-
<line num="296" count="
|
|
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="
|
|
490
|
-
<line num="
|
|
491
|
-
<line num="
|
|
467
|
+
<line num="252" count="0" type="stmt"/>
|
|
468
|
+
<line num="254" count="0" type="stmt"/>
|
|
469
|
+
<line num="258" count="2" type="stmt"/>
|
|
470
|
+
<line num="259" count="2" type="stmt"/>
|
|
471
|
+
<line num="261" count="2" type="stmt"/>
|
|
472
|
+
<line num="262" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
473
|
+
<line num="263" count="0" type="stmt"/>
|
|
474
|
+
<line num="264" count="0" type="stmt"/>
|
|
475
|
+
<line num="268" count="2" type="stmt"/>
|
|
476
|
+
<line num="270" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
477
|
+
<line num="271" count="1" type="stmt"/>
|
|
478
|
+
<line num="272" count="1" type="stmt"/>
|
|
479
|
+
<line num="275" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
480
|
+
<line num="276" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
481
|
+
<line num="279" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
482
|
+
<line num="280" count="0" type="stmt"/>
|
|
483
|
+
<line num="283" count="0" type="stmt"/>
|
|
484
|
+
<line num="286" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
485
|
+
<line num="287" count="0" type="stmt"/>
|
|
486
|
+
<line num="290" count="0" type="stmt"/>
|
|
487
|
+
<line num="294" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
488
|
+
<line num="295" count="1" type="stmt"/>
|
|
489
|
+
<line num="296" count="1" type="stmt"/>
|
|
490
|
+
<line num="299" count="0" type="stmt"/>
|
|
491
|
+
<line num="301" count="0" type="stmt"/>
|
|
492
|
+
<line num="302" count="0" type="stmt"/>
|
|
493
|
+
<line num="313" count="0" type="stmt"/>
|
|
494
|
+
<line num="319" count="0" type="stmt"/>
|
|
495
|
+
<line num="321" count="2" type="stmt"/>
|
|
496
|
+
<line num="323" count="2" type="stmt"/>
|
|
497
|
+
<line num="324" count="2" type="stmt"/>
|
|
498
|
+
<line num="335" count="2" type="stmt"/>
|
|
499
|
+
<line num="341" count="2" type="stmt"/>
|
|
500
|
+
<line num="354" count="13" type="stmt"/>
|
|
501
|
+
<line num="355" count="13" type="stmt"/>
|
|
502
|
+
<line num="357" count="13" type="stmt"/>
|
|
492
503
|
<line num="366" count="13" type="stmt"/>
|
|
493
|
-
<line num="
|
|
494
|
-
<line num="
|
|
495
|
-
<line num="
|
|
496
|
-
<line num="
|
|
497
|
-
<line num="
|
|
498
|
-
<line num="374" count="1" type="stmt"/>
|
|
499
|
-
<line num="375" count="1" type="stmt"/>
|
|
504
|
+
<line num="371" count="13" type="stmt"/>
|
|
505
|
+
<line num="372" count="13" type="stmt"/>
|
|
506
|
+
<line num="373" count="13" type="stmt"/>
|
|
507
|
+
<line num="374" count="9" type="stmt"/>
|
|
508
|
+
<line num="376" count="9" type="cond" truecount="3" falsecount="4"/>
|
|
500
509
|
<line num="378" count="1" type="stmt"/>
|
|
501
510
|
<line num="379" count="1" type="stmt"/>
|
|
502
|
-
<line num="
|
|
503
|
-
<line num="
|
|
504
|
-
<line num="
|
|
511
|
+
<line num="380" count="1" type="stmt"/>
|
|
512
|
+
<line num="383" count="1" type="stmt"/>
|
|
513
|
+
<line num="384" count="1" type="stmt"/>
|
|
514
|
+
<line num="387" count="1" type="stmt"/>
|
|
505
515
|
<line num="390" count="7" type="stmt"/>
|
|
506
|
-
<line num="
|
|
507
|
-
<line num="
|
|
508
|
-
<line num="
|
|
509
|
-
<line num="398" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
516
|
+
<line num="391" count="7" type="stmt"/>
|
|
517
|
+
<line num="395" count="7" type="stmt"/>
|
|
518
|
+
<line num="398" count="0" type="stmt"/>
|
|
510
519
|
<line num="399" count="0" type="stmt"/>
|
|
511
|
-
<line num="
|
|
512
|
-
<line num="
|
|
513
|
-
<line num="
|
|
514
|
-
<line num="
|
|
515
|
-
<line num="
|
|
516
|
-
<line num="
|
|
517
|
-
<line num="
|
|
520
|
+
<line num="402" count="0" type="stmt"/>
|
|
521
|
+
<line num="403" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
522
|
+
<line num="404" count="0" type="stmt"/>
|
|
523
|
+
<line num="406" count="0" type="stmt"/>
|
|
524
|
+
<line num="415" count="0" type="stmt"/>
|
|
525
|
+
<line num="416" count="0" type="stmt"/>
|
|
526
|
+
<line num="417" count="0" type="stmt"/>
|
|
527
|
+
<line num="424" count="0" type="stmt"/>
|
|
518
528
|
<line num="427" count="0" type="stmt"/>
|
|
519
|
-
<line num="
|
|
520
|
-
<line num="
|
|
521
|
-
<line num="435" count="
|
|
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="
|
|
531
|
-
<line num="
|
|
529
|
+
<line num="428" count="0" type="stmt"/>
|
|
530
|
+
<line num="432" count="0" type="stmt"/>
|
|
531
|
+
<line num="435" count="0" type="stmt"/>
|
|
532
|
+
<line num="438" count="9" type="stmt"/>
|
|
533
|
+
<line num="440" count="9" type="stmt"/>
|
|
534
|
+
<line num="447" count="9" type="stmt"/>
|
|
535
|
+
<line num="449" count="4" type="stmt"/>
|
|
536
|
+
<line num="450" count="4" type="stmt"/>
|
|
537
|
+
<line num="451" count="4" type="stmt"/>
|
|
538
|
+
<line num="453" count="4" type="stmt"/>
|
|
539
|
+
<line num="459" count="4" type="stmt"/>
|
|
540
|
+
<line num="472" count="4" type="stmt"/>
|
|
541
|
+
<line num="473" count="4" type="stmt"/>
|
|
542
|
+
<line num="475" count="4" type="stmt"/>
|
|
532
543
|
<line num="484" count="4" type="stmt"/>
|
|
533
|
-
<line num="485" count="4" type="stmt"/>
|
|
534
|
-
<line num="488" count="4" type="stmt"/>
|
|
535
544
|
<line num="489" count="4" type="stmt"/>
|
|
536
545
|
<line num="490" count="4" type="stmt"/>
|
|
546
|
+
<line num="493" count="4" type="stmt"/>
|
|
547
|
+
<line num="494" count="4" type="stmt"/>
|
|
537
548
|
<line num="495" count="4" type="stmt"/>
|
|
538
549
|
<line num="500" count="4" type="stmt"/>
|
|
539
|
-
<line num="
|
|
540
|
-
<line num="
|
|
541
|
-
<line num="506" count="3" type="stmt"/>
|
|
550
|
+
<line num="505" count="4" type="stmt"/>
|
|
551
|
+
<line num="507" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
542
552
|
<line num="508" count="3" type="stmt"/>
|
|
543
|
-
<line num="509" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
544
|
-
<line num="510" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
545
553
|
<line num="511" count="3" type="stmt"/>
|
|
546
554
|
<line num="513" count="3" type="stmt"/>
|
|
547
|
-
<line num="
|
|
548
|
-
<line num="
|
|
549
|
-
<line num="
|
|
555
|
+
<line num="514" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
556
|
+
<line num="515" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
557
|
+
<line num="516" count="3" type="stmt"/>
|
|
558
|
+
<line num="518" count="3" type="stmt"/>
|
|
559
|
+
<line num="520" count="3" type="stmt"/>
|
|
550
560
|
<line num="525" count="2" type="stmt"/>
|
|
551
|
-
<line num="529" count="
|
|
552
|
-
<line num="
|
|
553
|
-
<line num="
|
|
561
|
+
<line num="529" count="2" type="stmt"/>
|
|
562
|
+
<line num="530" count="2" type="stmt"/>
|
|
563
|
+
<line num="534" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
554
564
|
<line num="536" count="1" type="stmt"/>
|
|
555
565
|
<line num="537" count="1" type="stmt"/>
|
|
556
|
-
<line num="
|
|
557
|
-
<line num="
|
|
566
|
+
<line num="541" count="1" type="stmt"/>
|
|
567
|
+
<line num="542" count="1" type="stmt"/>
|
|
558
568
|
<line num="548" count="0" type="stmt"/>
|
|
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="
|
|
569
|
+
<line num="552" count="0" type="stmt"/>
|
|
570
|
+
<line num="553" count="0" type="stmt"/>
|
|
571
|
+
<line num="559" count="3" type="stmt"/>
|
|
572
|
+
<line num="561" count="3" type="stmt"/>
|
|
573
|
+
<line num="568" count="3" type="stmt"/>
|
|
574
|
+
<line num="570" count="1" type="stmt"/>
|
|
575
|
+
<line num="571" count="1" type="stmt"/>
|
|
576
|
+
<line num="572" count="1" type="stmt"/>
|
|
577
|
+
<line num="574" count="1" type="stmt"/>
|
|
578
|
+
<line num="580" count="1" type="stmt"/>
|
|
579
|
+
<line num="591" count="14" type="cond" truecount="1" falsecount="0"/>
|
|
580
|
+
<line num="592" count="6" type="stmt"/>
|
|
581
|
+
<line num="600" count="8" type="stmt"/>
|
|
582
|
+
<line num="601" count="8" type="stmt"/>
|
|
572
583
|
<line num="602" count="8" type="stmt"/>
|
|
573
584
|
<line num="607" count="8" type="stmt"/>
|
|
574
|
-
<line num="
|
|
575
|
-
<line num="
|
|
576
|
-
<line num="
|
|
577
|
-
<line num="
|
|
578
|
-
<line num="613" count="0" type="stmt"/>
|
|
579
|
-
<line num="614" count="0" type="stmt"/>
|
|
580
|
-
<line num="615" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
581
|
-
<line num="616" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
585
|
+
<line num="612" count="8" type="stmt"/>
|
|
586
|
+
<line num="613" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
587
|
+
<line num="615" count="8" type="stmt"/>
|
|
588
|
+
<line num="616" count="8" type="cond" truecount="1" falsecount="2"/>
|
|
582
589
|
<line num="617" count="0" type="stmt"/>
|
|
583
590
|
<line num="618" count="0" type="stmt"/>
|
|
584
|
-
<line num="
|
|
585
|
-
<line num="
|
|
586
|
-
<line num="
|
|
587
|
-
<line num="
|
|
588
|
-
<line num="
|
|
589
|
-
<line num="
|
|
590
|
-
<line num="
|
|
591
|
-
<line num="
|
|
592
|
-
<line num="
|
|
593
|
-
<line num="
|
|
591
|
+
<line num="619" count="0" type="stmt"/>
|
|
592
|
+
<line num="620" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
593
|
+
<line num="621" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
594
|
+
<line num="622" count="0" type="stmt"/>
|
|
595
|
+
<line num="623" count="0" type="stmt"/>
|
|
596
|
+
<line num="626" count="0" type="stmt"/>
|
|
597
|
+
<line num="632" count="8" type="stmt"/>
|
|
598
|
+
<line num="634" count="5" type="cond" truecount="3" falsecount="0"/>
|
|
599
|
+
<line num="636" count="1" type="stmt"/>
|
|
600
|
+
<line num="637" count="1" type="stmt"/>
|
|
601
|
+
<line num="639" count="1" type="stmt"/>
|
|
602
|
+
<line num="640" count="1" type="stmt"/>
|
|
603
|
+
<line num="642" count="0" type="stmt"/>
|
|
594
604
|
<line num="648" count="1" type="stmt"/>
|
|
595
|
-
<line num="
|
|
596
|
-
<line num="
|
|
597
|
-
<line num="
|
|
598
|
-
<line num="673" count="
|
|
599
|
-
<line num="
|
|
600
|
-
<line num="
|
|
601
|
-
<line num="
|
|
602
|
-
<line num="
|
|
603
|
-
<line num="
|
|
604
|
-
<line num="
|
|
605
|
-
<line num="
|
|
606
|
-
<line num="
|
|
607
|
-
<line num="
|
|
608
|
-
<line num="
|
|
609
|
-
<line num="
|
|
610
|
-
<line num="
|
|
611
|
-
<line num="
|
|
612
|
-
<line num="
|
|
613
|
-
<line num="740" count="
|
|
614
|
-
<line num="
|
|
615
|
-
<line num="
|
|
605
|
+
<line num="652" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
606
|
+
<line num="653" count="1" type="stmt"/>
|
|
607
|
+
<line num="664" count="0" type="stmt"/>
|
|
608
|
+
<line num="673" count="3" type="stmt"/>
|
|
609
|
+
<line num="677" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
610
|
+
<line num="678" count="4" type="stmt"/>
|
|
611
|
+
<line num="689" count="3" type="cond" truecount="3" falsecount="0"/>
|
|
612
|
+
<line num="690" count="1" type="stmt"/>
|
|
613
|
+
<line num="696" count="2" type="stmt"/>
|
|
614
|
+
<line num="697" count="2" type="stmt"/>
|
|
615
|
+
<line num="699" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
616
|
+
<line num="700" count="1" type="stmt"/>
|
|
617
|
+
<line num="706" count="1" type="stmt"/>
|
|
618
|
+
<line num="717" count="1" type="stmt"/>
|
|
619
|
+
<line num="718" count="1" type="stmt"/>
|
|
620
|
+
<line num="720" count="1" type="stmt"/>
|
|
621
|
+
<line num="737" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
622
|
+
<line num="738" count="14" type="cond" truecount="2" falsecount="0"/>
|
|
623
|
+
<line num="740" count="14" type="cond" truecount="4" falsecount="0"/>
|
|
624
|
+
<line num="744" count="14" type="cond" truecount="4" falsecount="0"/>
|
|
625
|
+
<line num="745" count="4" type="stmt"/>
|
|
626
|
+
<line num="754" count="10" type="stmt"/>
|
|
616
627
|
<line num="757" count="14" type="stmt"/>
|
|
617
|
-
<line num="
|
|
618
|
-
<line num="
|
|
619
|
-
<line num="
|
|
620
|
-
<line num="
|
|
621
|
-
<line num="
|
|
622
|
-
<line num="
|
|
623
|
-
<line num="
|
|
628
|
+
<line num="762" count="14" type="stmt"/>
|
|
629
|
+
<line num="772" count="4" type="stmt"/>
|
|
630
|
+
<line num="773" count="4" type="stmt"/>
|
|
631
|
+
<line num="774" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
632
|
+
<line num="775" count="3" type="stmt"/>
|
|
633
|
+
<line num="778" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
634
|
+
<line num="779" count="1" type="stmt"/>
|
|
624
635
|
<line num="780" count="1" type="stmt"/>
|
|
625
|
-
<line num="
|
|
626
|
-
<line num="
|
|
627
|
-
<line num="
|
|
636
|
+
<line num="785" count="1" type="stmt"/>
|
|
637
|
+
<line num="787" count="1" type="stmt"/>
|
|
638
|
+
<line num="794" count="74" type="cond" truecount="1" falsecount="0"/>
|
|
639
|
+
<line num="795" count="74" type="stmt"/>
|
|
628
640
|
</file>
|
|
629
641
|
<file name="tool.executor.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/executor/tool.executor.ts">
|
|
630
642
|
<metrics statements="118" coveredstatements="108" conditionals="40" coveredconditionals="35" methods="15" coveredmethods="15"/>
|
|
@@ -1101,434 +1113,437 @@
|
|
|
1101
1113
|
<line num="156" count="30" type="stmt"/>
|
|
1102
1114
|
<line num="160" count="93" type="stmt"/>
|
|
1103
1115
|
<line num="172" count="0" type="stmt"/>
|
|
1104
|
-
<line num="
|
|
1105
|
-
<line num="
|
|
1116
|
+
<line num="173" count="0" type="stmt"/>
|
|
1117
|
+
<line num="180" count="23" type="stmt"/>
|
|
1118
|
+
<line num="189" count="7" type="stmt"/>
|
|
1106
1119
|
<line num="190" count="7" type="stmt"/>
|
|
1107
1120
|
<line num="191" count="7" type="stmt"/>
|
|
1108
|
-
<line num="
|
|
1109
|
-
<line num="
|
|
1121
|
+
<line num="199" count="7" type="cond" truecount="2" falsecount="1"/>
|
|
1122
|
+
<line num="202" count="7" type="stmt"/>
|
|
1110
1123
|
<line num="203" count="7" type="stmt"/>
|
|
1111
|
-
<line num="
|
|
1112
|
-
<line num="206" count="
|
|
1113
|
-
<line num="207" count="1" type="
|
|
1114
|
-
<line num="
|
|
1115
|
-
<line num="210" count="1" type="
|
|
1116
|
-
<line num="
|
|
1117
|
-
<line num="
|
|
1118
|
-
<line num="
|
|
1119
|
-
<line num="
|
|
1120
|
-
<line num="224" count="1" type="
|
|
1121
|
-
<line num="
|
|
1122
|
-
<line num="
|
|
1123
|
-
<line num="243" count="
|
|
1124
|
-
<line num="244" count="2" type="
|
|
1125
|
-
<line num="245" count="
|
|
1124
|
+
<line num="205" count="7" type="stmt"/>
|
|
1125
|
+
<line num="206" count="1" type="stmt"/>
|
|
1126
|
+
<line num="207" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1127
|
+
<line num="209" count="1" type="stmt"/>
|
|
1128
|
+
<line num="210" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1129
|
+
<line num="213" count="1" type="stmt"/>
|
|
1130
|
+
<line num="217" count="1" type="cond" truecount="2" falsecount="2"/>
|
|
1131
|
+
<line num="219" count="1" type="stmt"/>
|
|
1132
|
+
<line num="223" count="1" type="stmt"/>
|
|
1133
|
+
<line num="224" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1134
|
+
<line num="227" count="1" type="stmt"/>
|
|
1135
|
+
<line num="242" count="19" type="cond" truecount="1" falsecount="0"/>
|
|
1136
|
+
<line num="243" count="2" type="stmt"/>
|
|
1137
|
+
<line num="244" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1138
|
+
<line num="245" count="1" type="stmt"/>
|
|
1126
1139
|
<line num="246" count="1" type="stmt"/>
|
|
1127
|
-
<line num="
|
|
1140
|
+
<line num="250" count="18" type="stmt"/>
|
|
1128
1141
|
<line num="251" count="18" type="stmt"/>
|
|
1129
|
-
<line num="
|
|
1142
|
+
<line num="253" count="18" type="stmt"/>
|
|
1130
1143
|
<line num="254" count="18" type="stmt"/>
|
|
1131
|
-
<line num="
|
|
1132
|
-
<line num="
|
|
1144
|
+
<line num="261" count="18" type="stmt"/>
|
|
1145
|
+
<line num="263" count="8" type="stmt"/>
|
|
1133
1146
|
<line num="264" count="8" type="stmt"/>
|
|
1134
|
-
<line num="
|
|
1135
|
-
<line num="268" count="8" type="
|
|
1136
|
-
<line num="
|
|
1137
|
-
<line num="
|
|
1138
|
-
<line num="
|
|
1139
|
-
<line num="
|
|
1140
|
-
<line num="283" count="10" type="
|
|
1141
|
-
<line num="
|
|
1142
|
-
<line num="
|
|
1143
|
-
<line num="
|
|
1147
|
+
<line num="267" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1148
|
+
<line num="268" count="8" type="stmt"/>
|
|
1149
|
+
<line num="271" count="8" type="stmt"/>
|
|
1150
|
+
<line num="278" count="8" type="stmt"/>
|
|
1151
|
+
<line num="280" count="10" type="stmt"/>
|
|
1152
|
+
<line num="282" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1153
|
+
<line num="283" count="10" type="stmt"/>
|
|
1154
|
+
<line num="286" count="10" type="stmt"/>
|
|
1155
|
+
<line num="291" count="10" type="stmt"/>
|
|
1156
|
+
<line num="303" count="18" type="stmt"/>
|
|
1144
1157
|
<line num="304" count="18" type="stmt"/>
|
|
1145
|
-
<line num="305" count="18" type="
|
|
1146
|
-
<line num="306" count="
|
|
1147
|
-
<line num="
|
|
1148
|
-
<line num="310" count="8" type="cond" truecount="2" falsecount="
|
|
1149
|
-
<line num="
|
|
1150
|
-
<line num="
|
|
1151
|
-
<line num="
|
|
1152
|
-
<line num="326" count="
|
|
1153
|
-
<line num="
|
|
1154
|
-
<line num="330" count="
|
|
1155
|
-
<line num="
|
|
1156
|
-
<line num="334" count="
|
|
1157
|
-
<line num="
|
|
1158
|
-
<line num="339" count="8" type="
|
|
1158
|
+
<line num="305" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1159
|
+
<line num="306" count="10" type="stmt"/>
|
|
1160
|
+
<line num="309" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1161
|
+
<line num="310" count="8" type="cond" truecount="2" falsecount="1"/>
|
|
1162
|
+
<line num="312" count="8" type="stmt"/>
|
|
1163
|
+
<line num="323" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1164
|
+
<line num="325" count="8" type="cond" truecount="3" falsecount="0"/>
|
|
1165
|
+
<line num="326" count="1" type="stmt"/>
|
|
1166
|
+
<line num="329" count="8" type="cond" truecount="2" falsecount="1"/>
|
|
1167
|
+
<line num="330" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1168
|
+
<line num="333" count="8" type="cond" truecount="0" falsecount="1"/>
|
|
1169
|
+
<line num="334" count="0" type="stmt"/>
|
|
1170
|
+
<line num="338" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1171
|
+
<line num="339" count="8" type="stmt"/>
|
|
1159
1172
|
<line num="340" count="8" type="stmt"/>
|
|
1160
|
-
<line num="
|
|
1173
|
+
<line num="342" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1161
1174
|
<line num="343" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1162
|
-
<line num="
|
|
1175
|
+
<line num="345" count="8" type="stmt"/>
|
|
1163
1176
|
<line num="346" count="8" type="stmt"/>
|
|
1164
|
-
<line num="
|
|
1165
|
-
<line num="352" count="
|
|
1166
|
-
<line num="
|
|
1167
|
-
<line num="
|
|
1168
|
-
<line num="357" count="8" type="
|
|
1169
|
-
<line num="
|
|
1170
|
-
<line num="364" count="
|
|
1177
|
+
<line num="351" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1178
|
+
<line num="352" count="1" type="stmt"/>
|
|
1179
|
+
<line num="354" count="8" type="stmt"/>
|
|
1180
|
+
<line num="356" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1181
|
+
<line num="357" count="8" type="stmt"/>
|
|
1182
|
+
<line num="363" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1183
|
+
<line num="364" count="17" type="stmt"/>
|
|
1171
1184
|
<line num="365" count="17" type="stmt"/>
|
|
1172
|
-
<line num="
|
|
1173
|
-
<line num="369" count="
|
|
1174
|
-
<line num="
|
|
1175
|
-
<line num="
|
|
1176
|
-
<line num="377" count="1" type="
|
|
1177
|
-
<line num="
|
|
1178
|
-
<line num="
|
|
1179
|
-
<line num="392" count="0" type="
|
|
1180
|
-
<line num="393" count="0" type="
|
|
1181
|
-
<line num="
|
|
1182
|
-
<line num="397" count="0" type="cond" truecount="0" falsecount="
|
|
1183
|
-
<line num="
|
|
1184
|
-
<line num="
|
|
1185
|
-
<line num="
|
|
1186
|
-
<line num="413" count="0" type="
|
|
1187
|
-
<line num="
|
|
1188
|
-
<line num="416" count="0" type="cond" truecount="0" falsecount="
|
|
1189
|
-
<line num="
|
|
1190
|
-
<line num="419" count="0" type="
|
|
1191
|
-
<line num="
|
|
1192
|
-
<line num="424" count="0" type="
|
|
1185
|
+
<line num="368" count="17" type="cond" truecount="1" falsecount="0"/>
|
|
1186
|
+
<line num="369" count="16" type="stmt"/>
|
|
1187
|
+
<line num="372" count="1" type="stmt"/>
|
|
1188
|
+
<line num="376" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1189
|
+
<line num="377" count="1" type="stmt"/>
|
|
1190
|
+
<line num="380" count="0" type="stmt"/>
|
|
1191
|
+
<line num="391" count="0" type="stmt"/>
|
|
1192
|
+
<line num="392" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1193
|
+
<line num="393" count="0" type="stmt"/>
|
|
1194
|
+
<line num="396" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1195
|
+
<line num="397" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1196
|
+
<line num="399" count="0" type="stmt"/>
|
|
1197
|
+
<line num="410" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1198
|
+
<line num="412" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1199
|
+
<line num="413" count="0" type="stmt"/>
|
|
1200
|
+
<line num="415" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1201
|
+
<line num="416" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1202
|
+
<line num="418" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1203
|
+
<line num="419" count="0" type="stmt"/>
|
|
1204
|
+
<line num="423" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1205
|
+
<line num="424" count="0" type="stmt"/>
|
|
1193
1206
|
<line num="425" count="0" type="stmt"/>
|
|
1194
|
-
<line num="
|
|
1207
|
+
<line num="427" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1195
1208
|
<line num="428" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1196
|
-
<line num="
|
|
1209
|
+
<line num="430" count="0" type="stmt"/>
|
|
1197
1210
|
<line num="431" count="0" type="stmt"/>
|
|
1198
|
-
<line num="
|
|
1199
|
-
<line num="438" count="0" type="
|
|
1200
|
-
<line num="
|
|
1201
|
-
<line num="441" count="0" type="
|
|
1202
|
-
<line num="
|
|
1203
|
-
<line num="
|
|
1204
|
-
<line num="458" count="2" type="
|
|
1205
|
-
<line num="
|
|
1206
|
-
<line num="467" count="0" type="
|
|
1207
|
-
<line num="468" count="0" type="
|
|
1211
|
+
<line num="437" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1212
|
+
<line num="438" count="0" type="stmt"/>
|
|
1213
|
+
<line num="440" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1214
|
+
<line num="441" count="0" type="stmt"/>
|
|
1215
|
+
<line num="450" count="2" type="stmt"/>
|
|
1216
|
+
<line num="457" count="2" type="stmt"/>
|
|
1217
|
+
<line num="458" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1218
|
+
<line num="466" count="0" type="stmt"/>
|
|
1219
|
+
<line num="467" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1220
|
+
<line num="468" count="0" type="stmt"/>
|
|
1208
1221
|
<line num="469" count="0" type="stmt"/>
|
|
1209
1222
|
<line num="470" count="0" type="stmt"/>
|
|
1210
|
-
<line num="
|
|
1211
|
-
<line num="
|
|
1212
|
-
<line num="
|
|
1213
|
-
<line num="
|
|
1214
|
-
<line num="
|
|
1215
|
-
<line num="
|
|
1216
|
-
<line num="
|
|
1217
|
-
<line num="
|
|
1218
|
-
<line num="
|
|
1219
|
-
<line num="
|
|
1220
|
-
<line num="
|
|
1221
|
-
<line num="
|
|
1222
|
-
<line num="
|
|
1223
|
-
<line num="
|
|
1224
|
-
<line num="
|
|
1225
|
-
<line num="
|
|
1226
|
-
<line num="
|
|
1227
|
-
<line num="
|
|
1228
|
-
<line num="
|
|
1229
|
-
<line num="652" count="
|
|
1230
|
-
<line num="
|
|
1231
|
-
<line num="
|
|
1232
|
-
<line num="
|
|
1233
|
-
<line num="698" count="
|
|
1234
|
-
<line num="
|
|
1235
|
-
<line num="
|
|
1236
|
-
<line num="704" count="
|
|
1237
|
-
<line num="
|
|
1223
|
+
<line num="478" count="3" type="stmt"/>
|
|
1224
|
+
<line num="485" count="1" type="stmt"/>
|
|
1225
|
+
<line num="492" count="1" type="stmt"/>
|
|
1226
|
+
<line num="499" count="5" type="stmt"/>
|
|
1227
|
+
<line num="506" count="3" type="stmt"/>
|
|
1228
|
+
<line num="513" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1229
|
+
<line num="521" count="2" type="stmt"/>
|
|
1230
|
+
<line num="528" count="2" type="stmt"/>
|
|
1231
|
+
<line num="535" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1232
|
+
<line num="542" count="2" type="stmt"/>
|
|
1233
|
+
<line num="549" count="2" type="stmt"/>
|
|
1234
|
+
<line num="564" count="2" type="stmt"/>
|
|
1235
|
+
<line num="576" count="2" type="stmt"/>
|
|
1236
|
+
<line num="583" count="3" type="stmt"/>
|
|
1237
|
+
<line num="590" count="2" type="stmt"/>
|
|
1238
|
+
<line num="597" count="2" type="stmt"/>
|
|
1239
|
+
<line num="604" count="2" type="stmt"/>
|
|
1240
|
+
<line num="630" count="3" type="stmt"/>
|
|
1241
|
+
<line num="651" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1242
|
+
<line num="652" count="1" type="stmt"/>
|
|
1243
|
+
<line num="657" count="1" type="stmt"/>
|
|
1244
|
+
<line num="679" count="1" type="stmt"/>
|
|
1245
|
+
<line num="697" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
1246
|
+
<line num="698" count="1" type="stmt"/>
|
|
1247
|
+
<line num="701" count="2" type="stmt"/>
|
|
1248
|
+
<line num="703" count="2" type="stmt"/>
|
|
1249
|
+
<line num="704" count="4" type="stmt"/>
|
|
1250
|
+
<line num="707" count="2" type="stmt"/>
|
|
1238
1251
|
<line num="708" count="2" type="stmt"/>
|
|
1239
|
-
<line num="
|
|
1252
|
+
<line num="711" count="2" type="stmt"/>
|
|
1240
1253
|
<line num="712" count="2" type="stmt"/>
|
|
1241
|
-
<line num="
|
|
1242
|
-
<line num="
|
|
1254
|
+
<line num="714" count="2" type="stmt"/>
|
|
1255
|
+
<line num="735" count="3" type="stmt"/>
|
|
1243
1256
|
<line num="736" count="3" type="stmt"/>
|
|
1244
|
-
<line num="
|
|
1245
|
-
<line num="740" count="2" type="
|
|
1246
|
-
<line num="741" count="
|
|
1247
|
-
<line num="
|
|
1248
|
-
<line num="
|
|
1249
|
-
<line num="754" count="1" type="
|
|
1250
|
-
<line num="755" count="
|
|
1251
|
-
<line num="
|
|
1252
|
-
<line num="
|
|
1253
|
-
<line num="765" count="8" type="stmt"/>
|
|
1257
|
+
<line num="739" count="2" type="stmt"/>
|
|
1258
|
+
<line num="740" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1259
|
+
<line num="741" count="0" type="stmt"/>
|
|
1260
|
+
<line num="746" count="2" type="stmt"/>
|
|
1261
|
+
<line num="753" count="1" type="stmt"/>
|
|
1262
|
+
<line num="754" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1263
|
+
<line num="755" count="0" type="stmt"/>
|
|
1264
|
+
<line num="757" count="1" type="stmt"/>
|
|
1265
|
+
<line num="764" count="8" type="stmt"/>
|
|
1254
1266
|
</file>
|
|
1255
1267
|
</package>
|
|
1256
1268
|
<package name="src.state">
|
|
1257
|
-
<metrics statements="
|
|
1269
|
+
<metrics statements="269" coveredstatements="235" conditionals="93" coveredconditionals="59" methods="56" coveredmethods="52"/>
|
|
1258
1270
|
<file name="agent.state.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/state/agent.state.ts">
|
|
1259
|
-
<metrics statements="
|
|
1271
|
+
<metrics statements="59" coveredstatements="59" conditionals="15" coveredconditionals="15" methods="15" coveredmethods="15"/>
|
|
1260
1272
|
<line num="6" count="6" type="stmt"/>
|
|
1261
|
-
<line num="
|
|
1262
|
-
<line num="
|
|
1263
|
-
<line num="16" count="
|
|
1264
|
-
<line num="
|
|
1273
|
+
<line num="7" count="6" type="stmt"/>
|
|
1274
|
+
<line num="9" count="6" type="stmt"/>
|
|
1275
|
+
<line num="16" count="6" type="stmt"/>
|
|
1276
|
+
<line num="17" count="149" type="stmt"/>
|
|
1265
1277
|
<line num="29" count="56" type="stmt"/>
|
|
1266
|
-
<line num="
|
|
1267
|
-
<line num="
|
|
1278
|
+
<line num="30" count="56" type="stmt"/>
|
|
1279
|
+
<line num="32" count="56" type="stmt"/>
|
|
1268
1280
|
<line num="51" count="56" type="stmt"/>
|
|
1269
|
-
<line num="
|
|
1270
|
-
<line num="
|
|
1271
|
-
<line num="66" count="47" type="
|
|
1272
|
-
<line num="67" count="
|
|
1273
|
-
<line num="
|
|
1281
|
+
<line num="52" count="56" type="stmt"/>
|
|
1282
|
+
<line num="59" count="11" type="stmt"/>
|
|
1283
|
+
<line num="66" count="47" type="stmt"/>
|
|
1284
|
+
<line num="67" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
1285
|
+
<line num="68" count="1" type="stmt"/>
|
|
1274
1286
|
<line num="71" count="46" type="stmt"/>
|
|
1275
|
-
<line num="
|
|
1276
|
-
<line num="79" count="39" type="
|
|
1277
|
-
<line num="80" count="
|
|
1278
|
-
<line num="
|
|
1287
|
+
<line num="72" count="46" type="stmt"/>
|
|
1288
|
+
<line num="79" count="39" type="stmt"/>
|
|
1289
|
+
<line num="80" count="39" type="cond" truecount="1" falsecount="0"/>
|
|
1290
|
+
<line num="81" count="1" type="stmt"/>
|
|
1279
1291
|
<line num="84" count="38" type="stmt"/>
|
|
1280
|
-
<line num="
|
|
1281
|
-
<line num="92" count="3" type="
|
|
1282
|
-
<line num="93" count="
|
|
1283
|
-
<line num="
|
|
1284
|
-
<line num="97" count="
|
|
1285
|
-
<line num="
|
|
1292
|
+
<line num="85" count="38" type="stmt"/>
|
|
1293
|
+
<line num="92" count="3" type="stmt"/>
|
|
1294
|
+
<line num="93" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
1295
|
+
<line num="94" count="1" type="stmt"/>
|
|
1296
|
+
<line num="97" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1297
|
+
<line num="98" count="1" type="stmt"/>
|
|
1286
1298
|
<line num="101" count="1" type="stmt"/>
|
|
1287
1299
|
<line num="102" count="1" type="stmt"/>
|
|
1288
|
-
<line num="
|
|
1289
|
-
<line num="114" count="4" type="
|
|
1290
|
-
<line num="115" count="
|
|
1291
|
-
<line num="
|
|
1292
|
-
<line num="
|
|
1293
|
-
<line num="
|
|
1294
|
-
<line num="131" count="2" type="
|
|
1295
|
-
<line num="132" count="
|
|
1296
|
-
<line num="
|
|
1300
|
+
<line num="103" count="1" type="stmt"/>
|
|
1301
|
+
<line num="114" count="4" type="stmt"/>
|
|
1302
|
+
<line num="115" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
1303
|
+
<line num="116" count="1" type="stmt"/>
|
|
1304
|
+
<line num="119" count="3" type="stmt"/>
|
|
1305
|
+
<line num="124" count="3" type="stmt"/>
|
|
1306
|
+
<line num="131" count="2" type="stmt"/>
|
|
1307
|
+
<line num="132" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1308
|
+
<line num="133" count="1" type="stmt"/>
|
|
1297
1309
|
<line num="136" count="1" type="stmt"/>
|
|
1298
|
-
<line num="
|
|
1299
|
-
<line num="144" count="2" type="
|
|
1300
|
-
<line num="145" count="
|
|
1301
|
-
<line num="
|
|
1302
|
-
<line num="
|
|
1303
|
-
<line num="156" count="2" type="
|
|
1304
|
-
<line num="157" count="
|
|
1305
|
-
<line num="
|
|
1310
|
+
<line num="137" count="1" type="stmt"/>
|
|
1311
|
+
<line num="144" count="2" type="stmt"/>
|
|
1312
|
+
<line num="145" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1313
|
+
<line num="146" count="1" type="stmt"/>
|
|
1314
|
+
<line num="149" count="1" type="stmt"/>
|
|
1315
|
+
<line num="156" count="2" type="stmt"/>
|
|
1316
|
+
<line num="157" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1317
|
+
<line num="158" count="1" type="stmt"/>
|
|
1306
1318
|
<line num="161" count="1" type="stmt"/>
|
|
1307
|
-
<line num="
|
|
1308
|
-
<line num="169" count="33" type="
|
|
1309
|
-
<line num="170" count="
|
|
1310
|
-
<line num="
|
|
1311
|
-
<line num="174" count="
|
|
1312
|
-
<line num="
|
|
1313
|
-
<line num="178" count="
|
|
1314
|
-
<line num="
|
|
1315
|
-
<line num="
|
|
1316
|
-
<line num="
|
|
1317
|
-
<line num="
|
|
1319
|
+
<line num="162" count="1" type="stmt"/>
|
|
1320
|
+
<line num="169" count="33" type="stmt"/>
|
|
1321
|
+
<line num="170" count="33" type="cond" truecount="1" falsecount="0"/>
|
|
1322
|
+
<line num="171" count="1" type="stmt"/>
|
|
1323
|
+
<line num="174" count="32" type="cond" truecount="3" falsecount="0"/>
|
|
1324
|
+
<line num="175" count="2" type="stmt"/>
|
|
1325
|
+
<line num="178" count="30" type="cond" truecount="1" falsecount="0"/>
|
|
1326
|
+
<line num="179" count="3" type="stmt"/>
|
|
1327
|
+
<line num="182" count="27" type="stmt"/>
|
|
1328
|
+
<line num="189" count="2" type="stmt"/>
|
|
1329
|
+
<line num="196" count="2" type="stmt"/>
|
|
1330
|
+
<line num="203" count="3" type="stmt"/>
|
|
1318
1331
|
</file>
|
|
1319
1332
|
<file name="database-state.manager.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/state/database-state.manager.ts">
|
|
1320
|
-
<metrics statements="
|
|
1333
|
+
<metrics statements="83" coveredstatements="67" conditionals="47" coveredconditionals="27" methods="19" coveredmethods="17"/>
|
|
1321
1334
|
<line num="7" count="1" type="stmt"/>
|
|
1322
|
-
<line num="
|
|
1323
|
-
<line num="
|
|
1324
|
-
<line num="
|
|
1325
|
-
<line num="93" count="
|
|
1326
|
-
<line num="
|
|
1335
|
+
<line num="8" count="1" type="stmt"/>
|
|
1336
|
+
<line num="10" count="1" type="stmt"/>
|
|
1337
|
+
<line num="86" count="1" type="stmt"/>
|
|
1338
|
+
<line num="93" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
1339
|
+
<line num="94" count="1" type="stmt"/>
|
|
1327
1340
|
<line num="96" count="23" type="stmt"/>
|
|
1328
|
-
<line num="97" count="23" type="
|
|
1341
|
+
<line num="97" count="23" type="stmt"/>
|
|
1329
1342
|
<line num="98" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
1330
|
-
<line num="
|
|
1331
|
-
<line num="
|
|
1332
|
-
<line num="
|
|
1333
|
-
<line num="
|
|
1334
|
-
<line num="
|
|
1343
|
+
<line num="99" count="23" type="cond" truecount="2" falsecount="0"/>
|
|
1344
|
+
<line num="106" count="10" type="stmt"/>
|
|
1345
|
+
<line num="114" count="1" type="stmt"/>
|
|
1346
|
+
<line num="128" count="0" type="cond" truecount="1" falsecount="1"/>
|
|
1347
|
+
<line num="148" count="1" type="stmt"/>
|
|
1335
1348
|
<line num="174" count="1" type="stmt"/>
|
|
1336
|
-
<line num="
|
|
1337
|
-
<line num="
|
|
1338
|
-
<line num="
|
|
1339
|
-
<line num="
|
|
1340
|
-
<line num="
|
|
1341
|
-
<line num="
|
|
1342
|
-
<line num="210" count="
|
|
1343
|
-
<line num="
|
|
1344
|
-
<line num="
|
|
1345
|
-
<line num="218" count="1" type="
|
|
1346
|
-
<line num="219" count="
|
|
1347
|
-
<line num="
|
|
1349
|
+
<line num="175" count="1" type="stmt"/>
|
|
1350
|
+
<line num="177" count="1" type="stmt"/>
|
|
1351
|
+
<line num="196" count="1" type="stmt"/>
|
|
1352
|
+
<line num="198" count="1" type="stmt"/>
|
|
1353
|
+
<line num="202" count="1" type="stmt"/>
|
|
1354
|
+
<line num="206" count="10" type="stmt"/>
|
|
1355
|
+
<line num="210" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1356
|
+
<line num="211" count="1" type="stmt"/>
|
|
1357
|
+
<line num="214" count="9" type="stmt"/>
|
|
1358
|
+
<line num="218" count="1" type="stmt"/>
|
|
1359
|
+
<line num="219" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1360
|
+
<line num="220" count="0" type="stmt"/>
|
|
1348
1361
|
<line num="223" count="1" type="stmt"/>
|
|
1349
|
-
<line num="
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="236" count="1" type="
|
|
1352
|
-
<line num="237" count="
|
|
1353
|
-
<line num="
|
|
1362
|
+
<line num="224" count="1" type="stmt"/>
|
|
1363
|
+
<line num="226" count="1" type="stmt"/>
|
|
1364
|
+
<line num="236" count="1" type="stmt"/>
|
|
1365
|
+
<line num="237" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1366
|
+
<line num="238" count="0" type="stmt"/>
|
|
1354
1367
|
<line num="241" count="1" type="stmt"/>
|
|
1355
|
-
<line num="
|
|
1356
|
-
<line num="
|
|
1357
|
-
<line num="254" count="2" type="
|
|
1358
|
-
<line num="255" count="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="259" count="
|
|
1361
|
-
<line num="
|
|
1368
|
+
<line num="242" count="1" type="stmt"/>
|
|
1369
|
+
<line num="244" count="1" type="stmt"/>
|
|
1370
|
+
<line num="254" count="2" type="stmt"/>
|
|
1371
|
+
<line num="255" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1372
|
+
<line num="256" count="0" type="stmt"/>
|
|
1373
|
+
<line num="259" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1374
|
+
<line num="260" count="1" type="stmt"/>
|
|
1362
1375
|
<line num="263" count="1" type="stmt"/>
|
|
1363
1376
|
<line num="264" count="1" type="stmt"/>
|
|
1364
|
-
<line num="
|
|
1365
|
-
<line num="
|
|
1366
|
-
<line num="281" count="1" type="
|
|
1367
|
-
<line num="282" count="
|
|
1368
|
-
<line num="
|
|
1369
|
-
<line num="
|
|
1370
|
-
<line num="
|
|
1371
|
-
<line num="
|
|
1372
|
-
<line num="303" count="1" type="
|
|
1373
|
-
<line num="304" count="
|
|
1374
|
-
<line num="
|
|
1377
|
+
<line num="265" count="1" type="stmt"/>
|
|
1378
|
+
<line num="267" count="1" type="stmt"/>
|
|
1379
|
+
<line num="281" count="1" type="stmt"/>
|
|
1380
|
+
<line num="282" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1381
|
+
<line num="283" count="0" type="stmt"/>
|
|
1382
|
+
<line num="286" count="1" type="stmt"/>
|
|
1383
|
+
<line num="291" count="1" type="stmt"/>
|
|
1384
|
+
<line num="293" count="1" type="stmt"/>
|
|
1385
|
+
<line num="303" count="1" type="stmt"/>
|
|
1386
|
+
<line num="304" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1387
|
+
<line num="305" count="0" type="stmt"/>
|
|
1375
1388
|
<line num="308" count="1" type="stmt"/>
|
|
1376
|
-
<line num="
|
|
1377
|
-
<line num="
|
|
1378
|
-
<line num="321" count="1" type="
|
|
1379
|
-
<line num="322" count="
|
|
1380
|
-
<line num="
|
|
1381
|
-
<line num="
|
|
1382
|
-
<line num="330" count="1" type="
|
|
1383
|
-
<line num="331" count="
|
|
1384
|
-
<line num="
|
|
1389
|
+
<line num="309" count="1" type="stmt"/>
|
|
1390
|
+
<line num="311" count="1" type="stmt"/>
|
|
1391
|
+
<line num="321" count="1" type="stmt"/>
|
|
1392
|
+
<line num="322" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1393
|
+
<line num="323" count="0" type="stmt"/>
|
|
1394
|
+
<line num="326" count="1" type="stmt"/>
|
|
1395
|
+
<line num="330" count="1" type="stmt"/>
|
|
1396
|
+
<line num="331" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1397
|
+
<line num="332" count="0" type="stmt"/>
|
|
1385
1398
|
<line num="335" count="1" type="stmt"/>
|
|
1386
|
-
<line num="
|
|
1387
|
-
<line num="
|
|
1388
|
-
<line num="348" count="0" type="
|
|
1389
|
-
<line num="349" count="0" type="
|
|
1390
|
-
<line num="
|
|
1391
|
-
<line num="353" count="0" type="
|
|
1392
|
-
<line num="
|
|
1393
|
-
<line num="357" count="0" type="
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1396
|
-
<line num="365" count="
|
|
1397
|
-
<line num="
|
|
1398
|
-
<line num="
|
|
1399
|
-
<line num="380" count="
|
|
1400
|
-
<line num="
|
|
1401
|
-
<line num="
|
|
1402
|
-
<line num="
|
|
1399
|
+
<line num="336" count="1" type="stmt"/>
|
|
1400
|
+
<line num="338" count="1" type="stmt"/>
|
|
1401
|
+
<line num="348" count="0" type="stmt"/>
|
|
1402
|
+
<line num="349" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1403
|
+
<line num="350" count="0" type="stmt"/>
|
|
1404
|
+
<line num="353" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1405
|
+
<line num="354" count="0" type="stmt"/>
|
|
1406
|
+
<line num="357" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1407
|
+
<line num="358" count="0" type="stmt"/>
|
|
1408
|
+
<line num="361" count="0" type="stmt"/>
|
|
1409
|
+
<line num="365" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1410
|
+
<line num="366" count="1" type="stmt"/>
|
|
1411
|
+
<line num="373" count="1" type="stmt"/>
|
|
1412
|
+
<line num="380" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1413
|
+
<line num="381" count="1" type="stmt"/>
|
|
1414
|
+
<line num="388" count="1" type="stmt"/>
|
|
1415
|
+
<line num="393" count="1" type="stmt"/>
|
|
1416
|
+
<line num="403" count="1" type="stmt"/>
|
|
1403
1417
|
</file>
|
|
1404
1418
|
<file name="redis-state.manager.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/state/redis-state.manager.ts">
|
|
1405
|
-
<metrics statements="
|
|
1419
|
+
<metrics statements="127" coveredstatements="109" conditionals="31" coveredconditionals="17" methods="22" coveredmethods="20"/>
|
|
1406
1420
|
<line num="7" count="1" type="stmt"/>
|
|
1407
|
-
<line num="
|
|
1408
|
-
<line num="
|
|
1409
|
-
<line num="
|
|
1410
|
-
<line num="55" count="
|
|
1411
|
-
<line num="
|
|
1412
|
-
<line num="58" count="20" type="
|
|
1421
|
+
<line num="8" count="1" type="stmt"/>
|
|
1422
|
+
<line num="10" count="1" type="stmt"/>
|
|
1423
|
+
<line num="47" count="1" type="stmt"/>
|
|
1424
|
+
<line num="55" count="21" type="cond" truecount="1" falsecount="0"/>
|
|
1425
|
+
<line num="56" count="1" type="stmt"/>
|
|
1426
|
+
<line num="58" count="20" type="stmt"/>
|
|
1413
1427
|
<line num="59" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
1414
1428
|
<line num="60" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
1415
1429
|
<line num="61" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
1416
|
-
<line num="
|
|
1417
|
-
<line num="
|
|
1418
|
-
<line num="
|
|
1419
|
-
<line num="83" count="
|
|
1420
|
-
<line num="84" count="
|
|
1421
|
-
<line num="
|
|
1422
|
-
<line num="
|
|
1430
|
+
<line num="62" count="20" type="cond" truecount="2" falsecount="0"/>
|
|
1431
|
+
<line num="69" count="21" type="stmt"/>
|
|
1432
|
+
<line num="76" count="4" type="stmt"/>
|
|
1433
|
+
<line num="83" count="7" type="stmt"/>
|
|
1434
|
+
<line num="84" count="127" type="cond" truecount="0" falsecount="1"/>
|
|
1435
|
+
<line num="85" count="0" type="stmt"/>
|
|
1436
|
+
<line num="87" count="127" type="stmt"/>
|
|
1423
1437
|
<line num="95" count="12" type="stmt"/>
|
|
1424
|
-
<line num="
|
|
1425
|
-
<line num="
|
|
1426
|
-
<line num="
|
|
1427
|
-
<line num="120" count="
|
|
1428
|
-
<line num="
|
|
1429
|
-
<line num="123" count="
|
|
1430
|
-
<line num="
|
|
1431
|
-
<line num="
|
|
1438
|
+
<line num="96" count="12" type="stmt"/>
|
|
1439
|
+
<line num="100" count="1" type="stmt"/>
|
|
1440
|
+
<line num="107" count="0" type="stmt"/>
|
|
1441
|
+
<line num="120" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
1442
|
+
<line num="121" count="1" type="stmt"/>
|
|
1443
|
+
<line num="123" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
1444
|
+
<line num="124" count="0" type="stmt"/>
|
|
1445
|
+
<line num="126" count="6" type="stmt"/>
|
|
1432
1446
|
<line num="136" count="1" type="stmt"/>
|
|
1433
|
-
<line num="
|
|
1434
|
-
<line num="
|
|
1447
|
+
<line num="137" count="1" type="stmt"/>
|
|
1448
|
+
<line num="139" count="1" type="stmt"/>
|
|
1435
1449
|
<line num="158" count="1" type="stmt"/>
|
|
1436
1450
|
<line num="159" count="1" type="stmt"/>
|
|
1437
|
-
<line num="
|
|
1438
|
-
<line num="
|
|
1451
|
+
<line num="160" count="1" type="stmt"/>
|
|
1452
|
+
<line num="163" count="1" type="stmt"/>
|
|
1439
1453
|
<line num="166" count="1" type="stmt"/>
|
|
1440
|
-
<line num="
|
|
1441
|
-
<line num="
|
|
1454
|
+
<line num="167" count="1" type="stmt"/>
|
|
1455
|
+
<line num="169" count="1" type="stmt"/>
|
|
1442
1456
|
<line num="173" count="13" type="stmt"/>
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="176" count="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="184" count="1" type="
|
|
1448
|
-
<line num="185" count="
|
|
1449
|
-
<line num="
|
|
1457
|
+
<line num="174" count="13" type="stmt"/>
|
|
1458
|
+
<line num="176" count="13" type="cond" truecount="1" falsecount="0"/>
|
|
1459
|
+
<line num="177" count="1" type="stmt"/>
|
|
1460
|
+
<line num="180" count="12" type="stmt"/>
|
|
1461
|
+
<line num="184" count="1" type="stmt"/>
|
|
1462
|
+
<line num="185" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1463
|
+
<line num="186" count="0" type="stmt"/>
|
|
1450
1464
|
<line num="189" count="1" type="stmt"/>
|
|
1451
|
-
<line num="
|
|
1465
|
+
<line num="190" count="1" type="stmt"/>
|
|
1452
1466
|
<line num="192" count="1" type="stmt"/>
|
|
1453
1467
|
<line num="193" count="1" type="stmt"/>
|
|
1454
|
-
<line num="
|
|
1455
|
-
<line num="
|
|
1456
|
-
<line num="200" count="1" type="
|
|
1457
|
-
<line num="201" count="
|
|
1458
|
-
<line num="
|
|
1468
|
+
<line num="194" count="1" type="stmt"/>
|
|
1469
|
+
<line num="196" count="1" type="stmt"/>
|
|
1470
|
+
<line num="200" count="1" type="stmt"/>
|
|
1471
|
+
<line num="201" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1472
|
+
<line num="202" count="0" type="stmt"/>
|
|
1459
1473
|
<line num="205" count="1" type="stmt"/>
|
|
1460
|
-
<line num="
|
|
1474
|
+
<line num="206" count="1" type="stmt"/>
|
|
1461
1475
|
<line num="208" count="1" type="stmt"/>
|
|
1462
1476
|
<line num="209" count="1" type="stmt"/>
|
|
1463
|
-
<line num="
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="216" count="2" type="
|
|
1466
|
-
<line num="217" count="
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="221" count="
|
|
1469
|
-
<line num="
|
|
1477
|
+
<line num="210" count="1" type="stmt"/>
|
|
1478
|
+
<line num="212" count="1" type="stmt"/>
|
|
1479
|
+
<line num="216" count="2" type="stmt"/>
|
|
1480
|
+
<line num="217" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1481
|
+
<line num="218" count="0" type="stmt"/>
|
|
1482
|
+
<line num="221" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1483
|
+
<line num="222" count="1" type="stmt"/>
|
|
1470
1484
|
<line num="225" count="1" type="stmt"/>
|
|
1471
1485
|
<line num="226" count="1" type="stmt"/>
|
|
1472
|
-
<line num="
|
|
1486
|
+
<line num="227" count="1" type="stmt"/>
|
|
1473
1487
|
<line num="229" count="1" type="stmt"/>
|
|
1474
1488
|
<line num="230" count="1" type="stmt"/>
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="
|
|
1477
|
-
<line num="241" count="1" type="
|
|
1478
|
-
<line num="242" count="
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1481
|
-
<line num="
|
|
1489
|
+
<line num="231" count="1" type="stmt"/>
|
|
1490
|
+
<line num="233" count="1" type="stmt"/>
|
|
1491
|
+
<line num="241" count="1" type="stmt"/>
|
|
1492
|
+
<line num="242" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1493
|
+
<line num="243" count="0" type="stmt"/>
|
|
1494
|
+
<line num="246" count="1" type="stmt"/>
|
|
1495
|
+
<line num="251" count="1" type="stmt"/>
|
|
1482
1496
|
<line num="253" count="1" type="stmt"/>
|
|
1483
1497
|
<line num="254" count="1" type="stmt"/>
|
|
1484
|
-
<line num="
|
|
1485
|
-
<line num="
|
|
1486
|
-
<line num="261" count="1" type="
|
|
1487
|
-
<line num="262" count="
|
|
1488
|
-
<line num="
|
|
1498
|
+
<line num="255" count="1" type="stmt"/>
|
|
1499
|
+
<line num="257" count="1" type="stmt"/>
|
|
1500
|
+
<line num="261" count="1" type="stmt"/>
|
|
1501
|
+
<line num="262" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1502
|
+
<line num="263" count="0" type="stmt"/>
|
|
1489
1503
|
<line num="266" count="1" type="stmt"/>
|
|
1490
|
-
<line num="
|
|
1504
|
+
<line num="267" count="1" type="stmt"/>
|
|
1491
1505
|
<line num="269" count="1" type="stmt"/>
|
|
1492
1506
|
<line num="270" count="1" type="stmt"/>
|
|
1493
|
-
<line num="
|
|
1494
|
-
<line num="
|
|
1495
|
-
<line num="277" count="1" type="
|
|
1496
|
-
<line num="278" count="
|
|
1497
|
-
<line num="
|
|
1498
|
-
<line num="
|
|
1499
|
-
<line num="286" count="1" type="
|
|
1500
|
-
<line num="287" count="
|
|
1501
|
-
<line num="
|
|
1507
|
+
<line num="271" count="1" type="stmt"/>
|
|
1508
|
+
<line num="273" count="1" type="stmt"/>
|
|
1509
|
+
<line num="277" count="1" type="stmt"/>
|
|
1510
|
+
<line num="278" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1511
|
+
<line num="279" count="0" type="stmt"/>
|
|
1512
|
+
<line num="282" count="1" type="stmt"/>
|
|
1513
|
+
<line num="286" count="1" type="stmt"/>
|
|
1514
|
+
<line num="287" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1515
|
+
<line num="288" count="0" type="stmt"/>
|
|
1502
1516
|
<line num="291" count="1" type="stmt"/>
|
|
1503
|
-
<line num="
|
|
1517
|
+
<line num="292" count="1" type="stmt"/>
|
|
1504
1518
|
<line num="294" count="1" type="stmt"/>
|
|
1505
1519
|
<line num="295" count="1" type="stmt"/>
|
|
1506
|
-
<line num="
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="302" count="0" type="
|
|
1509
|
-
<line num="303" count="0" type="
|
|
1510
|
-
<line num="
|
|
1511
|
-
<line num="307" count="0" type="
|
|
1512
|
-
<line num="
|
|
1513
|
-
<line num="311" count="0" type="
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="319" count="1" type="
|
|
1517
|
-
<line num="
|
|
1518
|
-
<line num="
|
|
1520
|
+
<line num="296" count="1" type="stmt"/>
|
|
1521
|
+
<line num="298" count="1" type="stmt"/>
|
|
1522
|
+
<line num="302" count="0" type="stmt"/>
|
|
1523
|
+
<line num="303" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1524
|
+
<line num="304" count="0" type="stmt"/>
|
|
1525
|
+
<line num="307" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1526
|
+
<line num="308" count="0" type="stmt"/>
|
|
1527
|
+
<line num="311" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1528
|
+
<line num="312" count="0" type="stmt"/>
|
|
1529
|
+
<line num="315" count="0" type="stmt"/>
|
|
1530
|
+
<line num="319" count="1" type="stmt"/>
|
|
1531
|
+
<line num="320" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1532
|
+
<line num="322" count="1" type="stmt"/>
|
|
1519
1533
|
<line num="325" count="1" type="stmt"/>
|
|
1520
|
-
<line num="
|
|
1534
|
+
<line num="326" count="1" type="stmt"/>
|
|
1521
1535
|
<line num="331" count="2" type="stmt"/>
|
|
1522
|
-
<line num="332" count="2" type="
|
|
1523
|
-
<line num="333" count="
|
|
1524
|
-
<line num="
|
|
1536
|
+
<line num="332" count="2" type="stmt"/>
|
|
1537
|
+
<line num="333" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1538
|
+
<line num="334" count="1" type="stmt"/>
|
|
1525
1539
|
<line num="339" count="1" type="stmt"/>
|
|
1526
|
-
<line num="
|
|
1540
|
+
<line num="340" count="1" type="stmt"/>
|
|
1527
1541
|
<line num="342" count="1" type="stmt"/>
|
|
1528
|
-
<line num="343" count="
|
|
1529
|
-
<line num="344" count="2" type="
|
|
1530
|
-
<line num="345" count="2" type="
|
|
1531
|
-
<line num="
|
|
1542
|
+
<line num="343" count="1" type="stmt"/>
|
|
1543
|
+
<line num="344" count="2" type="stmt"/>
|
|
1544
|
+
<line num="345" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1545
|
+
<line num="346" count="2" type="stmt"/>
|
|
1546
|
+
<line num="350" count="1" type="stmt"/>
|
|
1532
1547
|
</file>
|
|
1533
1548
|
</package>
|
|
1534
1549
|
<package name="src.supervisor">
|
|
@@ -1857,32 +1872,32 @@
|
|
|
1857
1872
|
<line num="21" count="11" type="stmt"/>
|
|
1858
1873
|
<line num="22" count="11" type="stmt"/>
|
|
1859
1874
|
<line num="23" count="11" type="stmt"/>
|
|
1860
|
-
<line num="31" count="
|
|
1861
|
-
<line num="33" count="
|
|
1875
|
+
<line num="31" count="24" type="stmt"/>
|
|
1876
|
+
<line num="33" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
1862
1877
|
<line num="34" count="14" type="stmt"/>
|
|
1863
1878
|
<line num="35" count="14" type="stmt"/>
|
|
1864
|
-
<line num="38" count="
|
|
1879
|
+
<line num="38" count="10" type="stmt"/>
|
|
1865
1880
|
<line num="47" count="4" type="stmt"/>
|
|
1866
1881
|
<line num="49" count="4" type="stmt"/>
|
|
1867
|
-
<line num="50" count="
|
|
1882
|
+
<line num="50" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
1868
1883
|
<line num="51" count="2" type="stmt"/>
|
|
1869
|
-
<line num="55" count="
|
|
1870
|
-
<line num="56" count="
|
|
1871
|
-
<line num="57" count="
|
|
1872
|
-
<line num="58" count="
|
|
1873
|
-
<line num="60" count="
|
|
1874
|
-
<line num="61" count="
|
|
1884
|
+
<line num="55" count="8" type="stmt"/>
|
|
1885
|
+
<line num="56" count="8" type="stmt"/>
|
|
1886
|
+
<line num="57" count="8" type="stmt"/>
|
|
1887
|
+
<line num="58" count="8" type="stmt"/>
|
|
1888
|
+
<line num="60" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1889
|
+
<line num="61" count="8" type="stmt"/>
|
|
1875
1890
|
<line num="65" count="2" type="stmt"/>
|
|
1876
1891
|
<line num="72" count="6" type="stmt"/>
|
|
1877
1892
|
<line num="73" count="6" type="stmt"/>
|
|
1878
1893
|
<line num="80" count="1" type="stmt"/>
|
|
1879
1894
|
<line num="81" count="1" type="stmt"/>
|
|
1880
|
-
<line num="88" count="
|
|
1881
|
-
<line num="89" count="
|
|
1882
|
-
<line num="90" count="
|
|
1883
|
-
<line num="92" count="
|
|
1884
|
-
<line num="93" count="
|
|
1885
|
-
<line num="100" count="
|
|
1895
|
+
<line num="88" count="30" type="stmt"/>
|
|
1896
|
+
<line num="89" count="30" type="stmt"/>
|
|
1897
|
+
<line num="90" count="30" type="stmt"/>
|
|
1898
|
+
<line num="92" count="30" type="stmt"/>
|
|
1899
|
+
<line num="93" count="30" type="stmt"/>
|
|
1900
|
+
<line num="100" count="8" type="stmt"/>
|
|
1886
1901
|
</file>
|
|
1887
1902
|
<file name="retry.ts" path="/home/runner/work/hazeljs/hazeljs/packages/agent/src/utils/retry.ts">
|
|
1888
1903
|
<metrics statements="37" coveredstatements="36" conditionals="19" coveredconditionals="19" methods="13" coveredmethods="13"/>
|