{"$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":"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","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-1395","CWE-937"],"owasp":"A03: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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08: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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"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":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"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":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"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":"RuleCompiler.processMatchExpression (cyclomatic 46): RuleCompiler.processMatchExpression has cyclomatic complexity 46 (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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bac6e811b8c0dbc18d1799a83f57558b905df76169d1c92326b1e976e26a01a"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonRuleCompiler.processMatchExpression (cyclomatic 42): JsonRuleCompiler.processMatchExpression has cyclomatic complexity 42 (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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa03ba5b13e5fb32637e2989b8e23b20165ddd596ddd68e526f3a2c42557b142"}},{"ruleId":"D1","level":"warning","message":{"text":"Ruler.matches (cyclomatic 38): Ruler.matches has cyclomatic complexity 38 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Ruler.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e805d84cd1454163183d1c2def212c996d7f915441916837bfb4b5df41c5454c"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteMachine.doTransitionOn (cyclomatic 37): ByteMachine.doTransitionOn has cyclomatic complexity 37 (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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40d1c5fa90f0735d1571a2af101bfb4d867eca6742b62a8a83dd56b74c94743"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteMachine.findRangePattern (cyclomatic 35): ByteMachine.findRangePattern has cyclomatic complexity 35 (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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"141038f34579ef8014ee3a992656046ddc3521d34c46288330e9e57f764234d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteMachine.addEndOfMatch (cyclomatic 26): ByteMachine.addEndOfMatch has cyclomatic complexity 26 (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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e961e3d6ed1b1991e86e86d495a81c5a88a96046188fcb4d2f0827cd6bb655d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteMachine.addRangePattern (cyclomatic 24): ByteMachine.addRangePattern has cyclomatic complexity 24 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0902d97ac7327109ec39a0e6cd9fa3484c97d53090bc8a5296003cf974a383"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteMachine.deleteRangePattern (cyclomatic 24): ByteMachine.deleteRangePattern has cyclomatic complexity 24 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5dab595e16e2c665cac48b7928cd833e2c00833da1708ee3029e4242982500"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericMachine.addStep (cyclomatic 23): GenericMachine.addStep has cyclomatic complexity 23 (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/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a06e768057900a46321b74168e5edae052bfa4b976f32011c2beb641c6bc073"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonRuleCompiler.processNumericMatchExpression (cyclomatic 18): JsonRuleCompiler.processNumericMatchExpression 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"328921249008eaedc5ec8ab0fec479f56a76b1f9b59d8fcb44c2aad7fe3c1b58"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleCompiler.processNumericMatchExpression (cyclomatic 18): RuleCompiler.processNumericMatchExpression 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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac085e88723d38d67177a86d9041b59c7ee93e4804b3db1f3c55d50e141952"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonRuleCompiler.writeRules (cyclomatic 17): JsonRuleCompiler.writeRules has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda5080c18e49579d028e0c7b99d2032e714fea32545b2ef57fc79b68e978225"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleCompiler.processMatchExpression (cognitive 96): RuleCompiler.processMatchExpression has cognitive complexity 96 (threshold 15). Drivers by points: if/else 46 (91 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 46). 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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8d8fbf9767f3b38da671ce076cabae550dbb9a08832dac592c79142e8cc1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.findRangePattern (cognitive 82): ByteMachine.findRangePattern has cognitive complexity 82 (threshold 15). Drivers by points: if/else 20 (54 pts), loops 12 (26 pts), boolean chains 2 (nesting depth added 48). 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66fe68e3a93ef3a470bf2ba48e49721a57384c5a7f6a0a63e2c03fa48716ca4"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRuleCompiler.processMatchExpression (cognitive 69): JsonRuleCompiler.processMatchExpression has cognitive complexity 69 (threshold 15). Drivers by points: if/else 37 (62 pts), match/switch 1 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 28). 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7526af738670863c1c190b9a157c7e00fc0dc9783e015d9ce35c8e2bfd842309"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.doTransitionOn (cognitive 55): ByteMachine.doTransitionOn has cognitive complexity 55 (threshold 15). Drivers by points: if/else 10 (35 pts), loops 4 (9 pts), boolean chains 7, match/switch 1 (4 pts) (nesting depth added 33). 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f270e1b632b036ccc551e245cf5e0841ed3c6232d271689df0c59b5b0529a6"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.addEndOfMatch (cognitive 45): ByteMachine.addEndOfMatch has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 4 (6 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 18). 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc830373755d28b4ed0c0c5a719eb10d1408d917f5a107e4290abf2107f0002"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMachine.addStep (cognitive 45): GenericMachine.addStep has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 4 (8 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 20). 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/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f96198a5fbaee08f92560568a61ce34ce34c7b82b18b6d0bcce0f672bee2fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.addRangePattern (cognitive 43): ByteMachine.addRangePattern has cognitive complexity 43 (threshold 15). Drivers by points: loops 12 (26 pts), if/else 8 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce205a186353a0e0396939b9c200b182f0aad5cc6854969614b6231d94a84fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.deleteRangePattern (cognitive 43): ByteMachine.deleteRangePattern has cognitive complexity 43 (threshold 15). Drivers by points: loops 12 (26 pts), if/else 9 (15 pts), boolean chains 2 (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"36938de5cd8e74f6d24bc1650b2a733a3b28823f58537d128e2f147ff445753f"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruler.matches (cognitive 37): Ruler.matches has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 11, error handling 1 (3 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Ruler.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7288a25d4c7463cb2877e23656e64add9cfb1ef3aeedf6829d2e9df3d8b8976e"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineComplexityEvaluator.getMatchesAccessibleFromEachTransition (cognitive 31): MachineComplexityEvaluator.getMatchesAccessibleFromEachTransition has cognitive complexity 31 (threshold 15). Drivers by points: loops 5 (17 pts), if/else 5 (14 pts) (nesting depth added 21). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/MachineComplexityEvaluator.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7aa91ad9d2696fab67fec0ddeb71171572cc609b2f8c4e83e3d1da05853fe9e"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.findAllMatchPattern (cognitive 29): ByteMachine.findAllMatchPattern has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 6 (11 pts), boolean chains 1 (nesting depth added 16). 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e449a774a4e1e5741251e5fc45a457acb0f010d7b9b36da7f404431a85334f6"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldIndex.getConsistent (cognitive 29): FieldIndex.getConsistent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (6 pts), ternaries 1 (4 pts) (nesting depth added 19). 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/software/amazon/event/ruler/StructuredFinder.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ab5eda220e07cfc659a99ca700f1ffeffd932fa0938cb557734694d6ac0505"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRuleCompiler.processNumericMatchExpression (cognitive 28): JsonRuleCompiler.processNumericMatchExpression has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (27 pts), error handling 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a43c4d4397aae65006926cf26cf727aa9c67b05e0427972bf30d7d0f447a08"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleCompiler.processNumericMatchExpression (cognitive 28): RuleCompiler.processNumericMatchExpression has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (27 pts), error handling 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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c1852e9e28cd18d3d4d9a3cf4d396c7b736b2ced39a124c9da1e25aa540f0"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMachine.deleteStepForNameState (cognitive 27): GenericMachine.deleteStepForNameState has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (6 pts), boolean chains 2, ternaries 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/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3293702f3b237300c0da6b6b80f5ac398d8062342243fb53a3bdff1c7c110b45"}},{"ruleId":"D2","level":"warning","message":{"text":"StructuredFinder.walk (cognitive 26): StructuredFinder.walk has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 16). 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/software/amazon/event/ruler/StructuredFinder.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff2e8614760dd5d74495ba41e7ca69d5051d7c77799e6874bd82251d346d14b"}},{"ruleId":"D2","level":"warning","message":{"text":"MachineComplexityEvaluator.evaluate (cognitive 24): MachineComplexityEvaluator.evaluate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 14). 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/software/amazon/event/ruler/MachineComplexityEvaluator.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27828f55c91c2b37b960f4d6c8a7e8e2320d643eaaaaf4d1496fa7ef73b5c87"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.deleteMatchStepForWildcard (cognitive 20): ByteMachine.deleteMatchStepForWildcard has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 6). 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b39b6814ea6f92e4061a2aa7153d4fce4863bfb2815d24a9513788cf33f0070"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRuleCompiler.processAnythingButValuesSetMatchExpression (cognitive 20): JsonRuleCompiler.processAnythingButValuesSetMatchExpression has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), loops 2 (3 pts), match/switch 2 (3 pts), boolean chains 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d51351a88d442b79341f674ed44a1e1a4a4ca9a4bea9079924d41f5243e308a"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMachine.deleteMatchStep (cognitive 19): ByteMachine.deleteMatchStep has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 3, loops 1 (nesting depth added 9). 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e211e0938d9c0e3fccea89b2b15ab8aecc0ad81512f99df874a541101280c233"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteMap.getTransitionForAllBytes (cognitive 18): ByteMap.getTransitionForAllBytes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (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/software/amazon/event/ruler/ByteMap.java"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"1024ceb650d393a40c7064ae3d29bc907fbbebb6ec131ca3ef29c2793eb3edee"}},{"ruleId":"D2","level":"warning","message":{"text":"WildcardParser.parse (cognitive 17): WildcardParser.parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 2, loops 1 (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/software/amazon/event/ruler/input/WildcardParser.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"929ac78680fa701294e4f3111f295a9a8746757a0647ae02f1547ad95507fc49"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMachine.deleteStep (cognitive 17): GenericMachine.deleteStep has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (4 pts), loops 2 (3 pts), boolean chains 1 (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/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a5f245324278f2fde660b42d492015d82ae880569d1086088ba582c7f17bde"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonRuleCompiler.writeRules (cognitive 17): JsonRuleCompiler.writeRules has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 1 (3 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 6). 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcc022d6789f93ead02a892defda7b0b425aaede75c5c29ba4b772940dbeaf4"}},{"ruleId":"D2","level":"warning","message":{"text":"IntIntMap.shiftKeys (cognitive 16): IntIntMap.shiftKeys has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 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/software/amazon/event/ruler/IntIntMap.java"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4922661dc6bf0a21d68ca578e24a82fb757eac46e6c068ae0cc5954ae6f088bc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ByteMachine: ClassTooLong \u2014 1120 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 400 significant lines; this is 720 over it, 2.80\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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e709b07e5601029474c960fd308db20d9675f8b8720e7aa40a2df70ad585bae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteMachine: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b509910a3d3d78256722d3a967960862ee27a6f2b9ad2195dc1e4c75b6e34c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruler/ByteMachine.java: FileTooLong \u2014 1155 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: ByteMachine (45-2137). The bar is 500 significant lines; this is 655 over it, 2.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2494146bd3d880e8da8a0aef18197e661ecf7ee2b99d0b107d0fb9602da0ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JsonRuleCompiler: ClassTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 400 significant lines; this is 166 over it, 1.42\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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe91d08e4035cd0aa0fcbd8edf22abcad1f2e030660b5f3e96550c3a5b3debe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GenericMachine: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb61f8240006112303324750bc48baa13561b6f573a196c94bea22a8fcd54c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonRuleCompiler: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddfff22bfcfa1542ec3e1f0781701c3f72601768ac23a7a93db98cc4cc0e225"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RuleCompiler: ClassTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 400 significant lines; this is 123 over it, 1.31\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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f59d8bbaeada18fd66093f1257734f4bf5518f5a418aba32534b85e46613e9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuleCompiler.processMatchExpression: MethodTooLong \u2014 processMatchExpression runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff76071b1772f0070970ea9158e315c36c1162cc0962528afb8f29dd2880b720"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RuleCompiler: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\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/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2287f38d49dc08f0ea892602f5f555f69daf6b399f67c67bae1277d22d0e1635"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JsonRuleCompiler.processMatchExpression: MethodTooLong \u2014 processMatchExpression runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec84a21d13546af3dff7695a246b05c5e9f94ca35c5a45414a955b260e54c10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruler/JsonRuleCompiler.java: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: JsonRuleCompiler (52-927). The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4faaeb4af460c9d5c18d3e9000c52e25cfe37bcc62d9341f7bad30f63c5505a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruler/RuleCompiler.java: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: RuleCompiler (35-872). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/RuleCompiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89e2f0cffba2f816c6e0242933767224e2085ae8f53c3c7be287a704b35f5d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Patterns: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\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/software/amazon/event/ruler/Patterns.java"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b8fd331d7d652d3c78a14e2068d4ab98c866d00d2acbb72e07b07a431cb8cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (111 shared lines): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:441-603 | src/main/software/amazon/event/ruler/RuleCompiler.java:319-493 \u2014 These two members are variants of one another: 111 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9159d78240a0df28d3657878169f8b015addcaf1a415820cebd42fbb1b43a053"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/software/amazon/event/ruler/GenericMachine.java:452-458 | src/main/software/amazon/event/ruler/GenericMachine.java:467-473 | src/main/software/amazon/event/ruler/GenericMachine.java:482-488 | src/main/software/amazon/event/ruler/GenericMachine.java:497-503 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a24b147eae41cdcec7694cebc9af40d94d46cde70f303a1a49269cdc3bd4146"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:605-628 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:630-653 | src/main/software/amazon/event/ruler/RuleCompiler.java:495-518 | src/main/software/amazon/event/ruler/RuleCompiler.java:520-543 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 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. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6bcd99dcb95d469e9b43ad1903364e302e7ede31a36c119a208ca631eaa28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:807-869 | src/main/software/amazon/event/ruler/RuleCompiler.java:632-694 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:871\u0060 calls \u0060barf\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java:695\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a06416138405acdf1577072d04744e7e928504974fcf1a3f3b40afe6d236951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:442-495 | src/main/software/amazon/event/ruler/RuleCompiler.java:320-373 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:442\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5744f215d99d30198c04bc9a20936afddfec7798cea9ca185a048e094b68814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:372-422 | src/main/software/amazon/event/ruler/RuleCompiler.java:257-307 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d11e32c8b86f8fd450a601a7be3bedae0243ebd9e7551eb82670fc30498394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47\u201348 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:556-603 | src/main/software/amazon/event/ruler/RuleCompiler.java:447-493 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:556\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be4e72cddf0f52fa5f7d7dbbecfa73d0445e5ec9ce7bfc7ae173e67f778b9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:656-685 | src/main/software/amazon/event/ruler/RuleCompiler.java:546-575 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"85619957998c49487964b9c4074a1b57dc3b61905bdb5dcd83cea077c1117019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/software/amazon/event/ruler/ACFinder.java:153-172 | src/main/software/amazon/event/ruler/Finder.java:143-162 \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. 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/software/amazon/event/ruler/ACFinder.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"049664b61f1a3f32d303f6b13576043cb4a160076638a48fc2a19351c9950fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:879-898 | src/main/software/amazon/event/ruler/RuleCompiler.java:702-721 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a8390088cf2cf04219ff87ea1486d27af089bf52ccb01f018ea6e23bc62be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/software/amazon/event/ruler/Event.java:289-306 | src/main/software/amazon/event/ruler/Event.java:348-365 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/software/amazon/event/ruler/Event.java:307\u0060 calls \u0060pop\u0060 and \u0060src/main/software/amazon/event/ruler/Event.java:366\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Event.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1928a13e9e59d4acbbdc1f24c985ef014710b9eeb693439145261b8353e38e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:693-710 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:756-773 \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. 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b18b9ee5c1a7a6939386de5fe71b687ff2748ea36ee3fcfd792fad957473886"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:901-918 | src/main/software/amazon/event/ruler/RuleCompiler.java:724-741 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc2ea47f4c3defbafa042cbce0005bcbb0bac5caccb151e2a8b97a36dd83147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:612-628 | src/main/software/amazon/event/ruler/RuleCompiler.java:502-518 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:612\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4750918ffb0f543e75f94b1cdf47fa88098abd2dfd0304ad9d0406a7da2f8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:637-653 | src/main/software/amazon/event/ruler/RuleCompiler.java:527-543 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:637\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1df96b91f4db8ab49d181310f5334c1fb6517e7ddf2d97fa5c285448b2429e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:407-422 | src/main/software/amazon/event/ruler/RuleCompiler.java:292-307 | src/main/software/amazon/event/ruler/RuleCompiler.java:847-862 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:407\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/main/software/amazon/event/ruler/RuleCompiler.java:308\u0060 calls \u0060containsKey\u0060, \u0060barf\u0060, \u0060format\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java:863\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c83bad2e3cc7808833e74e7a1245fd3a96218c0a6f108619220cc40b051734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:736-751 | src/main/software/amazon/event/ruler/RuleCompiler.java:601-616 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"36685ef36d0fc9cc203d157c2a51478d6e46dd8c848d9ca1463f5ee3b699eafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:242-256 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:288-302 | src/main/software/amazon/event/ruler/RuleCompiler.java:236-250 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:242\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6ab5c065ee4b927018916f02367a371a5841ff475d0850dd30cbfedfb427f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/main/software/amazon/event/ruler/ACTask.java:62-76 | src/main/software/amazon/event/ruler/Task.java:85-99 \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. 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/software/amazon/event/ruler/ACTask.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b552f939da569ad8e57b1de43167d820025cd2ef3671e4ba14fd9b29c680013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/main/software/amazon/event/ruler/StructuredFinder.java:104-118 | src/main/software/amazon/event/ruler/StructuredFinder.java:140-153 \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/software/amazon/event/ruler/StructuredFinder.java:104\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/software/amazon/event/ruler/StructuredFinder.java"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8ebb51a36b2ed73d5bd6603f5eb2e9a0995e25803ff4603b38addf24f4d478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:606-619 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:631-644 | src/main/software/amazon/event/ruler/RuleCompiler.java:496-509 | src/main/software/amazon/event/ruler/RuleCompiler.java:521-534 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"16089c2c9fd83c498d7bec05281b3960d09de3b094774140f8b66a208e19651d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/main/software/amazon/event/ruler/ByteMachine.java:719-732 | src/main/software/amazon/event/ruler/ByteMachine.java:736-749 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060pattern\u0060 to \u0060AnythingBut\u0060 in one and \u0060AnythingButValuesSet\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa49b398947322359eef77fd1288c55c71f2cfc873cc20a056ac0cec3534a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:223-236 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:264-276 \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/software/amazon/event/ruler/JsonRuleCompiler.java:223\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74bb047900f4d5e2daced4109b77efad7e7adb0e1fd39011bac96326da73498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): src/main/software/amazon/event/ruler/Event.java:265-277 | src/main/software/amazon/event/ruler/Event.java:328-339 \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/software/amazon/event/ruler/Event.java:265\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/software/amazon/event/ruler/Event.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11438e8967f55d0453efc0e1f4b2a06d8bb7630b45eb583284c9265cda4dfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/main/software/amazon/event/ruler/CIDR.java:165-175 | src/main/software/amazon/event/ruler/CIDR.java:200-210 \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/software/amazon/event/ruler/CIDR.java:165\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/CIDR.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ec7a85f36f12ceb4a21b51405f05dfc4d56f2b5c6911a5284ffa758e38cfb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 3): src/main/software/amazon/event/ruler/ByteMachine.java:380-385 | src/main/software/amazon/event/ruler/ByteMachine.java:1165-1170 | src/main/software/amazon/event/ruler/ByteMachine.java:1328-1337 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/ByteMachine.java:380\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"473f87edf4e1581ab6da5ee35738d652752586e4b1ece641afdc9baa723cce39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:528-537 | src/main/software/amazon/event/ruler/RuleCompiler.java:418-427 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java:528\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"6596db70d4f3e403ee3dde54155bd8a6a77a1be17a9e6a756412e279e95ef360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/main/software/amazon/event/ruler/ByteMachine.java:1122-1130 | src/main/software/amazon/event/ruler/ByteMachine.java:1154-1162 \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/software/amazon/event/ruler/ByteMachine.java:1122\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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa10d3e5321ed6b2b7c596cf9798c4a286d780d9a335ae4aa25c3f460c047af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/software/amazon/event/ruler/Event.java:100-105 | src/main/software/amazon/event/ruler/Event.java:116-121 \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/software/amazon/event/ruler/Event.java:100\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Event.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eae5be80ea7eef80f070b76e4d4a32e04e21e4f5ca61bf23a73b790d7d34bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/main/software/amazon/event/ruler/GenericMachine.java:86-91 | src/main/software/amazon/event/ruler/GenericMachine.java:95-100 \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/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cae783d885ad6ff19fb6b3cfb99e1a44c6b6490a8219113107af067eb701f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/main/software/amazon/event/ruler/ByteMachine.java:334-340 | src/main/software/amazon/event/ruler/ByteMachine.java:1111-1115 | src/main/software/amazon/event/ruler/ByteMachine.java:1275-1284 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/main/software/amazon/event/ruler/ByteMachine.java:334\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fd49334db815ff345e386afc6e6a2df77a5c4c3b8595d91c1fc8a0d687ebeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): src/main/software/amazon/event/ruler/JsonRuleCompiler.java:65-72 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:78-85 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:91-98 | src/main/software/amazon/event/ruler/JsonRuleCompiler.java:104-111 | src/main/software/amazon/event/ruler/RuleCompiler.java:50-57 | src/main/software/amazon/event/ruler/RuleCompiler.java:68-75 | src/main/software/amazon/event/ruler/RuleCompiler.java:86-93 | src/main/software/amazon/event/ruler/RuleCompiler.java:104-111 \u2014 before extracting anything, compare \u0060src/main/software/amazon/event/ruler/JsonRuleCompiler.java\u0060 and \u0060src/main/software/amazon/event/ruler/RuleCompiler.java\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 397 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060source\u0060 to \u0060Reader\u0060 in one and \u0060String\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a0b1f9325271da0d0336f011dbc28d12f965eb2bb05eb53365dcbc468d32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/software/amazon/event/ruler/AnythingButValuesSet.java:43-47 | src/main/software/amazon/event/ruler/ValuePatterns.java:40-44 \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/software/amazon/event/ruler/AnythingButValuesSet.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d447fb824749aafc816e1a96211b893c82319b0b03d3e2e6a3e11448bffbd2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/software/amazon/event/ruler/ByteMap.java:47-51 | src/main/software/amazon/event/ruler/ByteMap.java:63-67 \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/software/amazon/event/ruler/ByteMap.java:47\u0060 it does not close everything it opens, 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/software/amazon/event/ruler/ByteMap.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0f82d08b86c4457276c0520e5725773acee27b558bce1389864b268d6e6e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/main/software/amazon/event/ruler/GenericMachine.java:198-202 | src/main/software/amazon/event/ruler/GenericMachine.java:277-281 \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":"src/main/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cf4c6065fb63cdc942ba30877987b06509933c6829d55692194e036321ebce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/main/software/amazon/event/ruler/GenericMachine.java:453-458 | src/main/software/amazon/event/ruler/GenericMachine.java:468-473 | src/main/software/amazon/event/ruler/GenericMachine.java:483-488 | src/main/software/amazon/event/ruler/GenericMachine.java:498-503 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060json\u0060 to \u0060String\u0060 in one and \u0060Reader\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3a43a4eef71961d7598320a1b9f963d03eeb599802b4cca7078db91b45c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/main/software/amazon/event/ruler/GenericMachine.java:513-518 | src/main/software/amazon/event/ruler/GenericMachine.java:528-533 | src/main/software/amazon/event/ruler/GenericMachine.java:543-548 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060json\u0060 to \u0060String\u0060 in one and \u0060Reader\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/GenericMachine.java"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"939af4d8b284191edfbf3b0b95ad61ea0af9ddb51cdbc7f1ecb4ea6ef09a5f4a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Benchmarks (LCOM4 5): Benchmarks\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/software/amazon/event/ruler/Benchmarks.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78c10937dc8cbde0ffbb0c001319b6415522173837fd4b288b84701d49b1f17"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EventTest (LCOM4 5): EventTest\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/software/amazon/event/ruler/EventTest.java"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf68b18db60d3ea08986fa555b0a45c9f824e3e029f42c52bde5dbbde6a14e62"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-core: \u0060org.openjdk.jmh:jmh-core\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"01583a0c194289959e71817aaeaf053fd4437f5c0bc5d638a8da404c8765d84b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: org.openjdk.jmh:jmh-generator-annprocess: \u0060org.openjdk.jmh:jmh-generator-annprocess\u0060 1.37 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in a Maven or Gradle manifest. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dc4b012c5d7cfe91687089c2615f4cd0eb108c448d567beaf217196ad6a929e8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 3 significant file(s) lose their only recent owner: src/main/software/amazon/event/ruler/NameState.java, src/main/software/amazon/event/ruler/MachineComplexityEvaluator.java, src/main/software/amazon/event/ruler/StructuredFinder.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4822ccc1ff5367ff793251445de0c1c424a10423807bdc14a4be05dd660d3a18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out what these unused fields are for and either finish what was started here, or discard it \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/software/amazon/event/ruler/GenericMachineTest.java"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05bdff2607e04f7fb8827d55cb657d7cf7da97518805c173aac1cd3c93bef84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Improve unit-test coverage, there are surprising gaps \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/software/amazon/event/ruler/Event.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8080637bca81c2d832a4865b50cf13d7eb7bdfed385d2d303b39b359249115ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Improve unit-test coverage \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/software/amazon/event/ruler/Ruler.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c6eb95acdffe6eed4b4fe4d482a822b31b894fc4ae478934de53d38894c101"}},{"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":"1fa6b78c7ed3c89782a383930048e7caf4567d185a41c15f7bbd43a0a23d9667"},"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":"3c5e848222562701cf23449e00356f373148bb0ce8b96bcc563b3f83a669b55a"},"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":"693249723480b7d3690fbc9002e4acaa2fd5c4f5277d52948268b51530c89d1e"},"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":"0a25692745ad0ed3ca68036746171ef1bfebcc093c4887320630d8afff98acf8"},"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":"D30","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":"f6ee101389ca7f44ad7364fae740789ae36c4d08ee853dcc3e4806c33f276397"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-core","version":"2.22.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1355f292e77244550ba29e1dd6a2097014a7e8006386047b1ad1ea67d740ca98"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-databind","version":"2.22.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 23 of 30 significant files have no living knowledge, while the repository is still being changed at a low rate (28 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 23 separate risks. Counted over 30 of the 58 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Event.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51566b073e250cc5219d4ab29d35baec224c1654c2b37b09d7a60eaf75ec2bc1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteState.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"187251cfef54eb699d3d42749b7f8009ec59effc2b93ab6e0ca22c7fb3cdf197"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Finder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe554a60d63f6dc10d56af8fe017ae2652a653b27ab424ecabe46a93eda501db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224a3db93fda4dcf75104c64ab106dece0067560e6a80e3c335de5d4f4979fd7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/IntIntMap.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3945c7657e82cc7f5df2e8479486acf88859c48636ef3da6a13cfd1dbf9a1f32"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Ruler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a05606dc1595852bbb00839cbc5afc2f2d62bc2c97c7f1c944d0e153f27689"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ACFinder.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552ebb7fad02df79a014631d4b6260897c51418b58840e4655b6c163c1e41e2a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/CIDR.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fee2ed8c4841d67e4f327371ea616d07321744f1250d558435ad4a8081efb7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Range.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f764ff4f081c545085d26882e0bbf2fd2dd99f690082dd9e71dca345963b78"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/CompoundByteTransition.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f375804e34903514d6ab46cc6ed0239adddfdde9b180d54b6873895f0a358b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Patterns.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"915ad5a0c10a2d0de2c7fa17ad01c8f181ddc6da3cd6911227b44ffd900f37ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ComparableNumber.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"629ea911ff5bc044a4e6e4f1d4a64c1b6576a23982bed1e3c95c39139477a547"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteTransition.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61812faaa06641516610fa945f3fa9652419d08d94b6c4390f44156fa7de0271"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/input/DefaultParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a9eb639222fb1f92688b04ef8e4034db2836622d40472e47ae90193d49e2c9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ArrayMembership.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3774da77c2e22826a27ee0f1cb56c9133d3b987b5e7811f2c69b8fc9499d01f5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ShortcutTransition.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fb4908aff9f545652ba9bb784f6b3bb2692a99ebfa27eebe282c91514b49d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/SingleByteTransition.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f2179d9774ca758dd20b65e64984417cfe1db5a40cc4ed102c9ac702fa185"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Task.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3f07269eec0819a0fd10559965bb746ff90940d17b90b727f4bda1d239c229"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/input/MultiByte.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d458c0562a6f3da2e44f3e06fd9a92a3c8c0421074120334448e23eb00f4044e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/input/EqualsIgnoreCaseParser.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b58b3baf15f982fc28f7ed313ddf0563fb97f5ae8a989229f577c3be3394cfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMatch.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd834084ad237db652c5fd3ea47cbcfa588d2c0b4db7029455e2c888e9f5ec4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ACTask.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bbe307604d245a689e5808562f7638b7bc330d7cbf258f2eeda887ce13d5d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Constants.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1687e474e3c90cdd919cf332589154f735f6bc98663d7b48543802a625c2fed7"}},{"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":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/test/software/amazon/event/ruler/jmh/CityLots2JmhBenchmarks.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b473019f16ed147bbf7d543e5d8975441e1914364a1560130db2e426a74395"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!objectSet.contains(this) \u0026\u0026 objectSet.size() \u003C maxObjectCount\u0060 appears character-identically in 5 files \u2014 src/main/software/amazon/event/ruler/ByteMachine.java, src/main/software/amazon/event/ruler/ByteMatch.java, src/main/software/amazon/event/ruler/ByteTransition.java, src/main/software/amazon/event/ruler/NameState.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ByteMachine.java"},"region":{"startLine":2060}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6e8ec9f4385139866769d23ddef7857ed48a54c1558b423fcbd62d47355a46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!withOverriding \u0026\u0026 rule.containsKey(name)\u0060 appears character-identically in 2 files \u2014 src/main/software/amazon/event/ruler/JsonRuleCompiler.java, src/main/software/amazon/event/ruler/RuleCompiler.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c545eeb94720e30d52d5c4ab80af270f29630e045bb8cf6d47eb2a4ff2e34d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(hasNumber \u0026\u0026 hasString) || (!hasNumber \u0026\u0026 !hasString)\u0060 appears character-identically in 2 files \u2014 src/main/software/amazon/event/ruler/JsonRuleCompiler.java, src/main/software/amazon/event/ruler/RuleCompiler.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"1006a5fffd0aba577ad5a9f069e07d212018aa603742a049b0ed791c8a6d2ca2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060anythingButExpressionToken != JsonToken.START_ARRAY \u0026\u0026 anythingButExpressionToken != JsonToken.VALUE_STRING \u0026\u0026 anythingButExpressionToken !=\u2026\u0060 appears character-identically in 2 files \u2014 src/main/software/amazon/event/ruler/JsonRuleCompiler.java, src/main/software/amazon/event/ruler/RuleCompiler.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/JsonRuleCompiler.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c203bc0fa9afe55474e20aa1f178b1460d66b5aa017c47077e3ee5d63d4dfc87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidateSubRuleIds == null || candidateSubRuleIds.isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/software/amazon/event/ruler/ACTask.java, src/main/software/amazon/event/ruler/Task.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ACTask.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"36105182378b1a5483119b97f4895b2f2d1dc45f05e0d5fdec82da087a1f8853"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidateSubRuleIdsForNextStep != null \u0026\u0026 !candidateSubRuleIdsForNextStep.isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/software/amazon/event/ruler/ACFinder.java, src/main/software/amazon/event/ruler/Finder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ACFinder.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a6efbd0156e7c5a9238f064189a40455e247b0f0a7e9f4f710fa2eda88de3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentCandidateSubRuleIds == null || currentCandidateSubRuleIds.isEmpty()\u0060 appears character-identically in 2 files \u2014 src/main/software/amazon/event/ruler/ACFinder.java, src/main/software/amazon/event/ruler/Finder.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/ACFinder.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9af5cf9a03c6c7372fd518e317f4cbbdebed7e61ff914d2474425ee42d7d6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o == null || !(o.getClass() == getClass())\u0060 appears character-identically in 3 files \u2014 src/main/software/amazon/event/ruler/input/InputByte.java, src/main/software/amazon/event/ruler/input/InputMultiByteSet.java, src/main/software/amazon/event/ruler/input/MultiByte.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/input/InputByte.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6febb617ca8c5179c4ee593ddd1ce72612310c22c7313a17cd719ca03a8abb53"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060o == null || !o.getClass().equals(getClass())\u0060 appears character-identically in 3 files \u2014 src/main/software/amazon/event/ruler/Patterns.java, src/main/software/amazon/event/ruler/Range.java, src/main/software/amazon/event/ruler/ValuePatterns.java. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Patterns.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a90b527c8be1819432dd202d2d11b0cf26a72b7546bc1f23e308aef30e70f6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/CIDR.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfd753431551b91cf58322a398e8b791f22065a81f909ded95f6842f14de486"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/CIDR.java"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe3744318e168acf228f0b2d8b255dc6e0df768baec1669483e24039083d15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/main/software/amazon/event/ruler/Ruler.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bf380e0022c563650b8fb3b421e18826df9ddeb50873d120e54740c6511587"}},{"ruleId":"X5","level":"note","message":{"text":"Java packages are not null-marked everywhere: 0/2 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-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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.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-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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":"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-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":10,"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."]}]}