Updated CodeNarc and fixed failed rules.#9421
Conversation
|
🎯 Code Coverage 🔗 Commit SHA: eedf11e | Docs | Was this helpful? Give us feedback! |
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 11 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.056 s) : 0, 1055786
Total [baseline] (10.642 s) : 0, 10641553
Agent [candidate] (1.055 s) : 0, 1054580
Total [candidate] (10.688 s) : 0, 10687563
section appsec
Agent [baseline] (1.224 s) : 0, 1224496
Total [baseline] (10.715 s) : 0, 10714628
Agent [candidate] (1.229 s) : 0, 1229167
Total [candidate] (10.754 s) : 0, 10754482
section iast
Agent [baseline] (1.18 s) : 0, 1179630
Total [baseline] (10.856 s) : 0, 10856087
Agent [candidate] (1.179 s) : 0, 1178900
Total [candidate] (10.883 s) : 0, 10883101
section profiling
Agent [baseline] (1.194 s) : 0, 1194431
Total [baseline] (10.89 s) : 0, 10890347
Agent [candidate] (1.202 s) : 0, 1201833
Total [candidate] (10.822 s) : 0, 10821671
gantt
title petclinic - break down per module: candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.466 ms) : 0, 1466
crashtracking [candidate] (1.46 ms) : 0, 1460
BytebuddyAgent [baseline] (738.457 ms) : 0, 738457
BytebuddyAgent [candidate] (737.809 ms) : 0, 737809
GlobalTracer [baseline] (244.385 ms) : 0, 244385
GlobalTracer [candidate] (244.319 ms) : 0, 244319
AppSec [baseline] (30.478 ms) : 0, 30478
AppSec [candidate] (30.6 ms) : 0, 30600
Debugger [baseline] (6.086 ms) : 0, 6086
Debugger [candidate] (6.139 ms) : 0, 6139
Remote Config [baseline] (676.667 µs) : 0, 677
Remote Config [candidate] (677.284 µs) : 0, 677
Telemetry [baseline] (13.083 ms) : 0, 13083
Telemetry [candidate] (12.367 ms) : 0, 12367
section appsec
crashtracking [baseline] (1.454 ms) : 0, 1454
crashtracking [candidate] (1.448 ms) : 0, 1448
BytebuddyAgent [baseline] (756.266 ms) : 0, 756266
BytebuddyAgent [candidate] (759.598 ms) : 0, 759598
GlobalTracer [baseline] (235.567 ms) : 0, 235567
GlobalTracer [candidate] (236.511 ms) : 0, 236511
IAST [baseline] (23.549 ms) : 0, 23549
IAST [candidate] (23.845 ms) : 0, 23845
AppSec [baseline] (170.058 ms) : 0, 170058
AppSec [candidate] (170.944 ms) : 0, 170944
Debugger [baseline] (6.587 ms) : 0, 6587
Debugger [candidate] (6.491 ms) : 0, 6491
Remote Config [baseline] (650.815 µs) : 0, 651
Remote Config [candidate] (628.375 µs) : 0, 628
Telemetry [baseline] (9.245 ms) : 0, 9245
Telemetry [candidate] (8.535 ms) : 0, 8535
section iast
crashtracking [baseline] (1.463 ms) : 0, 1463
crashtracking [candidate] (1.449 ms) : 0, 1449
BytebuddyAgent [baseline] (851.415 ms) : 0, 851415
BytebuddyAgent [candidate] (850.299 ms) : 0, 850299
GlobalTracer [baseline] (232.898 ms) : 0, 232898
GlobalTracer [candidate] (233.363 ms) : 0, 233363
IAST [baseline] (32.978 ms) : 0, 32978
IAST [candidate] (30.296 ms) : 0, 30296
AppSec [baseline] (25.155 ms) : 0, 25155
AppSec [candidate] (27.765 ms) : 0, 27765
Debugger [baseline] (5.785 ms) : 0, 5785
Debugger [candidate] (5.77 ms) : 0, 5770
Remote Config [baseline] (605.46 µs) : 0, 605
Remote Config [candidate] (617.551 µs) : 0, 618
Telemetry [baseline] (8.245 ms) : 0, 8245
Telemetry [candidate] (8.326 ms) : 0, 8326
section profiling
crashtracking [baseline] (1.442 ms) : 0, 1442
crashtracking [candidate] (1.44 ms) : 0, 1440
BytebuddyAgent [baseline] (761.01 ms) : 0, 761010
BytebuddyAgent [candidate] (765.452 ms) : 0, 765452
GlobalTracer [baseline] (221.593 ms) : 0, 221593
GlobalTracer [candidate] (223.504 ms) : 0, 223504
AppSec [baseline] (30.037 ms) : 0, 30037
AppSec [candidate] (30.186 ms) : 0, 30186
Debugger [baseline] (6.193 ms) : 0, 6193
Debugger [candidate] (6.299 ms) : 0, 6299
Remote Config [baseline] (714.179 µs) : 0, 714
Remote Config [candidate] (705.83 µs) : 0, 706
Telemetry [baseline] (16.502 ms) : 0, 16502
Telemetry [candidate] (16.529 ms) : 0, 16529
ProfilingAgent [baseline] (107.422 ms) : 0, 107422
ProfilingAgent [candidate] (107.899 ms) : 0, 107899
Profiling [baseline] (108.04 ms) : 0, 108040
Profiling [candidate] (108.532 ms) : 0, 108532
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.046 s) : 0, 1046320
Total [baseline] (8.577 s) : 0, 8577076
Agent [candidate] (1.056 s) : 0, 1055697
Total [candidate] (8.595 s) : 0, 8594913
section iast
Agent [baseline] (1.178 s) : 0, 1177688
Total [baseline] (9.294 s) : 0, 9294050
Agent [candidate] (1.178 s) : 0, 1177506
Total [candidate] (9.318 s) : 0, 9318265
gantt
title insecure-bank - break down per module: candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.448 ms) : 0, 1448
crashtracking [candidate] (1.463 ms) : 0, 1463
BytebuddyAgent [baseline] (733.072 ms) : 0, 733072
BytebuddyAgent [candidate] (739.136 ms) : 0, 739136
GlobalTracer [baseline] (242.516 ms) : 0, 242516
GlobalTracer [candidate] (244.463 ms) : 0, 244463
AppSec [baseline] (30.108 ms) : 0, 30108
AppSec [candidate] (30.501 ms) : 0, 30501
Debugger [baseline] (6.085 ms) : 0, 6085
Debugger [candidate] (6.127 ms) : 0, 6127
Remote Config [baseline] (669.654 µs) : 0, 670
Remote Config [candidate] (679.561 µs) : 0, 680
Telemetry [baseline] (11.513 ms) : 0, 11513
Telemetry [candidate] (12.225 ms) : 0, 12225
section iast
crashtracking [baseline] (1.45 ms) : 0, 1450
crashtracking [candidate] (1.457 ms) : 0, 1457
BytebuddyAgent [baseline] (849.809 ms) : 0, 849809
BytebuddyAgent [candidate] (849.401 ms) : 0, 849401
GlobalTracer [baseline] (232.804 ms) : 0, 232804
GlobalTracer [candidate] (232.956 ms) : 0, 232956
IAST [baseline] (30.348 ms) : 0, 30348
IAST [candidate] (31.275 ms) : 0, 31275
AppSec [baseline] (27.656 ms) : 0, 27656
AppSec [candidate] (26.125 ms) : 0, 26125
Debugger [baseline] (5.739 ms) : 0, 5739
Debugger [candidate] (6.52 ms) : 0, 6520
Remote Config [baseline] (601.973 µs) : 0, 602
Remote Config [candidate] (595.123 µs) : 0, 595
Telemetry [baseline] (8.247 ms) : 0, 8247
Telemetry [candidate] (8.267 ms) : 0, 8267
LoadParameters
See matching parameters
SummaryFound 4 performance improvements and 1 performance regressions! Performance is the same for 7 metrics, 12 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section baseline
no_agent (4.297 ms) : 4250, 4345
. : milestone, 4297,
iast (9.178 ms) : 9027, 9330
. : milestone, 9178,
iast_FULL (14.472 ms) : 14184, 14760
. : milestone, 14472,
iast_GLOBAL (10.247 ms) : 10065, 10430
. : milestone, 10247,
profiling (8.864 ms) : 8725, 9003
. : milestone, 8864,
tracing (7.825 ms) : 7714, 7936
. : milestone, 7825,
section candidate
no_agent (4.445 ms) : 4395, 4495
. : milestone, 4445,
iast (9.217 ms) : 9067, 9366
. : milestone, 9217,
iast_FULL (14.531 ms) : 14240, 14822
. : milestone, 14531,
iast_GLOBAL (9.952 ms) : 9769, 10136
. : milestone, 9952,
profiling (8.878 ms) : 8736, 9020
. : milestone, 8878,
tracing (7.387 ms) : 7285, 7488
. : milestone, 7387,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section baseline
no_agent (36.873 ms) : 36575, 37171
. : milestone, 36873,
appsec (49.762 ms) : 49328, 50196
. : milestone, 49762,
code_origins (44.806 ms) : 44414, 45197
. : milestone, 44806,
iast (45.964 ms) : 45563, 46365
. : milestone, 45964,
profiling (50.06 ms) : 49580, 50540
. : milestone, 50060,
tracing (43.723 ms) : 43360, 44085
. : milestone, 43723,
section candidate
no_agent (36.533 ms) : 36238, 36828
. : milestone, 36533,
appsec (47.47 ms) : 47052, 47889
. : milestone, 47470,
code_origins (44.967 ms) : 44577, 45356
. : milestone, 44967,
iast (44.541 ms) : 44150, 44932
. : milestone, 44541,
profiling (45.981 ms) : 45589, 46374
. : milestone, 45981,
tracing (43.519 ms) : 43154, 43884
. : milestone, 43519,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 2 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section baseline
no_agent (15.096 s) : 15096000, 15096000
. : milestone, 15096000,
appsec (14.834 s) : 14834000, 14834000
. : milestone, 14834000,
iast (18.393 s) : 18393000, 18393000
. : milestone, 18393000,
iast_GLOBAL (17.975 s) : 17975000, 17975000
. : milestone, 17975000,
profiling (16.034 s) : 16034000, 16034000
. : milestone, 16034000,
tracing (14.793 s) : 14793000, 14793000
. : milestone, 14793000,
section candidate
no_agent (15.463 s) : 15463000, 15463000
. : milestone, 15463000,
appsec (14.918 s) : 14918000, 14918000
. : milestone, 14918000,
iast (18.151 s) : 18151000, 18151000
. : milestone, 18151000,
iast_GLOBAL (17.874 s) : 17874000, 17874000
. : milestone, 17874000,
profiling (15.014 s) : 15014000, 15014000
. : milestone, 15014000,
tracing (14.994 s) : 14994000, 14994000
. : milestone, 14994000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~eedf11e792, baseline=1.53.0-SNAPSHOT~fb836a13ab
dateFormat X
axisFormat %s
section baseline
no_agent (1.482 ms) : 1470, 1493
. : milestone, 1482,
appsec (3.641 ms) : 3426, 3856
. : milestone, 3641,
iast (2.217 ms) : 2154, 2281
. : milestone, 2217,
iast_GLOBAL (2.253 ms) : 2189, 2316
. : milestone, 2253,
profiling (2.486 ms) : 2269, 2702
. : milestone, 2486,
tracing (2.035 ms) : 1986, 2085
. : milestone, 2035,
section candidate
no_agent (1.479 ms) : 1468, 1491
. : milestone, 1479,
appsec (3.677 ms) : 3454, 3899
. : milestone, 3677,
iast (2.222 ms) : 2159, 2286
. : milestone, 2222,
iast_GLOBAL (2.258 ms) : 2195, 2322
. : milestone, 2258,
profiling (2.081 ms) : 2028, 2133
. : milestone, 2081,
tracing (2.027 ms) : 1978, 2076
. : milestone, 2027,
|
Kafka / producer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
Kafka / consumer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
smola
left a comment
There was a problem hiding this comment.
Some rules are a bit annoying, but looks good.
What Does This Do
Updated CodeNarc to 3.6.0.
Fixed code that violates rules.
Motivation
Keep tooling up-to-date.
Additional Notes
Latest version of CodeNarc is a bit more strict, but not that much.