{"$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":"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":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"id":"ED4","name":"Outbox / dual-write","shortDescription":{"text":"Outbox / dual-write"},"helpUri":"https://codehealth.canine.dev/dimensions/ED4"},{"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"SqlCompletionEngine._sqlScan (cyclomatic 49): SqlCompletionEngine._sqlScan has cyclomatic complexity 49 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: pkg/sql_complete/lib/src/complete.dart holds 2 of the 16 methods over the threshold \u2014 including the worst \u2014 and 52 of the 134 points over it (39%), 3.5\u00D7 the next-largest file (pkg/sql_complete/tool/build_trainset.py at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/complete.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe37f5e0106bd0b599f17ebce61ee798bd085b3f2f335318734d29a97a450f8"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlCompletionEngine.complete (cyclomatic 33): SqlCompletionEngine.complete has cyclomatic complexity 33 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: pkg/sql_complete/lib/src/complete.dart holds 2 of the 16 methods over the threshold \u2014 including the worst \u2014 and 52 of the 134 points over it (39%), 3.5\u00D7 the next-largest file (pkg/sql_complete/tool/build_trainset.py at 15). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/complete.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33d4165fbbbe750aed4e4d4d6d2e2379522f2cc0e652c5277e1b7da2013942f"}},{"ruleId":"D1","level":"warning","message":{"text":"main.gomongoResultToCursor (cyclomatic 29): main.gomongoResultToCursor has cyclomatic complexity 29 (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":"pkg/db_driver/go_impl/src/mongodb.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"796e5ab74e4af19ad2c6261a125f6e0da5d304aca326c41198e43620445c51b6"}},{"ruleId":"D1","level":"warning","message":{"text":"build_trainset.load_dbasql (cyclomatic 28): build_trainset.load_dbasql has cyclomatic complexity 28 (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":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"115cda2875b014da105951f0f53e92ba40220067f24de0f7db4b489a8a3ccf22"}},{"ruleId":"D1","level":"warning","message":{"text":"DuckDBConnection._getDataType (cyclomatic 27): DuckDBConnection._getDataType has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_duckdb.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b383821679448cb03f5770e106d71ed5ac2258ad441757e3868bacb368fa3a5"}},{"ruleId":"D1","level":"warning","message":{"text":"annotate_object_roles.role_for_identifier (cyclomatic 26): annotate_object_roles.role_for_identifier has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/annotate_object_roles.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b2772624728748a6eaa2396be7f0dcd6d79998d4a6ebdc05c0d08d90b3de0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClickHouseConnection._getDataType (cyclomatic 23): ClickHouseConnection._getDataType has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4189880a956f4176cd582694f3504a5b25d94ccbe72c589c3b49347337fafc07"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlTokenTrainer.prepare (cyclomatic 21): SqlTokenTrainer.prepare has cyclomatic complexity 21 (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":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"189d15c001aabf24fef27ded4a311cd3a1c238a075e6437826c80d7698c1f6a4"}},{"ruleId":"D1","level":"warning","message":{"text":"AIChatService.chat (cyclomatic 20): AIChatService.chat has cyclomatic complexity 20 (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":"client/lib/services/ai/chat.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d2bdcc0249fc20e3b0536ff736c28283f4f6afdd292df72923ab0aa358cb2e"}},{"ruleId":"D1","level":"warning","message":{"text":"MSSQLConnection.columnDataTypeFromDriverName (cyclomatic 19): MSSQLConnection.columnDataTypeFromDriverName has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"c394ae80e276856f9fe62f4707f7fcf3c0aaeb53f8344178345e356cc7d4fc9b"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlayMenuLayer.build (cyclomatic 18): OverlayMenuLayer.build 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/menu.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fff7a3a1a681277ad98c772403db8fc1297f1239066b38f4fde51953c3f7ef"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionWrapper.open (cyclomatic 17): ConnectionWrapper.open has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_base.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42b8fc14c9b6697ae2ca43b16433299cac2e90b599444119c0e8be6cee717bb"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlTokenTrainer.fit (cyclomatic 16): SqlTokenTrainer.fit has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed103fee2d1840f4e7b850892e94eebe48572f224f8a6537d659017b135d27bd"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlTokenTrainer.evaluateDetailed (cyclomatic 16): SqlTokenTrainer.evaluateDetailed has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2021bf827d3654f290e2cca292435e2b424d8e8c74b5a8c3670e1a36891ac58"}},{"ruleId":"D1","level":"warning","message":{"text":"build_trainset.load_multisql (cyclomatic 16): build_trainset.load_multisql has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a5177d3acb4f8610175f71791bd12b1c93334c2c09c26f93111257750405dd"}},{"ruleId":"D1","level":"warning","message":{"text":"build_trainset.build (cyclomatic 16): build_trainset.build has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae3739c1795dfd1aa263b2f234038ea4ee2ddc3195eeb9edd826a9d041b614f"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlCompletionEngine._sqlScan (cognitive 101): SqlCompletionEngine._sqlScan has cognitive complexity 101 (threshold 15). Drivers by points: if/else 34 (81 pts), boolean chains 17, ternaries 1 (2 pts), loops 1 (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/complete.dart"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b86928e37296df9db1c5f5cb7154656b554c1d01e48a4767c5ed874f52efe3"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlCompletionEngine.complete (cognitive 82): SqlCompletionEngine.complete has cognitive complexity 82 (threshold 15). Drivers by points: if/else 18 (43 pts), loops 6 (17 pts), ternaries 5 (17 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/complete.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1280944aa61d63d02900fb8bdd917224bffce77a04d78581cc2b6fd0c4884a04"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset.load_dbasql (cognitive 73): build_trainset.load_dbasql has cognitive complexity 73 (threshold 15). Drivers by points: if/else 17 (56 pts), loops 5 (14 pts), boolean chains 3 (nesting depth added 48). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"14945bd783d4541d4c1f6ec27e1990e7946fd1dd08986dd6234213e2b7e0bee5"}},{"ruleId":"D2","level":"warning","message":{"text":"annotate_object_roles.role_for_identifier (cognitive 50): annotate_object_roles.role_for_identifier has cognitive complexity 50 (threshold 15). Drivers by points: if/else 17 (42 pts), boolean chains 7, loops 1 (nesting depth added 25). 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":"pkg/sql_complete/tool/annotate_object_roles.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"df96e6532a220f869602f68c641310a3e9af2290dd522575d1193a46b3ff46e4"}},{"ruleId":"D2","level":"warning","message":{"text":"AIChatService.chat (cognitive 45): AIChatService.chat has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (7 pts), error handling 1 (2 pts) (nesting depth added 25). 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":"client/lib/services/ai/chat.dart"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"701d2ce1d4255a4178681fdde73879ae3132348459ff68a226dc991e5d0b9eab"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTokenTrainer.prepare (cognitive 41): SqlTokenTrainer.prepare has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 11 (15 pts), ternaries 2 (6 pts) (nesting depth added 21). 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":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec240b307d725e598989dce9a9b179db759fccd05f8cfe7e7ebcffd6a51a7be5"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset.load_multisql (cognitive 36): build_trainset.load_multisql has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (8 pts), boolean chains 1 (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":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c27772e83a82c8ea41d098ec52f8244020a12e629a182a6023d1993c688c16"}},{"ruleId":"D2","level":"warning","message":{"text":"main.gomongoResultToCursor (cognitive 36): main.gomongoResultToCursor has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 1, match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mongodb.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"36767cffd47a23e09332cdeee7dccf77db8c108800fc7ae7084fb279a6b1b8d4"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset._load_json_or_jsonl (cognitive 30): build_trainset._load_json_or_jsonl has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 4 (8 pts) (nesting depth added 17). 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":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3f3d83135c154df3ea48727408c1faa3507b1a91da511721d7f65b91254776"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTokenTrainer.evaluateDetailed (cognitive 29): SqlTokenTrainer.evaluateDetailed has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (7 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0934920b71a96733d0e3e0f98aa66c462159905a57f98588670519a31b796e"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset.load_spider2 (cognitive 29): build_trainset.load_spider2 has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 4 (7 pts), ternaries 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abec5ac0f859310c5006cabe37db5d1c7b0e2a11ad0bdc2961b571292c30837"}},{"ruleId":"D2","level":"warning","message":{"text":"DuckDBConnection._getDataType (cognitive 26): DuckDBConnection._getDataType has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 20, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_duckdb.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea95d862178ee41993db840e375cb9e9f3e390c6fd4a064746b6c42104307bc"}},{"ruleId":"D2","level":"warning","message":{"text":"MentionTextController.buildTextSpan (cognitive 25): MentionTextController.buildTextSpan has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 2, match/switch 1 (2 pts), loops 1, ternaries 1 (nesting depth added 13). 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":"client/lib/widgets/mention_text.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43c6f574504ee097d2b54928f02e1909364324e9a757d413512668c1d858591"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset.load_spider (cognitive 25): build_trainset.load_spider has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 13). 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":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00613027bbef8f492f716a37ee3212ae40847f06768dfd862ee49315842e0df"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTokenTrainer.fit (cognitive 24): SqlTokenTrainer.fit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 5, loops 2 (3 pts) (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":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2432cbe8c7d8501905ec1fa5c6c1508451ff000febabbc878ebd1f7e50943ff3"}},{"ruleId":"D2","level":"warning","message":{"text":"MentionTextController._replaceRangeInSegments (cognitive 24): MentionTextController._replaceRangeInSegments has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 1 (nesting depth added 13). 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":"client/lib/widgets/mention_text.dart"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa44749f611e10e6bcf0093e2b66701802ac19eb74192523728fe933e1f10e95"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset.build (cognitive 24): build_trainset.build has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4, boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a75514fc010fc0ef0957928080a7213ee14613eccaf4ac65e2605d208ca1b4e"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisConnection.schemas (cognitive 23): RedisConnection.schemas has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (19 pts), boolean chains 3, error handling 1 (nesting depth added 13). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_redis.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fac94fcb7bbec3e60d22789db6d501d3cafc588866e268ab4bc5d87ee85f42c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClickHouseConnection._getDataType (cognitive 22): ClickHouseConnection._getDataType has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6424c4d795700ae03123c18abbd980cb86b4891ace90cdb0ab076676038f7e49"}},{"ruleId":"D2","level":"warning","message":{"text":"DollarQuotedTokenBuilder.matchToken (cognitive 22): DollarQuotedTokenBuilder.matchToken has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3, loops 2 (3 pts) (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":"pkg/sql_parser/lib/src/lexer/token_builder.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9377885cb38e3527571490a94e59e1f62a29af6c0e9366c3d14fc7901740c577"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortcutModel.toDisplayString (cognitive 21): ShortcutModel.toDisplayString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/models/keyboard.dart"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"48038e189fa3c6886f2037e79d452d32e2c1d31f4736fc02a21f33b18390214a"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset.load_bird (cognitive 21): build_trainset.load_bird has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 12). 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":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"38285287bc088e10710c6043639407b4ed8709011aab5eb662dd780c11177996"}},{"ruleId":"D2","level":"warning","message":{"text":"MentionSegmentSerializer.decode (cognitive 20): MentionSegmentSerializer.decode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/mention_text.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32028c1fd05bb37e6faba3816a249dd9dca0e628e62adb97bac8fe02f9d8829"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlayMenuLayer.build (cognitive 20): OverlayMenuLayer.build has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 4 (5 pts), loops 2, boolean chains 1 (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":"client/lib/widgets/menu.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c81d5f43b8f20394f9835271214d81e67086f164f7ecfec483cf991925f9d59"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectedSessionMetadataTreeNotifier._buildTree (cognitive 19): SelectedSessionMetadataTreeNotifier._buildTree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/services/sessions/session_metadata.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"938915af17adb5b076b88a99055931db22cd321f680152f7c8a8ff69189ef632"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskRepoImpl.getTasks (cognitive 18): TaskRepoImpl.getTasks has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5, boolean chains 3 (nesting depth added 4). 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":"client/lib/repositories/tasks/task.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e1ba7f6c3080eb3ac742f5afb43d6bf83b110082f45710d6be00f4e96f33e6"}},{"ruleId":"D2","level":"warning","message":{"text":"MSSQLConnection.columnDataTypeFromDriverName (cognitive 18): MSSQLConnection.columnDataTypeFromDriverName has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d8c766b8b0e5b311046fd18d7b44d5231dfc87187f9fae786ed23ac7c76d95"}},{"ruleId":"D2","level":"warning","message":{"text":"_SQLEditorAutoCompleteScrollListViewState._autoScroll (cognitive 18): _SQLEditorAutoCompleteScrollListViewState._autoScroll has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/code_auto_complete.dart"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"8247231286584fe6e7ca282977da07086c2b85e2d7ed7d884a32dd5ea16b6311"}},{"ruleId":"D2","level":"warning","message":{"text":"build_trainset._split_statements (cognitive 18): build_trainset._split_statements has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a488be78a7504aa398351ba0047d91da5ed0e93df74d95c22af25d200e18e406"}},{"ruleId":"D2","level":"warning","message":{"text":"clickhouseCur.NextRow (cognitive 18): clickhouseCur.NextRow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2 (nesting depth added 5). 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":"pkg/db_driver/go_impl/src/clickhouse.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ca495e396ebfcb8b8d3693baa8292cebf90b51f47a1a46baa90c1a67ba92c6"}},{"ruleId":"D2","level":"warning","message":{"text":"TrackedEnumFormField.build (cognitive 17): TrackedEnumFormField.build has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 3 (5 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/form.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"60854945b28223712a6a8ef1f6bb2e7176403ad8df10ba30bbc3875e97df2d22"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTokenTrainer._argmaxOverTargets (cognitive 16): SqlTokenTrainer._argmaxOverTargets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/train.dart"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381a1429cc368cbb99d33d2fea5f7765740ba197f832e8efe762f88755ca919"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/mention_text.dart: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 270 over it, 1.54\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":"client/lib/widgets/mention_text.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f93f9301c80ea40d83e2869856a5c36ed50d56f7f99855f46f304179b187ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddSession.build: MethodTooLong \u2014 build runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/sessions/session_add.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a55d4d2c3800929b087aef1259429cde3bdcb2ac102b1143dcc6d20866573d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: settings/settings.dart: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 228 over it, 1.46\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":"client/lib/screens/settings/settings.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc09f5c1e7d1487d13bf1e2a28bf9ff621679ffaf5011aa465184e2af896e52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: instances/instance_add.dart: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\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":"client/lib/screens/instances/instance_add.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50822d729e174e39ddbff8b381fbf8eb2f31091f9e1ef919a0910d26d767062"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sessions/session_operation_bar.dart: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 164 over it, 1.33\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":"client/lib/screens/sessions/session_operation_bar.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83654134947811da21da2a3ec13d28ce69dcf75be66244d0cc18d3e3fa40526"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstanceFormWidget.build: MethodTooLong \u2014 build runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/instances/instance_add.dart"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa820172b659d9b2dcb7e0fac6a45de0892d4f767203a1cc5edf54bdf0ea277"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/nn.dart: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 68 over it, 1.14\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":"pkg/sql_complete/lib/src/nn.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9be1a66ab06708d8e212eb58d49b4d552944167e42fe2bde9a1bace3222eff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SystemSettingPage.build: MethodTooLong \u2014 build runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/settings/settings.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e069afbaa9d94dc02ced2f203056cfd92fb4fe7eccd61a144f32ca10ae1a6c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/form.dart: FileTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 34 over it, 1.07\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":"client/lib/widgets/form.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42581e9a6ccd353456e4be8b98a3d901b21ec0c7c16f3e04f23af618d7bb9926"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: widgets/data_tree.dart: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\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":"client/lib/widgets/data_tree.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df825f4c38ac2bcbdb2f8a19ef3026b7c1be81c3028340005b3343a740acc99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tool/build_trainset.py: FileTooLong \u2014 514 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 14 over it, 1.03\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":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7599e7591f91ac3b6ba23887e552a900efe060dfda8fbc909d8e68b763d2816"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/mongodb/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/mssql/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/mysql/parser.dart:10-17 | pkg/sql_parser/lib/src/dialect/oracle/parser.dart:10-17 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/redis/parser.dart:23-33 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:10-16 \u2014 These 9 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"937a3848bf2506f5ad50334680c0722364b9a0cd4df9c9bccea5f86f0b7405de"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): pkg/db_driver/lib/src/db_driver_clickhouse.dart:22-37 | pkg/db_driver/lib/src/db_driver_duckdb.dart:20-35 | pkg/db_driver/lib/src/db_driver_mssql.dart:22-37 | pkg/db_driver/lib/src/db_driver_mysql.dart:21-36 | pkg/db_driver/lib/src/db_driver_oracle.dart:22-37 | pkg/db_driver/lib/src/db_driver_pg.dart:22-37 | pkg/db_driver/lib/src/db_driver_sqlite.dart:20-35 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"56664d17037dc6b7c99e80be981077a830ca85f1459384acdbd557bec7716bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): pkg/db_driver/lib/src/db_driver_clickhouse.dart:39-57 | pkg/db_driver/lib/src/db_driver_duckdb.dart:37-55 | pkg/db_driver/lib/src/db_driver_mssql.dart:39-57 | pkg/db_driver/lib/src/db_driver_mysql.dart:38-56 | pkg/db_driver/lib/src/db_driver_oracle.dart:39-57 | pkg/db_driver/lib/src/db_driver_pg.dart:39-57 | pkg/db_driver/lib/src/db_driver_sqlite.dart:37-55 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2ccc10e9821e5164ad6a224bd0a32057d6e886309f09074f0e285643380c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): pkg/db_driver/lib/src/db_driver_clickhouse.dart:162-212 | pkg/db_driver/lib/src/db_driver_duckdb.dart:116-147 | pkg/db_driver/lib/src/db_driver_mssql.dart:217-280 | pkg/db_driver/lib/src/db_driver_mysql.dart:131-185 | pkg/db_driver/lib/src/db_driver_oracle.dart:155-204 | pkg/db_driver/lib/src/db_driver_pg.dart:201-263 | pkg/db_driver/lib/src/db_driver_sqlite.dart:117-155 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"934a684813968d517055eb5b67f5e7aee3941b63c1343f964441346944fc84c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pkg/db_driver/go_impl/src/duckdb.go:187-208 | pkg/db_driver/go_impl/src/mssql.go:209-225 | pkg/db_driver/go_impl/src/mysql.go:225-242 | pkg/db_driver/go_impl/src/sqlite.go:250-271 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"abae723ba0e938f3b8ad904743f88a07b1020fa3fa02063e038256320b6f6574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): client/lib/widgets/theme.dart:35-84 | client/lib/widgets/theme.dart:86-135 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/theme.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"603d44ab7d430df7132ba198bf8d67e92e4449dacabab586116c0b1be614a9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): client/lib/services/sessions/session_sql_result.dart:49-120 | client/lib/services/sessions/session_sql_result.dart:122-190 \u2014 These two members are one piece of code written twice and then edited apart: 69 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/services/sessions/session_sql_result.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"302807d14ae6bbf9be54e3d97b30b1e4423cd42bc551e94e728964c201cd3835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): client/lib/screens/settings/settings.dart:98-145 | client/lib/widgets/anchor_tab_scroll.dart:29-80 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/settings/settings.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c9e02f66be18c9bb9ae79dfbc536c3bce94721d4158b1b69086bc64e8afa5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): pkg/db_driver/lib/src/db_driver_base.dart:143-196 | pkg/db_driver/lib/src/db_driver_base.dart:198-251 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_base.dart"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8311f7a4e5e44a3e2e087f961ca9375f3d16894d1e24d4ff4a0a98692a0fd6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): pkg/db_driver/go_impl/src/mssql.go:143-180 | pkg/db_driver/go_impl/src/sqlite.go:161-207 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mssql.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d850cc81ba36eb7d700b0dd86564d70509789823592019b4bb028610853b937"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/db_driver/lib/src/db_driver_clickhouse.dart:214-245 | pkg/db_driver/lib/src/db_driver_duckdb.dart:149-186 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e354388ad2c9c2a78af70c0ba53e0dc09baf418d0a52c64dc8b0d438263b541a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): pkg/db_driver/go_impl/src/clickhouse.go:219-256 | pkg/db_driver/go_impl/src/pg.go:205-235 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/clickhouse.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570fba6f1ff201b3b2606d553af3ced315b3da5e4b85fc1883304d9018949ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/db_driver/lib/src/db_driver_interface.dart:381-412 | pkg/db_driver/lib/src/db_driver_redis.dart:83-115 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a833ed2311ba9c6476b050001d7c99bb7ac17e7faf814aefcfcf451eac93f47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): client/lib/services/sessions/sessions.dart:201-225 | client/lib/services/sessions/sessions.dart:230-260 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/services/sessions/sessions.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"344c638a09c804fabf1ad74845498179cab10b194070c478e7f3ce0abd4b5fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): pkg/db_driver/lib/src/db_driver_interface.dart:228-264 | pkg/db_driver/lib/src/db_driver_mongodb.dart:106-137 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c715bb5c4260319a05fdaf9dc27ec036b22ba3e5d82a476f20e9d787f4c5fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 26\u002B corresponding lines): pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart:23-49 | pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:23-49 | pkg/sql_parser/lib/src/dialect/mssql/parser.dart:23-48 | pkg/sql_parser/lib/src/dialect/mysql/parser.dart:24-59 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:23-49 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1015a7b8a22f1c730a806b5236f6e672e78eab2be67249e3acb90b51bb339bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/db_driver/go_impl/lib/go_impl.dart:39-62 | pkg/db_driver/go_impl/lib/go_impl.dart:137-158 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/lib/go_impl.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b16db66b4ed80ecf98bbf642a78d0b3181a704e597a0aca48278838eeaedda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): pkg/db_driver/go_impl/src/clickhouse.go:128-154 | pkg/db_driver/go_impl/src/duckdb.go:106-130 | pkg/db_driver/go_impl/src/mssql.go:118-141 | pkg/db_driver/go_impl/src/sqlite.go:134-159 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 24 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/clickhouse.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bdf99a1e00c3b4a5cc4a86df9dae689be855448555d3c6100901e5376c8827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): client/lib/screens/tasks/task.dart:76-87 | client/lib/screens/tasks/task.dart:89-100 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/tasks/task.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0258fc58a949eed4a5519e5823f43e44b4242360e58640c21ea4fb94a45bf5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): client/lib/widgets/divider.dart:26-41 | client/lib/widgets/divider.dart:66-81 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/divider.dart"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc63a27eb707b563145def38b36776767ac0d960d916bc935a96d0c51c68683d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): client/lib/screens/sessions/session_operation_bar.dart:269-284 | client/lib/screens/sessions/session_operation_bar.dart:286-309 | client/lib/screens/sessions/session_operation_bar.dart:311-326 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/sessions/session_operation_bar.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d9525a83dd4072d746cef11580748a0ba144b858f31a5b89b82e3ed18beb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/db_driver/lib/src/db_driver_interface.dart:270-287 | pkg/db_driver/lib/src/db_driver_redis.dart:38-50 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38e8679e0e3edc8665204da70c513f8ef606330e527c0764a4009edaf289c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pkg/db_driver/go_impl/src/clickhouse.go:311-333 | pkg/db_driver/go_impl/src/sqlite.go:273-292 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/clickhouse.go"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c660aa6010f44ad911efa0454d6f4e8131ac6b4540c0e12bfb5690b90cdf93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): pkg/sql_parser/lib/src/dialect/oracle/parser.dart:24-47 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:23-44 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/oracle/parser.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"030c6d0a5e13cf74411ae2bea471fdc0b2c490203e7a46e54a64fec7214563cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/sql_complete/lib/src/nn.dart:215-224 | pkg/sql_complete/lib/src/nn.dart:226-234 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/nn.dart"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6b97ed4cfe330d1d43923d3f6cc9a999919e88e2d7cfa1aed808292851fc9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): pkg/db_driver/lib/src/db_driver_mssql.dart:282-316 | pkg/db_driver/lib/src/db_driver_mysql.dart:187-215 | pkg/db_driver/lib/src/db_driver_oracle.dart:206-232 | pkg/db_driver/lib/src/db_driver_pg.dart:265-302 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbbe28a907f582086aca367c1c7f255d84ce8ffeb87c00f0b924ca2ee8d2af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): client/lib/screens/instances/instance_add.dart:292-309 | client/lib/screens/instances/instance_update.dart:65-83 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/instances/instance_add.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5c1b3f980cb819c22a1e89cdb33fb365222f714961a9d69da6afa88240d279"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): pkg/sql_parser/lib/src/dialect/mysql/lexer.dart:30-41 | pkg/sql_parser/lib/src/lexer/token_builder.dart:222-232 | pkg/sql_parser/lib/src/lexer/token_builder.dart:254-270 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b06c1dc1e435a222b704141a0181fe66b61fef8366efba256de45af1073426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/db_driver/go_impl/src/oracle.go:242-257 | pkg/db_driver/go_impl/src/redis.go:134-147 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/oracle.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68d1014241403c6cce4d646377d302d8304a1e4ec0996f616734ce6e6789699"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pkg/db_driver/lib/src/db_driver_mssql.dart:130-144 | pkg/db_driver/lib/src/db_driver_pg.dart:186-199 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5359cc036cf7fd7d88ebc4543a2a15ba26713ecc05c1760d8ec2df445a5f9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pkg/db_driver/go_impl/src/mongodb.go:290-306 | pkg/db_driver/go_impl/src/mongodb.go:320-332 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mongodb.go"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e8c55ed3ab46c5ed1326c794ea3c6f8a4374d3aed3e0b27ded8fc0cbb8867e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pkg/sql_parser/lib/src/dialect/mysql/lexer.dart:43-56 | pkg/sql_parser/lib/src/lexer/token_builder.dart:234-245 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3763e488a853a25b275289c1fd1913361fb6f1bc0ccb4bc4d6f5c1541721c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pkg/db_driver/lib/src/db_driver_duckdb.dart:79-88 | pkg/db_driver/lib/src/db_driver_sqlite.dart:79-89 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_duckdb.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed286235485327989427f448a4dc190c561e774f38affdc6171e29f1d8d898bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pkg/db_driver/go_impl/src/clickhouse.go:195-210 | pkg/db_driver/go_impl/src/duckdb.go:164-178 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/clickhouse.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d08dea0d033de07780be7b1902fedd512aa34f785be64f6981346db5a8a525"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): client/lib/services/sessions/session_metadata.dart:60-72 | client/lib/services/sessions/session_metadata.dart:74-86 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/services/sessions/session_metadata.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ed77ad7ecedf13aa4dbef0de1c17aba35298326d255e157500c08cff3d1f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:51-62 | pkg/sql_parser/lib/src/dialect/mssql/parser.dart:50-61 | pkg/sql_parser/lib/src/dialect/mysql/parser.dart:61-73 | pkg/sql_parser/lib/src/dialect/oracle/parser.dart:49-60 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:51-62 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:46-57 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/duckdb/parser.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"803ade7ff18523c384cb03d96ffcf74bfa9cec6f0f775e8cd7730014f3f9ef63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): client/lib/repositories/ai/agent.dart:96-108 | client/lib/repositories/ai/agent.dart:130-144 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/ai/agent.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74fe61e6858e295bbab7d19b563524ff3731624ab878c09a41b2d4da1ae905f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): client/lib/repositories/instances/instances.dart:296-309 | client/lib/repositories/instances/instances.dart:311-319 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"724dbddf18059c53b809fe6b624456dbd3f0564adf551bb5b25a16c6acc321f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 8\u002B corresponding lines): pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart:93-101 | pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:88-96 | pkg/sql_parser/lib/src/dialect/mssql/parser.dart:96-104 | pkg/sql_parser/lib/src/dialect/mysql/parser.dart:96-105 | pkg/sql_parser/lib/src/dialect/oracle/parser.dart:83-92 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:86-94 | pkg/sql_parser/lib/src/dialect/redis/parser.dart:87-94 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:82-90 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"958e053c2761d2831329e9c528bc023c1c8af1abedfda40c2af983ed1166e292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/lib/repositories/ai/chat.dart:54-64 | client/lib/repositories/ai/chat.dart:138-148 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/ai/chat.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf77b511253d6c7a3f99dc504eb054b1d93b1d14f7251abdc4b0eb63d510ccf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:64-70 | pkg/sql_parser/lib/src/dialect/mysql/parser.dart:75-81 | pkg/sql_parser/lib/src/dialect/oracle/parser.dart:62-68 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:64-70 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:59-65 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/duckdb/parser.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"92466e459aa9e5c27a6dfef97f5bd2cd13c1042ba106c6a9c7c7b24897eaf27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pkg/db_driver/go_impl/src/mssql.go:108-116 | pkg/db_driver/go_impl/src/oracle.go:126-135 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mssql.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"572d9379f783aecb088acf8f3953a927cc51f41967a9e3bd764c94296719e669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): client/lib/services/sessions/session_sql_result.dart:77-120 | client/lib/services/sessions/session_sql_result.dart:148-190 \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 \u0060client/lib/services/sessions/session_sql_result.dart:77\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":"client/lib/services/sessions/session_sql_result.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b68679f535db9b2b62545c8a122a690805341acec9afb68b45bce2b1037d9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201339 lines \u00D7 3): pkg/db_driver/lib/src/db_driver_clickhouse.dart:162-196 | pkg/db_driver/lib/src/db_driver_mysql.dart:131-169 | pkg/db_driver/lib/src/db_driver_oracle.dart:155-187 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:162\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60394fb1db10f30b9444a53e7aee16b702331ba12a0b645fe1f4df4da71b772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201339 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_duckdb.dart:116-147 | pkg/db_driver/lib/src/db_driver_sqlite.dart:117-155 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_sqlite.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart:116\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":"pkg/db_driver/lib/src/db_driver_duckdb.dart"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8c045d064cdafdf5c3567c627f46fee97ccc5defb091de06e6ff68b01f89e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_interface.dart:386-412 | pkg/db_driver/lib/src/db_driver_redis.dart:89-115 \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 \u0060pkg/db_driver/lib/src/db_driver_interface.dart:386\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/db_driver/lib/src/db_driver_redis.dart:87\u0060 calls \u0060_buildQuery\u0060 and \u0060pkg/db_driver/lib/src/db_driver_interface.dart:383\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d318daa04d032d189e38e59adce16aae97995aff6fe39fca2f3c5d3730f912b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): client/lib/services/sessions/session_sql_result.dart:50-72 | client/lib/services/sessions/session_sql_result.dart:123-144 \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 \u0060client/lib/services/sessions/session_sql_result.dart:50\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":"client/lib/services/sessions/session_sql_result.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cf63990bd13348a9d3fd0154c7ba5b24ded1145d810f01bb636014aaeabe3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 7): pkg/db_driver/lib/src/db_driver_clickhouse.dart:39-57 | pkg/db_driver/lib/src/db_driver_duckdb.dart:37-55 | pkg/db_driver/lib/src/db_driver_mssql.dart:39-57 | pkg/db_driver/lib/src/db_driver_mysql.dart:38-56 | pkg/db_driver/lib/src/db_driver_oracle.dart:39-57 | pkg/db_driver/lib/src/db_driver_pg.dart:39-57 | pkg/db_driver/lib/src/db_driver_sqlite.dart:37-55 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78ee18e97a9130739035419127f7a42cd47117de8ee27f94cd6ad84fc9661d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): pkg/db_driver/lib/src/db_driver_clickhouse.dart:166-186 | pkg/db_driver/lib/src/db_driver_mysql.dart:135-159 | pkg/db_driver/lib/src/db_driver_oracle.dart:159-177 | pkg/db_driver/lib/src/db_driver_pg.dart:211-234 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:166\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b64b3143d5532da9f084212cc0744e60e46be02c0f59b48a909afdc16a96991"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): pkg/db_driver/lib/src/db_driver_clickhouse.dart:192-210 | pkg/db_driver/lib/src/db_driver_mysql.dart:165-183 | pkg/db_driver/lib/src/db_driver_oracle.dart:183-201 | pkg/db_driver/lib/src/db_driver_pg.dart:240-258 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:192\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0556cfd7187b85f297a5677062edff0a1bfdd50fe57b2afa9664190360f7ed97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): client/lib/screens/settings/settings.dart:111-129 | client/lib/widgets/anchor_tab_scroll.dart:46-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/lib/screens/settings/settings.dart:111\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":"client/lib/screens/settings/settings.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"294f7e35a0b15534a6a08b9785517f1c983c28927513e668de1b3d596f6078c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): pkg/sql_parser/lib/src/dialect/mysql/lexer.dart:12-28 | pkg/sql_parser/lib/src/lexer/token_builder.dart:205-220 \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":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94cc01448431a671d6710bede417d2843d668d5059518496d0d7faf1c930580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): pkg/db_driver/lib/src/db_driver_clickhouse.dart:22-37 | pkg/db_driver/lib/src/db_driver_duckdb.dart:20-35 | pkg/db_driver/lib/src/db_driver_mssql.dart:22-37 | pkg/db_driver/lib/src/db_driver_mysql.dart:21-36 | pkg/db_driver/lib/src/db_driver_oracle.dart:22-37 | pkg/db_driver/lib/src/db_driver_pg.dart:22-37 | pkg/db_driver/lib/src/db_driver_sqlite.dart:20-35 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a622186e7d4c79714e446e83a02851750ce08f363119651bcde8d6542aee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): client/lib/screens/sessions/ai_chat/input_user.dart:415-429 | client/lib/screens/sessions/session_drawer_metadata.dart:158-173 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/lib/screens/sessions/ai_chat/input_user.dart:415\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":"client/lib/screens/sessions/ai_chat/input_user.dart"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba53d9e6c940432e19d0be4a08d7de1cc35fb000d2d2f858cc9318a1cdc8ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/lib/screens/instances/instance_tables.dart:147-161 | client/lib/screens/sessions/session_add.dart:126-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/lib/screens/instances/instance_tables.dart:147\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":"client/lib/screens/instances/instance_tables.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fccd2543d08b106cc900ed4dad560d177593319f75943974ac998fb05b79ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/lib/screens/tasks/task.dart:38-52 | client/lib/screens/tasks/task_overview.dart:29-43 \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":"client/lib/screens/tasks/task.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dae36e30a2a55c46ef17c26236ecc2603a0c33ecd9377d25983bf756c07dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): client/lib/services/sessions/sessions.dart:209-222 | client/lib/services/sessions/sessions.dart:243-255 \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 \u0060client/lib/services/sessions/sessions.dart:209\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/services/sessions/sessions.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"add9946d3a70e31e031e41b71841f79de01473424e6cf80edcc69416707ae1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_conn_meta.dart:114-126 | pkg/db_driver/lib/src/db_driver_conn_meta.dart:325-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_conn_meta.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3a66215f396d6ecf8a81e6d384c45957fdd7d0f4209da92ee6159e98232be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201311 lines \u00D7 9): pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/mongodb/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/mssql/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/mysql/parser.dart:10-17 | pkg/sql_parser/lib/src/dialect/oracle/parser.dart:10-17 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:10-16 | pkg/sql_parser/lib/src/dialect/redis/parser.dart:23-33 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:10-16 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19a09fa7ff3981baf0a06daa0a563a8f830995d2f9011e1c4d3957912cb0973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): pkg/db_driver/lib/src/db_driver_clickhouse.dart:197-207 | pkg/db_driver/lib/src/db_driver_mssql.dart:261-271 | pkg/db_driver/lib/src/db_driver_mysql.dart:170-180 | pkg/db_driver/lib/src/db_driver_oracle.dart:188-198 | pkg/db_driver/lib/src/db_driver_pg.dart:245-255 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mssql.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:197\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ad0fb784ed360b96882a0fcb27be69d84242a2440c00600f94164a3a1dd01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 7): pkg/db_driver/lib/src/db_driver_clickhouse.dart:195-203 | pkg/db_driver/lib/src/db_driver_duckdb.dart:130-139 | pkg/db_driver/lib/src/db_driver_mssql.dart:259-267 | pkg/db_driver/lib/src/db_driver_mysql.dart:168-176 | pkg/db_driver/lib/src/db_driver_oracle.dart:186-194 | pkg/db_driver/lib/src/db_driver_pg.dart:243-251 | pkg/db_driver/lib/src/db_driver_sqlite.dart:138-147 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:195\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32f72a88fdfa420746f8d44f63657487d9ae1ba02ab2fbdecc7900fd9cafdae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): pkg/db_driver/lib/src/db_driver_clickhouse.dart:230-238 | pkg/db_driver/lib/src/db_driver_duckdb.dart:152-161 | pkg/db_driver/lib/src/db_driver_sqlite.dart:160-166 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:230\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart:164\u0060 calls \u0060contains\u0060 and \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:241\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a1c23adc3ca6df92cd45c00db3e132e3d6e3ec02a433ad6fc4f5af8cc867b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_mysql.dart:106-114 | pkg/db_driver/lib/src/db_driver_oracle.dart:144-153 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_oracle.dart\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 156 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mysql.dart"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b80a90f8fe93bcef2675891f4b2e9828098bd15a35ce0c244b366133f2671b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_mongodb.dart:39-46 | pkg/db_driver/lib/src/db_driver_redis.dart:122-130 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pkg/db_driver/lib/src/db_driver_redis.dart:119\u0060 calls \u0060getIntValue\u0060, \u0060getValue\u0060, \u0060toLowerCase\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mongodb.dart:38\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":"pkg/db_driver/lib/src/db_driver_mongodb.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ce2f484220508cea5f42644d713769de640dee8a6d5eb9541ab17a9660b456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/sql_parser/lib/src/dialect/mysql/lexer.dart:33-41 | pkg/sql_parser/lib/src/lexer/token_builder.dart:224-232 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/sql_parser/lib/src/dialect/mysql/lexer.dart:33\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05ca9a85f617bc23aef30a3e16891365d6713b61ac3cf5c6627d6e0c2fc64f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): client/lib/screens/sessions/session_tabs.dart:61-68 | client/lib/screens/sessions/session_tabs.dart:85-91 \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 \u0060client/lib/screens/sessions/session_tabs.dart:61\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. 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":"client/lib/screens/sessions/session_tabs.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3477c2d8632c1ba6d3173c08e028b36c8b049db31c908d611f2f4486e2187531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/lib/repositories/instances/instances.dart:217-223 | client/lib/repositories/tasks/task.dart:174-180 \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":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a495ed11b729926121ed376db9605ed12853f1f25187dcf2ba7222a5cbf485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/lib/screens/settings/settings.dart:862-868 | client/lib/screens/settings/settings.dart:963-969 \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 \u0060client/lib/screens/settings/settings.dart:862\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/settings/settings.dart"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4bbeddba123a45d6b9dfc4d103871fcb7b03fcb296cd2899fe435a91938830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_duckdb.dart:79-85 | pkg/db_driver/lib/src/db_driver_sqlite.dart:79-85 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_sqlite.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 111 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart:79\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":"pkg/db_driver/lib/src/db_driver_duckdb.dart"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea7fd84f609e94a5de8141334bbf7b8942c69c0cd835e1a4b9970b02b25410f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_mssql.dart:105-111 | pkg/db_driver/lib/src/db_driver_oracle.dart:85-90 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_mssql.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_oracle.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_mssql.dart:105\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":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"887396ee90e95abb39837c92bb106430b2dc0a6be2c932454d55b9282fcdf88e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_clickhouse.dart:82-86 | pkg/db_driver/lib/src/db_driver_mysql.dart:80-84 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart:82\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":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e88b948d46789b17e29026efe14a0dc781ca72d3da93117612736c01a479491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_interface.dart:271-277 | pkg/db_driver/lib/src/db_driver_redis.dart:40-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/db_driver/lib/src/db_driver_interface.dart:279\u0060 calls \u0060Uuid\u0060, \u0060v4\u0060 and \u0060pkg/db_driver/lib/src/db_driver_redis.dart:45\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d13488c9e23bbb12668ae8ec1be90110c3b4a12af248634e05e05c33c103e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): pkg/db_driver/lib/src/db_driver_clickhouse.dart:76-80 | pkg/db_driver/lib/src/db_driver_duckdb.dart:73-77 | pkg/db_driver/lib/src/db_driver_mysql.dart:74-78 | pkg/db_driver/lib/src/db_driver_pg.dart:85-89 | pkg/db_driver/lib/src/db_driver_sqlite.dart:73-77 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1f5557384d4afa82dde46114abb777055e1c89202b2af214e66d4967c00584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): pkg/db_driver/lib/src/db_driver_clickhouse.dart:126-130 | pkg/db_driver/lib/src/db_driver_duckdb.dart:95-99 | pkg/db_driver/lib/src/db_driver_mssql.dart:161-165 | pkg/db_driver/lib/src/db_driver_mysql.dart:100-104 | pkg/db_driver/lib/src/db_driver_pg.dart:144-148 | pkg/db_driver/lib/src/db_driver_sqlite.dart:96-100 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_duckdb.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c3e47fc5e591d152d9f4ed97894a02ad68081bacf897cefaa27ef1a252d431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_clickhouse.dart:147-153 | pkg/db_driver/lib/src/db_driver_mysql.dart:116-122 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ddab17e7c5cc67c7a971372dcc37a53678ee6f597885e43715cf6a006843cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): pkg/db_driver/lib/src/db_driver_clickhouse.dart:155-160 | pkg/db_driver/lib/src/db_driver_mssql.dart:154-159 | pkg/db_driver/lib/src/db_driver_mysql.dart:124-129 | pkg/db_driver/lib/src/db_driver_oracle.dart:136-142 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_clickhouse.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_mssql.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_clickhouse.dart"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf9e358fddd617e4ee314ded911eba9ad2e05f98c9460184deb0bfd7a538092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pkg/db_driver/lib/src/db_driver_mssql.dart:146-152 | pkg/db_driver/lib/src/db_driver_oracle.dart:127-134 \u2014 before extracting anything, compare \u0060pkg/db_driver/lib/src/db_driver_mssql.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_oracle.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 78 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb55ba6fa560a7e10b0819905a41d7d758c8007b83953371b3498b29506a14db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): client/lib/screens/sessions/session_operation_bar.dart:384-389 | client/lib/screens/sessions/session_status.dart:13-18 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/sessions/session_operation_bar.dart"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b472e2b1f2b98804356262c17d8715cf5e87dcf411a6dd454d536a3ea2f286a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): pkg/sql_parser/lib/src/dialect/duckdb/parser.dart:80-86 | pkg/sql_parser/lib/src/dialect/mssql/parser.dart:87-94 | pkg/sql_parser/lib/src/dialect/oracle/parser.dart:75-81 | pkg/sql_parser/lib/src/dialect/pg/parser.dart:78-84 | pkg/sql_parser/lib/src/dialect/sqlite/parser.dart:74-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 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 5 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/duckdb/parser.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a235987c680bd8d7c7561a7f46bcbf934587355659e03a55102b4153a8cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/sql_complete/tool/build_trainset.py:468-478 | pkg/sql_complete/tool/build_trainset.py:484-494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/build_trainset.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db3e1deaae92e4cdd6968e129b5ad996054072b0fdd36e5de2ffd3a4ea22f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pkg/db_driver/go_impl/src/duckdb.go:108-121 | pkg/db_driver/go_impl/src/sqlite.go:137-150 \u2014 before extracting anything, compare \u0060pkg/db_driver/go_impl/src/duckdb.go\u0060 and \u0060pkg/db_driver/go_impl/src/sqlite.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/go_impl/src/duckdb.go:108\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":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff56e3f8d061e8d4cf357a3423ac66dd6f42d56ac9b923ea2f9f8cf26d8740d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): pkg/db_driver/go_impl/src/duckdb.go:198-208 | pkg/db_driver/go_impl/src/mssql.go:216-225 | pkg/db_driver/go_impl/src/mysql.go:232-242 | pkg/db_driver/go_impl/src/sqlite.go:261-271 \u2014 before extracting anything, compare \u0060pkg/db_driver/go_impl/src/duckdb.go\u0060 and \u0060pkg/db_driver/go_impl/src/sqlite.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/go_impl/src/duckdb.go:198\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59b8c5e936b38dc0c27930d51916df2767593ff37233d98035b0eb463c53b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): pkg/db_driver/go_impl/src/duckdb.go:138-148 | pkg/db_driver/go_impl/src/mssql.go:164-174 | pkg/db_driver/go_impl/src/sqlite.go:182-192 \u2014 before extracting anything, compare \u0060pkg/db_driver/go_impl/src/duckdb.go\u0060 and \u0060pkg/db_driver/go_impl/src/sqlite.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/go_impl/src/duckdb.go:138\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":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"add70eb6e9bbbbc4a2f3ae69822ac7ea0f74118a2795ef57cede77461f6d06f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pkg/db_driver/go_impl/src/mssql.go:190-200 | pkg/db_driver/go_impl/src/sqlite.go:231-241 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mssql.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"6365097328deb048cddaaac3171486efacba0cd7ae6d8b3e4c52456995254c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pkg/db_driver/go_impl/src/duckdb.go:189-196 | pkg/db_driver/go_impl/src/sqlite.go:252-259 \u2014 before extracting anything, compare \u0060pkg/db_driver/go_impl/src/duckdb.go\u0060 and \u0060pkg/db_driver/go_impl/src/sqlite.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/go_impl/src/duckdb.go:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"d079b172c2184dfcf099194fe464f40880d6a4e30489e908873f240344e2a3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pkg/db_driver/go_impl/src/duckdb.go:188-194 | pkg/db_driver/go_impl/src/oracle.go:222-228 | pkg/db_driver/go_impl/src/sqlite.go:251-257 \u2014 before extracting anything, compare \u0060pkg/db_driver/go_impl/src/duckdb.go\u0060 and \u0060pkg/db_driver/go_impl/src/sqlite.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pkg/db_driver/go_impl/src/duckdb.go:188\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060pkg/db_driver/go_impl/src/oracle.go:229\u0060 calls \u0060QueryRowsAffected\u0060 and \u0060pkg/db_driver/go_impl/src/duckdb.go:195\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":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b8173816f775f4309e7882d037804a2f6eb13e1bde33733d552e4dc41f259d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pkg/db_driver/go_impl/src/duckdb.go:95-104 | pkg/db_driver/go_impl/src/sqlite.go:123-132 \u2014 before extracting anything, compare \u0060pkg/db_driver/go_impl/src/duckdb.go\u0060 and \u0060pkg/db_driver/go_impl/src/sqlite.go\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/duckdb.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed913e2df6acb240b5c6b235ea629a14a7c127343af57e7c96450641fcf5f5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pkg/db_driver/go_impl/src/mssql.go:149-157 | pkg/db_driver/go_impl/src/sqlite.go:167-175 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mssql.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5910bfe999250fc007ed3f37bc1be3dd32e8167910214f6f3a3328173035ecc2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GoImplConnection (LCOM4 9): GoImplConnection\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f717fc683bdc369beb76bff767f328bcdc07cfc7f26d4002ffc6becf24f1c57"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RedisConnection (LCOM4 9): RedisConnection\u0027s methods fall into 9 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 9 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_redis.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af45df02e35b79b098b2f99ba833c63169f31b857b1fcf9768583680c645f6a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NativeImpl (LCOM4 8): NativeImpl\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/lib/go_impl_bindings_generated.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"21eaf41cff1252616a6488fae23194b982cce17053a53183742a882eee0f543e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MongoConnection (LCOM4 8): MongoConnection\u0027s methods fall into 8 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 8 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mongodb.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1851975572a5676352ceb23fab2ceb88dbcd09477e0fd92dfe6298800b6c27b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RootNode (LCOM4 6): RootNode\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/data_tree.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ceb3a9b13aa1ebd6923e5d6b70f4e8e71229862fdbfe2ca145378244a5eecc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MongoSQLDefiner (LCOM4 5): MongoSQLDefiner\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/mongodb/parser.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"204769b30646b960a537392ae8213a1e7401ad13d250a492c05902981e34806a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _InstanceSshTunnelFieldsState (LCOM4 4): _InstanceSshTunnelFieldsState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/instances/instance_add.dart"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"34eef13cf3c63bb52889e4a2bc7ab16e114e5dcd0b0bb49ab0fc897c53adfc9e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RedisSQLDefiner (LCOM4 4): RedisSQLDefiner\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_parser/lib/src/dialect/redis/parser.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce8666e3a095b216a0035f055f7a206b2ffc3a599088adb82d1b584138be099"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DataValueNode (LCOM4 4): DataValueNode\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/data_tree.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d197f7220da546daa78ff639adcef2744efeacd0c8b1078c5b21f54bc0c773"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MentionTextFieldState (LCOM4 4): _MentionTextFieldState\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/widgets/mention_text.dart"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa42b2cf1b8e5b01543ea23e5929446235ca261b342cf19874550420da20ec1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pkg/db_driver/lib/src/db_driver_base.dart: pkg/db_driver/lib/src/db_driver_base.dart changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ConnectionWrapper.open at line 30. 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-04..2026-10-02, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-04 14:13:18 \u002B08:00\u0027 --until=\u00272026-10-02 14:13:18 \u002B08:00\u0027 --full-history --no-merges -- pkg/db_driver/lib/src/db_driver_base.dart\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":"pkg/db_driver/lib/src/db_driver_base.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"720ee16c3157fe90919de781cdd7006c95149108db06dec8aeed643423793448"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5B58\u5728\u4E00\u4E9B\u4E0D\u80FD\u76F4\u63A5\u5305\u88F9\u7684\u8BED\u53E5\uFF0C\u9700\u8981\u652F\u6301 \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":"pkg/sql_parser/lib/src/dialect/mysql/parser.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a208d5bc71e199263a2467394569e537a3afb9f6bd18d9f49ba14217fdc11f3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5B9E\u73B0 MSSQL \u5206\u9875\u67E5\u8BE2, \u76F4\u63A5\u5305\u88F9\u5B50\u67E5\u8BE2\u7684\u65B9\u5F0F\u4E0D\u884C\uFF0C\u5185\u90E8\u4E0D\u80FD\u7528order by \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":"pkg/sql_parser/lib/src/dialect/mssql/parser.dart"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcd7fe5420470eb8c31d9aa7c1347cf2d339b82d140c528a0880be6879b0d75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u8FD9\u91CC\u53CD\u5411\u4F9D\u8D56\u4E86flutter \u4E3B\u4F53\u7684 asserts \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":"pkg/db_driver/lib/src/db_driver_conn_meta.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cde76ef4609575ff7e81706e1a6ccfcb98c42483b3fd36c711c9edb0862002"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u6682\u65F6\u4E0D\u6821\u9A8Cknown_hosts\u3002 \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":"pkg/db_driver/lib/src/ssh_tunnel.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb01ed1b29b9fc5f0406112ef040aafbcacdf41005c3a779acea55c007c2d82b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u65F6\u95F4\u53EF\u914D \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":"pkg/db_driver/go_impl/src/mysql.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"beeab8d0637dd17f998d48d0f6eb096e04be9cd041ef12ebb68d36b624e4bed6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u989C\u8272\u9700\u8981\u62BD\u53D6\u5230 theme \u4E2D \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":"client/lib/widgets/code_auto_complete.dart"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c8a2035ae7af2a7f3ef5d411047217c6367edc89785cc983a4b61dff284b26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u9700\u8981\u63CF\u8FF0\u4E3A\u4EC0\u4E48\u7528\u8FD9\u4E2A\u989C\u8272 \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":"client/lib/widgets/data_tree.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0811e8335be2c3f61832293a9ab0ee4397532709318a3973ced8c9372809f8ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u6362\u4E00\u4E2A\u56FA\u5B9A\u989C\u8272 \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":"client/lib/widgets/data_type_icon.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eefb69cb7237a3d3095e0c5dddb3ddfbcf0595d1a61c0bc27c020b4ae747138"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u7EDF\u4E00\u6210\u4E00\u4E2Aicon button \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":"client/lib/widgets/tab_widget.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf82d1c37ae55c48a62638108b2014634d33c337cfe667117bb3ede1114e480"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u7EDF\u4E00\u5904\u7406 \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":"client/lib/services/tasks/export_data.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"776371e844eeebea014a90940f3155567c2d5c56bcadaf69414cab11a788578c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5BFC\u51FA\u8D85\u5927\u6570\u636E\u65F6\u53EF\u80FD\u4F1A\u5F15\u8D77UI\u5361\u987F\uFF0C\u9700\u8981\u4F18\u5316\u3002 \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":"client/lib/services/tasks/export_data.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fbe0a59cb7fefdd7d15df1f6db30f13736a24c979aec6d93fe93bbb9e25f5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5904\u7406\u7528\u6237\u53D6\u6D88\u5BFC\u51FA\u4EFB\u52A1, \u72B6\u6001\u8981\u5C55\u793A\u62A5\u9519\u5728\u9875\u9762 \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":"client/lib/services/tasks/export_data.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e51f656871f389bcc116e0af407417e71eca6a3cd4aff1e7d92508e70444770"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: \u5982\u4F55\u4F18\u96C5\u5904\u7406\u5D4C\u5957\u5F02\u6B65 \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":"client/lib/services/sessions/session_chat.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"823674f1be8fef24c86937ac38b0235f4fca48234a35ac1c3f6281c44bbd47d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u6682\u65F6\u7528session id \u66FF\u4EE3chatId \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":"client/lib/services/sessions/session_chat.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f8409aeb69dca50b1e4d0b0239b222af196a313f6e40c723629fdf94c0314d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove sql result controller \u4E0D\u786E\u8BA4\u5168\u5C40cache controller \u662F\u4E0D\u662F\u597D\u7684\u8BBE\u8BA1\uFF0C\u5BFC\u81F4\u4E24\u5904\u7EF4\u62A4\u72B6\u6001. \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":"client/lib/services/sessions/session_sql_result.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"962898852a49ac40a462d2788916f429838be0409586f8fec480aea633e513fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5BF9\u7A7A\u7ED3\u679C\u7684\u5904\u7406 \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":"client/lib/services/ai/tool_query.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c69ea39387bb7eef1d1349de2a09e6970f6cc5dc8e0afd26bf1ffa5e8b4ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5B58\u5728\u624B\u52BF\u7ADE\u4E89\uFF0C\u6362\u5BFC\u81F4\u770B\u8D77\u6765\u70B9\u51FBchild\u7684\u6309\u94AE\u5361\u987F \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":"client/lib/screens/page_skeleton.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7f3298f286265a23e44e575f363ecf2b2f007f8bfcc6295d2a57f28e6494aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u989C\u8272\u7EDF\u4E00\u653E \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":"client/lib/screens/tasks/task.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c9c138070c10ad8016ad3a7a6487a38184b1d9e35a19434600de0a5dcfd3af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u6539\u6210linkbutton \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":"client/lib/screens/tasks/task_overview.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c7111b5a9ca0a0eb68c8730e9df31d0e5f008ae8cb413ed167d5d93447872b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u8868\u5355\u8F93\u5165\u6846\u62BD\u53D6\u516C\u5171\u5E93 \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":"client/lib/screens/settings/settings.dart"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"923f244baa6eb5c6b4178223d75631f234e45eeb92aece703a984cfa2b414ef1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u9700\u8981\u4E8C\u6B21\u786E\u8BA4 \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":"client/lib/screens/settings/settings.dart"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"45136c72dc87221fa74bad0d3106cefd8613d0c863a4494ea0b4d1ae0256f45d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo \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":"client/lib/screens/sessions/session_add.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f8f23df54a924caa47c1a3e849b0015f4d5585fd86f1822ca9ef315ac3ebe8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u4F7F\u7528\u7EDF\u4E00\u56FE\u6807\u5927\u5C0F \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":"client/lib/screens/sessions/session_drawer_metadata.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5c5c94a7681f39f88921c8cf2b6315fcc5d17bf422251cc0f847c1bd8c24cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u62BD\u53D6\u641C\u7D22\u6846, \u54EA\u91CC\u90FD\u4E00\u6837\u91CD\u590D\u7684\u4EE3\u7801 \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":"client/lib/screens/sessions/session_drawer_metadata.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"badc5c5cd77ec22ebf94916f4e32ab927855eefd7979d56319b1eb020038a546"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u62BD\u53D6\u641C\u7D22\u6846, \u54EA\u91CC\u90FD\u4E00\u6837\u91CD\u590D\u7684\u4EE3\u7801 \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":"client/lib/screens/sessions/session_operation_bar.dart"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6f36d5c0c91493b5cb7addf31c43369a462e40f7c3a755edcd0e971342a13e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: color \u7EDF\u4E00 \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":"client/lib/screens/sessions/session_sql_editor.dart"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bfa78d60e7fe2bb95ce3bfe180162e0e5ae20ac9627124b8e3149c95350297"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u989C\u8272\u7EDF\u4E00\u653E, \u76EE\u524D\u548C explain \u6309\u94AE\u4F7F\u7528\u540C\u6837\u989C\u8272 \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":"client/lib/screens/sessions/session_sql_results.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0569be342e45c26b6026ac430b8043b88b35f3615c6dc041783026203ed59717"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u4F7F\u7528sql parser \u5904\u7406 \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":"client/lib/screens/sessions/ai_chat/message_tool.dart"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48b246bf846056cb96d8295de8b8a7c9fb5eabdb3fe2f23142643bd75222bfe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: aync \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":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3aa34c97146d1dc7062c6818cd26e74efe38009e47bf2d79220cb9b0eeb1b99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: aync \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":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1509552be66b192666c834d32f89737fcc82c6a8c2b3b143858e244205a0cb30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u66FF\u6362 getInstance \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":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3199e3cde7bd86911385a2572ea7a1fffb8755fd2a5c5fbbce4326fd3215b23e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: handler error; \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":"client/lib/repositories/instances/session_conn.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58156b3d5571cb37c9ccd359df7d3c57bfdcb8c059cee11dad7d121b8c7b578"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: TaskModel \u4E0E ExportDataModel \u6709\u5927\u91CF\u91CD\u590D\u5B57\u6BB5\uFF0C\u540E\u7EED\u770B\u6709\u5565\u597D\u7684\u65B9\u5F0F\u4F18\u5316 \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":"client/lib/models/tasks.dart"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"560aacbef9a7bd12a3876a640928429d2112510d0e3591345ebb6f9d50172844"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: \u5B9E\u73B0\u8981\u4E0EInstanceListModel\u4E00\u6837\u5B9A\u4E49\uFF0C\u4FDD\u6301\u7EDF\u4E00 \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":"client/lib/models/tasks.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f536506b9c1a8a845efda9709b6df8805dfe865b0b7fe2e84fcd37eb9604e0"}},{"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. ADRs are expected here because \u0060server/bin/server.dart\u0060 makes this repository a deployable product (line 21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/bin/server.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100f3a344a50847116ed9b1843d38a4d1086f109c6069afffc1e804fee2c897"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getSqlResults\u0060 spells \u0060Sql\u0060 where 12 names in the project spell it \u0060SQL\u0060: 12 of 13 names in project repository.models spell the token \u0060SQL\u0060 (12 of 13; unit: names in project repository.models containing \u0060SQL\u0060). Peers: SQLResultRepo.deleteSQLResults (client/lib/models/sessions.dart:52); SQLResultRepo.selectSQLResult (client/lib/models/sessions.dart:53); SQLResultRepo.selectedSQLResult (client/lib/models/sessions.dart:54); SQLResultRepo.reorderSQLResult (client/lib/models/sessions.dart:55); SQLResultRepo.addSQLResult (client/lib/models/sessions.dart:56). Rename to \u0060getSQLResults\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/models/sessions.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ff717d12a32570843724e27dd0dcd3c7a5a9eda1ba3734a06cb160aa2e38cc"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060client\u0060 (20226 LoC, 291 module-visible types across 23 directories) overshoots its size bounds. 1 of 8 build unit(s) (Go, Python, Xcode, pub) overshoot their size bounds, lowering Project Cohesion to 7.5/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"client/pubspec.yaml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca92a2900955e910f84c8438c0345fad9c6cd1fb7ddf2251ac22bdbb93e4e5cb"}},{"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":"2a716fc54d08bb7bc79455e84f9bc0eab447abd8a987dee1b94c83893471f2ab"},"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":"7de100f9b1abc1503040b289d4cae49acbbb5406107b61cf3a04942abc5c5b5a"},"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":"82fc058234d5ae18d5e2631e7062fa22668c164830e423214595547fc85c114d"},"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":"34f998d59eaff18b05f62f3ffd53eb1d86ddd758e021a3b06f3dd141181d69a1"},"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":"681da43b4c5181d98f30f754e9edcbd71f491d7ce35d926be8abab819c635127"},"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":"adb449e988d831cc5d3b781a669f0eed1c8ade6818ef3cfa85eaaea76d8a1183"},"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":"28a22b0425f35ebb8cd6cab214068d7de9ab4f0fb3770a4e4e10aa7bb806e466"},"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":"79561f5d7398db22dcf10200c64f8ab9270e7adc0fe9a8e1c16ca65ecd82ea7d"},"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":"fa3592ff91cf68bde0ba999d79e192bd9be631530417ffcc637544b1ed4ae4c1"},"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":"0e42d2fb5e2550ab08f23dd8ffb64ff44833abef975224380f15d5b63a3e95e1"},"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":"833414a171ffd7d126541e8604b97fc462c42822b268f638c6a5e477bcf193d3"},"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":"dce7690c5b8b9dcef6a870d013768df174342f77b5153f3cac9e64b30157e02e"},"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":"d032bfe3a69a08649fb2882e6951ac68b35d09e34339045ad8b009478c09252d"},"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":"929857720ca8d5cf4a1b101f1773b7b995b3425ce752c7b4140b388b656f5c4e"},"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":"3e8bccedbc4e5f5b7c841104d1e154bd7b84b850de42bdb6ff24299c9473048e"},"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":"5bd5e799359bbe31a817b0699fc737168449cead8a0354e12cd01d8071da2ca6"},"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":"71598f8affe18e6df6c29f7ec038e82375deaecf7e0431355c3b96c40c429286"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"48d724fce455b2c4a6cb13f8aca1563e263defb5b60f22db05bc790cf5a4db9a"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"674729f8e387ab65b071ee06e6c27ad5c3bb5cd28f4bfb80be8baa5795579545"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2a702466273fdd8f5baeac3a4b019e8dbfdc50aeaaa98057e0e817898fd1a8e"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18f34827f768e3384b6053fb307dfbb9aec5ede3089d24684f8e70fd727c0b96"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f4d7ca23aa03c64ea2d2c84e9b19106828f1ffdf2662c8912469e4c61182008c"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a01d77a3d95f36b0fbd8a399f6e62abc1b7638ffe089c9b5219ac541a8e6be2"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e77e66ee0133ba836361683ac61b199640af5d77ecb62a7d2d2d87ce2dedbcc"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d391d8bbdcff116165a333f0005bfd04292f50adbadd33c9b27043c47015ef17"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"44773a1b0f0fcb4157bbb276c5f8aa9caafaf404c290b149a1e20d3a2b99b3cf"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c3057e85c89c350b4c407cf020aa3f0fa5defef2bb96bf018af2140dd39f837"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8464a4d3c567b90783d7176563a816ef6b758aad51fe515cbf4b4fbe1b93d86"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"60c9daf6976cc636d7376cc7aeb04731b9b0a335f6d7ebe8c293c8642bd19dde"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08efbd51f488329dadd728ccdda2d490ad77db75aa652cc892a2165d2b44415f"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae5061de382a355325819144f1266461eab09bc1835c3c8ad80b5526a2c32696"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b1a8906e8b713f0b88feda99c2c83ca909e00d8f2cc6e4c0709d82e7e1c2f8b0"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d98cf8ebc1f87d29648b5b2ea60d09a2142151cb08b00c7da9222ab08efeacf4"},"properties":{"dependency":{"package":"stdlib","version":"1.26.1","advisory":"GO-2026-4864","aliases":["BIT-golang-2026-111943","BIT-golang-2026-27145","BIT-golang-2026-32280","BIT-golang-2026-32281","BIT-golang-2026-32282","BIT-golang-2026-32283","BIT-golang-2026-32288","BIT-golang-2026-32289","BIT-golang-2026-33810","BIT-golang-2026-33811","BIT-golang-2026-33814","BIT-golang-2026-33818","BIT-golang-2026-39820","BIT-golang-2026-39822","BIT-golang-2026-39823","BIT-golang-2026-39825","BIT-golang-2026-39826","BIT-golang-2026-39836","BIT-golang-2026-42499","BIT-golang-2026-42504","BIT-golang-2026-42505","BIT-golang-2026-42507","BIT-golang-2026-46600","BIT-golang-2026-56853","BIT-golang-2026-56857","BIT-golang-2026-56858","BIT-golang-2026-56859","BIT-golang-2026-56860","BIT-golang-2026-56862","BIT-golang-2026-56866","BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78667","BIT-golang-2026-78669","BIT-golang-2026-94439","BIT-golang-2026-94440","BIT-golang-2026-94448","BIT-golang-2026-97030","BIT-golang-2026-97031","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-4865","GO-2026-4866","GO-2026-4869","GO-2026-4870","GO-2026-4918","GO-2026-4946","GO-2026-4947","GO-2026-4970","GO-2026-4971","GO-2026-4976","GO-2026-4977","GO-2026-4980","GO-2026-4981","GO-2026-4982","GO-2026-4986","GO-2026-5026","GO-2026-5037","GO-2026-5038","GO-2026-5039","GO-2026-5856","GO-2026-5942","GO-2026-5972","GO-2026-6088","GO-2026-6089","GO-2026-6090","GO-2026-6091","GO-2026-6218","GO-2026-6599","GO-2026-6600","GO-2026-6603","GO-2026-6604","GO-2026-6605","GO-2026-6607","GO-2026-6608","GO-2026-6609","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6613","GO-2026-6617","GO-2026-6809","GO-2026-6859","RUSTSEC-2026-0381","RUSTSEC-2026-0382","RUSTSEC-2026-0383"],"severity":"medium","fixedVersion":"1.26.2","relation":"direct","declaredRange":"1.26.1","reachability":{"kind":"production","file":"pkg/db_driver/go_impl/src/mongodb.go","line":8}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f7b710e0e068f4d7dc52a925691427d1d8bcc4b2b866d5c7268ee3a4e19c524"},"properties":{"dependency":{"package":"github.com/jackc/pgx/v5","version":"5.9.1","advisory":"GO-2026-5004","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"5.9.2","relation":"direct","declaredRange":"5.9.1","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"748ada19036c2b4d12a9a2b3e0b69c72c80d49312742d2d0542a11f7655277d3"},"properties":{"dependency":{"package":"github.com/redis/go-redis/v9","version":"9.7.0","advisory":"GO-2025-3540","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"9.7.3","relation":"direct","declaredRange":"9.7.0","reachability":{"kind":"production","file":"pkg/db_driver/go_impl/src/redis.go","line":9}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0cd620f989a7cafb89a401a99543afea636d581cbbe048c07da49bf9f318b3c2"},"properties":{"dependency":{"package":"filippo.io/edwards25519","version":"1.1.0","advisory":"GO-2026-4503","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.1.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e174b40a96ccfe9c07a784a1149aa01592439b099eefcc5ad92c0e073cde86a0"},"properties":{"dependency":{"package":"github.com/andybalholm/brotli","version":"1.2.2","advisory":"GO-2026-6888","aliases":["BIT-brotli-2026-111497","BIT-dotnet-2026-111497","BIT-dotnet-sdk-2026-111497","BIT-node-2026-111497","BIT-node-min-2026-111497","BIT-powershell-2026-111497","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4322","PYSEC-2026-4323"],"severity":"medium","fixedVersion":"1.2.7","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46f9bb7f0b66ec5dfff4870d52ead603b50ceeca8e8bdefde05048ccdbae9ea6"},"properties":{"dependency":{"package":"github.com/klauspost/compress","version":"1.19.1","advisory":"GO-2026-6865","aliases":["[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.20.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0800ec4a36c2641456ca2f7404e7667b52d7ac38d88d74b0f87bfb5875c1afca"},"properties":{"dependency":{"package":"go.opentelemetry.io/otel/trace","version":"1.44.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.47.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d568749e4b24f91ae5ebfddee446330ca19e45cd4078cc836fac4cc5ca595bb2"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.54.0","advisory":"GO-2026-5932","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6303","GO-2026-6354","GO-2026-6355"],"severity":"medium","fixedVersion":"0.58.1-0.20261009181718-2f1f834330b2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62e6a37a92ded400a1fcf2b994e6d9c8c56051626fa4b86c5f5082e2ccb5a0e2"},"properties":{"dependency":{"package":"golang.org/x/mod","version":"0.37.0","advisory":"GO-2026-6179","aliases":["BIT-golang-2026-56864","BIT-golang-2026-56865","[CVE redacted]","[CVE redacted]","GO-2026-6180"],"severity":"medium","fixedVersion":"0.40.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cc06f97a62fc2f905e6074aee6b70231e63c3aeccccc58daa5c5b61d29c933c"},"properties":{"dependency":{"package":"golang.org/x/text","version":"0.40.0","advisory":"GO-2026-6629","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.41.0","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","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":"8780e3c2d62c4087aa3e26d93854725b6901274ca2890c75350037c9aa9797bd"}},{"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":"f46d5ca45c0cd1fcafe407cf9abf50de09322e3e9b8184792b38b33683f6577b"},"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":"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":"f2751613271015710cbd5ea48e057ef2f6b936e6cce35e56e05dff1fa381bb4d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: session_sql_editor.dart \u2194 split_view.dart: \u0060client/lib/screens/sessions/session_sql_editor.dart\u0060 (context screens) and \u0060client/lib/widgets/split_view.dart\u0060 (context widgets) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060df89a145\u0060 tmp: \u4F1A\u8BDD\u754C\u9762\u6539\u9020; \u0060fe8db737\u0060 tmp: \u4F1A\u8BDD\u754C\u9762\u6539\u9020; \u0060567aa4fc\u0060 tab \u9875\u6539\u9020\u7684\u4E00\u90E8\u5206 (at that commit the file was still \u0060client/lib/screens/session.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/screens/sessions/session_sql_editor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"612a643ccc8f3ab20d5d8f9d93b2f79fa8d1a1db7580dc009e1ae3755ee622b4"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: task.dart \u2194 task.dart: \u0060client/lib/repositories/tasks/task.dart\u0060 (context repositories) and \u0060client/lib/screens/tasks/task.dart\u0060 (context screens) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00606e1d7780\u0060 \u5206\u9875\u5C55\u793A\u7684\u4FE1\u606F\u4F18\u5316; \u0060dbf947a5\u0060 \u652F\u6301\u6D41\u5F0F\u5BFC\u51FA, \u6781\u5927\u51CF\u5C11\u5927\u6570\u636E\u5BFC\u51FA\u7684\u5185\u5B58\u5360\u7528.\u5E76\u6DFB\u52A0\u8FDB\u5EA6\u5C55\u793A; \u00601e3e4d35\u0060 \u652F\u6301\u5C55\u793A\u4EFB\u52A1\u9519\u8BEF\u539F\u56E0 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/tasks/task.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800f631b8d7a14f6b2c654fa824540771eaccb7f7415bae2aa92c5804333083"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: session_sql_result.dart \u2194 session_conn.dart: \u0060client/lib/repositories/sessions/session_sql_result.dart\u0060 (context repositories) and \u0060client/lib/services/sessions/session_conn.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060a5cc81d0\u0060 \u6D88\u9664riverpod\u6CC4\u9732\u7684\u98CE\u9669; \u00605022107f\u0060 support kill query; \u00602f691799\u0060 support health check \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/sessions/session_sql_result.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed7df3c657d6b4996467d5e4c65e7370ff2ad9a360f61bc9a7c300f9e1503f5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ai.dart \u2194 prompt.dart: \u0060client/lib/models/ai.dart\u0060 (context models) and \u0060client/lib/services/ai/prompt.dart\u0060 (context services) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060801a5ad1\u0060 \u91CD\u6784: ai chat \u7CFB\u7EDF\u63D0\u793A\u8BCD\u652F\u6301\u4F20\u5165\u66F4\u591A\u7684\u6570\u636E\u5E93\u4FE1\u606F,\u51CF\u5C11\u4EA4\u4E92\u6B21\u6570; \u0060d7206010\u0060 ai: \u65B0\u589E\u5BFC\u51FA\u529F\u80FD\u548C\u4EFB\u52A1\u7BA1\u7406; \u00608a78f497\u0060 \u589E\u52A0\u9519\u8BEF\u5904\u7406\u548Cretry \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/models/ai.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed628c19da293559ee2ed527aee75f8e0215b91ac95a5ea8e0d403fe24407c13"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: db_driver_mysql.dart \u2194 db_driver_pg.dart: \u0060pkg/db_driver/lib/src/db_driver_mysql.dart\u0060 and \u0060pkg/db_driver/lib/src/db_driver_pg.dart\u0060 change together 81% of the time (13 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 13 shared commits counted here, the most recent 3 are \u00608856589b\u0060 mysql \u548Cpg \u91C7\u7528go\u5F00\u53D1\u9A71\u52A8; \u0060a0f79967\u0060 fix some bug; \u0060801a5ad1\u0060 \u91CD\u6784: ai chat \u7CFB\u7EDF\u63D0\u793A\u8BCD\u652F\u6301\u4F20\u5165\u66F4\u591A\u7684\u6570\u636E\u5E93\u4FE1\u606F,\u51CF\u5C11\u4EA4\u4E92\u6B21\u6570 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mysql.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ccc0b50bea05ede436f276c304ee4bfffcff440e5f4c9424323903a2a7556d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: session_conn.dart \u2194 session_sql_result.dart: \u0060client/lib/repositories/instances/session_conn.dart\u0060 and \u0060client/lib/repositories/sessions/session_sql_result.dart\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060df63c5fe\u0060 1.\u4FEE\u590DSQL\u7ED3\u679C\u53EF\u80FD\u4E0D\u5237\u65B0\u7684bug, 2. \u8C03\u6574\u6570\u636E\u5E93\u8FDE\u63A5\u63A2\u6D3B\u65F6\u95F4,\u4E0D\u8981\u592A\u9891\u7E41 (at that commit the file was still \u0060client/lib/repositories/sessions/session_conn.dart\u0060); \u0060a5cc81d0\u0060 \u6D88\u9664riverpod\u6CC4\u9732\u7684\u98CE\u9669 (at that commit the file was still \u0060client/lib/repositories/sessions/session_conn.dart\u0060); \u00605022107f\u0060 support kill query (at that commit the file was still \u0060client/lib/repositories/sessions/session_conn.dart\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/instances/session_conn.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b0ba1e4a0d282e4bac6bb414a1b545e912e0c36f65c90ccc231f34de425c3"}},{"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"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":"d22daa3c0142b2577729e9d60b135c41dc9a81a791c89edb17e6b6fbaea2749f"},"taxa":[{"id":"CICD-SEC-5","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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.skipLink:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/styles/global.css"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32a0f282d547807129f668d027a5103d1d5496357652913e65012db429e0214"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.skipLink\u0060 moves (\u0060transition: transform 160ms ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/styles/global.css"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aac7f4ff459a4daa0399c8ed4b032e52bdecfb31f3a5cde803a117920286f7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.btn\u0060 moves (\u0060transition: background 150ms ease, border-color 150ms ease, transform 150ms ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/styles/global.css"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90aa90bfdb625e1e76615bce3da264d61be200b8bf725e5261094160492f8d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060[data-reveal]\u0060 moves (\u0060transition: opacity 520ms ease, transform 520ms ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/styles/global.css"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac46f06f1b65032882f254b9605755fa014a1ab3bcbc2b6b82006f524eaba45"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No encryption usage (the encrypt package\u0027s Encrypter, cryptography\u0027s AesGcm/Chacha20, pointycastle ciphers, libsodium\u0027s secret box, flutter_secure_storage, an encrypted Hive box, a Realm or Isar encryptionKey, SQLCipher) was found, and this repository persists personal data in the model cited here \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda7cbfe7716c0bc62c4021be53187374bca61241d581d5ed3de41f5d4ed0287"}},{"ruleId":"C2","level":"warning","message":{"text":"No authorization: This repository serves requests \u2014 a shelf server (shelf_io.serve) (server/bin/server.dart:30) \u2014 and no route guard, auth-gate middleware, global guard or imperative check that refuses a caller (401/403, an Unauthorized/Forbidden error) was found: its endpoints may be unprotected."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/bin/server.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f38036ebe003c3a4738042b2e2eda247669b3a9aa6179b0fd04d38a59a38344"}},{"ruleId":"ED4","level":"error","message":{"text":"Dual write (no outbox): SessionRepoImpl.deleteSession: \u0060SessionRepoImpl.deleteSession\u0060 performs two independent DURABLE writes \u2014 \u0060_sessionCodeBox\u0060 (a durable store) and \u0060_sessionBox\u0060 (a second durable store) \u2014 in one command path with no shared transaction or outbox. A crash between the two leaves the stores diverged (one write committed, the other lost) or emits a phantom record. Wrap both in one transaction, or record the second write in the same store and dispatch it afterwards (a transactional outbox)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/sessions/sessions.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b22acc79eee278096528813d16944ff0ed6a6b93058a98746386e8ecaae1eb"}},{"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":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060repository\u0060 is marked as implementation by its own namespace, folder or name: \u0060NativeImpl\u0060 (pkg/db_driver/go_impl/lib/go_impl_bindings_generated.dart:11, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/lib/go_impl_bindings_generated.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0f0499e25af4f2e8045f46102747bcb442473f712d10c71a4d9dabca6b2d7e"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/6 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060client/macos\u0060, \u0060pkg/db_driver/go_impl/src\u0060, \u0060pkg/sql_complete\u0060, \u0060pkg/sql_complete\u0060, \u0060server\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060docs/site/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8e5202372c27f06fe40842cff4d786be7ea97a6576b61bd0159cd8fd96d13a"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository runs an HTTP server that is not bound to the loopback interface alone \u2014 or binds it at an address its source does not spell out \u2014 and nothing in its Dart source secures the transport: no \u0060HttpServer.bindSecure\u0060 or \u0060securityContext:\u0060, no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: server/pubspec.yaml:11 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Dart server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: server/pubspec.yaml:11 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No inbound request validation detected: No handler of this repository\u0027s Dart server answers 400, 413 or 422 (\u0060Response.badRequest\u0060, \u0060HttpStatus.badRequest\u0060, \u0060statusCode = 400\u0060) and no validation package (luthor, acanthis, ez_validator, json_schema, \u2026) is imported \u2014 nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (\u22122.0 on this card.) The server: server/pubspec.yaml:11 \u2014 depends on \u0060shelf\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ffa303f3c9cef4b4c2cf028a78ce2f3c83f6078f80716eea7362fad047265eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.scanner.curChar() == Char.star \u0026\u0026 ctx.scanner.hasNext() \u0026\u0026 ctx.scanner.nextChar() == Char.slash\u0060 appears character-identically in 2 files \u2014 pkg/sql_parser/lib/src/dialect/mysql/lexer.dart, pkg/sql_parser/lib/src/lexer/token_builder.dart. 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":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eb8370851c9ab41e495296ad1eab8546f3023d09ac082ca7c1ec81e8e94563"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.scanner.hasNext() \u0026\u0026 ctx.scanner.next()\u0060 appears character-identically in 2 files \u2014 pkg/sql_parser/lib/src/dialect/mysql/lexer.dart, pkg/sql_parser/lib/src/lexer/token_builder.dart. 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":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"762fc8efe88005ad035041502802de594d873e6e8af3142b4fc3b16cfa438239"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.scanner.hasNext() \u0026\u0026 ctx.scanner.nextChar() == Char.$n\u0060 appears character-identically in 2 files \u2014 pkg/sql_parser/lib/src/dialect/mysql/lexer.dart, pkg/sql_parser/lib/src/lexer/token_builder.dart. 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":"pkg/sql_parser/lib/src/dialect/mysql/lexer.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c71eb5c453065046d85ffe9a308213d354b288d735df056508314d721268b9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060limit != null \u0026\u0026 limit \u003E 0 \u0026\u0026 sd.canLimit\u0060 appears character-identically in 2 files \u2014 pkg/db_driver/lib/src/db_driver_interface.dart, pkg/db_driver/lib/src/db_driver_redis.dart. 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":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e35a26f7923382466cf3738794743d9053f8e2ad664f3521c279e370f132c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060meta.getValue(\u0027tls\u0027, \u0027false\u0027).toLowerCase() == \u0027true\u0027 || meta.getValue(\u0027ssl\u0027, \u0027false\u0027).toLowerCase() == \u0027true\u0027\u0060 appears character-identically in 2 files \u2014 pkg/db_driver/lib/src/db_driver_mongodb.dart, pkg/db_driver/lib/src/db_driver_redis.dart. 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":"pkg/db_driver/lib/src/db_driver_mongodb.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc2edd492148a87266f2fe59d7070761ac851a638c65c35d4b58bcf759db838"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resultColumns == null || resultAffectedRows == null\u0060 appears character-identically in 2 files \u2014 pkg/db_driver/lib/src/db_driver_interface.dart, pkg/db_driver/lib/src/db_driver_mongodb.dart. 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":"pkg/db_driver/lib/src/db_driver_interface.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a264bb84ae19f90adb5f0ff960c0e5d9885a3aa62d9fbeefb65aa1e05cbd1e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060schema != null \u0026\u0026 schema.databaseName().isNotEmpty\u0060 appears character-identically in 2 files \u2014 pkg/db_driver/lib/src/db_driver_mssql.dart, pkg/db_driver/lib/src/db_driver_redis.dart. 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":"pkg/db_driver/lib/src/db_driver_mssql.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cecb08dbc48c2369c77a5d873635a02948267ef0e4ad8982d918f225b276e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tok.id == TokenType.punctuation \u0026\u0026 tok.content == delimiter\u0060 appears character-identically in 9 files \u2014 pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart, pkg/sql_parser/lib/src/dialect/duckdb/parser.dart, pkg/sql_parser/lib/src/dialect/mongodb/parser.dart, pkg/sql_parser/lib/src/dialect/mssql/parser.dart. 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":"pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aca40a7d49154eeda6409274a815159df420edcc8c5b0115d482ef4e996037e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.id == TokenType.whitespace || token.id == TokenType.comment\u0060 appears character-identically in 2 files \u2014 pkg/sql_parser/lib/src/lexer/lexer.dart, pkg/sql_parser/lib/src/parser/match.dart. 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":"pkg/sql_parser/lib/src/lexer/lexer.dart"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c0bd9ac4f0f1e8645011b440d0a07b02c629010447d2abd1aed068949b720"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060token.id == TokenType.whitespace || token.id == TokenType.comment || (token.id == TokenType.punctuation \u0026\u0026 token.content == \u0022;\u0022)\u0060 appears character-identically in 8 files \u2014 pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart, pkg/sql_parser/lib/src/dialect/duckdb/parser.dart, pkg/sql_parser/lib/src/dialect/mssql/parser.dart, pkg/sql_parser/lib/src/dialect/mysql/parser.dart. 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":"pkg/sql_parser/lib/src/dialect/clickhouse/parser.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3cd212d55787f32512ce958039d58e5f8635257a9f28bcb657368c707cadfe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded)\u0060 appears character-identically in 2 files \u2014 pkg/db_driver/go_impl/src/clickhouse.go, pkg/db_driver/go_impl/src/duckdb.go. 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":"pkg/db_driver/go_impl/src/clickhouse.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb07e987dee7cf8a1856d319da934082fa6665976a325dfd9aacf00818d6d307"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/tool/annotate_object_roles.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660528941101e796339026cd3fcbc792d94c2fde10e29ae4e5d68c40222b413"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/sql_complete/lib/src/checkpoint.dart"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca97d72effedfcf853f91a585acbd9e234ddc61c594e9f0afd9bc67ef1a43f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_mongodb.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"480d1a4e17deb99aa94ba436387addc3e0ab995ff5bca35f4dcdc42ef7a55e81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/lib/src/db_driver_redis.dart"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed888092a373888cb3db70ddc75a61fa0912a53182fa1428036b4a59969b7d91"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mongodb.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9974903a22976f0adff7eccca01b9f115f14186175d5ae00bbb6d3c6c5fda8a9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/services/ai/tool_query.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea5722835cd3e85be3594bcff49f44668d5d75ebd0d5ee2b143c7915d1a7436"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/instances/instances.dart"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8e66ee7a0f57b082ff07d6968fd863d4f1401fc23f3c7f17b8258a1a2acb59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060close()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/repositories/instances/session_conn.dart"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8b97185b3ff9475e651baf6582d9b0d855154931d1a0440827cd49b67c37b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/lib/models/keyboard.dart"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0adbf896cb8815af7033281bf4b3068588dedb3ae0bac61865d06f3ffaea831"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060defaultDBFromURI\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022test\u0022\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pkg/db_driver/go_impl/src/mongodb.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a739e64499f7e818a4402942b8415fb4bdcdf92f72832244dfc239840d294c"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.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-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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"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":52,"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."]}]}