{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CmdLine.main (cyclomatic 39): CmdLine.main has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/CmdLine.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c909fdbc0c10e917ed81da222eecb034930dd54f8525fd1216b5231cf6eb7304"}},{"ruleId":"D1","level":"warning","message":{"text":"ZestPrinter.list (cyclomatic 30): ZestPrinter.list has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestPrinter.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bfdf664dcb955f792680b9b196d08179fe56740bdacef15d907c689e591b68"}},{"ruleId":"D1","level":"warning","message":{"text":"ZestClientLaunch.invoke (cyclomatic 24): ZestClientLaunch.invoke has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestClientLaunch.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6715d709d77c894da1a1bd7070ea2cba859f2f52361a49214118579faa1526f6"}},{"ruleId":"D1","level":"warning","message":{"text":"ZestBasicRunner.runStatement (cyclomatic 20): ZestBasicRunner.runStatement has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ae36eeeb49876221e4986b71376b2ee2ae6a5a9559842c697827319ae3701"}},{"ruleId":"D1","level":"warning","message":{"text":"ZestActionInvoke.invoke (cyclomatic 18): ZestActionInvoke.invoke has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestActionInvoke.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c6c66ac749f8f9e84e4859ba77d6023ff3648ed633f9d63f79b89766cd756f"}},{"ruleId":"D1","level":"warning","message":{"text":"ZestPrinter.printExpression (cyclomatic 17): ZestPrinter.printExpression has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestPrinter.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d28151bb7f2f9d5e4fc613f634cc3f8421a0ac83bda98136e700a30a7291b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ZestLoopTokenClientElementsSet.getConvertedSet (cyclomatic 16): ZestLoopTokenClientElementsSet.getConvertedSet has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopTokenClientElementsSet.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"262cd4e4a9407f23cdc9da52e9ef94062b1118a1f857238abe72d05a745273ee"}},{"ruleId":"D2","level":"warning","message":{"text":"CmdLine.main (cognitive 65): CmdLine.main has cognitive complexity 65 (threshold 15). Drivers by points: if/else 29 (52 pts), error handling 4 (8 pts), boolean chains 2, loops 2, match/switch 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/CmdLine.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6748f1c1aded84c6d69841c9f25abdd0f3924176e0d6fdea1e6baa32dc2091b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestPrinter.list (cognitive 46): ZestPrinter.list has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25 (30 pts), loops 6 (14 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestPrinter.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf7e9f60b849cf5187842f0b7c3675619378288e781bfc19f038b638b94b9b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestClientLaunch.invoke (cognitive 40): ZestClientLaunch.invoke has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (33 pts), error handling 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestClientLaunch.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d651fdc95990be0745a68a4d1758bc9e7d9186295bf225ce748ea335e78e4fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestActionInvoke.invoke (cognitive 29): ZestActionInvoke.invoke has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (18 pts), loops 3 (7 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestActionInvoke.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c51dbe07aa6649b6140feb9ed630919d8b0745c6beac2b20a8a7e9d7a102080"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestPrinter.printExpression (cognitive 27): ZestPrinter.printExpression has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 2 (6 pts), ternaries 2 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestPrinter.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21067a93940a79f719c2306a537dcaed4e2ab0c33cc6e7214e7fd01654eaf5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestBasicRunner.runStatement (cognitive 26): ZestBasicRunner.runStatement has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), loops 2 (6 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8633d7acce4c8b085ffa946668caf423d1499c6b0078002869498f05092c0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestLoopTokenClientElementsSet.getConvertedSet (cognitive 24): ZestLoopTokenClientElementsSet.getConvertedSet has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopTokenClientElementsSet.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dd68ee6fae1b02c8f97ca2f9e95c5115926aff1625264ef3874aaeeeb57403"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestVariables.replaceInString (cognitive 21): ZestVariables.replaceInString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestVariables.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14bfdf477713e09edacd8c8663229b25953838028a6e392b9c0f50007fa868c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestLoopTokenRegexSet.getConvertedSet (cognitive 20): ZestLoopTokenRegexSet.getConvertedSet has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopTokenRegexSet.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b1b376304bd38bd35912eefd22cb36f155237b3b5c1587aa22baa9d067549"}},{"ruleId":"D2","level":"warning","message":{"text":"ZestConditional.getStatement (cognitive 16): ZestConditional.getStatement has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestConditional.java"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0858f09c9857cf4bce82495b6b518f7e79214f0a6f9f60f612aad91198395fc5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZestScript: TooManyMethods \u2014 52 methods. The bar is 30 methods; this is 22 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestScript.java"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce26bbb43197ee85ad5638c16c4532dbd1d58312388a1154fa418f8ba8d31ccb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZestBasicRunner: TooManyMethods \u2014 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d142e0915ea736ec281dffb6f2e897ab9a8e7717feee3852c4c0a854526f12c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZestLoop: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"84daa6322a43fc31fc7f6bc9334aa7c9f13cbc93c77e002a1c404ae967f7fda4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CmdLine.main: MethodTooLong \u2014 main runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/CmdLine.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dedd273d133861b41dbf71282421b27f84095b0f651b8a4dfa72a4e39971d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZestPrinter.list: MethodTooLong \u2014 list runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestPrinter.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"451dff69125dc99da27a8d472363f7c59e8e9f8047d6eb96c2096673eec46edc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZestAssignFromElement: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestAssignFromElement.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd20d555e2a0ece587f79b3dd8058d7cc954998434cfc6df952c900cf3d9c356"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZestConditional: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestConditional.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"54110258e64eacd2d8d40d925e8aac6a9ca89a6fb0c4f20caa396472d1f0c41b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZestRequest: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestRequest.java"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ad0fe1c79a881b6bd5f7e18bea0983e14dc330ec482105460578ae24984c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java:245-257 | src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java:347-359 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcaa2b7946fdb64f25576e9fd9c545a7547be8f5ae0b94fe94b6cb64f5e1ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/org/zaproxy/zest/core/v1/ZestRequest.java:279-292 | src/main/java/org/zaproxy/zest/core/v1/ZestRequest.java:299-312 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestRequest.java"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd1d184ef8cf6a85b508571fb7fe4ca115c0c854773dea9e00044d8ee55fe19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java:36-45 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java:78-92 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopRegex.java:40-49 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c21db274fd9616c41b3352ee473899f82ac6dd1f235ca215bf907be32bd72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java:140-154 | src/main/java/org/zaproxy/zest/core/v1/ZestScript.java:235-250 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f03b31137bf6d5cbe188616e099dea6c2e1770f2796d29f2618844afd1d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java:542-551 | src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java:559-567 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6731ef58ccae3514626e6d6b40205d0324e211b0dfc2b3cfd7e95a15b62c1e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java:217-230 | src/main/java/org/zaproxy/zest/core/v1/ZestScript.java:281-296 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6a6dbd23023e8ddff2918165a7a3e939943e48136805cb108a70b53d027a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowOpenUrl.java:58-70 | src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowResize.java:63-73 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowOpenUrl.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef139e4eaddfacce93ea693c7d69957b30c5e4abc7bfa6487c1a7d092be487f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/main/java/org/zaproxy/zest/core/v1/ZestClientElement.java:30-36 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopTokenClientElementsSet.java:46-53 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestClientElement.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"059aadaadd942cb93df071b0764256df2aa91929237e348e0c751184a14b2095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): src/main/java/org/zaproxy/zest/impl/ZestScriptEngine.java:30-49 | src/main/java/org/zaproxy/zest/impl/ZestScriptEngine.java:53-71 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestScriptEngine.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b5387a08499c207af4941533e4e4b0387a2cdf17acc7d0c0b64f82f90ee8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowHandle.java:82-96 | src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowHandle.java:99-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowHandle.java:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowHandle.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d4bb53574a98ab5bf11ccb5d0407bc08475e70d2c50b864ac562e0ace885f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): src/main/java/org/zaproxy/zest/impl/ZestPrinter.java:284-295 | src/main/java/org/zaproxy/zest/impl/ZestPrinter.java:298-312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/zaproxy/zest/impl/ZestPrinter.java:298\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestPrinter.java"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b51c30fb07341a089a64458d52fb1c4cc8f694afc2e91962cabbe62c9173e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestConditional.java:341-353 | src/main/java/org/zaproxy/zest/core/v1/ZestScript.java:284-296 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/zaproxy/zest/core/v1/ZestConditional.java:341\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestConditional.java"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4814cef59f397232814a7ac6cfd732ab43a540d686bcbbbe1b2724c0d88316a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java:141-153 | src/main/java/org/zaproxy/zest/core/v1/ZestScript.java:236-248 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"246ad62c77e0e24acb20e995229d9f7ecc942e72b1efad9f9a258f7ff52ae465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/main/java/org/zaproxy/zest/impl/CmdLine.java:73-80 | src/main/java/org/zaproxy/zest/impl/CmdLine.java:95-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/zaproxy/zest/impl/CmdLine.java:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/CmdLine.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"02801a55343013cf0e73673b2772f1929ef5c1b905ce42663a770b6c41083368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 3): src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java:40-45 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java:83-87 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopRegex.java:44-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292bdad3267f8592436561669cc7a3113ff17a57c2c4869f70db0dbe973da10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java:257-265 | src/main/java/org/zaproxy/zest/core/v1/ZestScript.java:612-620 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb1b45b1651c8ae97c45b83eefc41be30b1e001a2a80a612fff0c7069f96d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java:393-401 | src/main/java/org/zaproxy/zest/core/v1/ZestScript.java:641-649 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoop.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2070c72d806692324ea1785808e80ec58a5c12b8cb02bdb51aa458644a9761"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java:73-78 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java:145-150 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopInteger.java:151-156 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopRegex.java:80-85 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopString.java:133-138 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopClientElements.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f05ea0b3012a3ee04c585d4d8bf930ea9fee3a463f3b9e60707dee04a830b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowClose.java:45-50 | src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowOpenUrl.java:45-50 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowClose.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a412fa4bca890c85e56a340c20954b6f010edb60f114f1d5f4a8abf053df21b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java:58-62 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopString.java:37-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c07ee853f9dc8465317d1548b9ecfa252318ae78c8c5a912973bdeb5c9d1b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java:71-75 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopString.java:60-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopFile.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b19fc35eb74a9b1aa7bda1e5c88b3af81d3d4c0f762dae621df6088317d8ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/java/org/zaproxy/zest/core/v1/ZestLoopStateInteger.java:38-43 | src/main/java/org/zaproxy/zest/core/v1/ZestLoopStateString.java:44-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestLoopStateInteger.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5cb2c39deeee56b376077dec6a82d470aa681919df5b3b17ca3052ac05c4d2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldSubmitExistingElement: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestClientElementSubmitUnitTest.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e184034ab46d59bd05716293de048e41009ca11dda337817499b9722d5985350"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldSubmitIfInputElementNotInForm: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestClientElementSubmitUnitTest.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c720a58193bca92fc515c8e90ca67a45a8f6583642372f634ae6dc765921c4f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testEvaluateAlone: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestConditionalRegexComplexUnitTest.java"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e9089fb6d8743c994bc551f227c4ec72c2185f68f44f38854fe2b1007990b5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testDeepCopy: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"93866555d3cedb3df1f9bfdf1d922a58970df70c5b8c5ca066b173decc168985"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldFailOnBadOptions: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestJSONUnitTest.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7b46243ce8816a45ab14a809247a0f769dfa161ee22b39639f18e5c5b8c447"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldSetOptions: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestJSONUnitTest.java"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"749e6afc69e99cbe2a454cfc7e2e4b4a76d1d59f0fbf0cf97239e0526264cf52"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: testOpenFile: This method\u0027s body runs code, and no assertion was recognised in it. Recognised: JUnit\u0027s assertion methods (assertEquals, assertTrue, assertInstanceOf, assertThrows, assertThrowsExactly, assertTimeoutPreemptively, assertAll and the rest of JUnit 5\u0027s list), assertThat (AssertJ, Hamcrest, Truth), fail, Mockito\u0027s verify and the \u0060assert\u0060 statement, in the test body and in helper methods of the test\u0027s own class or an in-repository base class, followed three calls deep. Verification through a helper on another object or in another class, through a custom matcher library, or through a harness that fails by throwing under some other name is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestLoopFileUnitTest.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c910b3baa9317352e2aebb864b6c2e03780e446af86afff72b8d19c7744a26"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Chrome\u0022 [closed, closed]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"058af120ba64cca393cb6d7295ee14befcc57a444180b67e1de7ea1700426c8d"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Chrome\u0022 [closed, open]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ca1c6b4808a0645756469250c13988e35a8817d72c176885b06645172481dd6"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Chrome\u0022 [closed]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7099ed428e4fb36020b8246da7eed4ca88c10c4a7c6209fb84bfc113e82d1473"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Chrome\u0022 [open, closed]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8f0e95853658cd4927106d46949ecac12c17406ee2c339887dc2bd5ebea99876"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Chrome\u0022 [open, open]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"716d356e52ea4bc6859af783b08565f774711ca749697d4918d819f11df13f42"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Chrome\u0022 [open]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"953a49f474fd3c9618dfbb1638ad8403abfce00242c4d1f6f8d1478e0bee8466"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Firefox\u0022 [closed, closed]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e0117fdd4af552786985b6421578f355cdff4ecc9ff62df382369a912d148359"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Firefox\u0022 [closed, open]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ee18474f39853419f8f6a09bbf6f7bd7d6cbf070065e06d1d4156dccc1cd11e7"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Firefox\u0022 [closed]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"47862e64c04fe22e77d162cff7ad17c744e33b976a40912c72b47ce692dfb25f"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Firefox\u0022 [open, closed]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f1ec3b449a12d0d716a6828bfb52cb10dc040950a57edc9f2ea9a1b3749e9011"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Firefox\u0022 [open, open]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9693b2899f381ca4c317bf0bfbf0604194976e6202cbf4b791a66d58cd957276"}},{"ruleId":"D11","level":"error","message":{"text":"Flaky test: org.zaproxy.zest.test.v1.ZestClientElementClickUnitTest$ShadowDom.\u0022Firefox\u0022 [open]: Passed 6\u00D7, failed 12\u00D7 across repeated runs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"572d4ac5a3a01adae35dd916ea74756002d794adb5af1e9e86cb24d394f389ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/TestRuntime.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fb272f491a31ffbd92b22488a34b757ea958b19b347d4b2bc764caa0c5fc58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/TestRuntime.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"661f05a600424c39486a36a4fdbbad462b17114a1a4c2e8072cc1b94fb876360"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/TestRuntime.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77dad7ef1d72552026cafcdf60392a313e694da31f86f11e3f08abe1868c589"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/TestRuntime.java"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0879ea5f529e578966921b049dad32665fe23be2fdabe60be38729b76b54a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/TestRuntime.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"034ca518ae4cc029d4a08ebf6a282a9bbb3ea03b1ecce515e9354d5d72cc436c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Auto-generated method stub \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/TestRuntime.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb665a656b4e3003ec9ea9d9668957e54fca2b2e644daa711d17f1f6cdcbcbde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check more containers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestScriptUnitTest.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5e5492a911afe37ec3ea999b4fa262270a25f7da1e4858fa352d5b39c13741"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO to many booleans \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestStructuredExpressionUnitTest.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d16531f79243f7325e1c1f9834ed06f01ff11a9e13e28a4b16f2afaad037754"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO maybe an exception raises if a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestStructuredExpressionUnitTest.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76bcbe3ca3459a520f59ff9b3f208a38563933130ee70406e8874f4b5b6fe6a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Why is here a hard-coded port (80)? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ComponentsHttpClient.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"deafc753dd565a1ed085ac33df7a9d6c65ee646682db69f7931f5a95ebaa9749"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support credentials \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestBasicRunner.java"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"e824aecae2e70e19ecd29b490953b2b282712612dcb97f8024f2d518c0af44e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support form names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/ZestUtils.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8babad042be3a7b569713f0f6d7ef93c6ff4075c1efd7b1a6b4eeddb768d1063"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Remove runtime dependency on ClassGraph \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/impl/jackson/JacksonConfig.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"defce9967f85ff6abc6a5e8dc850c4377bd43b4661604a01376ce419b8bcd2b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 27 files: The identical TodoComment appears in 27 files (29 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 29 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO: Auto-generated Javadoc\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestAction.java"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad63a1aef45d8ac52dc14b42592ff814443d7ce7ba4ea10f334af76c2660185"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this dependant on protocol, eg http / ws / ?? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestRequest.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"205124a0ef60a66c7274ee39d8001e12d53a9a0fd2fc2b49bbbf01dee6431e75"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ZestExpressionURL\u0060 spells \u0060URL\u0060 where 14 names in the project spell it \u0060Url\u0060: 14 of 15 names in project zest spell the token \u0060Url\u0060 (14 of 15; unit: names in project zest containing \u0060Url\u0060). Peers: ZestClientLaunch.getUrl (src/main/java/org/zaproxy/zest/core/v1/ZestClientLaunch.java:108); ZestClientLaunch.setUrl (src/main/java/org/zaproxy/zest/core/v1/ZestClientLaunch.java:112); ZestClientWindowHandle.getUrl (src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowHandle.java:39); ZestClientWindowHandle.setUrl (src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowHandle.java:43); org.zaproxy.zest.core.v1.ZestClientWindowOpenUrl (src/main/java/org/zaproxy/zest/core/v1/ZestClientWindowOpenUrl.java:13). Rename to \u0060ZestExpressionUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestExpressionURL.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf239a13c1adf943c1d3d98bba2d55a6f11b4265b09721511f510e8cf6fa43d"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b50d6185f231a28fa9959e31861b0be76667502f1a2f794cc5c60d4fa797cb7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c30eadcccbceed0e0d7a888424133243f0a80f7e1c7cb21212f7f3b62f298cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"33eab17e4fcf6810a0962c506b08e00fcdff3187ba9d80f371ad293fce0c8afa"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99f9d333a5c1c559df13e239bb002dd6d6609f0f5046b1aeff7e7bce95c602c6"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a6ff4f36c5bc6522ccd0ef2264a69963e694b53fafc4b34c8e9af0d2976ff66"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"454cefb2fd1d4cefc47a434e04436506a0dcc1bfc0ea53b441e7d824343a91ab"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8655b017b9f25a7de39aec0b4a1818ff27b704642a91e684e94853610cc51db"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82d1f75bf9df617618e07e0a6caefe39f5dd709b0aa14a76966fc502abce7a4e"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e2c1ed5ea4bc88bdc479ce4769e3f5a916e168b3ace25b8278c773ab0497de17"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ZestRunner (26 abstract methods): \u0060ZestRunner\u0060 declares 26 abstract methods: \u0060getStopOnAssertFail\u0060, \u0060getStopOnTestFail\u0060, \u0060getVariable\u0060, \u0060getVariables\u0060, \u0060handleAction\u0060, \u0060handleAssignment\u0060, \u0060handleClient\u0060, \u0060handleLoop\u0060, \u0060handleResponse\u0060, \u0060isDebug\u0060, \u0060responseFailed\u0060, \u0060responseFailed\u0060, \u0060responsePassed\u0060, \u0060responsePassed\u0060, \u0060run\u0060, \u0060run\u0060, \u0060runScript\u0060, \u0060runScript\u0060, \u0060runStatement\u0060, \u0060send\u0060, \u0060setDebug\u0060, \u0060setOutputWriter\u0060, \u0060setScriptEngineFactory\u0060, \u0060setStopOnAssertFail\u0060, \u0060setStopOnTestFail\u0060, \u0060setVariable\u0060. Counted over its ABSTRACT methods, once per signature; \u0060default\u0060, \u0060static\u0060 and \u0060private\u0060 methods and constants are not counted, because no implementer is forced to write them. Those 26 declarations carry 22 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 22 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestRunner.java"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f40e8d98d5a8384e6419639410b8c769b3f86174fa7960189bc5634ca975314"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f6e385578c64d2355fe748a80d8520c2caecf0d0ffeb31e9415c1d0b5175d4"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b1a8468824812414f97d1d98d0be59a2641a15e29f684bdd754e169e680bed"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04306aed0dfe7122a3a71e5b0d0385299df2cfcbd1c30baad63ec747d2bebde9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b361ea1bb7a32525c452cb8cf61ae716dfd3e730047e2ab5a973301eddb5a2b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"90da96f6e5c866280cbd35c986c283e653ef011183716919275c41e377060c92"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7f6fc7ccf8302097c1fbfe66a4d54f577fe379afe976991a1dfbaa4a789730"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d74ab719a700423e5634964f40c82c0232cf3f9163f40c1aad0cc3c0458e24"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30fb9862f44513959c84624236dc8d40e557760951247b9d2abfc60dcd4aa24"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a743105b64ef73c9a0ea02c6912ee5f469196b8144daab9a2fc01b65cf442f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e577962cfbdf092a04502c0b3130ad2a503287d73e219cf4540d3245d41cd8"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"932937d742ad8d872fd5bb1c9f60a9752d595fbefb8bf8d8b944a95d0af73bd5"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/java/org/zaproxy/zest/test/v1/ZestExpressionAndUnitTest.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e0b66bd23a2bb866bc03559df3bf79422973bc969338266d7b38cf0ef0ca41"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060js/node-operations.js\u0060 reports through \u0060console.*\u0060 at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/node-operations.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"047e3907ae13f3fe42ed73ae443fd057a0a2c830d80b8d600a87f4e9eff9f5a2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060js/node-operations.js\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/node-operations.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fbf298d493db8f85efd7df57e43ec9078e1f99e225cc3e17166c03c24370e7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060js/zestscript.js\u0060 reports through \u0060console.*\u0060 at line 106 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/zestscript.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a755a785c0e3475adc7811d717616a631feb17408c6bd01120e82f8376c51b48"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 5 plain JS \u2014 the untyped files are js/log.js, js/node-operations.js, js/zest-test.js, js/zest.js, js/zestscript.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): js/zestscript.js:135 \u00B7 js/zestscript.js:151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/zestscript.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0c9764ec37ea50c2ef8ea6badf41aea171a24ad18f1316d3487092b17eda7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): js/zest-test.js:29 \u00B7 js/zest.js:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/zest-test.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6846fbb152cd300d25e838fd1addd06fad2b66caef3a6b7d5e17b2899a19e09"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~186 LoC): no import path from any entry point (2 application, 0 tooling, 2 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (js/zest-test.js, js/zest.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/zestscript.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36465dc21e1efde4f2b48851d7e92e2643c47140de8cb7946f6b5729839b00b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~43 LoC): no import path from any entry point (2 application, 0 tooling, 2 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (js/zest.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/node-operations.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e5a1937baaa35d57bd4cdba932f3dd89141bd68b8b69dad646275b7e2f2f7e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~39 LoC): no import path from any entry point (2 application, 0 tooling, 2 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/zest-test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81362a20b3a95309dd728ce1ea854b45ab3ef85ea243589ade2dd47a017c8d7e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~27 LoC): no import path from any entry point (2 application, 0 tooling, 2 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (js/zestscript.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/log.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b013de8cf4f7e43d753bf8b55861a7c67264dfb4770563ccee74316b3219ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (2 application, 0 tooling, 2 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"js/zest.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c12b45b00c723feb2071a3ac83f768e08458c38a44588a398f4602376ba57ee"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): The JDK merges \u0060stderr\u0060 into \u0060stdout\u0060 here (\u0060redirectErrorStream(true)\u0060), and that one stream is still a pipe \u2014 and \u0060p.waitFor()\u0060 is written before stdout is read, so nothing drains it while the parent waits. The JDK\u0027s own \u0060Process\u0060 documentation warns that failing to read a child\u0027s output promptly \u0022may cause the process to block, or even deadlock\u0022: once the child writes more than the pipe holds (measured on OpenJDK 25 / Linux: 60,000 bytes finishes, 70,000 hangs forever), it blocks on the write, never exits, and the wait never returns. Nothing fails loudly. Read every piped stream before (or while) waiting \u2014 a thread or \u0060CompletableFuture\u0060 per stream \u2014 merge them with \u0060redirectErrorStream(true)\u0060 and read the one stream before \u0060waitFor\u0060, or discard what you do not want with \u0060redirectOutput\u0060/\u0060redirectError(ProcessBuilder.Redirect.DISCARD)\u0060 (or a file)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/java/org/zaproxy/zest/core/v1/ZestActionInvoke.java"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99fe7cf860429859cffa7ec07f9454d341266b19a1ba0e6c0b392e6e6262467"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/6 of this repository\u0027s Java package directories are under a non-null default: a \u0060package-info.java\u0060 declaring \u0060@NullMarked\u0060 (JSpecify) or \u0060@NonNullApi\u0060, \u0060@ParametersAreNonnullByDefault\u0060, \u0060@NonNullByDefault\u0060, \u0060@DefaultQualifier(NonNull.class)\u0060; a \u0060module-info.java\u0060 declaring \u0060@NullMarked\u0060; every type in it \u0060@NullMarked\u0060; or a build that runs NullAway with the package in \u0060AnnotatedPackages\u0060, or the Checker Framework\u0027s \u0060NullnessChecker\u0060. Elsewhere every reference admits null and no checker warns on the dereference that throws a \u0060NullPointerException\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"419201f6fc7ba243aef2cfb154378641588a8190e6269cea04a7b48c3d343bd5"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1004","guid":"872195c9-bb07-cf51-8a32-865f4bb753ca","name":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag","shortDescription":{"text":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute","shortDescription":{"text":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute"},"helpUri":"https://cwe.mitre.org/data/definitions/614.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":14,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}