{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"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":"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":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"Http4sClientGenerator.generateClientOperation (cyclomatic 53): Http4sClientGenerator.generateClientOperation has cyclomatic complexity 53 (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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fd6aced58681ca3db2eed9e012205e25d62e740d6b7b6009744bc6f0627230"}},{"ruleId":"D1","level":"warning","message":{"text":"LanguageParameter.fromParameter (cyclomatic 45): LanguageParameter.fromParameter has cyclomatic complexity 45 (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":"modules/core/src/main/scala/dev/guardrail/generators/LanguageParameter.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8596a3dfbe11939009b36acaf804f26b8de0f615618235b2792f2e5606ae7423"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelResolver.determineTypeName (cyclomatic 44): ModelResolver.determineTypeName has cyclomatic complexity 44 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/dev/guardrail/core/resolvers/ModelResolver.scala"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9742d3ce7808e5befdfc513804be3071142d15dbf989fa0e4d8b7a089f4025"}},{"ruleId":"D1","level":"warning","message":{"text":"AkkaHttpClientGenerator.generateClientOperation (cyclomatic 43): AkkaHttpClientGenerator.generateClientOperation has cyclomatic complexity 43 (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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f8abee0a8c289b72e145efc3df5194defe0ce95ce59bef6a2b1c641e1d1137"}},{"ruleId":"D1","level":"warning","message":{"text":"Http4sServerGenerator.generateRoute (cyclomatic 43): Http4sServerGenerator.generateRoute has cyclomatic complexity 43 (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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a72fab4c7b41c8368ec7e5d72ecb7593559f7b5b2f53a551c66d7c26b1483d"}},{"ruleId":"D1","level":"warning","message":{"text":"AkkaHttpServerGenerator.formToAkka (cyclomatic 41): AkkaHttpServerGenerator.formToAkka has cyclomatic complexity 41 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"556c1952c8f9ce12416d737c5b94f61c9dbd6097747993e2df57bf1cda972427"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.fromSpec (cyclomatic 41): CirceProtocolGenerator.fromSpec has cyclomatic complexity 41 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2a22cbd24feb596517c55a979d2e5beee56842ae41c87d4a70173b19479049"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromSpec (cyclomatic 41): CirceRefinedProtocolGenerator.fromSpec has cyclomatic complexity 41 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"634d2da481f867d093e8ba76cda44c4531cd14a74e4482dbee7cda0a3f4d9144"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.fromSpec (cyclomatic 40): JacksonProtocolGenerator.fromSpec has cyclomatic complexity 40 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d158e233496b35388bb775f44d3ce711532a2e6d51e224416a61e23b78ce99e3"}},{"ruleId":"D1","level":"warning","message":{"text":"DropwizardServerGenerator.generateRoutes (cyclomatic 39): DropwizardServerGenerator.generateRoutes has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fdb06b974f4263ac9a3289e3fbf3e4a5e76a0887340b7923bad66be3539e7c"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.renderDTOClass (cyclomatic 39): JacksonGenerator.renderDTOClass has cyclomatic complexity 39 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c45e566aaa99efe5776323f633502ec396e9d0291f26f7d631dfbe9dbae9eb6"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.fromSpec (cyclomatic 38): JacksonGenerator.fromSpec has cyclomatic complexity 38 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"01767a4eadd002f5c818248a6a61452b80778e29389905fcf89065643d8ce140"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelResolver.propMetaImpl (cyclomatic 31): ModelResolver.propMetaImpl has cyclomatic complexity 31 (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":"modules/core/src/main/scala/dev/guardrail/core/resolvers/ModelResolver.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd109acafecb5259696003105bca07e368fcee101f9bebcebe7a84d806204f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CLICommon.parseArgs (cyclomatic 30): CLICommon.parseArgs has cyclomatic complexity 30 (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":"modules/cli/src/main/scala/dev/guardrail/cli/CLICommon.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc20f2c31613b1132b6887fd71266a6578228bf3ae372f3722737f3a7d903ed"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.fromEnum (cyclomatic 28): JacksonGenerator.fromEnum has cyclomatic complexity 28 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22392cce1c4b3d275dd99d9b09b205acc1b494a849589e2d97085a6b04337cc"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.fromEnum (cyclomatic 28): JacksonProtocolGenerator.fromEnum has cyclomatic complexity 28 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"874d91addab1783ea4992a0927e19cf6781bc46e80fe78d56664a0b4de47e57e"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringMvcServerGenerator.generateRoutes (cyclomatic 26): SpringMvcServerGenerator.generateRoutes 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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"675c7cfa23b740a79b6366760f6daab975e5dc21986f75ce479223b52564461c"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.fromEnum (cyclomatic 26): CirceProtocolGenerator.fromEnum has cyclomatic complexity 26 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfcb37595fc723b71e56e8b3929483c87c794604c9f2be90a2c7008a90e1f3e"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.fromOneOf (cyclomatic 26): CirceProtocolGenerator.fromOneOf has cyclomatic complexity 26 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"927da760bb7174a736088035e6f7afe734ca240e3c2bca197e60c8d1ee60b058"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromEnum (cyclomatic 26): CirceRefinedProtocolGenerator.fromEnum has cyclomatic complexity 26 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d528be542a154b96428a0f4b265620290d95299a9d68edeffee861d659e4da"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromOneOf (cyclomatic 26): CirceRefinedProtocolGenerator.fromOneOf has cyclomatic complexity 26 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9f154cce88aaa2ee6764e889a0c18fb749b4d0ff49eecf7ec831c227d7787b"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.transformProperty (cyclomatic 25): JacksonGenerator.transformProperty has cyclomatic complexity 25 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d0010696739eebd3faccd5227c9a05933fba8a12978df5a553d8459cc7e9a9"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncHttpClientClientGenerator.generateClientOperation (cyclomatic 23): AsyncHttpClientClientGenerator.generateClientOperation 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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e7c7b20570a95f3e895f0d734045b936180db31c277dcd96d17d601cee451e"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.defaultValue (cyclomatic 23): JacksonGenerator.defaultValue has cyclomatic complexity 23 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d345e0fdf72563b56952a968ced1d625e7a5d24557fd9f53f86126ddb6d5f86"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.prepareProperties (cyclomatic 23): CirceProtocolGenerator.prepareProperties has cyclomatic complexity 23 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"651499ac53ca2006552ed4ba64b1f920e21abb688f9ff4e45afb48e0870f6023"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.defaultValue (cyclomatic 23): CirceProtocolGenerator.defaultValue has cyclomatic complexity 23 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec00f761b1e9623152f34e9b60c3b7109e07b7721e06da42bd735f16f24c030e"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.prepareProperties (cyclomatic 23): CirceRefinedProtocolGenerator.prepareProperties has cyclomatic complexity 23 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e441c781a787200b253b0af95e29983f5f9fd2224fafb4f5f733f020c6e69329"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.defaultValue (cyclomatic 23): CirceRefinedProtocolGenerator.defaultValue has cyclomatic complexity 23 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02c28271b9a689c210b8ae334edccaded9642efb96b97dcaf17cd76ebcc01e4"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.defaultValue (cyclomatic 23): JacksonProtocolGenerator.defaultValue has cyclomatic complexity 23 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10e7c0aeb17f124dd59d23eca827b033124ae45847932b591fe39565a05f1b3"}},{"ruleId":"D1","level":"warning","message":{"text":"DropwizardServerGenerator.fromSpec (cyclomatic 22): DropwizardServerGenerator.fromSpec has cyclomatic complexity 22 (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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"377b11383113038fd44e04c9ae7752d315f22c1385e413089f31ecfe286b7cf4"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringMvcServerGenerator.fromSpec (cyclomatic 22): SpringMvcServerGenerator.fromSpec has cyclomatic complexity 22 (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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb8234c161e322f2c0eeb0bd835f20265e0ca0076b3e6ca0a099b8c95200016"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.fromModel (cyclomatic 22): JacksonGenerator.fromModel has cyclomatic complexity 22 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7952ba72418bbe86ef6031452d5c7a97458359ed5c41cf25010782541bf371"}},{"ruleId":"D1","level":"warning","message":{"text":"AkkaHttpServerGenerator.fromSpec (cyclomatic 22): AkkaHttpServerGenerator.fromSpec has cyclomatic complexity 22 (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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7d1566896d39f63c23b5be181b8f0f11302ade3776a32c2c9e2785b56c6a5e"}},{"ruleId":"D1","level":"warning","message":{"text":"DropwizardServerGenerator.fromSpec (cyclomatic 22): DropwizardServerGenerator.fromSpec has cyclomatic complexity 22 (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":"modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e567e27af7a3e8203ea7aba296bd394c85baf2dd112de9d9445a7840bbefa5"}},{"ruleId":"D1","level":"warning","message":{"text":"Http4sServerGenerator.fromSpec (cyclomatic 22): Http4sServerGenerator.fromSpec has cyclomatic complexity 22 (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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b419f1d3f2cfa135f32cf27c7f5938181041421dda81af18936275b0413c8139"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.fromModel (cyclomatic 22): CirceProtocolGenerator.fromModel has cyclomatic complexity 22 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e353e3f39a965ec338485d71daa8406f8d35ce981396dc800e34e621b7133f"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.transformProperty (cyclomatic 22): CirceProtocolGenerator.transformProperty has cyclomatic complexity 22 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"83382b424b7c3db09964ccf78da7eec1f3abc63a501528d9e022b3d215ec243f"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromModel (cyclomatic 22): CirceRefinedProtocolGenerator.fromModel has cyclomatic complexity 22 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a09f03f4cccea70197bc073b83cb0d3dc6728db137b796754e5e207b4cca69"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.transformProperty (cyclomatic 22): CirceRefinedProtocolGenerator.transformProperty has cyclomatic complexity 22 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe664d60bd084c69c3fe5052c2ac0380617746fbee0c64fc6073f4e92bf19ca"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.fromModel (cyclomatic 22): JacksonProtocolGenerator.fromModel has cyclomatic complexity 22 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"683daa171e25fa56f21d8c8cc2e7b75219e7cc6521abd7e294c1ac53dfd242c8"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.prepareProperties (cyclomatic 22): JacksonProtocolGenerator.prepareProperties has cyclomatic complexity 22 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e0fc2e2161a5ae1fe3bac560386ea250036d4523d1194dc23af1e2784b31a3"}},{"ruleId":"D1","level":"warning","message":{"text":"CoreTermInterp.processArgSet (cyclomatic 21): CoreTermInterp.processArgSet has cyclomatic complexity 21 (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":"modules/core/src/main/scala/dev/guardrail/core/CoreTermInterp.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c6280362b3508fdb150d33643da22e4cfda4392ecb19cf6309c762fb949d30"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.prepareProperties (cyclomatic 21): JacksonGenerator.prepareProperties has cyclomatic complexity 21 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f59437d061b9d74b48ea6a5d30e00b4e668db61132975f905c0a5e599104ab"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncHttpClientClientGenerator.fromSpec (cyclomatic 18): AsyncHttpClientClientGenerator.fromSpec has cyclomatic complexity 18 (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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e035c49b4a681dd04e157dfbbaf468a72442973b9decb623c1b06c2a3beb5b"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.fromPoly (cyclomatic 18): JacksonGenerator.fromPoly has cyclomatic complexity 18 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6256dca4c815b7eefe4ddc9a8c549d995e8d38e79aedc22d61b554921482036f"}},{"ruleId":"D1","level":"warning","message":{"text":"AkkaHttpClientGenerator.fromSpec (cyclomatic 18): AkkaHttpClientGenerator.fromSpec has cyclomatic complexity 18 (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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"effd83157d326032c5fb8ac5e1f042f7a48a54fa6c505abd8476c3b2abb47739"}},{"ruleId":"D1","level":"warning","message":{"text":"Http4sClientGenerator.fromSpec (cyclomatic 18): Http4sClientGenerator.fromSpec has cyclomatic complexity 18 (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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cd70cbb7881033c09bc494ca823c6fdb130a65b1c7da14c946da798bf94f5e"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.decodeModel (cyclomatic 18): CirceProtocolGenerator.decodeModel has cyclomatic complexity 18 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f72feda65c42b1cb8c5549c764404e56daef292fea1a99bcd13bd9fdefa505"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.decodeModel (cyclomatic 18): CirceRefinedProtocolGenerator.decodeModel has cyclomatic complexity 18 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc2853d482c2a13fdd9b92ad448007f63f9868cf5466df71f62b56212cdeed7"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.fromPoly (cyclomatic 18): JacksonProtocolGenerator.fromPoly has cyclomatic complexity 18 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"96223adcf577ffcabd7038214be9732ca96bebd01e7f3a98f1e51e9a2a19c1b9"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.transformProperty (cyclomatic 18): JacksonProtocolGenerator.transformProperty has cyclomatic complexity 18 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec5283b7814fb1d31f72a2c5fdb26619b729d082324685efea2666df3d37655"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncHttpClientClientGenerator.buildClient (cyclomatic 17): AsyncHttpClientClientGenerator.buildClient has cyclomatic complexity 17 (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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e1ab688c69c62651586d5eb2fddc397a202292340751cd9fede113e1315fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"DocsHelpers.renderScalaSnippet (cyclomatic 17): DocsHelpers.renderScalaSnippet has cyclomatic complexity 17 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/microsite/src/main/scala/DocsHelpers.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc209ad718705cf5a51ca013e0e7b663a7854db4c9fc46f4d930fd9f93955d04"}},{"ruleId":"D1","level":"warning","message":{"text":"AkkaHttpServerGenerator.generateRoute (cyclomatic 17): AkkaHttpServerGenerator.generateRoute has cyclomatic complexity 17 (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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd5461d73035c29a5a3b9decea92a0a2d77049f64ef9fa9596027a38a2fb421"}},{"ruleId":"D1","level":"warning","message":{"text":"Common.prepareDefinitions (cyclomatic 16): Common.prepareDefinitions has cyclomatic complexity 16 (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":"modules/core/src/main/scala/dev/guardrail/Common.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c49794650d8b274dcf4032e33e6dbee72b15a63e478bd3f7099a7e464f85545"}},{"ruleId":"D1","level":"warning","message":{"text":"Common.writePackage (cyclomatic 16): Common.writePackage has cyclomatic complexity 16 (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":"modules/core/src/main/scala/dev/guardrail/Common.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b612165f6434191b296765a10984c95e466f8f175dae0369a75bd87a4db565fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Responses.getResponses (cyclomatic 16): Responses.getResponses has cyclomatic complexity 16 (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":"modules/core/src/main/scala/dev/guardrail/terms/Responses.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb8039e729d92a10fffc8a3a50e1eb47e71f01c4023627d4f5f5f836c80ad95"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonGenerator.extractParents (cyclomatic 16): JacksonGenerator.extractParents has cyclomatic complexity 16 (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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6fc18dd9a4a30ea5a381ff8120cfabe0c016130a341344f3a70943455d9d6a"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceProtocolGenerator.extractParents (cyclomatic 16): CirceProtocolGenerator.extractParents has cyclomatic complexity 16 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc7cb64d89c48ab1b7c03d4988c22e511f344646c77b9a5ac5b2ddab38252a0"}},{"ruleId":"D1","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.extractParents (cyclomatic 16): CirceRefinedProtocolGenerator.extractParents has cyclomatic complexity 16 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c692e08662c53008b264ce38753908b48f93073943cd4864a7cdf2d7e3378"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.paramAnnotations (cyclomatic 16): JacksonProtocolGenerator.paramAnnotations has cyclomatic complexity 16 (threshold 15). 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. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c228f1fbfd652241b15df2d2496e3eafea0a26468e681c9f1d6823cba434ea"}},{"ruleId":"D1","level":"warning","message":{"text":"JacksonProtocolGenerator.extractParents (cyclomatic 16): JacksonProtocolGenerator.extractParents has cyclomatic complexity 16 (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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4f01ffe922c8deb880c467acdc7fee19754fe51454db5bd53ed5555d57509a"}},{"ruleId":"D2","level":"warning","message":{"text":"Http4sServerGenerator.generateRoute (cognitive 413): Http4sServerGenerator.generateRoute has cognitive complexity 413 (threshold 15). Drivers by points: if/else 24 (169 pts), match/switch 10 (139 pts), loops 13 (104 pts), boolean chains 1 (nesting depth added 365). 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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f71ac5abb20f27054e66e130d5737bac272f274462d767de771d1264b95335"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.fromSpec (cognitive 249): CirceProtocolGenerator.fromSpec has cognitive complexity 249 (threshold 15). Drivers by points: loops 35 (224 pts), match/switch 5 (25 pts) (nesting depth added 209). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a091abc5d1ca7d131feefd124e94a34082cf35e79d59b00b31548f8605c76d"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromSpec (cognitive 249): CirceRefinedProtocolGenerator.fromSpec has cognitive complexity 249 (threshold 15). Drivers by points: loops 35 (224 pts), match/switch 5 (25 pts) (nesting depth added 209). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a77f9d6b91023ab7e7c3da43ffb0e8a2fcb7873dd0f38ca68189d8dafec5b29"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.fromSpec (cognitive 221): JacksonGenerator.fromSpec has cognitive complexity 221 (threshold 15). Drivers by points: loops 32 (196 pts), match/switch 5 (25 pts) (nesting depth added 184). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcea81baebb88a0eca1ba48693b383795d1b4ea33f59a305f964dcb58c5d526"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.fromSpec (cognitive 209): JacksonProtocolGenerator.fromSpec has cognitive complexity 209 (threshold 15). Drivers by points: loops 34 (189 pts), match/switch 5 (20 pts) (nesting depth added 170). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92089d0d98cb9e6cb4726b89e48ff71a1252be6b057a5c7877726a48cfc354d"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.renderDTOClass (cognitive 162): JacksonGenerator.renderDTOClass has cognitive complexity 162 (threshold 15). Drivers by points: match/switch 18 (83 pts), loops 9 (43 pts), if/else 13 (34 pts), boolean chains 2 (nesting depth added 120). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2a733a44b6760d02dd2c959fa817b1b00c67855a7ffae4286673794e81d0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreTermInterp.processArgSet (cognitive 156): CoreTermInterp.processArgSet has cognitive complexity 156 (threshold 15). Drivers by points: loops 17 (123 pts), if/else 4 (25 pts), error handling 1 (8 pts) (nesting depth added 134). 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":"modules/core/src/main/scala/dev/guardrail/core/CoreTermInterp.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cf529630c855dc5513c7c4abf9245a5a9c78aa5747bfce9046ec34008c5256"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.fromModel (cognitive 149): JacksonGenerator.fromModel has cognitive complexity 149 (threshold 15). Drivers by points: loops 17 (129 pts), if/else 2 (11 pts), match/switch 1 (8 pts), boolean chains 1 (nesting depth added 128). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd84f892e0297cae8891b16f1aa983e7fc0960b0a7f02118eeb5af2bc1db42c"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromModel (cognitive 149): CirceRefinedProtocolGenerator.fromModel has cognitive complexity 149 (threshold 15). Drivers by points: loops 17 (129 pts), if/else 2 (11 pts), match/switch 1 (8 pts), boolean chains 1 (nesting depth added 128). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fe0be17de96f540cef8a72d25a4aee0f62f42dcfe92fe40f8a8e9e4cdf449e"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.fromModel (cognitive 149): JacksonProtocolGenerator.fromModel has cognitive complexity 149 (threshold 15). Drivers by points: loops 17 (129 pts), if/else 2 (11 pts), match/switch 1 (8 pts), boolean chains 1 (nesting depth added 128). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d54ac680e4ccf6e60e1f5d8ad05d3d14ea807a8e44c18422d41f7fe54f5afe3"}},{"ruleId":"D2","level":"warning","message":{"text":"DropwizardServerGenerator.fromSpec (cognitive 144): DropwizardServerGenerator.fromSpec has cognitive complexity 144 (threshold 15). Drivers by points: loops 18 (124 pts), match/switch 2 (11 pts), if/else 3 (9 pts) (nesting depth added 121). 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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20d287c121cd6c258feebed6d1264c255e6c5b1e9e04f7ffdfa2b1ef4c356d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringMvcServerGenerator.fromSpec (cognitive 144): SpringMvcServerGenerator.fromSpec has cognitive complexity 144 (threshold 15). Drivers by points: loops 18 (124 pts), match/switch 2 (11 pts), if/else 3 (9 pts) (nesting depth added 121). 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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8840a3f695d809793c2012b88772296181cd6ee966f8774d17a5ec2505da1fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpServerGenerator.fromSpec (cognitive 144): AkkaHttpServerGenerator.fromSpec has cognitive complexity 144 (threshold 15). Drivers by points: loops 18 (124 pts), match/switch 2 (11 pts), if/else 3 (9 pts) (nesting depth added 121). 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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c80e80b05ce181f2a0f5ad590b3074285f1239cbb9e5aaf077402747d29fc13"}},{"ruleId":"D2","level":"warning","message":{"text":"DropwizardServerGenerator.fromSpec (cognitive 144): DropwizardServerGenerator.fromSpec has cognitive complexity 144 (threshold 15). Drivers by points: loops 18 (124 pts), match/switch 2 (11 pts), if/else 3 (9 pts) (nesting depth added 121). 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":"modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23e86297c25f4da1780999d6df811e992f2895fe52ceef8b5b8de11452ecdaf"}},{"ruleId":"D2","level":"warning","message":{"text":"Http4sServerGenerator.fromSpec (cognitive 144): Http4sServerGenerator.fromSpec has cognitive complexity 144 (threshold 15). Drivers by points: loops 18 (124 pts), match/switch 2 (11 pts), if/else 3 (9 pts) (nesting depth added 121). 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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b55fa22bb849ea0172020b31fbfb6ab316197517277a4f6f1e7c9c9112dab6b"}},{"ruleId":"D2","level":"warning","message":{"text":"LanguageParameter.fromParameter (cognitive 142): LanguageParameter.fromParameter has cognitive complexity 142 (threshold 15). Drivers by points: loops 22 (100 pts), if/else 7 (21 pts), match/switch 17 (21 pts) (nesting depth added 96). 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":"modules/core/src/main/scala/dev/guardrail/generators/LanguageParameter.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e905593a1eaf1b86e245ed087ae5788d32a2d72e489d7212c3b645b1676dd0e"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.fromModel (cognitive 140): CirceProtocolGenerator.fromModel has cognitive complexity 140 (threshold 15). Drivers by points: loops 17 (121 pts), if/else 2 (11 pts), match/switch 1 (7 pts), boolean chains 1 (nesting depth added 119). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4e41c3d09b83770b0ce49a2da7e2959a6c285dca9d05d0af8bb410fd25422e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelResolver.determineTypeName (cognitive 130): ModelResolver.determineTypeName has cognitive complexity 130 (threshold 15). Drivers by points: match/switch 28 (84 pts), loops 13 (46 pts) (nesting depth added 89). 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":"modules/core/src/main/scala/dev/guardrail/core/resolvers/ModelResolver.scala"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98c51daff3596b9ef3814893a9d146bb90adf0ae1895f8d36f395cdbfe116fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Http4sClientGenerator.generateClientOperation (cognitive 130): Http4sClientGenerator.generateClientOperation has cognitive complexity 130 (threshold 15). Drivers by points: if/else 43 (80 pts), loops 11 (28 pts), match/switch 11 (22 pts) (nesting depth added 65). 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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"484e69b1a01ac12bdb5909ef1552cd76d5dd278c48cc3efd6a9f836e973696e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DropwizardServerGenerator.generateRoutes (cognitive 125): DropwizardServerGenerator.generateRoutes has cognitive complexity 125 (threshold 15). Drivers by points: if/else 23 (61 pts), loops 9 (35 pts), match/switch 6 (26 pts), boolean chains 3 (nesting depth added 84). 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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f1db9ab62eaf5c5bf64aefac5713b6b796e091db7f5047dd8b5428e72bb3e7"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncHttpClientClientGenerator.fromSpec (cognitive 108): AsyncHttpClientClientGenerator.fromSpec has cognitive complexity 108 (threshold 15). Drivers by points: loops 16 (103 pts), match/switch 1 (5 pts) (nesting depth added 91). 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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00d298939f15276b1d73be338d22952a6c556133d7baea24553e3dde9acb7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpClientGenerator.fromSpec (cognitive 108): AkkaHttpClientGenerator.fromSpec has cognitive complexity 108 (threshold 15). Drivers by points: loops 16 (103 pts), match/switch 1 (5 pts) (nesting depth added 91). 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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e87c8f6987552674d6480c8597620ca69292e0ca7ecd420833a6e8cc7320b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"Http4sClientGenerator.fromSpec (cognitive 108): Http4sClientGenerator.fromSpec has cognitive complexity 108 (threshold 15). Drivers by points: loops 16 (103 pts), match/switch 1 (5 pts) (nesting depth added 91). 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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61a2c8440d106b2f24feedce0f5d5e3cd8859d1426ec9b186a7682cc91ab06b"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpServerGenerator.generateRoute (cognitive 105): AkkaHttpServerGenerator.generateRoute has cognitive complexity 105 (threshold 15). Drivers by points: loops 8 (44 pts), if/else 12 (42 pts), match/switch 3 (19 pts) (nesting depth added 82). 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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57af44164ba8ee15ef36b605b7f29797f6463b2ea2c0b18ba401ce15602be3a"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncHttpClientClientGenerator.generateClientOperation (cognitive 101): AsyncHttpClientClientGenerator.generateClientOperation has cognitive complexity 101 (threshold 15). Drivers by points: match/switch 8 (50 pts), if/else 14 (35 pts), loops 5 (15 pts), boolean chains 1 (nesting depth added 73). 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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4f97d90ba862f9714f82527459c2e45b10d4ccc059406587962a452afb466c"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.fromOneOf (cognitive 96): CirceProtocolGenerator.fromOneOf has cognitive complexity 96 (threshold 15). Drivers by points: loops 17 (68 pts), match/switch 5 (18 pts), if/else 6 (10 pts) (nesting depth added 68). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"91993999eeeb7aca058743a7d5d7b56dc35b17ad39dba76be81bf6af551c3228"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromOneOf (cognitive 96): CirceRefinedProtocolGenerator.fromOneOf has cognitive complexity 96 (threshold 15). Drivers by points: loops 17 (68 pts), match/switch 5 (18 pts), if/else 6 (10 pts) (nesting depth added 68). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e5cd194d6b57055499cdd151f707eb05698230ff0bf135dc131bbb66ac6cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.writePackage (cognitive 93): Common.writePackage has cognitive complexity 93 (threshold 15). Drivers by points: loops 12 (78 pts), match/switch 2 (14 pts), if/else 1 (nesting depth added 78). 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":"modules/core/src/main/scala/dev/guardrail/Common.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e80d5617980b467f244e7f95386bd0feea87f89f21a879c3919095e071573b"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpServerGenerator.formToAkka (cognitive 90): AkkaHttpServerGenerator.formToAkka has cognitive complexity 90 (threshold 15). Drivers by points: match/switch 15 (48 pts), if/else 20 (29 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 49). 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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b56b213a2023649e672a3470d6f141a2d5e52875da8becb30c9fe21b47cfe46"}},{"ruleId":"D2","level":"warning","message":{"text":"Common.prepareDefinitions (cognitive 82): Common.prepareDefinitions has cognitive complexity 82 (threshold 15). Drivers by points: loops 12 (74 pts), match/switch 1 (8 pts) (nesting depth added 69). 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":"modules/core/src/main/scala/dev/guardrail/Common.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a745fcec62835fe2fdc8c84fae12c296a084237efc76095f52517ef6de8f201"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.fromPoly (cognitive 81): JacksonGenerator.fromPoly has cognitive complexity 81 (threshold 15). Drivers by points: loops 15 (78 pts), if/else 2, match/switch 1 (nesting depth added 63). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d32033282ecc1252f4dd0035e46c7b1c799cb4527b9b4e21da6c707e6d2ba3a"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpClientGenerator.generateClientOperation (cognitive 81): AkkaHttpClientGenerator.generateClientOperation has cognitive complexity 81 (threshold 15). Drivers by points: if/else 25 (37 pts), loops 10 (26 pts), match/switch 9 (18 pts) (nesting depth added 37). 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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead2a1a01f4888788191808cc8575e8a7acc49056d2c228b1ffa961d6b8632c6"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.fromPoly (cognitive 81): JacksonProtocolGenerator.fromPoly has cognitive complexity 81 (threshold 15). Drivers by points: loops 15 (78 pts), if/else 2, match/switch 1 (nesting depth added 63). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"de120df988dcb75fa2a3b1712cde979153a740c086ab7a575bfc3568e76961f8"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelResolver.propMetaImpl (cognitive 80): ModelResolver.propMetaImpl has cognitive complexity 80 (threshold 15). Drivers by points: loops 16 (56 pts), match/switch 8 (24 pts) (nesting depth added 56). 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":"modules/core/src/main/scala/dev/guardrail/core/resolvers/ModelResolver.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3f9f83a0c88935e1c27f444d78b8714f257795e90fa331ad990142524287e0"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.prepareProperties (cognitive 78): CirceProtocolGenerator.prepareProperties has cognitive complexity 78 (threshold 15). Drivers by points: loops 18 (66 pts), match/switch 4 (12 pts) (nesting depth added 56). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"322ff107ee71a36f0bb35201b4bccffbbf983708930dbaed7a92cfd869c6bffe"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.prepareProperties (cognitive 78): CirceRefinedProtocolGenerator.prepareProperties has cognitive complexity 78 (threshold 15). Drivers by points: loops 18 (66 pts), match/switch 4 (12 pts) (nesting depth added 56). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf963224f8542391af1a3be2d8c4fe52105ed96336524c24b5d67c4ffc690eb"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.fromEnum (cognitive 77): JacksonGenerator.fromEnum has cognitive complexity 77 (threshold 15). Drivers by points: loops 24 (76 pts), match/switch 1 (nesting depth added 52). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"41930c0a2828d292ca626e2a1d1556115f2fdec4e8a7a3be8ce716b476b229ef"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.fromEnum (cognitive 77): JacksonProtocolGenerator.fromEnum has cognitive complexity 77 (threshold 15). Drivers by points: loops 24 (76 pts), match/switch 1 (nesting depth added 52). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8363b3d06569a8f0fea0e24762a02310c54048e0954c7ea9711f636aff9119"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.renderDTOClass (cognitive 73): JacksonProtocolGenerator.renderDTOClass has cognitive complexity 73 (threshold 15). Drivers by points: loops 10 (39 pts), if/else 6 (22 pts), match/switch 2 (12 pts) (nesting depth added 55). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89cba6565a6e521d2b89d8af5fc17a47789c19a53a1f0745d28f9ea7cc12d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.prepareProperties (cognitive 70): JacksonProtocolGenerator.prepareProperties has cognitive complexity 70 (threshold 15). Drivers by points: loops 17 (58 pts), match/switch 4 (12 pts) (nesting depth added 49). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"468a8c603fbd49c30be66b289a7eb3967a50c013d3ee48da130b618ac267d63f"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncHttpClientClientGenerator.buildClient (cognitive 65): AsyncHttpClientClientGenerator.buildClient has cognitive complexity 65 (threshold 15). Drivers by points: loops 8 (29 pts), if/else 7 (28 pts), match/switch 1 (8 pts) (nesting depth added 49). 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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bbb9483949687d7da64d60068b4c3845a042043414523ddba8c71c93f95661"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringMvcServerGenerator.generateRoutes (cognitive 65): SpringMvcServerGenerator.generateRoutes has cognitive complexity 65 (threshold 15). Drivers by points: if/else 16 (41 pts), match/switch 5 (20 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 41). 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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a859b1f5fa9c8122d50af567fc391a80633ed8326cb2b6d2abfdaf66b0075d"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.fromEnum (cognitive 64): CirceProtocolGenerator.fromEnum has cognitive complexity 64 (threshold 15). Drivers by points: loops 22 (63 pts), match/switch 1 (nesting depth added 41). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9544b753a712f27aba621076a64c14315ff93e0bf5f5c3a730229209701ddf58"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromEnum (cognitive 64): CirceRefinedProtocolGenerator.fromEnum has cognitive complexity 64 (threshold 15). Drivers by points: loops 22 (63 pts), match/switch 1 (nesting depth added 41). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a7dd8e3c160fb827178a74f088aca4fcfe6ecdb9e58c42359fe90bbe2b2be4"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.transformProperty (cognitive 63): JacksonGenerator.transformProperty has cognitive complexity 63 (threshold 15). Drivers by points: loops 13 (45 pts), match/switch 7 (17 pts), if/else 1 (nesting depth added 42). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f519d4fa9f5cad6d23f6540e0e8f13d34b8086e60b0915b6b1276ca1bd8ef4a"}},{"ruleId":"D2","level":"warning","message":{"text":"Responses.getResponses (cognitive 61): Responses.getResponses has cognitive complexity 61 (threshold 15). Drivers by points: loops 14 (53 pts), if/else 2 (8 pts) (nesting depth added 45). 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":"modules/core/src/main/scala/dev/guardrail/terms/Responses.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4938958926c593233b39ef706418f7ae8771bda48adc9250c15b40f1149877a"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.fromPoly (cognitive 61): CirceProtocolGenerator.fromPoly has cognitive complexity 61 (threshold 15). Drivers by points: loops 12 (58 pts), if/else 2, match/switch 1 (nesting depth added 46). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f0471cd3632124672d12f9a980610d9af86428af938fb4db419b10bfb029ec"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.fromPoly (cognitive 61): CirceRefinedProtocolGenerator.fromPoly has cognitive complexity 61 (threshold 15). Drivers by points: loops 12 (58 pts), if/else 2, match/switch 1 (nesting depth added 46). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7492a106d69289b70b0760e52500b90f7b2fb7d20f63aa0af8b5d35f418517e"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.prepareProperties (cognitive 60): JacksonGenerator.prepareProperties has cognitive complexity 60 (threshold 15). Drivers by points: loops 16 (52 pts), match/switch 4 (8 pts) (nesting depth added 40). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"7726bab83c569abbb765f16a5d7c164103a96c435bebc82ac5366efb04c1a1e0"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.decodeModel (cognitive 55): CirceProtocolGenerator.decodeModel has cognitive complexity 55 (threshold 15). Drivers by points: loops 6 (21 pts), match/switch 3 (20 pts), if/else 5 (14 pts) (nesting depth added 41). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3865c7e8a02c1c9fb83d5e320729086dd1796cdd383a7dacb4065e9f49b14b92"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.decodeModel (cognitive 55): CirceRefinedProtocolGenerator.decodeModel has cognitive complexity 55 (threshold 15). Drivers by points: loops 6 (21 pts), match/switch 3 (20 pts), if/else 5 (14 pts) (nesting depth added 41). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4e5cb7ac53a3cfabb89a03628aaaa2a0e61ab1842b46e77abab214fbf73d9f"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.extractParents (cognitive 51): JacksonGenerator.extractParents has cognitive complexity 51 (threshold 15). Drivers by points: loops 12 (37 pts), match/switch 3 (14 pts) (nesting depth added 36). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aab5080b2ce4679d0f032d19a9896fd4042d1b4fd4986a006d79798d5fdbac3"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.extractParents (cognitive 51): CirceProtocolGenerator.extractParents has cognitive complexity 51 (threshold 15). Drivers by points: loops 12 (37 pts), match/switch 3 (14 pts) (nesting depth added 36). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9574c8cd20942da1b669dc21fee2c99e37e3bfa8f95b3fda37dcac96658e80"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.extractParents (cognitive 51): CirceRefinedProtocolGenerator.extractParents has cognitive complexity 51 (threshold 15). Drivers by points: loops 12 (37 pts), match/switch 3 (14 pts) (nesting depth added 36). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41a2318ee2001397d8041a5b70d14dc66b202740438854787d4b47d41e3e2f6"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.extractParents (cognitive 51): JacksonProtocolGenerator.extractParents has cognitive complexity 51 (threshold 15). Drivers by points: loops 12 (37 pts), match/switch 3 (14 pts) (nesting depth added 36). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38559b8b4ef93660d11e21748a58e806484ec6695cedbf17f07ffe49befbe43"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.defaultValue (cognitive 42): JacksonGenerator.defaultValue has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 12 (23 pts), loops 6 (17 pts), boolean chains 2 (nesting depth added 22). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9a243b1380ac459b94110a3d9b7ceb819626618e6eb83c13a7d92448b53a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.defaultValue (cognitive 42): CirceProtocolGenerator.defaultValue has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 12 (23 pts), loops 6 (17 pts), boolean chains 2 (nesting depth added 22). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"de95709f3553d6a8c099b2fdf7c54f974bb6450196acedbddf6822034e72c88b"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.defaultValue (cognitive 42): CirceRefinedProtocolGenerator.defaultValue has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 12 (23 pts), loops 6 (17 pts), boolean chains 2 (nesting depth added 22). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"947dc9e6e5d5b91cc605c341be32e2382267ac7a373c5f19a5028b2c6de365bd"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.defaultValue (cognitive 42): JacksonProtocolGenerator.defaultValue has cognitive complexity 42 (threshold 15). Drivers by points: match/switch 12 (23 pts), loops 6 (17 pts), boolean chains 2 (nesting depth added 22). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d7cfb0498c98948daf35172d48c7d3ffa9a7c61488f1e2b5093acc7ea54e1a"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.transformProperty (cognitive 36): CirceProtocolGenerator.transformProperty has cognitive complexity 36 (threshold 15). Drivers by points: loops 8 (22 pts), match/switch 5 (13 pts), boolean chains 1 (nesting depth added 22). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a7deebea7a5b248ec9ff1a3ed9cc30e551b67d7185532a8b6109b679372046"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.transformProperty (cognitive 36): CirceRefinedProtocolGenerator.transformProperty has cognitive complexity 36 (threshold 15). Drivers by points: loops 8 (22 pts), match/switch 5 (13 pts), boolean chains 1 (nesting depth added 22). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efdd014dc37982b9637ce9fd48dc58f43b698c8dae24361d2570ec9d02de4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"DocsHelpers.renderScalaSnippet (cognitive 33): DocsHelpers.renderScalaSnippet has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 11 (27 pts), if/else 3, loops 2 (3 pts) (nesting depth added 17). 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":"modules/microsite/src/main/scala/DocsHelpers.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cbfa08e037b819a88cac7640efeeebce1a4c0aac1d6722241d91c8e6a9c5ef"}},{"ruleId":"D2","level":"warning","message":{"text":"CLICommon.parseArgs (cognitive 29): CLICommon.parseArgs has cognitive complexity 29 (threshold 15). Drivers by points: loops 8 (24 pts), if/else 3, match/switch 1 (2 pts) (nesting depth added 17). 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":"modules/cli/src/main/scala/dev/guardrail/cli/CLICommon.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ecef4b16a6e647965e18c18f7f639c1ae71a226145a6b73b766d999ed74525"}},{"ruleId":"D2","level":"warning","message":{"text":"syntax.formatException (cognitive 29): syntax.formatException has cognitive complexity 29 (threshold 15). Drivers by points: loops 4 (18 pts), if/else 5 (6 pts), match/switch 3 (5 pts) (nesting depth added 17). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/syntax/Java.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cb5cda5aa019fa185ebf54dba8405c66465d9a853e1099f50ec0b5d42c63db"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.renderIntermediate (cognitive 28): CirceProtocolGenerator.renderIntermediate has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (28 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ecad2c173bdcb961c544603a95f487031b3c8b2402da46c6e2a0a70d9d8e6a"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.renderIntermediate (cognitive 28): CirceRefinedProtocolGenerator.renderIntermediate has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (28 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a7c5696ae38450cc25c57996ad0252ca7d7c3d832959412e118223354c0a56"}},{"ruleId":"D2","level":"warning","message":{"text":"PropMeta.extractConcreteTypes (cognitive 26): PropMeta.extractConcreteTypes has cognitive complexity 26 (threshold 15). Drivers by points: loops 10 (20 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 12). 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":"modules/core/src/main/scala/dev/guardrail/terms/protocol/PropMeta.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5d6175e035a1bc114d7f140fd5509997aa96af8cf0a2247da4eecc23347a46"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.transformProperty (cognitive 24): JacksonProtocolGenerator.transformProperty has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 5 (13 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 14). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d5fae8ef2dd7c9c64e85277d887fe157fb46b1dccc05e8cbe5ca031ff78176"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpServerGenerator.generateResponseDefinitions (cognitive 23): AkkaHttpServerGenerator.generateResponseDefinitions has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 4 (9 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf44859b473b7073d0987ef21e1970681980b9de4bd167be10f13cb94f5e2fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpServerGenerator.generateUrlPathExtractors (cognitive 22): AkkaHttpServerGenerator.generateUrlPathExtractors has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 3 (6 pts), match/switch 2 (6 pts) (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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e17303e06b3b01abb2cd71cce9d2f5cddb990279fbb3655f5509b589896326"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.paramAnnotations (cognitive 22): JacksonProtocolGenerator.paramAnnotations has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 8 (14 pts), if/else 8 (nesting depth added 6). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aaee0e4ca540b68bad2b42892c86fd723a40829cba364209166d276f39f945"}},{"ruleId":"D2","level":"warning","message":{"text":"Http4sServerGenerator.asyncFormToHttp4s (cognitive 20): Http4sServerGenerator.asyncFormToHttp4s has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, match/switch 4 (8 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0ab115d38f1e9cff9ead6ec889125381629da916d4bef160ac6c749d590ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"Http4sServerGenerator.prepareParameters (cognitive 19): Http4sServerGenerator.prepareParameters has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (12 pts), if/else 4 (7 pts) (nesting depth added 11). 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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ea3b971848cb3ef7d2e7dd38dbed10bcf5e66883858ce5d12a3748b666c09d"}},{"ruleId":"D2","level":"warning","message":{"text":"CoreTermInterp.extractGenerator (cognitive 17): CoreTermInterp.extractGenerator has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (17 pts) (nesting depth added 11). 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":"modules/core/src/main/scala/dev/guardrail/core/CoreTermInterp.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a65e9944afbd524097898dd7cb11ef487907b432bca8304f1052645f9e4ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"RouteMeta.extractParamsFromRequestBody (cognitive 16): RouteMeta.extractParamsFromRequestBody has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/dev/guardrail/terms/RouteMeta.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"533b2a3fa394623de8aad92040167d018316300af715cf89577440596c5323aa"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonGenerator.deduplicateParams (cognitive 16): JacksonGenerator.deduplicateParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 9). 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94d35668a3bab633f625ff9fa3046ffcf4aaad9edc53d56cad855544d5e1774"}},{"ruleId":"D2","level":"warning","message":{"text":"AkkaHttpHelper.generateDecoder (cognitive 16): AkkaHttpHelper.generateDecoder has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (7 pts), loops 3 (6 pts), if/else 3 (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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpHelper.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5836d0ab2b574551d336e65ba692191e6823b21947278cbe362ff0219b8ea6"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceProtocolGenerator.deduplicateParams (cognitive 16): CirceProtocolGenerator.deduplicateParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 9). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9a8282efb411061797e0205e656e7bd4bf1a802d307e8b68d9bab620770739"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.applyValidations (cognitive 16): CirceRefinedProtocolGenerator.applyValidations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 3 (5 pts), loops 1 (2 pts) (nesting depth added 5). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dfdcb8cb7391819e462db67c8f2c5ff24a886a293c049eac265c9b068a4641"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceRefinedProtocolGenerator.deduplicateParams (cognitive 16): CirceRefinedProtocolGenerator.deduplicateParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 9). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c72727816a7edc8b6ce9b1b0603330c3c58769507c6fbfdf044dc4fc294f00"}},{"ruleId":"D2","level":"warning","message":{"text":"JacksonProtocolGenerator.deduplicateParams (cognitive 16): JacksonProtocolGenerator.deduplicateParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 9). 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4601816a4a773684b4a810de67f3676e2ff85e1398185fa4f543468b089a09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jackson/JacksonGenerator.scala: FileTooLong \u2014 1572 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: JacksonGenerator (85-2005). The bar is 500 significant lines; this is 1072 over it, 3.14\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4753435b7401f7289b5c2a08c214ddb8faa00de613c690677520b81eb7e3bc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: circe/CirceRefinedProtocolGenerator.scala: FileTooLong \u2014 1542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1042 over it, 3.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f56aa41333e2bc1d844403eed1e69ac0fc0b8eadc5a316d2b66cbf99a7ea09"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jackson/JacksonProtocolGenerator.scala: FileTooLong \u2014 1508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1008 over it, 3.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f3001c3d83a02cb63ccd3756e2c3681e283a7b9915dbf19a053ea33811091a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: circe/CirceProtocolGenerator.scala: FileTooLong \u2014 1467 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 967 over it, 2.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1489b17b8ac8dae00074d6e488abfb279f19612e295f9b58b77a5ab8d559e0c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: asyncHttpClient/AsyncHttpClientClientGenerator.scala: FileTooLong \u2014 1048 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: AsyncHttpClientClientGenerator (85-1427). The bar is 500 significant lines; this is 548 over it, 2.10\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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b021bc1572ac605c3ec551535256df2deea4be3c9c55aa31ba50341bb2519e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http4s/Http4sServerGenerator.scala: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 541 over it, 2.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b1c4c1b2ecf2243dc797a86c2cff695d1d2ed117d1ea28dd160ee706dfe798"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: akkaHttp/AkkaHttpServerGenerator.scala: FileTooLong \u2014 943 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 443 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fc935583c053290217cd93074c156a3486a596243a63f6a52c2a4352e9fca2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LanguageTerms: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\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":"modules/core/src/main/scala/dev/guardrail/terms/LanguageTerms.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0605a820a9168fda3c4a96981ae87b8cc07143e3d3a0b039a331ea0e8fb2f9ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JacksonProtocolGenerator: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2329dd5afcd75ed8aa98d49d10bab2ab51944878211c456c9f812d8ffe117034"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JacksonGenerator: 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"21880c5c8ecf95c2a18b2006eb58a274b29d899abd53e1c5f73e439fa337a1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CirceRefinedProtocolGenerator: 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdf30a6568fbaad788665568a46f3112b4ecd1506a72c274759510d99183499"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: springMvc/SpringMvcServerGenerator.scala: FileTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: SpringMvcServerGenerator (87-918). The bar is 500 significant lines; this is 190 over it, 1.38\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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ceb14c96a693afd1cb78be1d1bbe82781513a632b4640f57ff90da7ea819f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CirceProtocolGenerator: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a73ff841477632e38af0458bfe954050335c2ddbc2317c37c1c5b4dabe4e229"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dropwizard/DropwizardServerGenerator.scala: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: DropwizardServerGenerator (88-885). The bar is 500 significant lines; this is 173 over it, 1.35\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4580e00443a7f434d55d483ea751173622c4bff789f4c01b156597547791343"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Http4sServerGenerator: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"57736273849f1aaad91aeb52c8d6c4ac8d1233ff8eda2d67a54cefc1ed5d77c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LanguageParameter.unapply: MethodTooLong \u2014 unapply runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"modules/core/src/main/scala/dev/guardrail/generators/LanguageParameter.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b369666796352b55fb163f4fb7c7aa204c62835d19959c496892a7bc34b4437"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LanguageParameter.fromParameter: MethodTooLong \u2014 fromParameter runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\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":"modules/core/src/main/scala/dev/guardrail/generators/LanguageParameter.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c532f19ad4edd56299ba83c668fbb057affdf4c394948742ca44166ffe79e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: akkaHttp/AkkaHttpClientGenerator.scala: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a7e40f7bac7b13140c8e0c8e2aa82d339de2ba607bfc0ee1df0c51e8522e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 69 shared lines): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:102-184 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:101-183 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:129-210 | modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala:67-148 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:98-179 \u2014 These 5 members are variants of one another: a block of 69 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"491373377c322b18a7d9d56132f4724289fb21eaa03fd9f4298602afc8042e85"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 42 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:797-904 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:77-215 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:166-303 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:185-294 \u2014 These 4 members are variants of one another: a block of 42 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfa4516ac1fa7202e3f4a941e69a046a025946d98f0aa304b09dc5ba2b9ab4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 41 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:442-516 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:805-892 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:877-964 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:650-725 \u2014 These 4 members are variants of one another: a block of 41 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e93510b3e16059945a6addfa5b04cf78205d13ea739511573d97b6808aaefb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 37 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:128-181 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1029-1082 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1101-1154 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:862-915 \u2014 These 4 members are variants of one another: a block of 37 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b32d487ec595a883387fe22dfb9a5f762fcc8a7b3b6db6075af524bb59bb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 36 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:303-348 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1092-1137 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1164-1209 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:925-970 \u2014 These 4 members are variants of one another: a block of 36 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acae423f179710061e6af3abb05f61f1d10d7732ca108e55487fc5125140d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 34 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:216-277 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:258-316 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:346-404 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:337-398 \u2014 These 4 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"365b7b06bb07982116c970f81427a8b1d9fda8388d64c397627de32e59f49dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 27 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:520-553 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:896-931 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:968-1003 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:729-764 \u2014 These 4 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d52ea4bc467ed771b7d4e7cdaca1ed5a853d4dee5529d1cf793465a3f51f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 25 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:366-423 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:350-414 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:438-502 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:432-489 \u2014 These 4 members are variants of one another: a block of 25 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0cdcb9e8ae5130e69584ecea6f4166659c4e03de156e9097dd74f499300a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 25 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:739-784 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:550-598 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:638-689 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:586-631 \u2014 These 4 members are variants of one another: a block of 25 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a80465d55c3523d2d0749b890243de54e257597064fd7dbba8e8444af328c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 12 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1657-1674 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1227-1242 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1299-1314 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1096-1111 \u2014 These 4 members are variants of one another: a block of 12 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6963fe9a58809128812e81731e55927ff084fd38ac13d1b14d2db900efd898"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 15 shared lines): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1609-1627 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1697-1715 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1378-1396 \u2014 These 3 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47150611b744eb0ae68c1bf9a44834d1d154eaa07962582a29e9582395e3953"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 15 shared lines): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1712-1730 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1810-1828 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1801-1819 \u2014 These 3 members are variants of one another: a block of 15 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"469a1a86e73bd2bbc69c7c72eef40f36be2da8548981600204716542cbb40f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:21-57 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonHelpers.scala:21-57 \u2014 These two members are variants of one another: 28 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11d8fa014362ad4798ceeaf359c0f610d08bd12a47ebf95530db82642478568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardGenerator.scala:35-113 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sGenerator.scala:94-154 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardGenerator.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b62d8903521971130acbb2dda9d5ab9648fcff572f3f4c1f58956ec65d5089"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala:61-133 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcGenerator.scala:44-117 \u2014 These two members are one piece of code written twice and then edited apart: 73 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0833f7bfc9332a35f2b94aed3a7f798d53984740dfdc92e20f70bdddd89d774"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:145-489 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:524-566 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:132-485 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:518-546 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:1197-1251 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"75023f29c8acbb731de4cf2e92ef9b035f3c97d4cea7dc262fd21c866689463e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:183-202 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:225-244 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:313-332 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:304-323 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27491a1fae43b8d386155d778710d55d467478dc1985280b3deb75ab4fbf8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:284-293 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:323-332 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:411-420 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:405-414 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff129678bb5f468bc1c1c6f69812e38f2e6c2f8846664d52ca85d0a4d986de5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:557-585 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:935-963 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1007-1035 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:768-796 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"8560ff8c67658f001fd85d4b5806361041c7b7a6f1d0361aa90694e3adfacd28"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:592-615 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:970-993 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1042-1065 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:803-826 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a1a5efffde7ce22f3a7bbcbf382300c89633e7efc21cc03503e1452c02c91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:658-721 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:430-493 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:518-581 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:505-568 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23fc73f06db34874dc53b757b17de43118f694423bcdfd2a5126f75107a79c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1690-1770 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1258-1340 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1330-1412 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1127-1201 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9e43f5b829c10e853973db829d72dc0eb9bbdc0f757c075b3e96c47f7efd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (98 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1487-1584 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1559-1656 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"297e126010bcb8c2906b2bc482a5b403e9fb6c5ade0bad0c61e1337a4b5b215a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:692-767 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:783-858 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:692\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a4d83e9ef9a0a6ba61b68357fbd696d2c232148bd9c0faa6ccb7cede4a7f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:622-689 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:713-780 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6902cd47817edba81a23c531f9f2e3aad27d12f41c8ec421b5da08ef6177901"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1421-1473 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1493-1545 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1421\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1877efe68ae401c470ce1b8f1d5f2bc2262de9b1c0bb6a50770a026a23370df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 5): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:130-180 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:129-179 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:156-206 | modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala:94-144 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:125-175 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:130\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f54eb1ae04f171adaa927ce4a1d7ffeb0045ebb10b5b9c433a9203d34df1e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:188-237 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:175-224 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:188\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51b76f452e8ca40ff4c5c5e2883a7d5d8dbdb6bc1fd8c0b4e3c1e06511a805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201350 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:441-489 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:436-485 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:441\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ecf1b6f6d142899ab5eeddcf6480c3c576215d7d888d5d2e5b07a3ee1338dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201347 lines \u00D7 2): modules/microsite/src/main/scala/DocsHelpers.scala:41-85 | modules/microsite/src/main/scala/DocsHelpers.scala:104-150 \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 \u0060modules/microsite/src/main/scala/DocsHelpers.scala: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":"modules/microsite/src/main/scala/DocsHelpers.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdada904881ebc98642aed966f01acd87c5c54ed180d9e61d4205fc5d9ce486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:259-303 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:347-391 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:338-382 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:259\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e8bd6165680eb62e35a4df5b9db02230e2aef255dd96d26d8e4eec3d09a107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:659-701 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:431-473 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:519-561 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:506-548 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:659\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bac5a6355bd4852937f1c8d780534ecbf449df8aef7eca5ea74c96b7b23c219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:820-858 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:892-930 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:820\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dc6c0aeb7a3d94366bd5889abaffc898da2bb4e55f4fa1d53f301d1ea3c5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201332 lines \u00D7 4): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1276-1307 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1348-1379 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1143-1145 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1167-1168 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1276\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1275\u0060 calls \u0060Right\u0060, \u0060Resolved\u0060, \u0060LiteralRawType\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1143\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f2008baa1c4744706eed280b0f7c41b1e02fa077d7baa48a6ca4a496cb376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:146-176 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:133-163 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:146\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1852d2dec883ff0cf09e3d22ff3190bcc43fc3c17bb8f9140c2f7b88a265cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:367-397 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:455-485 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:367\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aae5f36ba859cf9e7a22e63502d0fc84089413c8f97d84cb992d558bca2dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:95-124 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:184-213 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:95\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a0c6b817dc306356d0a394d2d041a4badf314b85398a7d02e2376fa13e894a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:456-482 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:665-691 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 531 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:456\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c06c75cda473910308354fdeba4bb365d347e7d50b605d3c76f901816dbd5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:260-285 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:332-357 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:260\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eab996bd84081e690d6197ca7b61bba5b8d15f27839869de6b1035e9579b889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 3): modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:749-772 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:777-800 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:804-828 \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 \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:749\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb5e73ed958a5b389329af2eba4c6db1befd15f877690c6530e9c73e0c53915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:221-245 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:294-318 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:221\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:219\u0060 calls \u0060addAnnotation\u0060, \u0060generatedAnnotation\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:292\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"080f753ea85b88f04eadda6b18ae6fec8617ac43502cc072e7c82bf00ce2738e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:562-585 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:940-963 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1012-1035 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:773-796 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:562\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede94b3b70b05cd0c2e8faa1a81a0d2b971126d639c6e63326151776a8bfca26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:836-859 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:223-246 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 531 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:836\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2825b2d98b45e021645d4966e3e083ee17b67e639b5951ef5bd2cf8b0a2822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:242-265 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:229-252 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:242\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c3440b06f8795b0dec41f58d254c393d01d6593591fded5b4d34b57b0ccf4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1198-1221 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1270-1293 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e24fbbc698ef9e04da82c17d4ee7e357fa8f6a37face1af7cddc031b3e10ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:307-329 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1096-1118 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1168-1190 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:929-951 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:307\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"56799214ce2811c3b77bbef4255f3ceaefce484cc214a8e7ca0fff878db96c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:293-315 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:365-387 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:293\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"486bb2e957a39672985ff8341541e92e9ad0ab3949cacda52e9d6fc419b779e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala:18-40 | modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala:18-40 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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 \u0060parameters\u0060 to \u0060LanguageParameters[JavaLanguage]): Option[ContentType] = if (parameters.formParams.nonEmpty\u0060 in one and \u0060LanguageParameters[ScalaLanguage]): Option[ContentType] = if (parameters.formParams.nonEmpty\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":"modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2245455386b203c3b16f747ed2228c86bd3fb1de83355335ce5dada1598361c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:112-133 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:99-120 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:112\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1237c67cbc1b38919ed003d3b3ea0aaedc4e4b68143e0d27fda2434f8314b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1148-1168 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1220-1240 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:981-1001 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1148\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e5cf7ede17a0bc7f0d26ab9b6e7a899f45fb1d1731238a41bbb721ae33921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1320-1340 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1392-1412 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1181-1201 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1320\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76621370ec06481ba3504655b34d88866385126951f6b9eea27d555b169e464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1772-1792 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1870-1890 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1861-1880 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1861\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"450bb9d5c40deda00e397b208de58f3429bcd39f39daf5a23d8c77acb033ffe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:657-677 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:727-747 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:657\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1691db25bb3285e62b2eccb6409693e48c0412172f08a28846caed84a3d2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:179-199 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:267-287 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:179\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5498403d4c1a63e0dd5406ff8d8da6d899d0bc57d899679ee16c1cd7c837a034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:511-531 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:599-619 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:511\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c56adc7cd963f8572736520540528d827f07d8ad20362c501f31b337c4a24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:740-759 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:551-570 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:639-658 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:587-606 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:740\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:761\u0060 calls \u0060renderDTOStaticDefns\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:572\u0060 does not \u2014 after which the two agree again for 3 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3947f238e96f76792d8e2281386288bc30a4d8be4d19275532e2476426c46e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:830-849 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:209-228 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:217-236 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 35 separate duplicated blocks between them, totalling at least 455 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:830\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e98a45ca26e592c4c421e197f9b1dce869bea2261ff488da8cf4586f4593b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:573-592 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:627-646 \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 \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:573\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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b52f352c924c5cb64a1e8cf000315670424871e9c010611c536551fb517af32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1348-1367 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1420-1439 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1348\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b049b858f653cdb4e0d12bd2e5578a7a612e6f7d1f960320824408c05ec0ab30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:498-516 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:874-892 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:946-964 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:707-725 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:498\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:497\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:873\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa46145de2b77c6e34eba3c6ab9dbed3e1015ff5c990354c39c2440de6b3655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:475-493 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:563-581 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:550-568 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:475\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b75ffcc29ce3e04a6816d387667e05c427c7f41601b94c2a218b4ba95653005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:107-124 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:106-123 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:133-150 | modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala:71-88 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:102-119 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:107\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d5ff830fae2ee9b9db18b6544cb44f8d1fba16b403cca868ad820566ca310c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:536-553 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:914-931 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:986-1003 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:747-764 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:536\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf14504d37f1503a5532b043fae65cbacdeb7e2f6bac4f0c2edae662863bb855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala:121-138 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:105-122 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:92-109 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"24387e1d6d0d3181ae8a4fdadc9fde7e9c1e2ae65dec4bf8551efee79e774833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:574-591 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:628-645 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:682-698 \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 \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:574\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17dac43f61cf49a8d8010b984917e3bab6460b53fc17ddab237e1a203ce9357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:585-600 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:623-640 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:585\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c4da253b42afd6c626cbc145fa4df8f6f806e0a7f7c81b9c43453d35de3fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:559-573 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:535-552 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:559\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"363fb92837637dc8825ce6114c1084ed6c6526103bfb7495c8604fbcd0abbc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:394-410 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:378-394 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:466-482 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:460-476 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:394\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:391\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:375\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf2757741e28da7cf3231640defb5cf7c288f1a3fc0e111f4d0f537157c30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:452-468 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:816-832 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:888-904 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:661-677 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:452\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb328a5173b5293d76dc4c8d9743588b032eaa24e749d78737c63b1dd797ebc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:809-825 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:89-105 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:178-194 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:196-212 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:809\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:808\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:195\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6998d6edd9a1013b70c3ae74812c3f61bf2035671044ee627cd03952d03ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:211-227 | modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala:73-89 | modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala:73-89 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:211\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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ade15306324a71500f18eba2e176ce8629ff1d0d821d8613f7a0b61d86a3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:351-367 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:439-455 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:433-449 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:351\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"714fef81f58e67380ed8f95607964603e6e2dd36513aebd522e136f06064df5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:347-363 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:219-234 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:347\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db75719d041536e4424076a6640ad758eb924c855c017ed818d024d8b83001e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1369-1385 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1441-1457 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1369\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9cc237bd8a9535e60efddabbad571af10fc7e8e7ac9cc56e0c87103728ebca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:241-257 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:261-277 \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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:241\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8939b07b9e6b958fa2384469d8b440c16bacbd7f6b6536a789258ea0cb78ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:130-145 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1031-1046 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1103-1118 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:864-879 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9907f1a2d99bfff5d8cfdfff28d1986bb6defae8d630723b88714ae731bc02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:187-202 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:229-244 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:317-332 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:308-323 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:187\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"82950a16c0b570733be5350d688de771c6610b1dcf82341a928958fdd4a59698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:856-871 | modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:875-890 \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 \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:856\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eb5a43d6086a08b37d4487cbdc26ecaf9e30abedabb9c71bef979990407037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala:48-63 | modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala:48-63 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"da44d63482e79946376de622edb950bb5fa01b42c3d3e216a3a2d3746b1e9458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:572-587 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:661-676 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:572\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:660\u0060 calls \u0060renderDTOStaticDefns\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:571\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd94e6853c0c296c774e95200295371eb101fcf9dd5634c0c8f146f6874d9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1050-1065 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:811-826 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 816 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1050\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9144e3d6079840444ea9dc8a18531ef9bdeb03184ffa5581f4fa5ed31a98bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1613-1627 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1701-1715 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1382-1396 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1613\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, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1717\u0060 calls \u0060extractConcreteTypes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1629\u0060 does not \u2014 after which the two agree again for 3 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26e4d33e9d42a209d0cae8cebe621db53e7dc403fd04899790d1b21297f98f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1716-1730 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1814-1828 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1805-1819 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1716\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed9177da75abd5431cbdea606bf0d3fab335d76d969463f3c5a908bb82cb439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:989-1003 | modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1019-1033 \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 \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:989\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e35b277d0e0cf44f5598c6fbe6a799d614c0bcf4c2b315f3ed678ef9043da54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1006-1020 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1025-1041 \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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1006\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b7c069e2a310d04a1007bd6823ef7b74edac5caba70d53d4a13c1c3b18d6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:854-867 | modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:873-886 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:243-256 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:262-275 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:241-254 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:261-274 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 35 separate duplicated blocks between them, totalling at least 455 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:854\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:255\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:868\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"dada16a8e4e96af4f23448bd7bd8c93f73f72573620246a65bd13386e18b1d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1265-1278 | modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1854-1867 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba1076cc030cfc38ad341db3dfbc2f58b9466f8375e00b931ed15ff1e6aaec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:154-167 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:174-187 \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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:154\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3ee6dc5e03200b238eebe69fb3b09a52239b4f4f9bf7146616d28b71fcf762"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:336-348 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1125-1137 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1197-1209 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:958-970 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:336\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b216dd82c967ce3ed70aba5314eea7d64f4e65381b458e62ee26abd26c265393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:157-169 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:177-188 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:246-257 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:265-276 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c45c115ab007f12f32a2016e3f2e498ef170f8f9446ff812065d8ff151fcd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1229-1241 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1301-1313 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1098-1110 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1229\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7d6627388f839a940edfe404bcfb7c821591056dca671f6b53d8b60e52106e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1388-1400 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1460-1472 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1316-1328 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1388\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"d007ae257ea69a2231aeca6cdf66282cb34c03ea63ef6eb62cfe18b181a181a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:794-806 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:854-865 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad71aa8723c2df8efc4f26e6a295ecdfd163b9c2ff7db0028ae98175071adba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:148-159 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1049-1060 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1121-1132 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:882-893 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:148\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aaf0bd1d20fddada820762cababea756acdb3bfd9d70b919ba8fffc31a85eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:222-233 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:264-275 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:352-363 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:343-354 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:222\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fc62e8647f0ffeeaf5d19b913342f3aee28adff947560cfb033b6e57ad515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1365-1376 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1437-1448 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1254-1265 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1365\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc66bc43363e92cffa68d307f0ae096fc6a95e960bdf275c1b1f632185d73c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:276-286 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:278-289 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:276\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ac6d3fc6208710dae06581e3eca840b4ebe21d0de271e810235f116f9a2686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1733-1744 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1409-1420 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 60 separate duplicated blocks between them, totalling at least 816 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6e337d62ae9a7fdd72e056eed8c2daf48daa411033573111e67106556aa9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:235-245 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:277-287 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:365-375 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:356-366 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:235\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f19aec06f3b78a3a43bd3b085ad998335039fc3a1012100cd1ecff6899a8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:247-257 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:289-299 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:377-387 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:368-378 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:247\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b46eaf8b3a5668b0fac08e1475d588d2da6c395168e464ba2205cc7413f4962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala:106-116 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:90-100 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:77-87 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala:106\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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"11071496839febe014114a5409814b72fabbb124d5c8e534a1945342fe47fd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:205-215 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:293-303 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:284-294 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:205\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:283\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:204\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c5d418729e0d720e2e7264c65ca92d6d5be8af665fd782da1c126b25c9c557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:404-414 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:492-502 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:480-489 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:404\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aab01d938eba6d9190ec5b2242d8626de636c17336b3815fde586f0de5c4ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:897-907 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:969-979 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:730-740 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:897\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"81909ac6827683de1e3c79f0820995e919387a910feadf8e5fb6ef4f4897afac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 2): modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:138-143 | modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:163-173 \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 \u0060modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"994286bf2b8279ae0f842116c0f80387dc4fd3cd5171b750dcbdec6af6657303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:284-293 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:323-332 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:411-420 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:405-414 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a6e147e6137aedd0290d9b026c0ef75d39a8f7001a5861d7b5ba709a978b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:597-606 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:975-984 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1047-1056 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:808-817 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:597\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, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1057\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:985\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0360470f6548086539d49cdb4d478292a6a7b7b9e4f2975856a9a7fca2d20f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:828-837 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:118-127 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:207-216 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:215-224 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:828\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f48dad9863c5b3ea311c2aa30849529ebea5d4034c0151c1332762fef7bbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201310 lines \u00D7 3): modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:121-126 | modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:138-142 | modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:163-172 \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 \u0060modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/dev/guardrail/generators/spi/ModuleLoadResult.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9bac587091293b3ad9af807ddd7e16e3d09b16bbefc92cdb8ec1818dacee0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1308-1317 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1380-1389 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1169-1178 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1308\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab67b3acc0d90d20ccc7a96a25a62e34c69fe2d24e7776c05ff870ecf64fd3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaGenerator.scala:101-110 | modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaGenerator.scala:119-128 \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaGenerator.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"96070e439b72bd2af055cecec129511cb8db8d74754f921cb1ee65851f7b11cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:860-869 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:932-941 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:860\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadbe95fda8cce9403ec0ac75003a71cdff5a6999f68d2c33e5fa6be4b122b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:760-762 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:660-669 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:608-613 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 35 separate duplicated blocks between them, totalling at least 455 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:760\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:660\u0060 calls \u0060renderDTOStaticDefns\u0060 and \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:760\u0060 does not \u2014 after which the two agree again for 5 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e02acab382637a00206a0eb5849d6319933d6e4d780311dd4c9014a301ee72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:237-245 | modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:249-257 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:279-287 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:291-299 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:367-375 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:379-387 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:358-366 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:370-378 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:237\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"55559a7f4134a88701bd35582d0e386c9fbe875e33ac7278e5e85be855cf030e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:170-178 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1071-1079 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1143-1151 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:904-912 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:170\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6817a1b9dcb66444ff5ae7c4715c1076cf2e9e3aaaa986c6ba4fc453ae4d894b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:524-532 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:902-910 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:974-982 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:735-743 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:524\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8462fffd28459020ecdd964118ddde1ff765b4f7bb2e4566434cbf17e15baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1698-1706 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1266-1272 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1338-1344 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1135-1141 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1698\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ef9bc2a109e049c1cdf3e766b15bd3fbe9e431781476cb8d251db342598261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:582-590 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:671-679 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:615-622 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:582\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"83146726fb88bb93fd5eeea287adaae3b462a8cea0e5bc8b6c29321fba0f838a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:259-267 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:380-388 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 531 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:259\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"344653f85a0c97e440755f614e43560fcca832a986533942fb9f7fd8bb8cdc2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:33-41 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonHelpers.scala:33-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:33\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e5ffacca66ed6a10c3132d37fe0c7136f02dd8d2e2106134f937b584409ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:373-380 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:357-364 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:445-452 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:439-446 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:373\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"195be2884635d579d66d7ee844e1dff373e1e9a8f3dbc3d341f65f71f40f9b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:895-902 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:206-213 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:294-301 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:285-292 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:895\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:283\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:893\u0060 does not \u2014 after which the two agree again for 3 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"3928b233b67800f61658d18a3fe6d84ac441e8b692b50be99cf1ad5a98000fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala:63-69 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcGenerator.scala:46-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala:63\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50b731ebf263adc5fe29f70bd70c46abae86c0da8c8cb2988d4d1cfce063c8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala:66-73 | modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaVavrCollectionsGenerator.scala:65-72 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"411f65445ff8746ff48edcdd4604534c6832d216f8c1a23fca0ec18affae6ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala:91-98 | modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaVavrCollectionsGenerator.scala:88-95 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a9a3bc29a24456d26dca82f5fa07704e3ccc4e425ddb878576e2ed0f66e8fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:147-153 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:526-532 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:134-140 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:520-526 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:1200-1206 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a20b2039ccf3c287a1d372b16a5bfc6b24cf82e50434b175efed6a28988e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:798-804 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:78-84 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:167-173 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:186-192 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:798\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:808\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:196\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"27aeb32aa2bcda21209b8ad90e938b15374dd8075c056e520c6ac18ade59edef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1659-1665 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1229-1235 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1301-1307 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1098-1104 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1659\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b136427ded883923a29938baf207fcf9c2c9d7c62ae2a2cc11b6814fec6204"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala:127-133 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcGenerator.scala:111-117 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala:127\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardGenerator.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbc105cc05a0dbbf7fdf2941141217f7fedbb062eb83d2467ebc52063ab8031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:750-756 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:811-817 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:750\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:810\u0060 calls \u0060MarkerAnnotationExpr\u0060, \u0060Name\u0060 and \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:749\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"609fed3ce94917298a3f582aeace7f359c2ddba1205fc42932c34c313f0c7b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:22-28 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonHelpers.scala:22-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32d05c966524ffc4b491433039d51e35b38c554e4ee324ba051f5d00bc699ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:775-780 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:679-684 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:622-627 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 35 separate duplicated blocks between them, totalling at least 455 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:775\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b60ae5f3d0821ca4a5b5e0e49b1a877f5f2cbf4a466c561a13ddc657c6ad85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:860-865 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:932-937 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:693-698 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:860\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:866\u0060 calls \u0060vendorPrefixes\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:699\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3faa4c4923f5dbe1e0a395559fd1d3f1f82d56dd4445955dff9c0184edd847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1402-1407 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1474-1479 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1330-1335 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1402\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9b85efc07395eb753b8ee0734a2188bc1c0f6db18545973c62fe2e6438daae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:888-893 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:277-282 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 531 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:888\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad05a8060df60e8045bd97d225935c7e4b1a277f7e84c4b9dd08493c6f2f00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:44-49 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonHelpers.scala:44-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:44\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421c22330a5286b6c721df0092c5e2b44db13f26c45e10c1c0e2d62ddff75e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:52-57 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonHelpers.scala:52-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala:52\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonHelpers.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab5da0141cf0f4cfd46b190fbb978a8e9d3027500a2ed2dead81439d5083f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:311-313 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:394-399 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:388-393 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:394\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:399\u0060 calls \u0060vendorPrefixes\u0060, \u0060cloneHistory\u0060, \u0060CustomTypeName\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:313\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea00083bf399802682010d975094d5230b9f691043fadb720ab207585b3bfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:99-103 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpServerGenerator.scala:149-153 | modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala:87-91 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala:86-90 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sServerGenerator.scala:118-122 \u2014 before extracting anything, compare \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala\u0060 and \u0060modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sClientGenerator.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 248 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala:99\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpClientGenerator.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb17e424f17dadef0e53e2bd5d49b164040296b061b0f363d86a2d06ade9ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:491-495 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:868-872 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:940-944 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:700-704 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:491\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5866e13dd19e16bc0cb4ad4c4f81916355e0869a2a19359c12864daee8d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:771-775 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:586-590 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:675-679 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:618-622 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:771\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b052d0318d8082f94b68a378440d03247ab922484ef4272dcd944150d282390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1669-1673 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1237-1241 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1309-1313 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1106-1110 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1669\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"41770ed8424cf3709b184309965a99c758349ff0cf600fa5f625fbc4c71d91e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1692-1696 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1260-1264 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1332-1336 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:1129-1133 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 405 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:1692\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de30c1eceef5fc28690f46313dc396f7febf6678d9f275fcacea7c4c8b761c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala:115-119 | modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:123-127 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:122-126 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala:115\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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6e8c1c4e857a107c797eeb3701c1c8c8ee4c7b88e28dab5a37267ddbceaf68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:388-392 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:454-458 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 531 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:388\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c0f91166cb311678418e62f9dac0191f2355869c7972f105079de962c0faad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:764-768 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:611-615 \u2014 before extracting anything, compare \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 41 separate duplicated blocks between them, totalling at least 531 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala:764\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3010808a5ec8020361c4c46f1236a2688b32ac626ab0e93601746db327e5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/microsite/src/main/scala/DocsHelpers.scala:34-38 | modules/microsite/src/main/scala/DocsHelpers.scala:86-90 \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 \u0060modules/microsite/src/main/scala/DocsHelpers.scala:34\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":"modules/microsite/src/main/scala/DocsHelpers.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf56e0ce187a153e76fa0f5b9845cda57cee7aac8f85c46cda717c21b86e58b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala:389-393 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala:434-438 | modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardGenerator.scala:36-40 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sGenerator.scala:94-97 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala:389\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e66db646d22e6329dc2d1a6af235ee5743e038d5dce3a2217bcd157131189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala:465-469 | modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sGenerator.scala:150-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala:465\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":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9f1a863a4bdc3daf3ddb9517c2c7bc939c4a2d2963efcb0a691d3b37598aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1415-1419 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1487-1491 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1415\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1395cb1d7d95f698124425ca21207adb8284105896407aa3d83584ffa174b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1482-1486 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1554-1558 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1482\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc55429eac5473d8b12de7cc334acb7299219d9165473dac59391c92c01805df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:777-787 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:837-847 | modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala:551-561 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f1282c34d69f111aaf2158147ca1e7ec5c2ab863bec1b7a4a4618e59fca003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:866-870 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:899-903 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:866\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d033e86863624acaebd3cb7f71a763bb11d39713910a814267fc0c754393750b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:878-884 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:911-917 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:878\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc971ad303196f7e3ca16a746fb356ea46f507ea7c688a26090d2f1ba370ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala:48-55 | modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaVavrCollectionsGenerator.scala:50-57 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060customTpe\u0060 to \u0060Option[Type]): Target[Type] = customTpe .fold[Target[ClassOrInterfaceType]](safeParseClassOrInterfaceType(\u0022java.util.List\u0022).map(identity)\u0060 in one and \u0060Option[Type]): Target[Type] = customTpe .fold[Target[ClassOrInterfaceType]](safeParseClassOrInterfaceType(\u0022io.vavr.collection.Vector\u0022).map(identity)\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a1495453f2091b8bdbd2b17718d62b7f06b8244f8611999fc9def1763b7b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala:76-83 | modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaVavrCollectionsGenerator.scala:75-82 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060customTpe\u0060 to \u0060Option[Type]): Target[Type] = customTpe .fold[Target[ClassOrInterfaceType]](safeParseClassOrInterfaceType(\u0022java.util.Map\u0022).map(identity)\u0060 in one and \u0060Option[Type]): Target[Type] = customTpe .fold[Target[ClassOrInterfaceType]](safeParseClassOrInterfaceType(\u0022io.vavr.collection.Map\u0022).map(identity)\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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaCollectionsGenerator.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d919506ab702208cd6e8cc5c578616c0e8afb944d4da09c75e3fa8a839fad94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala:36-40 | modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpHelper.scala:71-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/scala-akka-http/src/main/scala/dev/guardrail/generators/scala/akkaHttp/AkkaHttpGenerator.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"986c2d5bf965f86cadea9057d76d43b5bfb938f458dd49c1940b59418ba1bd31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:218-223 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:306-311 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:297-302 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2905b866a2f8e0bb203301f347837b9c817f01dbb1e5c555394b99a9aa7bbf66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1016-1020 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1088-1092 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:849-853 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7282f181c231d1ce35bde901c2c2d477e44c422e44c4e5b97533fc92cf2181c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1651-1685 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1749-1783 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1651\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8b2d7ad841e7e674500e1c3feb15b60b7289abdd5fc672cad969453c617b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1688-1705 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1786-1803 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59da30a8110fb2b1e51969a2d4d46a4e839ad37375827b13803af177cc1918b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1732-1751 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1830-1849 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1732\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b4ec06e18c1f5412e4d40e11002910cbc8a972910d85449829e3c43813ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1753-1763 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1851-1861 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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 \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1753\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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1753}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b41470126f3570de2c7e2f36c43beda369aef90d63de0378a4e121c5967b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:188-194 | modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala:187-193 \u2014 before extracting anything, compare \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060 and \u0060modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 237 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala:188\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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aad52a3380e1972a97fc1c72a3d9a83015a40322a1addaf74aee052aad3bfcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala:1062-1069 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala:1134-1141 | modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala:895-902 \u2014 before extracting anything, compare \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala\u0060 and \u0060modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala\u0060 as WHOLE FILES: this scan already matched 75 separate duplicated blocks between them, totalling at least 1369 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30f855a07f3413d2055ba02b04507f2e8ecb7666f41986c8ad838e5e8630ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): modules/sample-dropwizard/src/main/java/examples/support/PositiveLong.java:8-29 | modules/sample-dropwizardVavr/src/main/java/examples/support/PositiveLong.java:8-29 | modules/sample-springMvc/src/main/java/examples/support/PositiveLong.java:8-29 \u2014 before extracting anything, compare \u0060modules/sample-dropwizard/src/main/java/examples/support/PositiveLong.java\u0060 and \u0060modules/sample-dropwizardVavr/src/main/java/examples/support/PositiveLong.java\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"modules/sample-dropwizard/src/main/java/examples/support/PositiveLong.java"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39b3974646887553c22242348b6f034a069614e5b9c2fad40238d9a49fc5a8c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JacksonProtocolGenerator (LCOM4 4): JacksonProtocolGenerator\u0027s methods fall into 4 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 4 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54f9cdbb159e67bd575b6c0b5d6ec230caee09aea7253964ec6601471fbb9a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala: modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in DropwizardServerGenerator.generateRoutes at line 392. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-04-19..2026-07-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-19 01:36:26 -07:00\u0027 --until=\u00272026-07-18 01:36:26 -07:00\u0027 --full-history --no-merges -- modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ddfdc1e36b1d48ef1eac56f24d99657cd0b8ccfe7545ee2f17742e8a7aebac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala: modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AsyncHttpClientClientGenerator.generateClientOperation at line 540. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-04-19..2026-07-18, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-04-19 01:36:26 -07:00\u0027 --until=\u00272026-07-18 01:36:26 -07:00\u0027 --full-history --no-merges -- modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"0577f4a83faf79be3f8d59bc8da48a017a3ec98980a4602191ea80bbacb9cc6d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala, modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala, modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala, modules/java-support/src/main/scala/dev/guardrail/generators/java/JavaGenerator.scala, build.sbt, modules/core/src/main/scala/dev/guardrail/Target.scala, modules/core/src/main/scala/dev/guardrail/core/IndexedDistributive.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d8d2ec6227693716007a95a290786c4ed41c1a4478cb93ca70bc47b8fe8383da"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: project/src/main/scala/modules/core.scala, project/src/main/scala/modules/scalaAkkaHttp.scala, project/src/main/scala/modules/scalaHttp4s.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"56bc4fd85440f470e783f7ca54c7148ced21a1ce392113f98d49514388213945"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \u0022-Ywarn-unused-import\u0022,  // TODO: Enable this! https://github.com/guardrail-dev/guardrail/pull/282"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/src/main/scala/Build.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fe7b971ada63213e35af76b1ffd88a32cefbefd5624a55ae43bf37dd698e8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70167347ef8bd305b7ef97d6a66116378f2d47f141eecc0184570ce1914bd7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"709f87f78d79c1d67c7f4b4fcd6f36b0f2f65a0f395ba42179b56f4a9e90c23b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcfc429f3d66e94cb2568b893847b69876630dff958d9c52afd80d31ed6848e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5eb4d6c435ff337e0c651c758e0442aa81d861cacf90a6be4bc51bf40acca5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e54c770cf2e4fb7a0a5898d6f67e0f37df70b31b9dcd9a638b677e1063d1eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c40b9ffd2cf1765f00915dd4901f27d8a8a66cb9738300e2bdc05c5081917"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"797a3e696d9f76747d6de2efad4e9955fe39da4307d6f37ba16034b62129eaf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push this string into LanguageTerms \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"210ece14c1757626a5bf4537626c1cfbc4eb7e927f724b0d22edefb8b238b324"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be resolved via an alternate mechanism that maintains references all the way through, instead of re-deriving and assuming that references are valid \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"6252b7d6e819bdb9183f5c32e9f8caf354e12d3d01ce8f54c4bfd271b749d466"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be resolved via an alternate mechanism that maintains references all the way through, instead of re-deriving and assuming that references are valid \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8f972f640553df09dbf83bdd00d610d08d973d3180cad952c432faeaa49180"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be resolved via an alternate mechanism that maintains references all the way through, instead of re-deriving and assuming that references are valid \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0fbd9f393602b01b2162ebf5d25ff953f3046fe5fc204a163c008e02afb9fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be resolved via an alternate mechanism that maintains references all the way through, instead of re-deriving and assuming that references are valid \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f005e432e13a23d020bb597df6e516135e826a79bf705deef6bfd0f040f05b63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Target is not used \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1ea240b63c34e4814eda82a7d2bc8f9c781daea301a88d9654754f8a4b7250"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This logic should be reflowed. The scope and rebindings is due to a refactor where \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0189d6bc115c4832a3cc022a53716e213b2b81dd37d60b385f2af217a4cea6ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: encoder/decoder and the following three defns look _very_ suspicious. Evaluate whether they need to move into the emitter methods. \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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d37f8479e797088a7271ce333fa04c494007db93384417f78df77d2da7d2dbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo add support for regex segment \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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sPathExtractor.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4879bee8f277884ab73ed0e6a7e154c1ebe79ff4c94ad5afc0ec9b436bfb89a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo add support for regex segment \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":"modules/scala-http4s/src/main/scala/dev/guardrail/generators/scala/http4s/Http4sPathExtractor.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3986598ec38d9cea70917d0401270642c1244b94e3d903f8815666c1eb4ed507"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What do we do if we get here? \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":"modules/scala-dropwizard/src/main/scala/dev/guardrail/generators/scala/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5327a6e0628328122a51d5b12f57fe20364c876fb38ed8c90f477b6e49b6d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What do we do if we get here? \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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e2933b71d5b4b3f4c97bc9157c611ba6b2bd196b1bb6164307693ce0010454"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What do we do if we get here? \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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7ac8b125148c0c46406a00128b92cb4420361e6492af44521a332cebe5d842"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s-v0_22/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1827f7620cbff6475a53e7bdc774131606b834770dba0ff0de788c9d5c5e5623"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s-v0_22/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6013ef4679d4c0c5b2e471590dc194abb9d36f425da51fd4c0807ca8a29fdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s-v0_22/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"377e4ff4c03b3cf4a07d670916647148eaf71144a626541cb6229c5d81fa691e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s-v0_22/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7eceec066575c0060c7514d7309c4bcd2a250a7ce42cff2e108b485391cce3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s-v0_22/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"07aebae9cb5992ebaab4e3bed7099bac8a97c8ea612c78ef04160e09de04afbb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"500716b20be1dd2433757b8be1bd014f6aca130f74180aeb9dad469507e6637b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4b5b7e52fdafc2454bbebb34f7ff579f4a73a01b920f66057cb0e8e9ed196d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f237f9f2eefdf82fba6388bcaf337853807e710e2f9765c1f0d7ade01049f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"427975d53d3555d37658eccaddabaf7372f049601d6b61c3c9b1f5f015a1997d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/guardrail-dev/guardrail/issues/155"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sample-http4s/src/test/scala/core/issues/Issue148.scala"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1f48c58b670238199baf34a592f896e1721bb994cadf0ca09e49d7ddebc34a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: leave out with${name}() if readOnlyKey? \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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"548576f62c766fd0c437287e9f5e223729fb53df57cab2fda2d7263ebcf12d7e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: does this handle includes from other files? \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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7215b3158ed8d8a6646a9f141c2404777d4106fea6f1372f00343a0576092d25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ADT is almost certainly not text/plain \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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"633ddf6c39538a4e68f2a6678150bf36381dd35344e128102d5a68951a18165d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify valueTypes are in protocolElems \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":"modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"652a3301b73c9b3d2fb86f02974ff9e5fa60cda045ea6e14d59e90bb41c277ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify valueTypes are in protocolElems \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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf07cf7e6c83d43a1e1e4fa4a368889d8647222966da2e8194369cc4ee29c18"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: we\u0027re hoping that the type is something that AHC already supports \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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef16b2f8379d0eaa6db9b53032454a6b7c40eb0470c6c4446aa0933706f07fff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These need to be addressed, just suppressing warnings as of now \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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientClientGenerator.scala"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7020e9f65e1aa419a2ae2192dc38ca1d16d9d2f0561cfcd69e9d4045cd5ef2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ReifiedRawType is just dropped, should it be considered? \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":"modules/core/src/main/scala/dev/guardrail/terms/Responses.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e032e12613b00214040b3c9978ae92e4e68c7fb56f450a171265441a11a78b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: headOption \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":"modules/core/src/main/scala/dev/guardrail/terms/Responses.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3936087628c73b1d2a6886e3ffad39df23e60593d2be4776348af3461cc04b5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Just taking the head here isn\u0027t super great \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":"modules/core/src/main/scala/dev/guardrail/terms/RouteMeta.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4e8cf2d922f1b03ebd4b7084e02ac921e3a12ebe05540ef9a42acaa73eb523"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Why is this here? \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":"modules/core/src/main/scala/dev/guardrail/terms/RouteMeta.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edd3167ad0a3a4ad3e5d84a272018c8d417b2ac75aeefb817f31ac87d8bc7ad"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Regardless of what the specification says, if a parameter does not appear across all media types, mark it as optional \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":"modules/core/src/main/scala/dev/guardrail/terms/RouteMeta.scala"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd74ff5e1853fa720869098cf91699cb1a757243489400a4b9a110e015ea722e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We\u0027re losing ReifiedRawType here. Perhaps maintain through PropMeta? \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":"modules/core/src/main/scala/dev/guardrail/terms/protocol/PropMeta.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b406edf7a045d9302404a3953b229686a1fa6e0055c64dccf5eae67271b7dc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Preserve previous behaviour if we don\u0027t get a match \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":"modules/core/src/main/scala/dev/guardrail/generators/OpenAPIGenerator.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc5147b4b3bd37638f7f96006f94fb0c24ccf89c630953955483f0e78db82ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can we alert if there are multiple matches for the same slot? \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":"modules/core/src/main/scala/dev/guardrail/generators/spi/AbstractLoader.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e83d3dfa6b8ba59a011c0aa05b7233d1a4fe968137252c0e8baed39cf4e1ff"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Will likely trim \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":"modules/core/src/main/scala/dev/guardrail/core/extract/Extractable.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c218f6400ff60dbf53f91fd26829477aa13d161c93da43936f31e8c7c9b5bc9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Warn that default value is being dropped \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":"modules/core/src/main/scala/dev/guardrail/core/extract/Extractable.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0060a86efb5303e548420771c58a7a18fbad0b3977907b924f16dbb7feffd"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hacky loglevel parsing, only supports levels that come before absolutely \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/cli/src/main/scala/dev/guardrail/cli/CLICommon.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3a108268939100ca1040911c3587dc428654c950cfc77e1b398d85ff772fea"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 1 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (24029 LoC, 488 module-visible types across 49 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"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":"dee3ea124f301add04817aac6fcc9445c74be5c305107849c8417ba37b23bf7d"},"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":"1730df7aa5d3379ee021812c8fc1957aa9aa625e4790eb5f39c025d85a6f0fe8"},"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":"9b549d9de0052cdcf3a0fd587b9baa6d0b3f93fe1c813085c4da28502a20e77b"},"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":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"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":"ab6f83c7bd0ecae8f5eb839a419815b22b5261d4d4884c91241ba9fe13ef6105"},"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":"1722ab9379d2e862b1294a086077f2ee9041923401aa2ca1a6570cdc982b9fbe"},"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":"8e507844d9e29fe4e32c427b050c7736a02e75f8a3d95373e2469a28c729e1b7"},"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":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"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":"6bd99b4494f476f9c342068cb952b1e959f459d711334968ecb2471762b797e3"},"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":"b4aa30b9fcab98361a87288ce1ddc799aff61ab17bb83779796cec91de0e3e7e"},"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":"1360474a7908d26b078048e9138034dc03526950f8e8c4dda6634e35a027e205"},"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":"f908809c50cc246541a44bff8bba81ab499bc3d7a366d48e34f8eae5035f17de"},"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":"059473ce8c8a393d9f42f2e93278bd353b76516aca43566414dee042de515f96"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"0ad3c66d1d77938fea8edffbf332c40f63c00a10e5d5c102572fdad6c126eeab"},"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":"e4ac1e50888dcf4262262bf543a3412ca02b3100d8e84d0c15ee62a75add934a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e6301c87bf14ee1d336631cc01ca72503990b0141c81ca697db63dce2230b77e"},"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":"351184297e871682f9b9137dd86ead059abd7d84ab0fe1b6d2bc1fb74d244272"},"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3bfe1342b2b2ff7ec30198c5be7e878786f57df0b5165ac1d200ed7af2efb121"},"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":"8dc05a061af00d0485b4a264a93feb15c25f7f2ff4b35b8b0bec315c50334a9d"},"properties":{"dependency":{"package":"figlet","version":"1.7.0","advisory":"[GHSA redacted]","aliases":["[CVE 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":"353dec34d78d33d3a9d7493f57fbaa82c45814e1a92c79b9f158a56399353df1"},"properties":{"dependency":{"package":"marked","version":"1.2.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA 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":"3e02f053898a35c81dd3976f70f76fbfb4f273ee92432eacacd848db60698976"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","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":"5ccda73bd0143d5fffd3dfb7039e432d604944b26bd87c7e38e3f0435928ff6c"},"properties":{"dependency":{"package":"ws","version":"7.5.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b73c64fe48914556c5931d47726f78005b4088d394d1de54734df7254e4d2027"},"properties":{"dependency":{"package":"got","version":"9.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f8f2053f10fb3f4dee389434d33b4421356108a0e6b2b51dba7bb909144c4477"},"properties":{"dependency":{"package":"prismjs","version":"1.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b6b7f19bfaf7a70f70ce4633023c32c5e62a1daacf45358c553912405b4b3465"},"properties":{"dependency":{"package":"send","version":"0.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"fb979cbb623b0a8c414063f76592048670dae14d5c482411238e8783822c12e3"},"properties":{"dependency":{"package":"serve-static","version":"1.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 5 of 67 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 67 of the 182 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: modules/java-support/src/main/scala/dev/guardrail/terms/collections/JavaStdLibCollections.scala, modules/java-support/src/main/scala/dev/guardrail/generators/java/SerializationHelpers.scala, modules/java-support/src/main/scala/dev/guardrail/terms/collections/JavaVavrCollections.scala, modules/core/src/main/scala/dev/guardrail/terms/collections/CollectionsAbstraction.scala, modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientHelpers.scala. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"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":"modules/java-support/src/main/scala/dev/guardrail/terms/collections/JavaStdLibCollections.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ab5b1c43b7372f383fbb4da0dd3c89839dbd97be5090ccb014bc53b5c767f6"}},{"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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/SerializationHelpers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2fb6df24c421b42eee1ebb7dfa21599844f5f7c2885b4f3c66cc4a2f98a9ae"}},{"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":"modules/java-support/src/main/scala/dev/guardrail/terms/collections/JavaVavrCollections.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4135d22728111ee871184f3aa8aa09928e26b548d02c27dc29dfc18ce6fa6d"}},{"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":"modules/core/src/main/scala/dev/guardrail/terms/collections/CollectionsAbstraction.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f40892b747e74636c9708a15298357fe1a234851fc53ca28a38cc76662e290"}},{"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":"modules/java-async-http/src/main/scala/dev/guardrail/generators/java/asyncHttpClient/AsyncHttpClientHelpers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2976a24bad17867b29ee9d1aaf4f1f1e78bbd62b242367815607a4e66e598642"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: scalaAkkaHttp.scala \u2194 scalaDropwizard.scala: \u0060project/src/main/scala/modules/scalaAkkaHttp.scala\u0060 and \u0060project/src/main/scala/modules/scalaDropwizard.scala\u0060 change together 67% of the time (29 of the 43 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 29 shared commits counted here, the most recent 3 are \u0060bbcd55d4\u0060 Update jackson-annotations, jackson-core, ... to 2.16.2; \u00606f323be0\u0060 Update jackson-datatype-jsr310 to 2.16.0; \u0060c0bdea13\u0060 Update jackson-module-scala to 2.15.3 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"project/src/main/scala/modules/scalaAkkaHttp.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31152af50ba5b9a2549ab5ccf163bbfaf50c74fa10e075ca96247fb10703958"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90ef8645d5d250a2cdd6c4ddecf434c2439a3eaf0b71b0b76b3e93b4d1bb9e49"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"8d190ffdc16d8a64341dff07fff8ac16be672f866805ad27a4adadf22b1bbeb6"},"taxa":[{"id":"CICD-SEC-5","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":"5a2e995fa13979f911cc204893d0a80b86154378a8a204d3d2d4bab645eca26f"},"taxa":[{"id":"CICD-SEC-5","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":"a49f7258d6462e217377d928ac769d04402737d5a5abe55a54005e378b8b79e1"},"taxa":[{"id":"CICD-SEC-5","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":"65d87ec21c1ecf43a0424ab644272e64330044f506a9f75bd32965b5f8696841"},"taxa":[{"id":"CICD-SEC-5","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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 62 code files changed in the last 6 months but the README was not touched \u2014 it may no longer reflect the system."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e973e7a8d5d866995cbf78b120250fe7f132bf928812d48ca62e69aba11b9910"}},{"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":"M4","level":"note","message":{"text":"README/code drift: docs/java/README.md links to \u0060cli.md\u0060, but \u0060docs/java/cli.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/java/README.md"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f468715d67dceb51c2fef70282ac297ec88706fa9392bb66953e285e0f0f84ec"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/java/README.md links to \u0060java/dropwizard/README.md\u0060, but \u0060docs/java/java/dropwizard/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/java/README.md"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4229363ff5aeb7c99aadb2ce0f0cc6a798f1314e72cd472b47112019920d362a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/java/README.md links to \u0060java/spring-mvc/README.md\u0060, but \u0060docs/java/java/spring-mvc/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/java/README.md"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e90b6b128bde544fa42a77737740a8dd3d9090086cfa1cf2788e0d014b6571"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/scala/README.md links to \u0060cli.md\u0060, but \u0060docs/scala/cli.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scala/README.md"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f174bbb179126c9f377cf1e26f4c42061a55b8ab3be2be7894974b71483de"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/java/dropwizard/README.md links to \u0060java/README.md#Installation\u0060, but \u0060docs/java/dropwizard/java/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/java/dropwizard/README.md"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f4617b048be2baf96491dc0484520c95e38d95954ba25de2c49edfbd6642de"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/scala/dropwizard/README.md links to \u0060scala/akka-http/README.md\u0060, but \u0060docs/scala/dropwizard/scala/akka-http/README.md\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scala/dropwizard/README.md"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8120893c457bbfeac72170448a476132292983e69accd75b557ccb87bf205d5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 19283 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"ruleId":"P4","level":"warning","message":{"text":"No deployment automation: No release automation was found in CI \u2014 neither a deploy stage (Helm/Kubernetes/compose manifests, an orchestrated rollout) nor a publish job that ships the built artifact. Releases appear to be run by hand, which is slower, less repeatable and harder to reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7a7f38718309412c2d2c2c0663260a3d160de9a5a60f3915755be16386d3f1e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFile(rawTypeStr, rawFormat) \u0026\u0026 !isCustomType\u0060 appears character-identically in 3 files \u2014 modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala, modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala, modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala. 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":"modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a65db23bfb38f59e84fc4b2b1ab2ea5f8047ba6ec4eca668fedd0d4349ce54"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parameters.formParams.exists(_.isFile) || contentTypes.exists(ContentType.isSubtypeOf[MultipartFormData])\u0060 appears character-identically in 2 files \u2014 modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala, modules/scala-support/src/main/scala/dev/guardrail/scala/helpers/ResponseHelpers.scala. 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":"modules/java-support/src/main/scala/dev/guardrail/java/helpers/ResponseHelpers.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbc5d0d586767ac7ae6888964d254ca0309d88e9423474cda8d40c4f44cc391"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pathSuffix.nonEmpty \u0026\u0026 pathSuffix != \u0022/\u0022\u0060 appears character-identically in 2 files \u2014 modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala, modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala. 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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e361ea2f5264923b18ddc4a76c12cb0a360d5153e97b44cca5ead59dc4e4f678"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requirement == PropertyRequirement.Required || requirement == PropertyRequirement.RequiredNullable\u0060 appears character-identically in 4 files \u2014 modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala, modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceProtocolGenerator.scala, modules/scala-support/src/main/scala/dev/guardrail/generators/scala/circe/CirceRefinedProtocolGenerator.scala, modules/scala-support/src/main/scala/dev/guardrail/generators/scala/jackson/JacksonProtocolGenerator.scala. 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":"modules/java-support/src/main/scala/dev/guardrail/generators/java/jackson/JacksonGenerator.scala"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7204e8f5576ec2c97c24c4eeb6d69de1a123042e38daf3ce74e9bc745c4fbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.statusCode \u003E= 400 \u0026\u0026 response.statusCode \u003C= 599\u0060 appears character-identically in 2 files \u2014 modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala, modules/java-spring-mvc/src/main/scala/dev/guardrail/generators/java/springMvc/SpringMvcServerGenerator.scala. 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":"modules/java-dropwizard/src/main/scala/dev/guardrail/generators/java/dropwizard/DropwizardServerGenerator.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ad10644b5dde6c38575a8c2c9167344e0ffa0a486a323eae5b975b00da973e"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 147 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"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":39,"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."]}]}