{"$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":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"MappedQuery.apply (cyclomatic 100): MappedQuery.apply has cyclomatic complexity 100 (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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3829}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46c52d5aa8091c816049049ab4f8fee3fd3223adcc88ed8f4dfe1c080e3d05e"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeMappings.validateRoots (cyclomatic 57): TypeMappings.validateRoots has cyclomatic complexity 57 (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/core/src/main/scala/mapping.scala"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a638d06c68e69915fa01d22e9be7983e3f03afeea5e3a29fe5d1c5ea07d5ed4"}},{"ruleId":"D1","level":"warning","message":{"text":"Phase.transform (cyclomatic 53): Phase.transform has cyclomatic complexity 53 (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/compiler.scala"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6d1873b6e392762aceb5e97d4754d30a66876174930bc56d2275925fa23ffe"}},{"ruleId":"D1","level":"warning","message":{"text":"DoobieMappingLike.Fragments (cyclomatic 51): DoobieMappingLike.Fragments has cyclomatic complexity 51 (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/doobie-core/src/main/scala/DoobieMapping.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15e02c17ccc18d9baffee99040ef0e3a916c0799571eab536a43584026ec2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryCompiler.validateFieldMergeability (cyclomatic 44): QueryCompiler.validateFieldMergeability has cyclomatic complexity 44 (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/core/src/main/scala/compiler.scala"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ff4e9930a9e61e03a827e2b37c0ae1e477aa6d19c042e3796d13d900842de1"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlQuery.whereToFragment (cyclomatic 35): SqlQuery.whereToFragment has cyclomatic complexity 35 (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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a30ba8e46006f5f3991ba4d44f88e4270a8ae3dee3072330651908045d52b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"VariablesSkipAndFragmentElaborator.transform (cyclomatic 34): VariablesSkipAndFragmentElaborator.transform has cyclomatic complexity 34 (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/compiler.scala"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e507195a08a2a158266e1c2ad5f858be4e675ed16a888089ab992fa4bc3c1"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryInterpreter.completeAllOrNull (cyclomatic 34): QueryInterpreter.completeAllOrNull has cyclomatic complexity 34 (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/queryinterpreter.scala"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fed5091bbfb1245fcd4aefebd8ebf0cd81d9f83f301688dd9e43d4e9bcd9d1d"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryInterpreter.runList (cyclomatic 33): QueryInterpreter.runList has cyclomatic complexity 33 (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/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7ae1f18e1a53f0a45f8dad5c7478d791455e34885eabf5940659f0ce275ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"Impl.mkTypeDef (cyclomatic 33): Impl.mkTypeDef has cyclomatic complexity 33 (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/schema.scala"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cd2f567dcbc9c0996540222dc78610babaad42514d94bbb1006255d86bc958"}},{"ruleId":"D1","level":"warning","message":{"text":"Value.checkValue (cyclomatic 32): Value.checkValue has cyclomatic complexity 32 (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/schema.scala"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5941bd11d767ee2bfad2a7e4662f307321e77b37345d1220548d30feca96028e"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlMappingLike.validateFieldMapping (cyclomatic 31): SqlMappingLike.validateFieldMapping has cyclomatic complexity 31 (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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":4985}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61eb8e35e478534fe9d6dde6ac5d2660cbd9c494a293b639deaa40b56cae216"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryInterpreter.runFields (cyclomatic 29): QueryInterpreter.runFields has cyclomatic complexity 29 (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/queryinterpreter.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a813d092c684ca789bab57015a4940b95f75c7be9d6b458be25c59d240ca6e4"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlSelect.addFilterOrderByOffsetLimit (cyclomatic 28): SqlSelect.addFilterOrderByOffsetLimit has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: SqlQuery.contextualiseWhereTerms (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa73a93b7d50fe4ac46d10605d2d292304983e5a6c69419c591854005fe339ed"}},{"ruleId":"D1","level":"warning","message":{"text":"Impl.minimizeDocument (cyclomatic 27): Impl.minimizeDocument has cyclomatic complexity 27 (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/minimizer.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17bbed44bbe003a89c86d7c49e059ff9d18b55c3a157a5167aab086d2dc8410"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryInterpreter.runValue (cyclomatic 26): QueryInterpreter.runValue 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/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cfbd69248a8149f83af7df9cadb9937cdb42e4f0c8b84cd82dd8a937edc36b"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableUsage.validateVariableUsages (cyclomatic 25): VariableUsage.validateVariableUsages has cyclomatic complexity 25 (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/compiler.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e81a65e3dfea5a64326bef3c5a04014ba73064810c2d48092177a1ab56a9118"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlMappingLike.validateTypeMapping (cyclomatic 25): SqlMappingLike.validateTypeMapping has cyclomatic complexity 25 (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. This is NOT this file\u0027s highest cyclomatic complexity: SqlQuery.contextualiseWhereTerms (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":4856}}}],"partialFingerprints":{"codehealthFindingId/v1":"c175b44f7d66700a101439d04b60b6a165c809747ed3373d60dfa5ab4a4ae4ca"}},{"ruleId":"D1","level":"warning","message":{"text":"Schema.extendType (cyclomatic 20): Schema.extendType has cyclomatic complexity 20 (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. This is NOT this file\u0027s highest cyclomatic complexity: Value.checkVarValue (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/schema.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea346bd5304f44e71572a279ac314ef650fd1f64bffc0d91d0f4ca9484eb9cd"}},{"ruleId":"D1","level":"warning","message":{"text":"Impl.mkExtension (cyclomatic 20): Impl.mkExtension has cyclomatic complexity 20 (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. This is NOT this file\u0027s highest cyclomatic complexity: Value.checkVarValue (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/schema.scala"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd4543db9431b2703ce4be12c3d3205677a24e4f05b656018e8ac2213e9575"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectElaborator.transform (cyclomatic 19): SelectElaborator.transform has cyclomatic complexity 19 (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. This is NOT this file\u0027s highest cyclomatic complexity: QuerySizeValidator.querySize (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/compiler.scala"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e32ab337bef5ac47f4e8c4d68f5efa62e3152ea8ed9fe2356fd02770976c4b"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryInterpreter.runOneShot (cyclomatic 19): QueryInterpreter.runOneShot has cyclomatic complexity 19 (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/queryinterpreter.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"361b670dfcbb7ad2dff57de689f7bc330dfb5124c57c8b3e7d1dfdef4721f55d"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaValidator.validateImplementations (cyclomatic 18): SchemaValidator.validateImplementations has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Value.checkVarValue (cyclomatic 22) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/schema.scala"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e6fd599e25f13fcf6c7720a8610892a32ffa9424c21060967ae43a60afeca6"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedQuery.apply (cognitive 240): MappedQuery.apply has cognitive complexity 240 (threshold 15). Drivers by points: loops 26 (105 pts), if/else 52 (78 pts), match/switch 23 (51 pts), boolean chains 6 (nesting depth added 133). 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3829}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc11571cfd266cbf8214dc45fbaf8b1f4f35f72a8c4093b491595c432679768f"}},{"ruleId":"D2","level":"warning","message":{"text":"VariablesSkipAndFragmentElaborator.transform (cognitive 172): VariablesSkipAndFragmentElaborator.transform has cognitive complexity 172 (threshold 15). Drivers by points: loops 25 (144 pts), if/else 5 (22 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 139). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5d9791c7f691bd1033f26cf3395eedcb2ec0ad914bdcc89c0a1949b01646c"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectElaborator.transform (cognitive 152): SelectElaborator.transform has cognitive complexity 152 (threshold 15). Drivers by points: loops 13 (104 pts), if/else 8 (42 pts), match/switch 2 (6 pts) (nesting depth added 129). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2b898d4be2fbc63f96b5a0c4bb18382bfca877601460343f1f5f2ffd2ab955"}},{"ruleId":"D2","level":"warning","message":{"text":"Phase.transform (cognitive 130): Phase.transform has cognitive complexity 130 (threshold 15). Drivers by points: loops 32 (124 pts), if/else 2 (5 pts), match/switch 1 (nesting depth added 95). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a848fb46ae4d937c14de084f5550f69312243e437826bb3d1191532f0aad6c"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeMappings.validateRoots (cognitive 113): TypeMappings.validateRoots has cognitive complexity 113 (threshold 15). Drivers by points: loops 16 (56 pts), if/else 20 (30 pts), match/switch 13 (23 pts), boolean chains 4 (nesting depth added 60). 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/mapping.scala"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1800419628e883465f7266a19b4a07605d8eba517f39f139e26e499ac7914782"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryCompiler.validateFieldMergeability (cognitive 94): QueryCompiler.validateFieldMergeability has cognitive complexity 94 (threshold 15). Drivers by points: if/else 32 (61 pts), loops 6 (17 pts), match/switch 7 (14 pts), boolean chains 2 (nesting depth added 47). 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/compiler.scala"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6626640c548d72ea84c2034a619ba1232b389a579cc76df2f735654967483e"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.mkTypeDef (cognitive 76): Impl.mkTypeDef has cognitive complexity 76 (threshold 15). Drivers by points: loops 11 (38 pts), if/else 14 (25 pts), match/switch 4 (13 pts) (nesting depth added 47). 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/core/src/main/scala/schema.scala"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba79a62e50bd1faee8b5adb7e43ee124162867a376026b431407d9549296671"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlMappingLike.validateFieldMapping (cognitive 71): SqlMappingLike.validateFieldMapping has cognitive complexity 71 (threshold 15). Drivers by points: if/else 18 (35 pts), match/switch 8 (22 pts), loops 4 (12 pts), boolean chains 2 (nesting depth added 39). 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":4985}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fff15a30ba5ccada093158189987cc39471bc049b035d18e4b26b33b0ac4bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSelect.toFragment0 (cognitive 63): SqlSelect.toFragment0 has cognitive complexity 63 (threshold 15). Drivers by points: loops 9 (45 pts), if/else 6 (18 pts) (nesting depth added 48). 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3426}}}],"partialFingerprints":{"codehealthFindingId/v1":"52557d5dff57888ef280642c459542333a64789f11f4af1944d986d797e958d9"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryInterpreter.runFields (cognitive 59): QueryInterpreter.runFields has cognitive complexity 59 (threshold 15). Drivers by points: loops 10 (37 pts), if/else 10 (17 pts), match/switch 2 (5 pts) (nesting depth added 37). 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/queryinterpreter.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ed7ff4c20a52c18bd33fca91e7f60470410a8c8f727a68f4ad77b5731ea0c"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryInterpreter.runValue (cognitive 54): QueryInterpreter.runValue has cognitive complexity 54 (threshold 15). Drivers by points: loops 9 (36 pts), match/switch 4 (13 pts), if/else 5 (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/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"736ea9796be8f34d3e17f0dbd320764b3bc91f2c436b7c9092fbb3c01c524b43"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryInterpreter.runList (cognitive 45): QueryInterpreter.runList has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (22 pts), match/switch 7 (14 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fb3c7391c12c02a4659d187f23569dbabefd44c6d567ed4f56aa595e011882"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableUsage.validateVariableUsages (cognitive 41): VariableUsage.validateVariableUsages has cognitive complexity 41 (threshold 15). Drivers by points: match/switch 9 (25 pts), if/else 11 (16 pts) (nesting depth added 21). 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/compiler.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e2827ed1898b738ab90ed2413f755f5a43549bd9ed59da7a71eac93e0a450a"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryCompiler.validateVariablesAndFragments (cognitive 41): QueryCompiler.validateVariablesAndFragments has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (31 pts), match/switch 3 (10 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/compiler.scala"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"2698208f8c5266f3507380f16aad10fb7f80fe250860a16f9ddb3c896fdce279"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryInterpreter.runOneShot (cognitive 39): QueryInterpreter.runOneShot has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 6 (20 pts), loops 4 (10 pts), if/else 7 (9 pts) (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/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac79ea7c57cd16451436f9b8956d45320feb27e10912fd1af107f3f5e63aec0"}},{"ruleId":"D2","level":"warning","message":{"text":"ComponentElaborator.transform (cognitive 37): ComponentElaborator.transform has cognitive complexity 37 (threshold 15). Drivers by points: loops 6 (27 pts), match/switch 2 (9 pts), if/else 1 (nesting depth added 28). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fd6ba815985bcc02d0c0e2179128ed13ddb875b68997f8357f59062d053f8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.mkExtension (cognitive 34): Impl.mkExtension has cognitive complexity 34 (threshold 15). Drivers by points: loops 10 (24 pts), match/switch 4 (10 pts) (nesting depth added 20). 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/core/src/main/scala/schema.scala"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"245c4e3c35de5ad74e8398c2a7acd61454bc80518fa03d62dc4cb3d253e73873"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeMappings.mkMappings (cognitive 33): TypeMappings.mkMappings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 9 (15 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/mapping.scala"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad5698ffe08cb81e2c8cda3c59055973038c6a2fc1ba73b6d3ec5864c6fa63f"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryInterpreter.completeAllOrNull (cognitive 33): QueryInterpreter.completeAllOrNull has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 10 (15 pts), loops 5 (12 pts), if/else 6 (nesting depth added 12). 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/queryinterpreter.scala"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e5b463cb7d9e84371c6dcf637f99a56dbc064728627097a78b33ae4158838b"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSelect.addFilterOrderByOffsetLimit (cognitive 33): SqlSelect.addFilterOrderByOffsetLimit has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 15, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2767}}}],"partialFingerprints":{"codehealthFindingId/v1":"181826607e6791e8b533f853d43fa7d4603c852b1c3e90a540b3053ad6bf1a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"Schema.extendType (cognitive 31): Schema.extendType has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 7 (13 pts) (nesting depth added 12). 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/core/src/main/scala/schema.scala"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2901f33fd797bb686ea6540e0876a231f078c3a626a8735492fd2970256961f"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlMappingLike.validateTypeMapping (cognitive 30): SqlMappingLike.validateTypeMapping has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (19 pts), match/switch 9, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":4856}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d65dee1ab7ee7e59325209644288a43da7bd9573d1cd04690eb4d9b728307b"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.parseSelection (cognitive 29): Impl.parseSelection has cognitive complexity 29 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 4 (12 pts), match/switch 1 (nesting depth added 18). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2898cd55ec73681fac8618528133a689c4ef691f0ed9330a72d8240b87c898d7"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlSelect.nest (cognitive 29): SqlSelect.nest has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (14 pts), match/switch 4 (7 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9ebc00c174b7ac2a9644e430f671d02e9d933c4401610a41accc235fcda2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"IntrospectionElaborator.transformFragments (cognitive 28): IntrospectionElaborator.transformFragments has cognitive complexity 28 (threshold 15). Drivers by points: loops 6 (27 pts), match/switch 1 (nesting depth added 21). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db5387f898d146d45835add64d106aa89c5d60f8d21e33a91edfe866675ba5c"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryCompiler.compileOperation (cognitive 27): QueryCompiler.compileOperation has cognitive complexity 27 (threshold 15). Drivers by points: loops 7 (27 pts) (nesting depth added 20). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/compiler.scala"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecae67d50eac82093d1f29a6232c7b9ca16fef79257f0411fab67ddf023b714"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaValidator.validateImplementations (cognitive 26): SchemaValidator.validateImplementations has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 5 (6 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/schema.scala"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"021751795bb6d316acdf921a27ab90a5affee473d50ae3fdb4a077808ece8582"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.parseDocument (cognitive 25): Impl.parseDocument has cognitive complexity 25 (threshold 15). Drivers by points: loops 6 (21 pts), match/switch 4 (nesting depth added 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/schema.scala"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"08302c303b499ad30230dd70a637e845f56e4919b38b7ecc1550223bc4eed497"}},{"ruleId":"D2","level":"warning","message":{"text":"CirceMappingLike.coerceBuiltin (cognitive 22): CirceMappingLike.coerceBuiltin has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/circe/src/main/scala/circemapping.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f1f1be1fdcbfce4038e7f0f88507e1fd88629f057f41d01759ca80a8a1b108"}},{"ruleId":"D2","level":"warning","message":{"text":"EffectElaborator.transform (cognitive 22): EffectElaborator.transform has cognitive complexity 22 (threshold 15). Drivers by points: loops 4 (14 pts), match/switch 2 (7 pts), if/else 1 (nesting depth added 15). 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/core/src/main/scala/compiler.scala"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ecc275d92f760b245551a32528a5cb52f1a299fa38ed2af36dc249fb4a6c96"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryCompiler.compile (cognitive 21): QueryCompiler.compile has cognitive complexity 21 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 2 (9 pts), boolean chains 1, if/else 1 (nesting depth added 13). 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/compiler.scala"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"824c8936c050b0567c118262c2aef81b82bb4028fafb4fe0e93901a6a0fc2416"}},{"ruleId":"D2","level":"warning","message":{"text":"Phase.transformSelect (cognitive 21): Phase.transformSelect has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (21 pts) (nesting depth added 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/compiler.scala"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce38d57e9c1d8c3b304dba080ae1606712a945b9878c66cb211adb999d2532a"}},{"ruleId":"D2","level":"warning","message":{"text":"Bench.runQuery (cognitive 21): Bench.runQuery has cognitive complexity 21 (threshold 15). Drivers by points: loops 5 (15 pts), if/else 4 (6 pts) (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":"profile/src/main/scala/Bench.scala"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8317886363062045bd3a93d198bdfba95983ffaf7830c13f831cfed4136ad21c"}},{"ruleId":"D2","level":"warning","message":{"text":"Bench.run (cognitive 21): Bench.run has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (21 pts) (nesting depth added 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":"profile/src/main/scala/Bench.scala"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"87092398cd288390f69dee11cc0081f5b1cde825339b3f5cc26543f23917de86"}},{"ruleId":"D2","level":"warning","message":{"text":"NonEmptyMappedQuery.selectAtomicField (cognitive 20): NonEmptyMappedQuery.selectAtomicField has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 3 (10 pts), if/else 4 (5 pts), loops 2 (5 pts) (nesting depth added 11). 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"8737f96e779345068e1196b1b490b8d103a160043e51ff21f574608470380d51"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaValidator.validateInterfaces (cognitive 19): SchemaValidator.validateInterfaces has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 3 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/schema.scala"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"615ea9ab981ea6f471d4ac38731b434d228aa384e641d287d357c1c4f6e6793d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaValidator.validateTypeExtensions (cognitive 19): SchemaValidator.validateTypeExtensions has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 7 (13 pts), if/else 6 (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/core/src/main/scala/schema.scala"},"region":{"startLine":2307}}}],"partialFingerprints":{"codehealthFindingId/v1":"023b273127e9e69951db139381e477f45fa7bdc86b1113a05b679d8fc7fc1595"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.minimizeDocument (cognitive 18): Impl.minimizeDocument has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 12 (13 pts), if/else 5 (nesting depth added 1). 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/minimizer.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d7f77c78958aae4eb45bd16baf5d18de7ac854d9f4e91ebe8ccf87be88d81d"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlMappingLike.defaultRootCursor (cognitive 18): SqlMappingLike.defaultRootCursor has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), if/else 6, match/switch 1 (2 pts) (nesting depth added 7). 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2ab068e31f1d182473c4a9fa9a6b9757e293bc8d8c06cadd318029223a924a"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlUnion.addFilterOrderByOffsetLimit (cognitive 18): SqlUnion.addFilterOrderByOffsetLimit has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 2, match/switch 2 (nesting depth added 10). 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3578}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1d895481559b00452cc48ead5bddfb7858ccff1c66dbe5569723917b31c55e"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectElaborator.elaborateIntrospection (cognitive 17): SelectElaborator.elaborateIntrospection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), match/switch 1 (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/core/src/main/scala/compiler.scala"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"2444d038e5da2aba8b8a5d0f42d8c9aa7e473e7657d6afd1ebe543c9cdbab76a"}},{"ruleId":"D2","level":"warning","message":{"text":"VariablesSkipAndFragmentElaborator.extractCond (cognitive 16): VariablesSkipAndFragmentElaborator.extractCond has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (9 pts), match/switch 2 (5 pts), if/else 2 (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/core/src/main/scala/compiler.scala"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f965e26d64cc87290705ec6ae22782fed134b5a35284a668cd0bd71c2ef510de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scala/SqlMapping.scala: FileTooLong \u2014 3721 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3221 over it, 7.44\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"410c725460b2a18926eab2753e8af5adb6fe02fa0274498d211a7c1e06940ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scala/schema.scala: FileTooLong \u2014 1641 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1141 over it, 3.28\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/core/src/main/scala/schema.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8599c3d4b5c499636d0455fb09e76ac328c3bf324f5777820e6c5b775f9416"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scala/compiler.scala: FileTooLong \u2014 1145 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 645 over it, 2.29\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/core/src/main/scala/compiler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296b3bafac5aa2fe07d333b94a74b6104c368e4060c359c119569c80da40cd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scala/mapping.scala: FileTooLong \u2014 1103 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 603 over it, 2.21\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/core/src/main/scala/mapping.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93c6b20c919e8b3ffbb8b870b48e2b03136a662f5d4ab312b882574685ff66b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scala/queryinterpreter.scala: FileTooLong \u2014 668 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 168 over it, 1.34\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/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bf4241ecf2b8b3917e90e25156a17518f3abb3f5a22410e08eda8706146267"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Elab: 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/core/src/main/scala/compiler.scala"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f82c03a62506ccf9662721c822141bb12a376c83f57bc1b3d4c04f2bd5a0cb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Type: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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/schema.scala"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4c9d430869344678ffeb05314c9832c5ab89469642371ab36987ce5eb6b46f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 3 shared lines): modules/sql-core/src/main/scala/SqlMapping.scala:1972-2014 | modules/sql-core/src/main/scala/SqlMapping.scala:2022-2063 | modules/sql-core/src/main/scala/SqlMapping.scala:2068-2099 \u2014 These 3 members are variants of one another: a block of 3 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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":1972}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e8a29b801f363898dedd63165c87f3f1ff12a9a355f64948fdb67353e92efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:2848-2871 | modules/sql-core/src/main/scala/SqlMapping.scala:2911-2933 \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/sql-core/src/main/scala/SqlMapping.scala:2848\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2848}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab657b1ce9dae3678ae2e11a84bc8b0b3cc41094dcd95783869b0c0e8357937f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:3023-3043 | modules/sql-core/src/main/scala/SqlMapping.scala:3199-3220 \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/sql-core/src/main/scala/SqlMapping.scala:3023\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3023}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebdb20a308dd8573a66345b8ad348a0ebc463feae2b125bbdf4a669eab27ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:2879-2899 | modules/sql-core/src/main/scala/SqlMapping.scala:2941-2961 \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/sql-core/src/main/scala/SqlMapping.scala:2879\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2879}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dac88f5629eb059cfbabce627068977166f8936abf6cda3f26612bd64a92f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:2934-2949 | modules/sql-core/src/main/scala/SqlMapping.scala:3081-3099 \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/sql-core/src/main/scala/SqlMapping.scala:2934\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85850a922f328ec90fd007a1a66659f400e18b8d1c3876bc3f3a8864ec15ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:3002-3020 | modules/sql-core/src/main/scala/SqlMapping.scala:3173-3191 \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/sql-core/src/main/scala/SqlMapping.scala:3002\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37cda159519f01c551012ce4d088c69e95a5f380a2682a40423b39d42c3b6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 3): modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala:171-183 | modules/doobie-mssql/src/main/scala/DoobieMSSqlMapping.scala:112-129 | modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala:159-171 \u2014 before extracting anything, compare \u0060modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala\u0060 and \u0060modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab8913800e3b3a8c8bce412f7aa069dfc1c9f0f5121757a326fee01ed96b3a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:3088-3103 | modules/sql-core/src/main/scala/SqlMapping.scala:3180-3197 \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/sql-core/src/main/scala/SqlMapping.scala:3088\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/sql-core/src/main/scala/SqlMapping.scala:3199\u0060 calls \u0060derive\u0060 and \u0060modules/sql-core/src/main/scala/SqlMapping.scala:3105\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3088}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2baedf737703854b17d3e17e587fb15865af28f4c7c1af68594b8eb7d8f299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:2955-2970 | modules/sql-core/src/main/scala/SqlMapping.scala:3108-3124 \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/sql-core/src/main/scala/SqlMapping.scala:2955\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d5ec585d622939e10a97e80345a628368ec1cf30344ce15dc4111a6eb83f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala:100-114 | modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala:99-112 \u2014 before extracting anything, compare \u0060modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala\u0060 and \u0060modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala:100\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/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8694351a244a7ecd9991f6c7463725bd69bfdc14952b074645929ee68956fdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:2988-3000 | modules/sql-core/src/main/scala/SqlMapping.scala:3158-3171 \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/sql-core/src/main/scala/SqlMapping.scala:2988\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2988}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef5ed0f38c92202ee418f1c1b75a62cb44ce8844597d3882cde955b8ec1ae2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): modules/sql-core/src/main/scala/SqlMapping.scala:2859-2870 | modules/sql-core/src/main/scala/SqlMapping.scala:2921-2932 | modules/sql-core/src/main/scala/SqlMapping.scala:3067-3079 \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/sql-core/src/main/scala/SqlMapping.scala:2859\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fe24c53c5f1690e6e4570c87bd34d2b1c90c61ae1c82fed9c2476eaa2da7e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): modules/sql-core/src/main/scala/SqlMapping.scala:2890-2901 | modules/sql-core/src/main/scala/SqlMapping.scala:2952-2963 | modules/sql-core/src/main/scala/SqlMapping.scala:3105-3116 \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/sql-core/src/main/scala/SqlMapping.scala:2890\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2890}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c69ae3a50be9501f1adc195c82cfb21ed2213a2c0063ff5311ac70b403e08d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): modules/doobie-h2/src/main/scala/DoobieH2Mapping.scala:108-118 | modules/doobie-sqlite/src/main/scala/DoobieSqliteMapping.scala:158-168 \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. 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/doobie-h2/src/main/scala/DoobieH2Mapping.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c8fdd610edb42c784ac0bb1c90aeb25f239fcad889cc90f15c3323c903e3ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): modules/doobie-oracle/src/main/scala/DoobieOracleMapping.scala:98-108 | modules/sql-pg/shared/src/main/scala/SqlPgMapping.scala:75-85 \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. 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/doobie-oracle/src/main/scala/DoobieOracleMapping.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"53abba8b2238484488b3ed7357777d5b0a47223c9d75dc91218362fa74699300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:1975-1983 | modules/sql-core/src/main/scala/SqlMapping.scala:2025-2032 \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/sql-core/src/main/scala/SqlMapping.scala:1975\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6069f760c0056eeecc129cd142ffdd5ea8f76acbd619863b36764e4376588d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 3): modules/sql-core/src/main/scala/SqlMapping.scala:2006-2014 | modules/sql-core/src/main/scala/SqlMapping.scala:2055-2063 | modules/sql-core/src/main/scala/SqlMapping.scala:2091-2093 \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/sql-core/src/main/scala/SqlMapping.scala:2006\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 before the matched lines, \u0060modules/sql-core/src/main/scala/SqlMapping.scala:2005\u0060 calls \u0060ToUpperCase\u0060, \u0060loop\u0060, \u0060ToLowerCase\u0060 and \u0060modules/sql-core/src/main/scala/SqlMapping.scala:2091\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed003a26417fa13478d42ae38bb86666a54fdebe522e586714b1028444c9d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:2976-2982 | modules/sql-core/src/main/scala/SqlMapping.scala:3279-3286 \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/sql-core/src/main/scala/SqlMapping.scala:2976\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/sql-core/src/main/scala/SqlMapping.scala:3273\u0060 calls \u0060derive\u0060, \u0060IsNull\u0060 and \u0060modules/sql-core/src/main/scala/SqlMapping.scala:2974\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"b955884aee2ac2651ab92d43c0d9a0ab1f0ff5b50fbfe1fb0f07205abed7ac13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:3130-3136 | modules/sql-core/src/main/scala/SqlMapping.scala:3308-3315 \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/sql-core/src/main/scala/SqlMapping.scala:3130\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f7a184d0741beed9fa9960ef9fe7dbfd753fef8963dd3934a101d5fd9811d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:4641-4648 | modules/sql-core/src/main/scala/SqlMapping.scala:4659-4666 \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/sql-core/src/main/scala/SqlMapping.scala:4641\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":4641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0165ed8e5fcb1244a9f0a1b12d092fe36b94f93a1114f5dd7a69a317248b9a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): modules/core/src/main/scala/schema.scala:1891-1896 | modules/core/src/main/scala/schema.scala:1899-1905 \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/schema.scala:1891\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/core/src/main/scala/schema.scala"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"befe4d7f6381f864815c190c0a171440ce9ba0eaabb3fdc003104901a7d41071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala:90-96 | modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala:89-95 \u2014 before extracting anything, compare \u0060modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala\u0060 and \u0060modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 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/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b3bfa2c806ae3200edd1ca478c6dfeb0c828537aed74c4718c1f9690a34658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/sql-core/src/main/scala/SqlMapping.scala:3048-3053 | modules/sql-core/src/main/scala/SqlMapping.scala:3133-3139 \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/sql-core/src/main/scala/SqlMapping.scala:3048\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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":3048}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e6d334c834bf405f07cae7b5b7542618417f1f7b5301a8b2e39ec7746c13c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): modules/circe/src/main/scala/circemapping.scala:231-237 | modules/core/src/main/scala/valuemapping.scala:206-212 \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/circe/src/main/scala/circemapping.scala"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1022d21a50e5d12bf2e964137c73fd1b41fd7521c91ce75e8eb7ad4636ac5ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): modules/core/src/main/scala/mapping.scala:1464-1471 | modules/core/src/main/scala/valuemapping.scala:155-162 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/mapping.scala"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b81a3c7ed9879e5bfc7dccfea4a56fb7bcd2776bd039d78f87a9a22c6ea2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): modules/generic/src/main/scala-2/genericmapping2.scala:95-107 | modules/generic/src/main/scala-3/genericmapping3.scala:88-100 \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/generic/src/main/scala-2/genericmapping2.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c27855d91831bcf67181794c635fe80adbb9f0c70c02331e0599414ad609d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): modules/generic/src/main/scala-2/genericmapping2.scala:169-174 | modules/generic/src/main/scala-3/genericmapping3.scala:151-156 \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/generic/src/main/scala-2/genericmapping2.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa7f88ca751c838bbfa260db169bc593c254e6cfe1d8ba8df16f61372046e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): modules/core/src/main/scala/compiler.scala:892-902 | modules/core/src/main/scala/schema.scala:1557-1567 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/core/src/main/scala/compiler.scala:892\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/core/src/main/scala/compiler.scala"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37154b97d544e1eeb557d53db01a38ceafa0b48f54f2fc52327225c15dd606e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): modules/doobie-mssql/src/main/scala/DoobieMSSqlMapping.scala:52-57 | modules/doobie-oracle/src/main/scala/DoobieOracleMapping.scala:52-57 | modules/doobie-sqlite/src/main/scala/DoobieSqliteMapping.scala:91-96 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 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 3 times. 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/doobie-mssql/src/main/scala/DoobieMSSqlMapping.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1718937fe58880b50d760f3a136ccd00998cb41de9a6069dfdf84a971d388c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): modules/generic/src/main/scala-2/genericmapping2.scala:79-83 | modules/generic/src/main/scala-3/genericmapping3.scala:72-76 \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. 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/generic/src/main/scala-2/genericmapping2.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f787fa7d8c1de74035b768cb672204b58aeab5dbf192de2f8a2f5652bccd70"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: doobieh2: doobieh2: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ff5bacb2a7f1ae4c4e9533e55de48f75b6e13c5a1d522747206535cd25ed12e4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: doobiemariadb: doobiemariadb: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"359b47dd67b9f3bd29d861feabe8ee50821e13df7f4b4c2945cc4059bc2f13e0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: doobiemssql: doobiemssql: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3858a4cb5ab03fb15be2d1009d3b9b50fc67bf7c5aa064360b835709bba2abe5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: doobiemysql: doobiemysql: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b463903ddc749f48c41e7f529e08cf13539264790a706a86251c4a3e6bddf037"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: doobieoracle: doobieoracle: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2234f42c5a41f21800855adbf0923c1be1eff378e4168800549cbbad91496ca"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: doobiesqlite: doobiesqlite: abstractness 1.00, instability 1.00, distance 1.00 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eee6b9f0319f472b8adf2118c898b370d98b35e2ee8f8c9f5e52a92d5242ee65"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: core: core: abstractness 0.15, instability 0.00, distance 0.85 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"deda6fd6cb2c3d74f7dc0fecd76cc36d1d58966a5bcb861efc01f7e84f6f398d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: com.mysql:mysql-connector-j: \u0060com.mysql:mysql-connector-j\u0060 26.10.0 is published on Maven Central under \u0060GPL-2.0\u0060, which this policy bans, and this repository declares it in its sbt build. The licence was read from the artifact\u0027s POM \u0060\u003Clicenses\u003E\u0060 block \u2014 following \u0060\u003Cparent\u003E\u0060 where the POM inherits them \u2014 and normalised to SPDX before it was judged, because Maven publishes the name as free text (\u0060GNU Affero General Public License v3\u0060 is AGPL-3.0). Where a POM lists several licences they are read as a CHOICE, per Maven\u0027s own documentation, so this is charged only because EVERY listed licence is banned. Replace the dependency, or record an accepted exception."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ff622fa1e56b51ad7e29dfaee0cd2c23ceb3dbd2d7d656467a58bd35e61d3a8e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/core/src/main/scala/schema.scala: modules/core/src/main/scala/schema.scala changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in Value.checkValue at line 1176. 3 of those changes were fix/bug commits, and the other 6 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-07-22..2026-10-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-22 18:58:05 \u002B01:00\u0027 --until=\u00272026-10-20 18:58:05 \u002B01:00\u0027 --full-history --no-merges -- modules/core/src/main/scala/schema.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/core/src/main/scala/schema.scala"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcd89908407cf9429caf34cb8a0dcff836116c142e67252f2368d4c24f876de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/sql-core/src/main/scala/SqlMapping.scala: modules/sql-core/src/main/scala/SqlMapping.scala changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in SqlSelect.nest at line 2572. 1 of those changes was a fix/bug commit, and the other 14 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-07-22..2026-10-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-22 18:58:05 \u002B01:00\u0027 --until=\u00272026-10-20 18:58:05 \u002B01:00\u0027 --full-history --no-merges -- modules/sql-core/src/main/scala/SqlMapping.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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42362c28cff298cfb1f2764d3b7c7333f09d323219010fc8c79a25471f84fb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/core/src/main/scala/compiler.scala: modules/core/src/main/scala/compiler.scala changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in VariableUsage.validateVariableUsages at line 248. 1 of those changes was a fix/bug commit, and the other 6 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-07-22..2026-10-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-22 18:58:05 \u002B01:00\u0027 --until=\u00272026-10-20 18:58:05 \u002B01:00\u0027 --full-history --no-merges -- modules/core/src/main/scala/compiler.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/core/src/main/scala/compiler.scala"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef160cedba6c17ed23a4ff6083563396ea9000c18a50ec6c4691e2244c2a126"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/core/src/main/scala/queryinterpreter.scala: modules/core/src/main/scala/queryinterpreter.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in QueryInterpreter.completeAllOrNull at line 934. 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-07-22..2026-10-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-22 18:58:05 \u002B01:00\u0027 --until=\u00272026-10-20 18:58:05 \u002B01:00\u0027 --full-history --no-merges -- modules/core/src/main/scala/queryinterpreter.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/core/src/main/scala/queryinterpreter.scala"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"3622135610a2de2dada29ada0c4f5ca982a2c7386d9ca72bef32dbf96642a332"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: modules/core/src/main/scala/minimizer.scala: modules/core/src/main/scala/minimizer.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in Impl.minimizeDocument at line 35. 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-07-22..2026-10-20, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-22 18:58:05 \u002B01:00\u0027 --until=\u00272026-10-20 18:58:05 \u002B01:00\u0027 --full-history --no-merges -- modules/core/src/main/scala/minimizer.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/core/src/main/scala/minimizer.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6ff6c616115e2aa6fb30da506d21c74b12bb538e44862c892076db0bb6110"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala, project/Dialect.scala, modules/doobie-mssql/src/main/scala/DoobieMSSqlMapping.scala, project/GenTestData.scala, project/NewDataset.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"38b83ee5f313b89061284706f6d7a4badadace874e478e745e94b664cdd1de83"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (6 single-owned of 39 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 39 of the 61 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: modules/core/src/main/scala/problem.scala."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Rework in terms of cursor \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/queryinterpreter.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78bde7410da7739d1fa0534eeb7fd39dbd939630e7d0010708552ed3d82652c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Rework in terms of cursor \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/queryinterpreter.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"588b4f7d45e1049a85995e2798854979f2097ff17826b091f734be4b7253eff2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this traverses over lines a hideous number of times(but matching the \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/parser.scala"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"504a56fb0ae60d264ea4479ee99da57d77316f3a4ee3fbd4eba3a0e5858dc294"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enum \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/test/scala/arb/AstArb.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b90266fef7024cf4420c224fa90a1040b85bac94857f8277e3ee21f442af3f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: list \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/test/scala/arb/AstArb.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea014484206869e794237652b1c19c93573993882ae7fe965b1c562d57ee171"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: object \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/test/scala/arb/AstArb.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96421a462bec17a5cff5210e8218c22980e7c64445072ceed06d18abd336b72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: field, inlinefragment \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/test/scala/arb/AstArb.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"515dc99770ddb46c8a0fb071241883a69705bf355b5e8bd373c66f6df706c628"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Probably shouldn\u0027t be TIMESTAMP on the LHS \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/doobie-mssql/src/main/scala/DoobieMSSqlMapping.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5e6fc0b9f3cfe81a97598dfef97ed738553fc56063dee81288b60a0538f678"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check that passing orders works with Oracle \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/doobie-oracle/src/main/scala/DoobieOracleMapping.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f759738c0109042a5a8a5aa48d66648cafff9ffebac574a7287f032fe760dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Try Meta[java.sql.Time] \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/doobie-oracle/src/test/scala/DoobieOracleDatabaseSuite.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b300f9703cd834cd34ef64290dc7c6d63556a73de88fafbf4474a8d9530ab072"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be handled in combineAll \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/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a25a0dc345cfa476cc7401f2dfb5fa6e5cb50b551172f5cfe09ecd3f0392450"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"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 (19109 LoC, 565 module-visible types across 27 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":"28847bfb68128ad6c95eb6a19a3df3a0787d1bdadcf090baba24802b8a233364"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"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":"729e5bc298ad01143d3c74eded9450e85148cb8c1a021945ef116207704fc7f2"},"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":"04cc6ef8b2713c5ae671a21c5adfc62ed3d32eec231bd27236ea49e066082d50"},"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":"bc17439367157c6f6ff8590f4dfe29bc3a0ce4e328d99df310f8a49a2877af10"},"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":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"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":"36277bee0c8295bb8eb3bc0beb5fb978eebe1486d553ab0cd28084b35ebb8343"},"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":"baa151beff35ac46ee2536907cc918a207da07c42b004fec4c9aab8d58a6df6d"},"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":"6e8a627e7020ac8119c8ec6c60ce9a9f6a161d947c9dd66552a2bad9e055ffb9"},"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":"f57d1d312afdbea5e586f5c4277469ac5784f32d5ade2a108c78d246b6a0be52"},"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":"e8e8b172cf327825d1cf42b544ee79199814e271b1cab65813357983ba6a8730"},"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":"d4af17c2699f15d319f250a9e3015d66b6ddba774fbe1c98f445c426bc7efa3b"},"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":"75a453b3669e7eccf96e1c1132e7a5954f24f5d079b0c29c4868e4537437f325"},"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":"8d82c4333539a19ca5c108f55ff4d7b1319eb666b261c25f68380d2601e8601d"},"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":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"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":"e7c14eeb322dbc9864bb67d269c811acd8c6c7d07f97073f14914344d5aca508"},"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":"77e2e71a4329e551cbe8be7023c7191820e375353d80fbebb52a3572f6943665"},"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":"40652d854c8cb92e4c0834fbf63cd0f58d62adac2a1d84ac4bb3b2ab9a3ee258"},"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":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"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":"5303d5adf5ee3f86820f6138837f7e7d87cb15862d82ba9aadc4501bbe1e9984"},"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":"417c80d37e40c8c101c97e32ba9af1a95439f85918a11b7f2f630d08f638a53d"},"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":"f31733cc815de25a7bae74d164778ec098ea9aa6fcbd8c5cb1ce929451728f28"},"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":"a5ff6c36cc77c52281fa395ac6b9e1e18754b22fb93caffb8d30a7715d1e22e8"},"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":"dc1d8480ef329a05bf41f07a481e740afe7220a4210bc91e7dd7e36e6a861a73"},"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":"a618793b2757574d28796da0abb139eb5b5fe27e487d02dc63636e793f0a8158"},"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":"efce61f66e39d36a211f88bd6c5bec1339fd388aeb0b3ade4d8fa0ad1687eeef"},"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":"96f88121b035a898a6759141862415469563ae4858d3bd2449d90d5e5ba04a57"},"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":"ddc49ef52c93f5d89390c80bf8f0444bb97743496eeea781d1b7fcf904a3ea48"},"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":"565cb0a25235d1502010c8d34a025c6ae5aeb826c7d5e305b97bb45399050c67"},"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":"fdd80ff4efa055538dc59aafc5e380459b7d05030fbc7ee936f19fa678b3e896"},"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":"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":"9600bb898b62e2cc8b2443705b293b0310e938f92768f84366cbbdb110d4b56c"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ef686dc5bf9c934096e4c41b8e85fcc1f6f6482eb75431496359c2673f91da22"},"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":"D31","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":"65892b9b026b4d9f3a0016e65018d7a6196e007d910f857093c4520e7f67fae0"},"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":"D31","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":"58167d2db185c8c621285e407bba7e0445559ab4c0b700b0f36111c0f36c78a5"},"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":"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":"fe274ba5adebde25ca0b3db842e44cbb1aaeb7cfecfbb7215cd452596ba1f4c2"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Cursor (16 abstract members): \u0060Cursor\u0060 declares 16 abstract members: \u0060parent\u0060, \u0060focus\u0060, \u0060context\u0060, \u0060withEnv\u0060, \u0060isLeaf\u0060, \u0060asLeaf\u0060, \u0060preunique\u0060, \u0060isList\u0060, \u0060asList\u0060, \u0060listSize\u0060, \u0060isNullable\u0060, \u0060asNullable\u0060, \u0060isDefined\u0060, \u0060narrowsTo\u0060, \u0060narrow\u0060, \u0060field\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/core/src/main/scala/cursor.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec41bfc0cb97bc0d69e810800442d707ad09061c3e29d641afe718a4cdc6e8bf"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SqlMappingLike[F] (16 abstract members): \u0060SqlMappingLike[F]\u0060 declares 16 abstract members: \u0060collateToFragment\u0060, \u0060aliasDefToFragment\u0060, \u0060offsetToFragment\u0060, \u0060limitToFragment\u0060, \u0060likeToFragment\u0060, \u0060ascribedNullToFragment\u0060, \u0060collateSelected\u0060, \u0060distinctOnToFragment\u0060, \u0060distinctOrderColumn\u0060, \u0060encapsulateUnionBranch\u0060, \u0060unionBranchToFragment\u0060, \u0060mkLateral\u0060, \u0060normalizeOffsetLimit\u0060, \u0060defaultOffsetForLimit\u0060, \u0060orderToFragment\u0060, \u0060nullsHigh\u0060. Counted over its ABSTRACT members \u2014 a \u0060def\u0060 with no body or a \u0060val\u0060/\u0060var\u0060 with no initializer, once per signature; concrete members, private and protected members, and members of a companion \u0060object\u0060 are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/sql-core/src/main/scala/SqlMapping.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb8deddefba4f6ce73973c9b0d73a07b6d8ac7e66cf9b7edb137d128b0241ff"}},{"ruleId":"M1","level":"warning","message":{"text":"README may be stale: 57 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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarks/src/main/scala/ParserBenchmark.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3504d65ab368a16950d5d55c97e9d4964f2025995711f8aa389cb784ce43bdc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.offset.nonEmpty \u0026\u0026 query.limit.isEmpty\u0060 appears character-identically in 3 files \u2014 modules/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala, modules/doobie-mysql/src/main/scala/DoobieMySqlMapping.scala, modules/doobie-sqlite/src/main/scala/DoobieSqliteMapping.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/doobie-mariadb/src/main/scala/DoobieMariaDbMapping.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"249dbefe8443b095defa0e07d3035cdc60caeb55b5cbc34012eff2dac96c947a"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 50 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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.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-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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/"}]},{"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-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":38,"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."]}]}