{"$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":"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":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"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":"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":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"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":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"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":"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":"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":"TypeResolver._resolveBuiltInFunction (cyclomatic 82): TypeResolver._resolveBuiltInFunction has cyclomatic complexity 82 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38591e71a0621f651f56f960cb80bef4e09749a16ec9ed27d6c5f34812c04b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnParser.parse (cyclomatic 65): ColumnParser.parse has cyclomatic complexity 65 (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":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf1c6e87691cc6245e48898833a83382c7bbd5f10e29b1016fbf7e81de77c4c"}},{"ruleId":"D1","level":"warning","message":{"text":"Scanner._consumeToken (cyclomatic 60): Scanner._consumeToken has cyclomatic complexity 60 (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":"sqlparser/lib/src/reader/tokenizer/scanner.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"702e614f14950f189869e678449b237829de6484df0aef5c5045c7a9e4483dfc"}},{"ruleId":"D1","level":"warning","message":{"text":"DriftTableResolver.buildPending (cyclomatic 51): DriftTableResolver.buildPending has cyclomatic complexity 51 (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":"drift_dev/lib/src/analysis/resolver/drift/table.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"712014ae28caf0aaa13b80d7162d1fa9d686ee9289b3b3e946651715ec7f352d"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementDeserializer.readDriftElement (cyclomatic 45): ElementDeserializer.readDriftElement has cyclomatic complexity 45 (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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e9ff5d0067b577ab82fc9159d12a814bc89ee4bfa7dbd5c190ebedba4be448"}},{"ruleId":"D1","level":"warning","message":{"text":"ElementSerializer._serialize (cyclomatic 32): ElementSerializer._serialize has cyclomatic complexity 32 (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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b62a7339ca55d3b805030913f512b100b7a9cf6e233a8f608aa7d136de2acb"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaBuffer._applyAlterTable (cyclomatic 31): SchemaBuffer._applyAlterTable has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/utils/schema_buffer.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"28710465621e385aec7240c7594957fc0be12c2efde7549fd3eb89934d51f4a9"}},{"ruleId":"D1","level":"warning","message":{"text":"MatchExistingTypeForQuery._findRowType (cyclomatic 30): MatchExistingTypeForQuery._findRowType has cyclomatic complexity 30 (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":"drift_dev/lib/src/analysis/resolver/queries/existing_row_class.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ccf132826e9edef9c066c9239f98738eb83c22c0f351a475806f455b361f37"}},{"ruleId":"D1","level":"warning","message":{"text":"Scanner._numeric (cyclomatic 30): Scanner._numeric has cyclomatic complexity 30 (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":"sqlparser/lib/src/reader/tokenizer/scanner.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"871146a1cb7a4dfe381a4b848bb45f861e01b067025483a8621c4b5ae0076b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"DriftProtocol.decodePayload (cyclomatic 28): DriftProtocol.decodePayload has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/remote/protocol.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c58fd91854de3b04e4f0511666f68f5e3c8559fd39fc89632ba283288bf7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"FileAnalyzer.runAnalysisOn (cyclomatic 25): FileAnalyzer.runAnalysisOn has cyclomatic complexity 25 (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":"drift_dev/lib/src/analysis/resolver/file_analysis.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf3f03104e36b8303e67a1985aa97261830a3788a4c2893d0a84f903b33de54"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlTypes.read (cyclomatic 24): SqlTypes.read has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd67d015b64e3f40244bb916ad32e4aa227d3de56f1652c48e480d7792d40fc0"}},{"ruleId":"D1","level":"warning","message":{"text":"DatabaseWriter.write (cyclomatic 24): DatabaseWriter.write has cyclomatic complexity 24 (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":"drift_dev/lib/src/writer/database_writer.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaae615fd2f824b571c0a3435f8471f249791ad19bc2ad3ef6cdd3be94062af"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryWriter._writeParameters (cyclomatic 24): QueryWriter._writeParameters has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"af75d46c6b54898f2a0a00fd70d087b1af401f21352b464ab93d9aac60baa265"}},{"ruleId":"D1","level":"warning","message":{"text":"NodeSqlBuilder.visitDriftSpecificNode (cyclomatic 24): NodeSqlBuilder.visitDriftSpecificNode has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/utils/node_to_text.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c1711fe2eb23992c789a43431856902c0012a3b0a59ae3f528a0a386c1d1cb"}},{"ruleId":"D1","level":"warning","message":{"text":"DriftProtocol.encodePayload (cyclomatic 23): DriftProtocol.encodePayload has cyclomatic complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/remote/protocol.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb04fca42eb32c0ff76025e95dab7815a3d3d88d0c8d93bdf6e862caf7a5d78"}},{"ruleId":"D1","level":"warning","message":{"text":"_DartToDrift3Rewriter.visitMethodInvocation (cyclomatic 23): _DartToDrift3Rewriter.visitMethodInvocation has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/upgrade/drift3.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dca8b33e590f0d29f8291b5e93281f6bc2c3512724666bd44cdc5e7ebf1edb"}},{"ruleId":"D1","level":"warning","message":{"text":"TableOrViewWriter.instantiateColumn (cyclomatic 23): TableOrViewWriter.instantiateColumn has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"7152c29c85109ce825de0d1eae51b7d73e83e246429c2de26ef1bfbf2e7780d8"}},{"ruleId":"D1","level":"warning","message":{"text":"DartTableResolver.buildPending (cyclomatic 22): DartTableResolver.buildPending has cyclomatic complexity 22 (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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd9aa034408e8803689cae4597ff3e5df345655c10d3a6485571bc3a44bae7d"}},{"ruleId":"D1","level":"warning","message":{"text":"DataClassWriter.write (cyclomatic 22): DataClassWriter.write has cyclomatic complexity 22 (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":"drift_dev/lib/src/writer/tables/data_class_writer.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bc334b47c66818a8f9bf0b620e0a29070dc6ad2a7c949a1d8378cc1e069626"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeResolver._resolveFunctionArguments (cyclomatic 22): TypeResolver._resolveFunctionArguments has cyclomatic complexity 22 (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 is NOT this file\u0027s highest cyclomatic complexity: TypeResolver.visitBinaryExpression (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c3ed6b6f9c2fc2abea5dd4a36a81725c5710d1ab643f8ef190d57bf3d50b26"}},{"ruleId":"D1","level":"warning","message":{"text":"Migrator.alterTable (cyclomatic 21): Migrator.alterTable 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":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4c3139dcea1b5101114d6ff2d88efa1366b5ab6632d0c2dd1259ad55f0ae13"}},{"ruleId":"D1","level":"warning","message":{"text":"InsertStatement._writeOnConflict (cyclomatic 20): InsertStatement._writeOnConflict 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":"drift/lib/src/runtime/query_builder/statements/insert.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0573da33a4bbd8170523b4f149a2dc2d0d7ad13814eb19fcf8d9e90f13a47d"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryAnalyzer._extractElements (cyclomatic 20): QueryAnalyzer._extractElements 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":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"85008611a52c15715787d8c03f8f0e19cf01b5a5bbb9e5793d3788738bb671ec"}},{"ruleId":"D1","level":"warning","message":{"text":"DartAccessorResolver.buildPending (cyclomatic 19): DartAccessorResolver.buildPending has cyclomatic complexity 19 (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":"drift_dev/lib/src/analysis/resolver/dart/accessor.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c968c50ae73b6e51d1a5bed4e71e033c4ae87999144c78999080ce5db1678cf"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryAnalyzer._inferResultSet (cyclomatic 19): QueryAnalyzer._inferResultSet has cyclomatic complexity 19 (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":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12f8b0121ea50ba14d6f441a814598404b2715676c84047c20551a163d66019"}},{"ruleId":"D1","level":"warning","message":{"text":"ResultSetWriter.write (cyclomatic 19): ResultSetWriter.write has cyclomatic complexity 19 (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":"drift_dev/lib/src/writer/queries/result_set_writer.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5513b9252c7f240b05660b76c427bcb2c26c81222e60a927916f33638953e6d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnResolver._handle (cyclomatic 19): ColumnResolver._handle has cyclomatic complexity 19 (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":"sqlparser/lib/src/analysis/steps/column_resolver.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"3791af8643bfdd64feec7b7dd00dc64fcd8bef2782ad756fe978dbee93dd9a9e"}},{"ruleId":"D1","level":"warning","message":{"text":"DartViewResolver._parseSelectStructure (cyclomatic 18): DartViewResolver._parseSelectStructure has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/view.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fd9d93b33aa50cbd29739309ed478d24100cb3a83104decacb71a0f2fcd7de"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryAnalyzer._extractPlaceholder (cyclomatic 18): QueryAnalyzer._extractPlaceholder has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcbb1ed8b90b33545bb27f8fe700b7f57752ea7c5ef5d0b0708db4691f9251d"}},{"ruleId":"D1","level":"warning","message":{"text":"TableOrViewWriter._instantiateColumnDrift3 (cyclomatic 18): TableOrViewWriter._instantiateColumnDrift3 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":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90fd755066eee1a41b8154f6f959692579c141ec8931d21b4e2e17be81fcc98"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaFromCreateTable.resolveColumnType (cyclomatic 18): SchemaFromCreateTable.resolveColumnType has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/schema/from_create_table.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b2b23e735922468591a45d3778962c462925dcc15491205179b7c958acf0fd"}},{"ruleId":"D1","level":"warning","message":{"text":"LintingVisitor.visitCreateTableStatement (cyclomatic 18): LintingVisitor.visitCreateTableStatement has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eb2e8b182a7b6046ae1fd7d753bc343e7ecae0d88275c705fa91fb93049927"}},{"ruleId":"D1","level":"warning","message":{"text":"DriftServiceExtension._handle (cyclomatic 17): DriftServiceExtension._handle has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8676ae11464ee95085a1900fe8b168e982156b855072bccf7aedcc1ecb65bc7b"}},{"ruleId":"D1","level":"warning","message":{"text":"DriftServiceExtension._handle (cyclomatic 17): DriftServiceExtension._handle has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2da94c14f58b7a5db4795bb26fb29ebb375abd7f273f5b35e5bc2a6ac28c2bb"}},{"ruleId":"D1","level":"warning","message":{"text":"Migrator._writeCreateTable (cyclomatic 17): Migrator._writeCreateTable has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b516063df7219bb4182e1500d562f5adb6cc39a0fba15aca5c23c640dde88a"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnParser._tryExtractingStartMethod (cyclomatic 17): ColumnParser._tryExtractingStartMethod has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8283f834d46a3505cbbe6767fa332289bcf5ea69eb0049c205a21f73c17a1638"}},{"ruleId":"D1","level":"warning","message":{"text":"DiscoverStep.discover (cyclomatic 17): DiscoverStep.discover has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/discover.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3053e5a6d7e05a854948a40bcfaec1192353165e6bf96a42e0c0439460ac48"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaWriter._entityToJson (cyclomatic 17): SchemaWriter._entityToJson has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/schema/schema_files.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9bf3354dc61ef389d8056cc0233ab0bfd6273463f679fd49e59eb148be7a35"}},{"ruleId":"D1","level":"warning","message":{"text":"_Drift3MappingCodeWriter._writeArgumentExpression (cyclomatic 17): _Drift3MappingCodeWriter._writeArgumentExpression has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6f6e9eb8b139783836647643eaf16054750fe9999dc6b81d1a9000f82e6f61"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnParser._driftConstraintsFromCustomConstraints (cyclomatic 16): ColumnParser._driftConstraintsFromCustomConstraints 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":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a379940b6e7339cf1e6c324e71365c3e1fadc5d6fba75c48dadabcdabe7f031"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaWriter._columnData (cyclomatic 16): SchemaWriter._columnData 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":"drift_dev/lib/src/services/schema/schema_files.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb00c052eb0e9fccdcf0d486b43e01e2a6a75d95e76bf2befe4933f432bec8a"}},{"ruleId":"D1","level":"warning","message":{"text":"UpgradeToDrift3._transformBuildYaml (cyclomatic 16): UpgradeToDrift3._transformBuildYaml 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":"drift_dev/lib/src/services/upgrade/drift3.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87e579df4867da3bd2bed8e5fed4848fe9f97cc540180c27ec6cc66036cb0ba"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaVersionWriter._writeWithResultSet (cyclomatic 16): SchemaVersionWriter._writeWithResultSet has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/schema_version_writer.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a392c96d5ae6a906b4f398341f33eb456b2128f0e256e15833ff54ae91c409a"}},{"ruleId":"D1","level":"warning","message":{"text":"EqualityEnforcingVisitor.visitColumnConstraint (cyclomatic 16): EqualityEnforcingVisitor.visitColumnConstraint has cyclomatic complexity 16 (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":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2457edf4ae1e2b2fc8080e3da8f18ad6a24600f3fe0e610532e8e6dc82b854e"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftTableResolver.buildPending (cognitive 134): DriftTableResolver.buildPending has cognitive complexity 134 (threshold 15). Drivers by points: if/else 37 (93 pts), loops 8 (24 pts), ternaries 5 (15 pts), boolean chains 1, error handling 1 (nesting depth added 82). 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":"drift_dev/lib/src/analysis/resolver/drift/table.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"866bab0ab1f56a00221a1aa03adf55d9b540eb44401edb479543c380144e5bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnParser.parse (cognitive 113): ColumnParser.parse has cognitive complexity 113 (threshold 15). Drivers by points: if/else 38 (86 pts), match/switch 4 (9 pts), loops 4 (8 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 61). 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":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e5922718f9d8b670ce40a833a82dd161e6a62c0701bff634ee4eaeeb268537"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementDeserializer.readDriftElement (cognitive 85): ElementDeserializer.readDriftElement has cognitive complexity 85 (threshold 15). Drivers by points: loops 19 (39 pts), if/else 12 (21 pts), ternaries 7 (20 pts), match/switch 2 (5 pts) (nesting depth added 45). 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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e9d2ac7e39da186f8f945f681207bfa81bd5a59a064aaf5e770bf31d3ba3fe"}},{"ruleId":"D2","level":"warning","message":{"text":"MatchExistingTypeForQuery._findRowType (cognitive 78): MatchExistingTypeForQuery._findRowType has cognitive complexity 78 (threshold 15). Drivers by points: if/else 31 (69 pts), loops 4 (9 pts) (nesting depth added 43). 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":"drift_dev/lib/src/analysis/resolver/queries/existing_row_class.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9338313bff91608b9cb708ac8706fead8f812c0067d30d5ce6c93f25ce4579f8"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAnalyzer.runAnalysisOn (cognitive 69): FileAnalyzer.runAnalysisOn has cognitive complexity 69 (threshold 15). Drivers by points: if/else 15 (44 pts), loops 7 (23 pts), boolean chains 2 (nesting depth added 45). 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":"drift_dev/lib/src/analysis/resolver/file_analysis.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab5a86f9e3cebba336f13a426f1cb996d8e10ad1627baa42ade84cb1ec8b390"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaBuffer._applyAlterTable (cognitive 68): SchemaBuffer._applyAlterTable has cognitive complexity 68 (threshold 15). Drivers by points: if/else 18 (46 pts), loops 6 (17 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 41). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/utils/schema_buffer.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd99a8aa8e56eeaaa8b2b63a5726ab1ab47e78a97fc3c539df00a806cbdca0b"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner._consumeToken (cognitive 61): Scanner._consumeToken has cognitive complexity 61 (threshold 15). Drivers by points: if/else 32 (47 pts), ternaries 3 (7 pts), boolean chains 4, loops 1 (2 pts), match/switch 1 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/reader/tokenizer/scanner.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"148ba7eeb5157e72412a02282f061dda454d6a45618f83348d52f50b42a1c4f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ElementSerializer._serialize (cognitive 59): ElementSerializer._serialize has cognitive complexity 59 (threshold 15). Drivers by points: loops 14 (29 pts), if/else 15 (21 pts), ternaries 4 (9 pts) (nesting depth added 26). 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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa534d9f9fbf16ef30cf2fffb70f721a601ec81c0cfc5df34caecf79807b770"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner._numeric (cognitive 52): Scanner._numeric has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (35 pts), boolean chains 9, loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/reader/tokenizer/scanner.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c818ce54a67ea5a3461ccb561f2739a6d124fec29f916d75bf9a9a6093649395"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryWriter._writeParameters (cognitive 50): QueryWriter._writeParameters has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (39 pts), boolean chains 8, loops 2 (3 pts) (nesting depth added 25). 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":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0a8d8d33ad9a8ac3cc3d55a28d860a0ebc006676c377bdc4610e290d4500dc"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaVersionWriter._writeWithResultSet (cognitive 46): SchemaVersionWriter._writeWithResultSet has cognitive complexity 46 (threshold 15). Drivers by points: loops 6 (31 pts), if/else 5 (8 pts), match/switch 2 (6 pts), ternaries 1 (nesting depth added 32). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/schema_version_writer.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e5e0456dfc508fac7eb846fde5249e2b6848e51f935266006b72a6dc65b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryAnalyzer._extractElements (cognitive 45): QueryAnalyzer._extractElements has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (30 pts), ternaries 3 (10 pts), boolean chains 4, 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":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f88ead65e09281f6c16a5ebdf5e9065809e3e7a3ecfd81a755bc664be549cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryAnalyzer._inferResultSet (cognitive 43): QueryAnalyzer._inferResultSet has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 3 (8 pts), ternaries 1 (4 pts) (nesting depth added 22). 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":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf075ab220db59e5e0bb24c9d0cbf07d232e204c9747a0996753c3babc355a0d"}},{"ruleId":"D2","level":"warning","message":{"text":"DartViewResolver._parseSelectStructure (cognitive 42): DartViewResolver._parseSelectStructure has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (28 pts), ternaries 1 (7 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 23). 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":"drift_dev/lib/src/analysis/resolver/dart/view.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250708505cf4f7d8f45cda58810a8340bcb7c9c016143f9249c5413c4c347ea"}},{"ruleId":"D2","level":"warning","message":{"text":"_DartToDrift3Rewriter.visitMethodInvocation (cognitive 41): _DartToDrift3Rewriter.visitMethodInvocation has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 9 (nesting depth added 18). 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":"drift_dev/lib/src/services/upgrade/drift3.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ca53801d890744dc3856b036150ae6aa62a369814b9c928459e54b58cd4101"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertStatement._writeOnConflict (cognitive 40): InsertStatement._writeOnConflict has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/query_builder/statements/insert.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1085f338dae47ab2bff4ce3b03800643a79fdb75461d8ad663e30bad464bbf0"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnParser._tryExtractingStartMethod (cognitive 38): ColumnParser._tryExtractingStartMethod has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 2 (9 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 20). 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":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9cff7676bced8532246608ca619743ac9cc6070f293a17e6cab326e05ce055"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnResolver._resolveColumns (cognitive 36): ColumnResolver._resolveColumns has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (35 pts), loops 1 (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":"sqlparser/lib/src/analysis/steps/column_resolver.dart"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f884d5d56e913129bf0bd52f1b0268d3b0d7cb7ecb7d65cc6630ce408b9daff2"}},{"ruleId":"D2","level":"warning","message":{"text":"DartAccessorResolver.buildPending (cognitive 35): DartAccessorResolver.buildPending has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 7 (9 pts) (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":"drift_dev/lib/src/analysis/resolver/dart/accessor.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0a2508898a393d2caa4507158dfd64aac2520463cc6ec8e270b1602b67eaae"}},{"ruleId":"D2","level":"warning","message":{"text":"UpgradeToDrift3._transformBuildYaml (cognitive 35): UpgradeToDrift3._transformBuildYaml has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 4 (8 pts), error handling 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/upgrade/drift3.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c903b0061e601633739c72301a4c0af2f9e1f53906a3b54e646a9f8f2f96d1"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrator._writeCreateTable (cognitive 34): Migrator._writeCreateTable has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (12 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d397ac9b7fbf36dd75d0e2e65d021b733da8fcac7599ad7946fbbec183215c01"}},{"ruleId":"D2","level":"warning","message":{"text":"ResultSetWriter.write (cognitive 34): ResultSetWriter.write has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (26 pts), ternaries 2 (5 pts), loops 2, boolean chains 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":"drift_dev/lib/src/writer/queries/result_set_writer.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e6ffc2a274409bf273abf086684c2097421eea4475b5e96861c5555e1618b3"}},{"ruleId":"D2","level":"warning","message":{"text":"TableOrViewWriter.instantiateColumn (cognitive 34): TableOrViewWriter.instantiateColumn has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 2 (4 pts), boolean chains 3, match/switch 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":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"1809fff76bcdfe0a7819dac56c65603c22369fe6de44696ef9f14a9d04b55dba"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeResolver._resolveFunctionArguments (cognitive 34): TypeResolver._resolveFunctionArguments has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 4 (8 pts), boolean chains 1, match/switch 1, ternaries 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fe84f4e17f0c0f8037ee65df1c2f6f8eaabdd1cd5839e4ce49e8df295ce94d"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftProtocol.encodePayload (cognitive 33): DriftProtocol.encodePayload has cognitive complexity 33 (threshold 15). Drivers by points: loops 6 (16 pts), if/else 14 (15 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/remote/protocol.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"434df255d7fc82f9ff3ad8cb761a10e38184b97ef347466f390f1f907e9b5bee"}},{"ruleId":"D2","level":"warning","message":{"text":"DatabaseWriter.write (cognitive 32): DatabaseWriter.write has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (20 pts), loops 6 (10 pts), boolean chains 1, ternaries 1 (nesting depth added 7). 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":"drift_dev/lib/src/writer/database_writer.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5de84049e0c2980609281b83a05f05b68d4527c9ead0031a8d75eb7f61e946b"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeSqlBuilder.visitDriftSpecificNode (cognitive 32): NodeSqlBuilder.visitDriftSpecificNode has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (26 pts), loops 1 (2 pts), match/switch 1 (2 pts), ternaries 1 (2 pts) (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":"sqlparser/lib/utils/node_to_text.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"7412633fd7f2a3d52dd8b25491ae9336eef5ff39a011445b7c35368f9b81e07a"}},{"ruleId":"D2","level":"warning","message":{"text":"Migrator.alterTable (cognitive 31): Migrator.alterTable has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 5 (7 pts), error handling 1 (2 pts), match/switch 1 (2 pts), boolean chains 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":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfb30afd84101ecd8b22ab6bb8e91f8017e6f23627a5a4d5f0648247ca9dd76"}},{"ruleId":"D2","level":"warning","message":{"text":"DataClassWriter.write (cognitive 30): DataClassWriter.write has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 5, ternaries 3, 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":"drift_dev/lib/src/writer/tables/data_class_writer.dart"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8901e839de47564724bcf4d5c46041ade6d377bcbc9f598d1f03e46e87ca569"}},{"ruleId":"D2","level":"warning","message":{"text":"DartViewResolver._parseColumns (cognitive 29): DartViewResolver._parseColumns has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 1 (3 pts), loops 1 (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":"drift_dev/lib/src/analysis/resolver/dart/view.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"be004a413a330acc0dfca3e2d6926b792c1d3070ec6ad68c8cd728be33d0e9dd"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaWriter._entityToJson (cognitive 29): SchemaWriter._entityToJson has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 4 (7 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/schema/schema_files.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8036285b3d1d37935ed1deeef870193bd2105bfa8a12011af3806dccd8fb4c"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftProtocol.decodePayload (cognitive 28): DriftProtocol.decodePayload has cognitive complexity 28 (threshold 15). Drivers by points: loops 5 (12 pts), match/switch 4 (7 pts), if/else 5 (6 pts), ternaries 1 (3 pts) (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":"drift/lib/src/remote/protocol.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5ae1b13c7945cc3aac9fc277ea358cd26be5a8abae7deaf470a6f29a3c55b8"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratedColumn.writeColumnDefinition (cognitive 28): GeneratedColumn.writeColumnDefinition has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 2 (6 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":"drift/lib/src/runtime/query_builder/schema/column_impl.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"567fba53c73ab125ef18f9870c45fb667ee844b4a77417c6471048dcc3287870"}},{"ruleId":"D2","level":"warning","message":{"text":"DartTableResolver._readUniqueKeys (cognitive 28): DartTableResolver._readUniqueKeys has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 15). 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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac55228ae67e8347239237b96f5c3c7b130391b95287ad93bffa05b6c5690f65"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftResolver.resolveEntrypoint (cognitive 28): DriftResolver.resolveEntrypoint has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 3 (7 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/resolver.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc6d625e2a4b999f11b7927d625f06ef92422dd59abe699ee28712d8db933c6"}},{"ruleId":"D2","level":"warning","message":{"text":"_Drift3MappingCodeWriter._writeArgumentExpression (cognitive 28): _Drift3MappingCodeWriter._writeArgumentExpression has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 3 (8 pts), match/switch 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fc0af11027268e708e0c4f1aa993533e3ff5905cacc999eac002316f3bb44f"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnResolver._handle (cognitive 28): ColumnResolver._handle has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (4 pts), ternaries 1 (4 pts), match/switch 2, 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":"sqlparser/lib/src/analysis/steps/column_resolver.dart"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e67ab056e21aefe753d68a4e8b91616fc1e71bd1336f96b2dcd8c9614e0812b"}},{"ruleId":"D2","level":"warning","message":{"text":"LintingVisitor.visitCreateTableStatement (cognitive 27): LintingVisitor.visitCreateTableStatement has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (4 pts), boolean chains 3 (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":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6511e4dc86ae1f4a9756892f75eddccd0b2d5e63a6112bfd4b69befaa94cf475"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeResolver.visitBaseSelectStatement (cognitive 27): TypeResolver.visitBaseSelectStatement has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (6 pts), ternaries 3 (6 pts) (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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84d445d5c9c7c2787fe40557f32cddefd4baf1130f8bb0c8434e41af734ae0b"}},{"ruleId":"D2","level":"warning","message":{"text":"DartTableResolver._readCustomConstraints (cognitive 26): DartTableResolver._readCustomConstraints has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 3 (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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa9068dc939d9794101289d0f3d85e88ff8463d74663469420a9344df3defe9"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoverStep.discover (cognitive 26): DiscoverStep.discover has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (4 pts), loops 2 (4 pts), boolean chains 1, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/discover.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c01e33510f428b9654c0399a06913e1d53e28b17aca0cd5563225d4b2d522f"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaFromCreateTable.resolveColumnType (cognitive 25): SchemaFromCreateTable.resolveColumnType has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 4, ternaries 1 (3 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":"sqlparser/lib/src/analysis/schema/from_create_table.dart"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a988f2dfb2bf7240b3f3b33689af0cbd7946daf723d4de1ef9a7b0f9c55befa"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExpressionParser._referenceOrFunctionCall (cognitive 25): _ExpressionParser._referenceOrFunctionCall has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, ternaries 2 (4 pts) (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":"sqlparser/lib/src/reader/parser.dart"},"region":{"startLine":3307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb60f0b512dc88723ee09bee45478dea675cc995a45b07a9902ec20c44ea92"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftPreprocessor.analyze (cognitive 24): DriftPreprocessor.analyze has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), error handling 1 (5 pts), loops 4 (5 pts), boolean chains 2 (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":"drift_dev/lib/src/analysis/preprocess_drift.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45a1dc0549be55e7a870b33705467db8241b32a837ff88e04e5e5a840719c65"}},{"ruleId":"D2","level":"warning","message":{"text":"_AddFromDartType.visitFunctionType (cognitive 24): _AddFromDartType.visitFunctionType has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2 (3 pts) (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":"drift_dev/lib/src/analysis/results/dart.dart"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"64280bdda4cd94deac69c16ffdf135047583ae69055aad42fe83d2bfbb5e3b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"TableWriter.writeTableInfoClass (cognitive 24): TableWriter.writeTableInfoClass has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0073b973f47bc1e7c7832d834802d63bddf272d836906ce7d21560eeff3b2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeGraph._propagateTypeInfo (cognitive 24): TypeGraph._propagateTypeInfo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (19 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":"sqlparser/lib/src/analysis/types/graph/type_graph.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fca46c9a3de230e1060836e53a01d553cee2ac4cd575467a5ee46ed25fd2cab"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExpressionParser._primary (cognitive 24): _ExpressionParser._primary has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 1 (4 pts) (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":"sqlparser/lib/src/reader/parser.dart"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69c0adb5e53ecee3bf0fa7cb1c29af90d0ca9e376ee1ebe64c95465d468fa3a"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftServiceExtension._handle (cognitive 23): DriftServiceExtension._handle has cognitive complexity 23 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 4 (7 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a389bcb15cba71f57fe16e35ace78599a0af84cde12416b763a4901ce81c73c7"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTypes.mapToSqlLiteral (cognitive 23): SqlTypes.mapToSqlLiteral has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d69b62f8a914fdcae634aba711ec437eb8b6ba4388dd07b7ce298f956912984"}},{"ruleId":"D2","level":"warning","message":{"text":"_LintingVisitor.visitInsertStatement (cognitive 23): _LintingVisitor.visitInsertStatement has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/drift/sqlparser/drift_lints.dart"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8eb3895a59768ee4283fc50d42bcfb4519d981e5996679053a6dab664c3a00"}},{"ruleId":"D2","level":"warning","message":{"text":"TableOrViewWriter._instantiateColumnDrift3 (cognitive 23): TableOrViewWriter._instantiateColumnDrift3 has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 3, loops 1 (2 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4911733323c6fb2b495eb7b145b9395ddd6ddc9bc32961981998d13b098926fc"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlTypes.mapToSqlVariable (cognitive 22): SqlTypes.mapToSqlVariable has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e9e2560b6099866c4752c339f74d109972e74f8b3e2488d48a38d49eedc466"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaWriter._columnData (cognitive 22): SchemaWriter._columnData has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 3 (5 pts), boolean chains 4 (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":"drift_dev/lib/src/services/schema/schema_files.dart"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9480738f8d2380312668e3603781f25f329f9bf2b40eefb2015a5b4448e919d"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaReader._processFromSql (cognitive 22): SchemaReader._processFromSql has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (7 pts) (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":"drift_dev/lib/src/services/schema/schema_files.dart"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0883c6867a3744bb4a222d8008459eaa38aa922e19d35d893a6a1e7b6f1116b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ModularAccessorWriter.write (cognitive 22): ModularAccessorWriter.write has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3, ternaries 2, 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":"drift_dev/lib/src/writer/modules.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"131d0f6c08613005c818a9fb3c83b820d3974919f01bfdcc1f4feb97174ca572"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftAnalysisDriver._warnAboutUnresolvedImportsInDriftFile (cognitive 21): DriftAnalysisDriver._warnAboutUnresolvedImportsInDriftFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 1 (2 pts), boolean chains 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":"drift_dev/lib/src/analysis/driver/driver.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de863a1905d65947926c43c517d283ed4bb752a9788178787d96e4f900f153"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnParser._driftConstraintsFromCustomConstraints (cognitive 21): ColumnParser._driftConstraintsFromCustomConstraints has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 3, boolean chains 1, match/switch 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":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"6608d7451a1b6cc2867ce43fd9e49717e96643d742cdf4a92f8bbef2bf21a3d5"}},{"ruleId":"D2","level":"warning","message":{"text":"_TableManagerWriter.write (cognitive 21): _TableManagerWriter.write has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 5 (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":"drift_dev/lib/src/writer/manager/table_manager_writer.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913fdad0ee934ac7b4968c6f4ccb7896875726efad0b70d7c433e4fbfbdc059"}},{"ruleId":"D2","level":"warning","message":{"text":"DartTableResolver.buildPending (cognitive 20): DartTableResolver.buildPending has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 7, loops 4, match/switch 1. 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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0985f874ae22b81c15e0923be724e105375289a5e551c5c42d9d4ca81d2d7004"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAnalyzer._createOptionsAndVars (cognitive 20): FileAnalyzer._createOptionsAndVars has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/file_analysis.dart"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"28230353cc770d1d9bf8b469a8391fb6403340e7cefd43e4da7840fe59a1bc71"}},{"ruleId":"D2","level":"warning","message":{"text":"ExplicitAliasTransformer.visitSelectStatement (cognitive 20): ExplicitAliasTransformer.visitSelectStatement has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (6 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/queries/explicit_alias_transformer.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"594e0ae804e625293401f353d3a417f7d4f09e3bec5d050706f6ac4d05416b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"DartTableResolver._parseColumns (cognitive 19): DartTableResolver._parseColumns has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, loops 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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"627af4a76c14149b08a282a4270beed39bda551ebb1e430b573b602595a10db2"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryWriter._writeArgumentExpression (cognitive 19): QueryWriter._writeArgumentExpression has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (5 pts), match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0073745b8eeaf381a722f38082cdcbd982099c43f481fc9f99e6610e9efa42f"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlWriter.visitDriftSpecificNode (cognitive 19): SqlWriter.visitDriftSpecificNode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/queries/sql_writer.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bdb41aa883eb434d580388b3757da0d80214eb8f2c4b0ab906325e357bdb4f"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertStatement.createContext (cognitive 18): InsertStatement.createContext 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":"drift/lib/src/runtime/query_builder/statements/insert.dart"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b554fd32ef3564838c9be84bbe1223c853fc3dbd45540d0b96e233d2e56d36"}},{"ruleId":"D2","level":"warning","message":{"text":"DriftViewResolver.resolveDependencies (cognitive 18): DriftViewResolver.resolveDependencies has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1, 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":"drift_dev/lib/src/analysis/resolver/drift/view.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"143cb6246427a68cec45169a0f78a71045ad08c4769d749b6b4b867c4b49b7e8"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryAnalyzer._extractPlaceholder (cognitive 18): QueryAnalyzer._extractPlaceholder has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 2 (3 pts), boolean chains 2, 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":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d4414938c3808f49daf6bdba48c98b1b0d727aaf553d957cbc40caeb357c54"}},{"ruleId":"D2","level":"warning","message":{"text":"LintingVisitor.visitTuple (cognitive 18): LintingVisitor.visitTuple has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ee5aec954360909b724bb46aabcdfdf8b0ff9e61875d4fbfa8d3f474f7b45b"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryStream.fetchAndEmitData (cognitive 17): QueryStream.fetchAndEmitData has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/executor/stream_queries.dart"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"846384524ad5128a99de058eca1f3eee3938f8e71b5a52f242b47a3b34a63b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"DataClassInformation.resolve (cognitive 17): DataClassInformation.resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 1, loops 1 (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":"drift_dev/lib/src/analysis/resolver/dart/helper.dart"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78878919e941b2e7e54fdcf270f1069c1d93b9a2f642059b350c1b0e80009c5"}},{"ruleId":"D2","level":"warning","message":{"text":"DartIndexResolver.buildPending (cognitive 17): DartIndexResolver.buildPending has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 1 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/index.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a66b0c5c7ae408a632476f9dedf89181ed9c7eb79065ed2013c5d53a45e5b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"_MigrationTestEmitter.suggestDataMigrationTest (cognitive 17): _MigrationTestEmitter.suggestDataMigrationTest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/cli/commands/make_migrations.dart"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1382d693d358e354212193a2056c85c2a696fffa8b6377ac0318a7297d34985f"}},{"ruleId":"D2","level":"warning","message":{"text":"TableOrViewWriter.writeMappingMethod (cognitive 17): TableOrViewWriter.writeMappingMethod has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (4 pts), ternaries 3 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce8e43aa983d6742b4c8a25520f4d8432345a7895d4f61b7c92bae6065af277"}},{"ruleId":"D2","level":"warning","message":{"text":"LintingVisitor.visitReturning (cognitive 17): LintingVisitor.visitReturning has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 2, 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":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"8839959fed61ecf8ef8c8697ed52d21ec8346aea10a4d967ad575fd770502794"}},{"ruleId":"D2","level":"warning","message":{"text":"AstPreparingVisitor.visitSelectStatement (cognitive 17): AstPreparingVisitor.visitSelectStatement has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 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":"sqlparser/lib/src/analysis/steps/prepare_ast.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3806f5be76c56df8f5ad7e1a165ea7c7517e66d364fb4d201f572763a710370f"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExpressionParser._equals (cognitive 17): _ExpressionParser._equals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/reader/parser.dart"},"region":{"startLine":2962}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e17ddbad4fa4b9682aebf9e96fc1828ae0a4aa70f7f9e7c2a6959ab3d55998"}},{"ruleId":"D2","level":"warning","message":{"text":"_StreamImpl.fetchAndEmitData (cognitive 16): _StreamImpl.fetchAndEmitData has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 1, error handling 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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ec4e340727c397ee53857ee29ef6401a34d06c83401c027bfbc17848cd228d"}},{"ruleId":"D2","level":"warning","message":{"text":"DartTableResolver._readPrimaryKey (cognitive 16): DartTableResolver._readPrimaryKey has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e96b807ca3b0e40052dfe29cfb9abf1ca8cf8ef8a2fd5a24877df3d9f0af33a"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscoverStep._checkForDuplicates (cognitive 16): DiscoverStep._checkForDuplicates has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/discover.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6102ae5b2df583e71c2d6baf3a6456bead8a4cee6b6316c46841f88eceecea26"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseElementResolver.resolveTableReferences (cognitive 16): BaseElementResolver.resolveTableReferences has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts) (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":"drift_dev/lib/src/analysis/resolver/resolver.dart"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de46692d598d9ece742ae080f57ecdd9c039b03ae6df3e8cd8e93e0fe3d28f1"}},{"ruleId":"D2","level":"warning","message":{"text":"FindSchemaDifferences._columnConstraintsMatch (cognitive 16): FindSchemaDifferences._columnConstraintsMatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d190a9305fd690170f263d0127b28f2b8e2305cfcb61c2a860d8fd48860fbb"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessorWriter.write (cognitive 16): AccessorWriter.write has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 4 (6 pts), ternaries 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/drift_accessor_writer.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b0e685dce5f5fbc9c50b355ef50d3944f8323097459cf5f45b2968c7f07e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"_ExpandedDeclarationWriter._writeDartPlaceholder (cognitive 16): _ExpandedDeclarationWriter._writeDartPlaceholder has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 1 (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":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c244c15319b2c7086ed157bdf102886663ced7006ecefac1297a9ef8f346be"}},{"ruleId":"D2","level":"warning","message":{"text":"_FindSchemaDifferences._columnConstraintsMatch (cognitive 16): _FindSchemaDifferences._columnConstraintsMatch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"future/drift_sqlite/lib/src/schema_verifier/find_differences.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d195a54efeedf650dc9d7b25802b05877c1a3bb65ef52fa8a25e53e92bafc0f8"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaFromCreateTable._primaryKeyOf (cognitive 16): SchemaFromCreateTable._primaryKeyOf has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 4 (7 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":"sqlparser/lib/src/analysis/schema/from_create_table.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1043740498c722ce2fa3a0b38a472f1ac4bcbb1d82bb1d8d8155a10487533f92"}},{"ruleId":"D2","level":"warning","message":{"text":"LintingVisitor.visitInExpression (cognitive 16): LintingVisitor.visitInExpression has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), match/switch 3 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b7f1e07088b1f884c6e7f98002537270b98d4087be1d66c1c2c0a3c578f1e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceResolver.visitReference (cognitive 16): ReferenceResolver.visitReference has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (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":"sqlparser/lib/src/analysis/steps/reference_resolver.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"61daa8618cf9fc17f911e9ad216bad6c9c24fd06fef23cdf6bf9617249b89cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeResolver._resolveBuiltInFunction (cognitive 16): TypeResolver._resolveBuiltInFunction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (2 pts), match/switch 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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6eb9cc7b1eaca0d9971f8b3337e3ccbee73b3469f6367125324ca2b138df28b"}},{"ruleId":"D2","level":"warning","message":{"text":"_Fts5Functions.inferArgumentType (cognitive 16): _Fts5Functions.inferArgumentType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, match/switch 1 (nesting depth added 3). 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":"sqlparser/lib/src/engine/module/fts5.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f84f77b453889bc60a2a125e7764c4f49f2a0bb983d15ed124bef6bd49cd4b"}},{"ruleId":"D2","level":"warning","message":{"text":"Scanner._identifier (cognitive 16): Scanner._identifier has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/reader/tokenizer/scanner.dart"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b75b40c57f686f81c9395e02dd1b8a6a1e541709c25ffffcd9c044f3ff8b51b"}},{"ruleId":"D2","level":"warning","message":{"text":"EqualityEnforcingVisitor.visitColumnConstraint (cognitive 16): EqualityEnforcingVisitor.visitColumnConstraint has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. 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":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9904788ae9db6e797acbc375006e66cccb168bc990601a577513f0ba23fdc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reader/parser.dart: FileTooLong \u2014 2276 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1776 over it, 4.55\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":"sqlparser/lib/src/reader/parser.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce3decb86c40150f4dd01e6d138d4db1eb776d4fe6d636064ab4c6abb81f039"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecursiveVisitor: TooManyMethods \u2014 123 methods. The bar is 30 methods; this is 93 over it, 4.10\u00D7 the bar. Most of these members implement src.AstVisitor (104 of 123 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/visitor.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e551313e9c537a3a67045b1fa9fe34d1b85acfdca6eedd3f79a0dac8a5d3ef7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NodeSqlBuilder: TooManyMethods \u2014 121 methods. The bar is 30 methods; this is 91 over it, 4.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/utils/node_to_text.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c759561b6315b8cbda81913d7ca057b87487b2a8a5f3f033e4036baf87bb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EqualityEnforcingVisitor: TooManyMethods \u2014 118 methods. The bar is 30 methods; this is 88 over it, 3.93\u00D7 the bar. Most of these members implement src.AstVisitor (104 of 118 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"937f1f8e68811f7e42619c71efda63bb506058c360113c050cc08dd89f3366de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AstVisitor: TooManyMethods \u2014 104 methods. The bar is 30 methods; this is 74 over it, 3.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/visitor.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf315bf34924d702cdb9e067e8f747ff6c48a69fd9fbcf910ee48a2d7c6346f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColumnParser.parse: MethodTooLong \u2014 parse runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e311894a6b000d442b2d19e65e572789cd7f4219c85a9cc27afcbb464caac6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StatementCompiler: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/compiler.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e135c48a6fe2cf747fa02f813cea497bf51c4df33ad19d95e01b1e6038c6df7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DriftTableResolver.buildPending: MethodTooLong \u2014 buildPending runs 285 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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":"drift_dev/lib/src/analysis/resolver/drift/table.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5e230792ec2aab28789d50bd1a983fee9588fa659271b30006d9f6d3e464f5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElementDeserializer.readDriftElement: MethodTooLong \u2014 readDriftElement runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"624cb501e13427b4517c8ebcd8ef7ca80dee4445ae2a3b158e254b47b804e654"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/node_to_text.dart: FileTooLong \u2014 1164 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 664 over it, 2.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":"sqlparser/lib/utils/node_to_text.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5ddfb1c2eacbc72efed3598853b1b473afd9eb402aa893c309a67428a62a13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: _shared/todo_tables.drift.dart: FileTooLong \u2014 1157 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 657 over it, 2.31\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d97d81871e6136ac847bab1cf76968a22fa7184417bcfee52b798d17475cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TypeResolver._resolveBuiltInFunction: MethodTooLong \u2014 _resolveBuiltInFunction runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eb228e642f216d0bf7b8e188abed746916106a91186c30e1f55e970cdfd63e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drift/example.drift.dart: FileTooLong \u2014 856 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 356 over it, 1.71\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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9fb675e8f0810e221e533c91ee387e14e3ac5a872ca9f9376fc9bba743c542"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TypeResolver: ClassTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 281 over it, 1.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad36ea34488aee56abefdceca951a48fbec499710f545de0a66da82aa5df03c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: many_to_many/relational.drift.dart: FileTooLong \u2014 843 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 343 over it, 1.69\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":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a044a7c32210cea3138321218f5b97555fdf7f0eea527c39fa6ef656069f45c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EqualityEnforcingVisitor: ClassTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), 118 methods. The bar is 400 significant lines; this is 263 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"412fbc449381bc9161a82e74f6e3aa4aef12add24c857517aec8d70c4207fe50"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: _TableManagerWriter.write: MethodTooLong \u2014 write runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"drift_dev/lib/src/writer/manager/table_manager_writer.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"587c5efc09d32f4d1d78f398410373ce6d5c28b71e8bba7de75a2123f0713611"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MatchExistingTypeForQuery._findRowType: MethodTooLong \u2014 _findRowType runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"drift_dev/lib/src/analysis/resolver/queries/existing_row_class.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f6a2387971bb1b8560185c0ac971d075152f6c37bbff73c8cb9e9db642fdf8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TypeResolver: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8407bcd9eca0ce077fdb869be991f2b95ba437bceab60774d959cd8c7f3c0b08"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queries/query_writer.dart: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 278 over it, 1.56\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":"drift_dev/lib/src/writer/queries/query_writer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2747f19efe66e87efd588882b1c936556fa18a79ee24562fda80d801a9e9d6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modular/aliases.drift.dart: FileTooLong \u2014 771 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 271 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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76df6f5aa62897142dd29c7540b4cf109b54cc0442df3861f460ae5a8268dabc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: analysis/serializer.dart: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 269 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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c077d101b79a2be7494427fab856d236e008293c380ffed035570aada85cd0a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query_builder/compiler.dart: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 over it, 1.50\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":"drift/lib/src/drift3_preview/src/query_builder/compiler.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2bdae7baa6e2b0ca7d0aa6db3b88209fb2f287fed7192dc731cff741c1853d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/resolving_visitor.dart: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: TypeResolver (12-1005). The bar is 500 significant lines; this is 228 over it, 1.46\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d9e2fe81c256f52f061ea202269c646de5d49d02ece5e5b9a98a44e190f503"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DartAccessorResolver.buildPending: MethodTooLong \u2014 buildPending runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\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":"drift_dev/lib/src/analysis/resolver/dart/accessor.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c20311137bc01b20fd6b4aeae7788df1a40d50d290bd5c9a3793252e3fd193"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: drift/with_existing.drift.dart: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 184 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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"113a41854e53f4f2e53a0b5210d9ab15b9e93495e6dc785b25656f170048a84a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/ast_equality.dart: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: EqualityEnforcingVisitor (29-995). The bar is 500 significant lines; this is 182 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d7fd8f6e418c80a480fb44e1777f9fbbcf173b0e79f3f85c39b088d160b704"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ElementSerializer._serialize: MethodTooLong \u2014 _serialize runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\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":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b8ffeef0313876e6ddcf39fb323480e3a17c080a39404f1da775490ff9a6e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modular/upserts.drift.dart: FileTooLong \u2014 673 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 173 over it, 1.35\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":"docs/lib/src/snippets/modular/upserts.drift.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba2f3b52df5ef790055854188d1a65b45abc7a97f5f17aa8656835108073829"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueryAnalyzer: ClassTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 138 over it, 1.35\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3117d01a794228486c4735e5d71eff70da5a3629e7c8d74b56b5bacfc4f721cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/table_manager.dart: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 143 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"future/drift_manager/lib/src/table_manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd4748693dceb00021bf10af59d2f8a87b46fc30eec9b92284820ce86ea9ce1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: _ManagerCodeTemplates: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/manager/manager_templates.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cecf153a2fcd31ff330ed62e5f5d71bb61f1f188e927b317a63b6e0d8e37d5f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: results/query.dart: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 133 over it, 1.27\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":"drift_dev/lib/src/analysis/results/query.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61827cc5ae68824dd9cfe8c977d6ef4d4d06b8657b1df52b1392dea139a78f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ColumnParser: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), 8 methods. The bar is 400 significant lines; this is 102 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd551a2dd0abd41d8707bcaaa3cdd48feadeac573c0b1a06f8902f8d24f2b57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tables/table_writer.dart: FileTooLong \u2014 626 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 126 over it, 1.25\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":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a6f5506f13e0f0abb03a0482d63c9cb8f2af21d250ef25ab0c89a5e2890209"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FileAnalyzer.runAnalysisOn: MethodTooLong \u2014 runAnalysisOn runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\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":"drift_dev/lib/src/analysis/resolver/file_analysis.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6794fd40543158c923588bed697d0ed62c20e3d3ff0d07e8396c1455f6dbaefc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DatabaseConnectionUser: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/api/connection_user.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed6926389d3766073046b2e5c62cb1477fedfc6b43117529f27f275da46915d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: manager/manager.dart: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\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":"drift/lib/src/runtime/manager/manager.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f444392d1b9208fe98c37ed0f6ffd5a354c8180d30f4d03a82a5596daf83bd60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaBuffer._applyAlterTable: MethodTooLong \u2014 _applyAlterTable runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"sqlparser/lib/utils/schema_buffer.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ede88b90eea51ca1dbe06c22f32b5cb4cd35acbc5b4ffb8c8b6ef99d7f821a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: queries/query_analyzer.dart: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: QueryAnalyzer (50-927). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5575156101b2d46037956bc7a3a4a1bc1037c1d901b79af640d5f5d073d4e2f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LintingVisitor: ClassTooLong \u2014 467 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 67 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9ba1fdd64a71d79c75b3c27a05fe3cd3b93c96e61e57aa6cb9f68c55ecd0e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DatabaseConnectionUser: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/database/connection_user.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8629995a1826d6b2d4ef69bb959642469acc06025cc771868018524510ca357"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/schema_files.dart: FileTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 78 over it, 1.16\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":"drift_dev/lib/src/services/schema/schema_files.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"421f666c37a8d16650ec16b7fe810eb6bf538fe791d4634e99cddeddf0322957"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tokenizer/token.dart: FileTooLong \u2014 575 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 75 over it, 1.15\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":"sqlparser/lib/src/reader/tokenizer/token.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143def26c594ae861bb97122b02540f1ecf6d691b1615b09b4e78debe95a3467"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dart/column.dart: FileTooLong \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ColumnParser (86-846). The bar is 500 significant lines; this is 71 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bbd9ca20ec72ec3edff2d41923e9ce08b6c44fc46e6e23ec673a0fb835b1df"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: upgrade/drift3.dart: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 58 over it, 1.12\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":"drift_dev/lib/src/services/upgrade/drift3.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d623335284c547a3b09ecdaa6aec959981b94f928052fd8036c96697c65effa4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElementDeserializer: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 14 methods. The bar is 400 significant lines; this is 41 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/serializer.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c118bf1c8f96318e2377b0e29fa28ff6803b6e4d9e9b19778c23f76a36679f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: QueryAnalyzer._inferResultSet: MethodTooLong \u2014 _inferResultSet runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"drift_dev/lib/src/analysis/resolver/queries/query_analyzer.dart"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"07532df31a4692bb10fa7f609a15c33537f97520f8d666e009ed0721d0f08e92"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ColumnResolver: ClassTooLong \u2014 413 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 13 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/steps/column_resolver.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"891208f38251f4bfed9311492159f664b14fcb66e4e0b24ea18122b27f143f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): drift/lib/src/drift3_preview/src/devtools/service_extension.dart:27-134 | drift/lib/src/runtime/devtools/service_extension.dart:24-134 \u2014 These two members are variants of one another: 54 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3740eb84d94282409ac9d214d4a7992b8ccd0a990d118c3ca0bc82bc08d8945"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): docs/lib/src/snippets/modular/aliases.drift.dart:930-942 | docs/lib/src/snippets/modular/drift/example.drift.dart:804-816 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:393-405 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:792-802 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:1021-1031 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:395-405 | docs/lib/src/snippets/modular/upserts.drift.dart:510-520 | examples/modular/lib/src/posts.drift.dart:1017-1027 | examples/modular/lib/src/search.drift.dart:299-309 | examples/modular/lib/src/users.drift.dart:973-983 | examples/multi_package/server/lib/database.drift.dart:181-191 | examples/multi_package/shared/lib/src/posts.drift.dart:145-155 \u2014 These 12 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff32c4cf9fbdb2af41d5a809ee9a7a90a9465b8570fe46ed8eaf3af816db48"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1263-1273 | docs/lib/src/snippets/modular/aliases.drift.dart:658-674 | docs/lib/src/snippets/modular/aliases.drift.dart:958-974 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:604-614 | examples/modular/lib/src/users.drift.dart:783-803 | examples/with_built_value/lib/tables.drift.dart:277-287 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f90a6b4e63139b16bac78d9bd1e169b8939284df08156555b9c317f2c53fab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): docs/lib/src/snippets/modular/aliases.drift.dart:557-566 | docs/lib/src/snippets/modular/aliases.drift.dart:859-868 | examples/modular/lib/src/users.drift.dart:665-676 | examples/modular/lib/src/users.drift.dart:1047-1058 \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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24f45b95fbd5dfdfacd68c4d83742d5d96e0827b6b783befb3a75891cf9d5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): drift_dev/lib/src/services/schema/find_differences.dart:49-92 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:124-167 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e526298b3bc8910eb0800a74e9ce076491aacb3678ed0c98b1fd18f6a91cf4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): drift_dev/lib/src/analysis/resolver/dart/table.dart:150-212 | drift_dev/lib/src/analysis/resolver/dart/table.dart:214-289 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"7462b8c7bed2fc153e9efc2203aeed5252879896c21ee23ba80b340e8feafcb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:447-482 | docs/lib/src/snippets/modular/aliases.drift.dart:746-784 | examples/modular/lib/src/users.drift.dart:545-570 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae3aacf89566eecccb85421449dfce79a0f41e25aac3fbe3c005d1ccddd1b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): drift_dev/lib/src/services/schema/find_differences.dart:133-166 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:211-244 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e966615524d60dafa304581a14151b36d327c5d1e9b0cfc1ccb48b4f46e879d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): drift_dev/lib/src/backends/analyzer_context_backend.dart:128-180 | drift_dev/lib/src/backends/analyzer_context_backend.dart:182-221 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"drift_dev/lib/src/backends/analyzer_context_backend.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c583e06164729638b97fb861f9a9539a5fbc11847254ac2889b5a07a86b38424"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:818-857 | docs/lib/src/snippets/modular/drift/example.drift.dart:617-650 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:226-258 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"972535bcc2dedb42e04e0a2cafe51318ccc154a060f50e881eefea0b3348aaa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): drift_dev/lib/src/services/schema/find_differences.dart:94-131 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:169-209 \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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd519bcb10ef6b333341c8d0f37c0be8f941f55c2f73dcd133fac49a0e94a1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:230-257 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:242-267 \u2014 These two members are one piece of code written twice and then edited apart: 26 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0612553a04384e6f28fd547ff2f8a18ed7488cdfe495552b76fac8254deb53c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): drift/lib/src/drift3_preview/src/query_builder/statements/select.dart:393-439 | drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart:132-178 \u2014 These two members are one piece of code written twice and then edited apart: 47 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":"drift/lib/src/drift3_preview/src/query_builder/statements/select.dart"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb4c8b869670bb71126d0109815aecb200547b21090e1e9b481c51357dcdb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:861-886 | docs/lib/src/snippets/modular/drift/example.drift.dart:654-675 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed90ad84521205a6de33bbbad2d6bba3770e295bb0581bca4d6d1c596d182e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:486-507 | docs/lib/src/snippets/modular/aliases.drift.dart:788-809 | examples/modular/lib/src/users.drift.dart:1121-1137 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ece4d5b4ede8d43c0342537b8902e3c4e206b90a99f08b3dbddfa585062713"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): docs/lib/src/snippets/modular/many_to_many/json.dart:77-101 | docs/lib/src/snippets/modular/many_to_many/json.dart:105-133 \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":"docs/lib/src/snippets/modular/many_to_many/json.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d3a73e1ffecbf73a5a74277a3d6785df11c84d3a741bdb25b3eb40cc96d361"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/store.dart:348-379 | drift/lib/src/runtime/executor/stream_queries.dart:328-361 \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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b232fd1d50c90fbb51ce3cc7e65afcef996d4ee75d63325c2a4bdc197a95bcb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): drift_dev/lib/src/services/schema/find_differences.dart:180-200 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:258-278 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4889cb855fe4a85ac94f7a279f6977aa25f8064d48c5843a552c30d167056d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:896-918 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:236-266 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"2919aca4bef5aa480506cef01248dac62271ff3a0c75f4f255d926b26bb0e399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1133-1152 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:532-551 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"72583ff4a5e7cc46d36268e1ad1dd965ace4136a1c2e1d47e4edb77113bcb64d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/store.dart:95-129 | drift/lib/src/runtime/executor/stream_queries.dart:134-168 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacf44b2f7fa38ae066aada15f380628c941acc110d16a064c7a515f206313d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 22\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:404-431 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:469-496 | docs/lib/src/snippets/modular/drift/example.drift.dart:372-397 | docs/lib/src/snippets/modular/drift/example.drift.dart:437-462 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:76-106 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:136-166 | examples/modular/lib/src/posts.drift.dart:95-116 | examples/modular/lib/src/posts.drift.dart:194-215 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 22 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"77afa5c51b3a3858feec2344da917911cad551ab9dced62f8e2d5c4809a205c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:348-373 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:412-437 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:476-501 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50925f7a01509c573f35c86caba3339f5f90e09adb42e12955e31706c0f42e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:375-400 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:439-464 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:503-528 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2006d34b048e0ea71d43ae5e809cc2ac9de738886b7a1fe85a237b5bc3a87b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sqlparser/lib/src/analysis/types/resolving_visitor.dart:105-125 | sqlparser/lib/src/analysis/types/resolving_visitor.dart:169-189 \u2014 These two members are one piece of code written twice and then edited apart: 21 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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff93f0d9c76491218b9642cf7a662f2526aed423b93411a793d482e3355cec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 26\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:88-113 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:145-170 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:194-219 | docs/lib/src/snippets/modular/drift/example.drift.dart:72-97 | docs/lib/src/snippets/modular/drift/example.drift.dart:124-149 | docs/lib/src/snippets/modular/drift/example.drift.dart:170-195 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a8020a02263f2e338b7f3f134f9703fb2eade95c797ba10d2e65f6e90465e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:907-920 | docs/lib/src/snippets/modular/drift/example.drift.dart:697-707 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6e0edc2f43df20d64f1353758e12787434bf551f97a32f902896f21c439a4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): docs/lib/src/snippets/modular/drift/fts5.drift.dart:421-437 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:816-829 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:1045-1058 | docs/lib/src/snippets/modular/upserts.drift.dart:534-547 | examples/modular/lib/src/posts.drift.dart:1038-1051 | examples/modular/lib/src/search.drift.dart:322-335 | examples/modular/lib/src/users.drift.dart:996-1009 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 14 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/fts5.drift.dart"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"92614ff14065f08ac3e37e6de3fbaad23071b7d3507716742e9d024e74a377a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): drift/lib/src/drift3_preview/src/devtools/shared.dart:97-119 | drift/lib/src/runtime/devtools/shared.dart:93-115 \u2014 These two members are one piece of code written twice and then edited apart: 23 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":"drift/lib/src/drift3_preview/src/devtools/shared.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"837c0bcca43903672cbda33d149f1401e93fae5b04257b355a4c3b1b3c995d98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:832-848 | examples/modular/lib/src/posts.drift.dart:842-855 | examples/multi_package/shared/lib/src/posts.drift.dart:168-181 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f80b255ee6fae6697d03dcb95092a42c7a5b9797323b72e21b239b7501b857"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1030-1044 | docs/lib/src/snippets/modular/aliases.drift.dart:630-642 | docs/lib/src/snippets/modular/upserts.drift.dart:810-822 | examples/modular/lib/src/users.drift.dart:752-766 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 13 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7853e64cb48e6198c858d894af6996d340c17eaf16abad847b6e0429a82fecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/store.dart:279-320 | drift/lib/src/runtime/executor/stream_queries.dart:259-300 \u2014 These two members are one piece of code written twice and then edited apart: 42 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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d80215f835b7d2d37e3a3adc72dc28cb4bd9304323b024837c377fe56f204de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart:617-636 | drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart:650-663 \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":"drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcbe6030acae8150b4dbef3f0a57b01597757bed29a07c50fb72fbebc1b5b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): drift_dev/lib/src/writer/database_writer.dart:418-433 | drift_dev/lib/src/writer/database_writer.dart:435-450 | drift_dev/lib/src/writer/database_writer.dart:452-469 \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":"drift_dev/lib/src/writer/database_writer.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"df41c33c5bb17a12fb720e5180cd91c8cfedd539c8a35f36deb6652b4b5da892"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:936-948 | docs/lib/src/snippets/modular/drift/example.drift.dart:720-731 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c64851527a2105a74d7a54fc015f60bb2ba8ba85da09d473b581bed502461"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): drift/lib/src/runtime/types/mapping.dart:145-184 | future/drift_sqlite/lib/src/dialect/types.dart:111-152 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e607d2c172ffe47ebb9f523635262878385b8f01a55fc718f8e0449a1935e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:40-56 | docs/lib/src/snippets/modular/drift/example.drift.dart:32-46 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:158-172 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:179-193 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:297-313 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:320-336 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8770b5b42f043a4e9737a86fdcdac3cc5990b8d547bdbe4ef0a50beeb05543e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1046-1060 | examples/modular/lib/src/users.drift.dart:768-781 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e23da460490e1272cfb6ca6e0c95517af14335122e29127dfb6e13d13c19f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): drift_sqflite/lib/drift_sqflite.dart:46-63 | extras/encryption/lib/encrypted_drift.dart:48-69 \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":"drift_sqflite/lib/drift_sqflite.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80dc1f132daf0c369bd3b69435406138014edbf5fffb47825f866bd90300ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:545-556 | examples/modular/lib/src/users.drift.dart:1034-1046 \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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0e8f17d2f2245b9046a6cdb4b693008e1d1e5ef9775beffec3976808a4ba2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): docs/lib/src/snippets/migrations/migrations.dart:52-80 | examples/migrations_example/lib/database.dart:24-55 \u2014 These two members are one piece of code written twice and then edited apart: 29 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":"docs/lib/src/snippets/migrations/migrations.dart"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e064da39333d77fc48345cdc4c8d7224230e33810c6175aa8ec66970f493048d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:526-534 | docs/lib/src/snippets/modular/aliases.drift.dart:828-836 \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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"801e4b51e34e4814c2348c59688d537e5cebd93fc83ae289f784f820acaa6f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:688-701 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:912-925 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:270-287 | docs/lib/src/snippets/modular/upserts.drift.dart:412-425 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"179a1e584ee7df160c79844315ad690f6111b3ea9996bfc71d103a556f7392a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1156-1169 | docs/lib/src/snippets/modular/drift/example.drift.dart:922-935 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:262-279 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:555-568 | docs/lib/src/snippets/modular/many_to_many/json.drift.dart:248-263 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 14 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"335fa3e6a5b69d9d7cb0dbf09f008349ebcf7bb5b32f5d6133257e02881a5c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): drift/lib/src/runtime/types/mapping.dart:304-317 | drift/lib/src/runtime/types/mapping.dart:319-332 \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":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff20f8166f99167f61ef586b2188b0c3cbe7b7c41a4b54fadc39138f977bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:974-982 | docs/lib/src/snippets/modular/drift/example.drift.dart:754-761 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd8fb856d6fe8a2b51042669043f9712210c639ce1c412529d285b5d35abb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/delayed_stream_queries.dart:40-58 | drift/lib/src/runtime/executor/delayed_stream_queries.dart:39-56 \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":"drift/lib/src/drift3_preview/src/connection/streams/delayed_stream_queries.dart"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"906417d70c41aa26a1fe120a7b4fe05b563c3e3c13caf0a7902ac773774aaeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:1047-1057 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:419-432 \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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"149e09c1533bb4c7dd683acab8f2f2d0f3aabcafefb5574d55bb2b85f783c9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:961-973 | docs/lib/src/snippets/modular/drift/example.drift.dart:743-753 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73544c69646614a85f914e6f61b0e56002332315ff78d788a7837a8d3153ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): drift_dev/lib/src/services/schema/find_differences.dart:327-341 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:409-423 \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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb6dca91b3622d8a0ffbf948c6e24a01fbdf45f04ef55e663858583cea62778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:368-382 | docs/lib/src/snippets/modular/drift/example.drift.dart:338-350 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:42-59 | examples/modular/lib/src/posts.drift.dart:47-56 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a731f37e28f3391a956df52dd61cdfb908959a0016e87c3ec77539e67b3a30ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:1071-1083 | docs/lib/src/snippets/modular/drift/example.drift.dart:1085-1097 | examples/modular/lib/src/user_queries.drift.dart:12-26 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"845eab5d384c2a8828aae80be6ca33122c7efc9ab774a739de05350a1ad9accc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:579-586 | docs/lib/src/snippets/modular/aliases.drift.dart:877-886 | examples/modular/lib/src/users.drift.dart:692-703 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73a445d7975faa2ac937099e7a9b8a97b7245b6840b211f18ca29a42400eed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): docs/lib/src/snippets/modular/many_to_many/json.drift.dart:279-289 | docs/lib/src/snippets/modular/many_to_many/json.drift.dart:380-392 \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":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b85c1ce08430923d3ee26820a576a5ca9c171ac831e9ead5f76425efbbde5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:949-959 | docs/lib/src/snippets/modular/drift/example.drift.dart:732-741 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:329-337 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e148cda4d82d6854d2404da8314588c19419786e4e60d77f875f9029e9d70c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:922-934 | docs/lib/src/snippets/modular/drift/example.drift.dart:709-718 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e207acc250ee2d2ff347cf26b4725a6724d19f4a74b38d953af96f1fbcacf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1193-1202 | docs/lib/src/snippets/modular/drift/example.drift.dart:965-974 \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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b3dd11d8191403970f33b3697f609b313b4e4f9821d99709a156042dacadcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): sqlparser/lib/src/ast/statements/delete.dart:30-36 | sqlparser/lib/src/ast/statements/insert.dart:55-61 | sqlparser/lib/src/ast/statements/update.dart:50-58 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/statements/delete.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b693824a99f168d030a66d9fa46e8514ebbef4bf392a66521af032989b3840f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): extras/legacy/drift_postgres/lib/src/pg_database.dart:111-120 | extras/legacy/drift_postgres/lib/src/pg_database.dart:127-136 | extras/legacy/drift_postgres/lib/src/pg_database.dart:143-155 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/legacy/drift_postgres/lib/src/pg_database.dart"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52d1f9eb0b765fad9611a0cbe80ca45a3417d92361163b6d94ceddf728fcdb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:950-956 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:305-312 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e6258fa760e2ffc40bcf2c9bae030f21817fa31b6b8783c1596278e0c14498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): drift_dev/lib/src/analysis/resolver/drift/sqlparser/mapping.dart:113-129 | drift_dev/lib/src/analysis/resolver/drift/sqlparser/mapping.dart:131-147 \u2014 These two members are one piece of code written twice and then edited apart: 17 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":"drift_dev/lib/src/analysis/resolver/drift/sqlparser/mapping.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"41408dca88f7db732372479c3f7e7aeff1fe7b37b5d5ba5f391018d75aaffee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:644-656 | docs/lib/src/snippets/modular/aliases.drift.dart:944-956 | docs/lib/src/snippets/modular/drift/example.drift.dart:818-830 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:407-419 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:407-417 | docs/lib/src/snippets/modular/upserts.drift.dart:824-836 | examples/modular/lib/src/search.drift.dart:311-320 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8ded00c4828a31869e744e8d88da5d46a1296b1a2fad6aa7f41d1430a94faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:975-982 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:333-341 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"6901cb874937cdd9e62a914ab2c0793b529384ab28917112b5713f8da6f39c75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 8\u002B corresponding lines): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:804-814 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:1033-1043 | docs/lib/src/snippets/modular/upserts.drift.dart:522-532 | examples/modular/lib/src/posts.drift.dart:1029-1036 | examples/modular/lib/src/users.drift.dart:985-994 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed9748a0ecc0d18e21ee94ae39e4b1307d26b5204167f8deb281fb578bd11b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): docs/lib/src/snippets/modular/many_to_many/json.drift.dart:360-368 | examples/modular/lib/src/posts.drift.dart:821-831 \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":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6834fb0a4fc7d395d2befffbde64e71dbbe53bcd9b4d27e627d0d965faf32d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): drift/lib/src/drift3_preview/src/connection/connection_compat.dart:267-279 | drift/lib/src/drift3_preview/src/connection/connection_compat.dart:281-293 \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":"drift/lib/src/drift3_preview/src/connection/connection_compat.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f33132e0376bbd860b2b8ea46c8a5d77d66c7cef40a72814f318fe31200ecfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sqlparser/lib/utils/node_to_text.dart:88-100 | sqlparser/lib/utils/node_to_text.dart:1221-1235 \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":"sqlparser/lib/utils/node_to_text.dart"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"202e7fe5630178555916e1b3c5803f25274a2ec865aa31f678b3f0fe8f1fdeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): docs/lib/src/snippets/modular/drift/fts5.drift.dart:301-308 | docs/lib/src/snippets/modular/upserts.drift.dart:437-443 | examples/modular/lib/src/search.drift.dart:221-227 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/fts5.drift.dart"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"929a18d877622574aabea1f9ad36734c2be22be27e93bf6082c3f428452fb005"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): drift/lib/src/drift3_preview/src/query_builder/statements/delete.dart:76-85 | drift/lib/src/drift3_preview/src/query_builder/statements/insert.dart:100-109 | drift/lib/src/drift3_preview/src/query_builder/statements/update.dart:43-52 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/statements/delete.dart"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8ac6ffdd8f712646c1d2886d31d0bdb79474f029448d10eae744363b42e30e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): sqlparser/lib/src/utils/ast_equality.dart:198-209 | sqlparser/lib/src/utils/ast_equality.dart:235-252 \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":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"387db6da31ffec7aa8abbd977838ff497bb2cae1e458815b78ff6e37459f06de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): docs/lib/src/snippets/modular/upserts.drift.dart:459-466 | examples/modular/lib/src/search.drift.dart:244-251 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"docs/lib/src/snippets/modular/upserts.drift.dart"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9711115c2910ff5b739c3bec4d8da7027a2b3ca2d06b6af25d1bd62f859e4a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sqlparser/lib/src/analysis/steps/linting_visitor.dart:80-95 | sqlparser/lib/src/analysis/steps/prepare_ast.dart:22-40 \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":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0699b9a9f0c1c3183005bb298b0bd3645b25e85e69f110a20760a14387491017"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): docs/lib/src/snippets/modular/aliases.drift.dart:568-578 | docs/lib/src/snippets/modular/aliases.drift.dart:870-876 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8f827d6b300c2732548b65d87a2866871dac0a971e0edfc28046339ccfad44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): drift_dev/lib/src/analysis/drift_native_functions.dart:56-71 | sqlparser/lib/src/engine/module/math.dart:72-83 \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":"drift_dev/lib/src/analysis/drift_native_functions.dart"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d634e09776c771ecfdca42e37c386becf82b293712a640208e2ff0033768bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): drift_dev/lib/src/analysis/results/column.dart:137-146 | drift_dev/lib/src/analysis/results/column.dart:291-303 \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":"drift_dev/lib/src/analysis/results/column.dart"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9d5f81e97c0d50397cd06c53e32bd7d7c9dbc4bc384eb82943dd74976b348e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:998-1006 | examples/modular/lib/src/users.drift.dart:720-729 | examples/modular/lib/src/users.drift.dart:1089-1098 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"c327c4a41f72d64eb84db66326db0ad07b0a7b21dba229b6b11a45fb73666f2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): drift/lib/src/runtime/devtools/shared.dart:163-170 | drift/lib/src/drift3_preview/src/devtools/shared.dart:161-167 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/shared.dart"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"461599fb478f49011867a6e618ea7af3951e884133551bba716b70adf9a27480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): extras/drift_postgres/lib/drift_postgres.dart:173-175 | extras/legacy/drift_postgres/lib/drift_postgres.dart:176-178 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"extras/drift_postgres/lib/drift_postgres.dart"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"109307c84e893d7f3b8bdaff06dfea8c589f3b5a3c524f15d94a7c0991125256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): sqlparser/lib/src/analysis/steps/column_resolver.dart:21-33 | sqlparser/lib/src/analysis/steps/column_resolver.dart:249-259 | sqlparser/lib/src/analysis/steps/column_resolver.dart:261-271 \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":"sqlparser/lib/src/analysis/steps/column_resolver.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"01affea6dd07cf308e1d6fc6f14570165e20ea4738919d3ed75271ccb4469cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): drift/lib/src/runtime/manager/computed_fields.dart:70-76 | future/drift_manager/lib/src/computed_fields.dart:84-93 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/manager/computed_fields.dart"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"059c95bb1a4c600368b8aee6a2542b23d0b01d3d5bf95e2f2fdddb5b94b03010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sqlparser/lib/src/ast/drift/declared_statement.dart:39-44 | sqlparser/lib/src/ast/statements/select.dart:194-199 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"sqlparser/lib/src/ast/drift/declared_statement.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b63c939e6988fff5203ae700a42b0573b93001949caaa1e4e5cda89e18b0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/in_memory_store.dart:20-25 | drift/lib/src/runtime/executor/stream_queries.dart:121-125 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"drift/lib/src/drift3_preview/src/connection/streams/in_memory_store.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e56ab51c0f19c2d1032db75ba1a05c9e39116209cb51252385b4f99c38f6b75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1259-1261 | docs/lib/src/snippets/modular/drift/example.drift.dart:1037-1045 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d462636cdcbd454a8897b69df9ceee2110d376643cad834b790f9553cad31a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1214-1219 | docs/lib/src/snippets/modular/drift/example.drift.dart:988-995 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e819eb4bb0bb566572d905bc81fd5be47987eeba6a4bd0b5dcfb210523169245"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): extras/drift_postgres/lib/src/session.dart:222-230 | extras/legacy/drift_postgres/lib/src/pg_database.dart:221-227 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/drift_postgres/lib/src/session.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8753c5a0a0b14a5b65ba643c9c12cd7318b3b1130bfec21c0b486834241a6641"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sqlparser/lib/src/analysis/steps/linting_visitor.dart:259-273 | sqlparser/lib/src/analysis/steps/prepare_ast.dart:264-280 \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":"sqlparser/lib/src/analysis/steps/linting_visitor.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c415446d7e46bf41f8f22597fce2243e73ca0fe6b4bef9e1e73be8146810fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/store.dart:322-339 | drift/lib/src/runtime/executor/stream_queries.dart:302-319 \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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"811bc937ad2766feae8583de00349273edb7601ef38423ded8462d0df39f26f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sqlparser/lib/src/ast/clauses/upsert.dart:78-82 | sqlparser/lib/src/ast/statements/create_index.dart:34-39 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"sqlparser/lib/src/ast/clauses/upsert.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9c0a202d83f269f603fe2481e84bfa2d28018f3cc3bdcea708bd374d9e5733"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): drift/lib/src/drift3_preview/src/query_builder/statements/insert.dart:138-180 | drift/lib/src/runtime/query_builder/statements/insert.dart:17-64 \u2014 These two members are one piece of code written twice and then edited apart: 43 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":"drift/lib/src/drift3_preview/src/query_builder/statements/insert.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86a8ab9a031c8fb2b171817a26b107e1187ffe54b13da4de26bb84c4f6d3d4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): sqlparser/lib/src/ast/schema/table_definition.dart:152-156 | sqlparser/lib/src/ast/statements/create_table.dart:63-76 | sqlparser/lib/src/ast/statements/update.dart:121-125 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 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":"sqlparser/lib/src/ast/schema/table_definition.dart"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c97a4422d2b50c01a50345dc8ae9767244039abc568c1c73922f1012eca0a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:997-1004 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:359-367 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ad811ae453203497b62311803be4f932a479fb5dfc3e36baac5368fb126b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:1059-1066 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:434-442 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc10e35122f257dd41b157fddb923b4ba6318f61d40b332abba40054d3743d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): drift/lib/src/drift3_preview/src/database/selectable.dart:166-174 | drift/lib/src/runtime/query_builder/statements/query.dart:247-255 \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":"drift/lib/src/drift3_preview/src/database/selectable.dart"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0354051d7b2b28877f22cf667b117ebeee02ddd5676a1cbf07251f89425d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1232-1235 | docs/lib/src/snippets/modular/drift/example.drift.dart:1008-1013 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2ff3739fb799242c1fac3b65c50eb617c1f739d433dc3e2fe43acb59611697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1421-1426 | examples/multi_package/shared/lib/src/users.drift.dart:121-124 | examples/with_built_value/lib/tables.drift.dart:243-246 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a5158554b7af84ac8b0f13703ce513e051e0096718209cf90e1e0594cc78ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): docs/lib/src/snippets/_shared/common_database.drift.dart:12-14 | docs/lib/src/snippets/drift_files/custom_queries.drift.dart:26-28 | docs/lib/src/snippets/modular/many_to_many/json.drift.dart:176-178 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:682-684 | examples/modular/lib/database.drift.dart:26-28 | examples/with_built_value/lib/database.drift.dart:10-12 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 3 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":"docs/lib/src/snippets/_shared/common_database.drift.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69386840c663389e822963573d52ba3effd7588f220a5e49eb608e679bdb209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): drift/lib/extensions/geopoly.dart:24-32 | future/drift_sqlite/lib/extensions/geopoly.dart:23-33 \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":"drift/lib/extensions/geopoly.dart"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f4fa6a9a13034ed5979108bb6f45edc817804d3129e6d901399a8c5aea5a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/store.dart:131-138 | drift/lib/src/runtime/executor/stream_queries.dart:170-177 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e23176a80e60388e08fc4bdea13ce461d453410bdd03753d83f90c3f542d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1212-1213 | docs/lib/src/snippets/modular/drift/example.drift.dart:984-987 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd747739c84f44aeacbf3b85c0d629a7b40b6276d04e17a4844a6c9c926db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): extras/drift_postgres/lib/src/session.dart:214-220 | extras/legacy/drift_postgres/lib/src/pg_database.dart:201-205 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"extras/drift_postgres/lib/src/session.dart"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1bff52e7634e94871fe1566c60d61d401a6b90af24b209cca288b28f83de18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1401-1402 | examples/multi_package/shared/lib/src/users.drift.dart:99-102 | examples/with_built_value/lib/tables.drift.dart:221-224 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b516cfded6d519ccd39a282bd8fe828ccb6682a719215f6b0871880b1477d594"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): drift/lib/src/drift3_preview/src/database/selectable.dart:239-241 | drift/lib/src/runtime/query_builder/statements/query.dart:315-317 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"drift/lib/src/drift3_preview/src/database/selectable.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7248d89833347f4a6d5699c3b98da293622c9fd3b31dc4701dd78119a852f9aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): drift/lib/src/drift3_preview/src/query_builder/compiler.dart:1020-1025 | extras/drift_mariadb/lib/src/dialect.dart:75-81 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"drift/lib/src/drift3_preview/src/query_builder/compiler.dart"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd41727079d88b1a1d8788e8e3bd6ed11ca2b380564ac38fb5ed33550273963b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/many_to_many/json.drift.dart:341-346 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:805-808 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c264b6c87fd0d06a6d89988dc7fe1dedf932d7ae64bf20976ff0656e02ef3734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): drift/lib/src/drift3_preview/src/database/connection_user.dart:280-320 | drift/lib/src/runtime/api/connection_user.dart:543-577 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"drift/lib/src/drift3_preview/src/database/connection_user.dart"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ccf6350ee78bc7bc6c8ad3f8c24e4efcbb6b68e0f720bf3bc99c03b565c375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): drift/lib/src/drift3_preview/src/database/data_class.dart:177-180 | drift/lib/src/runtime/data_class.dart:177-180 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"drift/lib/src/drift3_preview/src/database/data_class.dart"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc02bf70fa018e25e424cf553c1803b7f153bba0bc67411835f3eb2339f1efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:73-76 | docs/lib/src/snippets/modular/drift/example.drift.dart:62-65 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:35-38 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffef600358bbd91844f6ae587c497f59a074637d1bf0fd82bebc70362d6f56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:130-133 | docs/lib/src/snippets/modular/drift/example.drift.dart:114-117 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:60-63 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccb50428112402269097efd406cd9606e1aae8a45bfe884910134cbdd77bbab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1189-1191 | docs/lib/src/snippets/modular/drift/example.drift.dart:958-963 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"43438a5a82c829af64f52943c3b4f7a0f03042055cadb5ca29c849185abc050a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:36-39 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:38-41 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7607ae6f921334bc3a7e2023576cba8cf4f066aca31209bdfcb2920152771bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:41-44 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:43-46 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0bc409043693d9cc127fe5b3a00e800cb614fa9d4413505daf540b2d80e89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:61-64 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:63-66 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2609c9f6677dbda701bb8f03c6b9fb90f8ee51cdefad4c472802014f2267441e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:66-69 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:68-71 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c40dbed66452d30b07c625859233d016fa2b748e53d0c177ace2de58621a933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:367-370 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:36-39 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3f7b5fca7462a1a90db2a7e78ad9a5954c39f8119fa42f037301778d8d3bd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): docs/lib/src/snippets/modular/drift/example.drift.dart:414-417 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:61-64 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18287f667d740c9182c2afe3ab79973c1e87990c510b4bd90a518842b12fb0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): drift/lib/src/drift3_preview/src/devtools/shared.dart:169-173 | drift/lib/src/runtime/devtools/shared.dart:172-177 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"drift/lib/src/drift3_preview/src/devtools/shared.dart"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f817dbd8c68446b15ec2bee070ef155b2799514d6b66d50a491b1c04fc5c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): drift/lib/src/runtime/devtools/service_extension.dart:211-217 | drift/lib/src/runtime/executor/interceptor.dart:189-195 | drift/lib/src/utils/lazy_database.dart:97-103 | extras/drift_devtools_extension/lib/src/remote_database.dart:258-262 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 5 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":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece41ef67e2437d956956b27d381205189f2f809864f89a6225dbbe639fe9e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): sqlparser/lib/src/ast/clauses/ordering.dart:50-53 | sqlparser/lib/src/ast/expressions/simple.dart:232-235 | sqlparser/lib/src/ast/schema/column_definition.dart:163-166 | sqlparser/lib/src/ast/schema/table_definition.dart:130-133 | sqlparser/lib/src/ast/statements/create_index.dart:65-68 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 4 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":"sqlparser/lib/src/ast/clauses/ordering.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"96848412ff41717c03f37e3336c48fdeccd1138b6e86b156f6a68f54e4fb234f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/clauses/returning.dart:23-26 | sqlparser/lib/src/ast/schema/table_definition.dart:113-116 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/clauses/returning.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3b41983a8a4831fdf39936de9da59a1c9bfe1162df1f9996a1209b2280b26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/expressions/aggregate.dart:126-129 | sqlparser/lib/src/ast/statements/alter.dart:82-85 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/expressions/aggregate.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5597106fec40e0c95586cd40fc46aa0ec5b8b22140d058d7c588c677bdc0a915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/expressions/cast.dart:15-18 | sqlparser/lib/src/ast/expressions/simple.dart:140-143 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/expressions/cast.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ceb0e66b17b734fd0d9e9c9ede7f7e51ab48ff6da0b5eea4bffc2af8140bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/expressions/subquery.dart:15-18 | sqlparser/lib/src/ast/statements/select.dart:251-254 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/expressions/subquery.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a435a6d727957b12c48ef71dad706995edcf779f4061239668a57ab2b9784796"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/statements/alter.dart:101-104 | sqlparser/lib/src/ast/statements/update.dart:93-97 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/statements/alter.dart"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4975550757d1e04227f42ee870f1f1acb65bf0edc9fc2854a9e5cd7e3871bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/statements/block.dart:19-22 | sqlparser/lib/src/ast/statements/statement.dart:25-28 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/statements/block.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6993dbf394ee569be7f24c304de3404364bb2d3e4b783f84df6ad491c2b7bd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sqlparser/lib/src/ast/statements/insert.dart:92-95 | sqlparser/lib/src/ast/statements/select.dart:133-136 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"sqlparser/lib/src/ast/statements/insert.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"17eb84bcc4721dc300e2aff42bfda00151054991425010f4497150064b7c27b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:78-81 | docs/lib/src/snippets/modular/drift/example.drift.dart:67-70 | examples/modular/lib/src/posts.drift.dart:70-71 | examples/modular/lib/src/search.drift.dart:33-34 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d65de74de767ac94efe2684fce3e9c5025672e2ab194f968b210909d5e1233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:135-138 | docs/lib/src/snippets/modular/drift/example.drift.dart:119-122 | examples/modular/lib/src/posts.drift.dart:131-132 | examples/modular/lib/src/search.drift.dart:49-50 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 2 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c294fdeb81006f20171ae17e079f5e3102f3db76304fffe99a2b470e883a030"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 2\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:399-402 | docs/lib/src/snippets/modular/aliases.drift.dart:36-39 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:27-30 | examples/modular/lib/src/users.drift.dart:35-36 | examples/with_built_value/lib/tables.drift.dart:26-27 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 2 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"294bf16be3b83d55ea6690faf11a94bb9545cec1f8de060694aa8e0dc26e6a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 2\u002B corresponding lines): docs/lib/src/snippets/_shared/todo_tables.drift.dart:448-451 | docs/lib/src/snippets/modular/aliases.drift.dart:66-69 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:47-50 | examples/modular/lib/src/users.drift.dart:63-64 | examples/with_built_value/lib/tables.drift.dart:42-43 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 2 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd5d144a1df6f062026e654269895dc41248bb2d35e255f880d48fc0d393ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): drift/lib/src/drift3_preview/src/connection/streams/delayed_stream_queries.dart:60-63 | drift/lib/src/runtime/executor/delayed_stream_queries.dart:66-69 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"drift/lib/src/drift3_preview/src/connection/streams/delayed_stream_queries.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57d3f34be5889406c90cbb430072a02f141b0ee53efbf34c08ba175c38eb65f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): drift_dev/lib/src/analysis/drift_native_functions.dart:45-54 | sqlparser/lib/src/engine/module/math.dart:63-70 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"drift_dev/lib/src/analysis/drift_native_functions.dart"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9290c9c37a6799d10a08df4b3520ed87f391d0ff2b00717f06be39c5f39592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): sqlparser/lib/src/ast/clauses/with.dart:64-67 | sqlparser/lib/src/ast/common/queryables.dart:43-46 | sqlparser/lib/src/ast/drift/nested_star_result_column.dart:26-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"sqlparser/lib/src/ast/clauses/with.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"babbb87b23dbdaddfc1c5559d08aa10936d32a2bb67a102c4ccf0ef1450237aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): drift/lib/wasm.dart:390-394 | extras/drift_devtools_extension/lib/src/remote_database.dart:252-256 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"drift/lib/wasm.dart"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"429c850180fc6d98eca8af4c846ba85f25d34e924772af0483ef3bdd8b7671b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): drift/lib/wasm.dart:396-400 | extras/drift_devtools_extension/lib/src/remote_database.dart:264-268 \u2014 These two members are one piece of code written twice and then edited apart: 5 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":"drift/lib/wasm.dart"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"862947e8f82556b8f5deb75b8472f43da2574fe4cb7dabd6f863749aedcd8652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 3\u002B corresponding lines): drift/lib/src/runtime/api/connection.dart:121-123 | drift/lib/src/runtime/executor/connection_pool.dart:144-146 | drift/lib/src/runtime/executor/interceptor.dart:174-177 | drift/lib/src/utils/lazy_database.dart:85-87 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 3 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":"drift/lib/src/runtime/api/connection.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ba54830ead69028e0c3cda581aec95a0026a94be6f9dda39d5140f6ab7ea42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): drift/lib/native.dart:432-435 | drift_sqflite/lib/drift_sqflite.dart:81-84 | extras/encryption/lib/encrypted_drift.dart:76-79 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"drift/lib/native.dart"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c573a2a622097320a5716099b63d1e1f348d8f3573cebad81fb93b51304fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): drift/lib/src/runtime/executor/interceptor.dart:184-187 | drift_sqflite/lib/drift_sqflite.dart:86-89 | extras/encryption/lib/encrypted_drift.dart:81-84 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"drift/lib/src/runtime/executor/interceptor.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cd8e6fc03a9d092cc1222d80af19128999cc632dda07436ce12544e0792455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): drift/lib/src/runtime/executor/interceptor.dart:197-200 | drift_sqflite/lib/drift_sqflite.dart:97-100 | extras/encryption/lib/encrypted_drift.dart:92-95 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 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":"drift/lib/src/runtime/executor/interceptor.dart"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41a9dda039cc6461e7d9846f25a6713fe5b963394e23a3075cb4d07a06641b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/store.dart:287-320 | drift/lib/src/runtime/executor/stream_queries.dart:267-300 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart\u0060 and \u0060drift/lib/src/runtime/executor/stream_queries.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart:287\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060newListener\u0060 to \u0060_QueryStreamListener\u003CRows\u003E\u0060 in one and \u0060_QueryStreamListener\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b8e6de467599a664df2f1715a173a5abfd18f90abcf9c8cc17da52d53d4ba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): drift/lib/src/runtime/types/mapping.dart:148-179 | future/drift_sqlite/lib/src/dialect/types.dart:115-146 \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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94eda584ace7c939a3a3e1afc89a008d54b178fba9abca5c25320c062afdcde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/store.dart:100-129 | drift/lib/src/runtime/executor/stream_queries.dart:139-168 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart\u0060 and \u0060drift/lib/src/runtime/executor/stream_queries.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart:100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060stream\u0060 to \u0060_StreamImpl\u0060 in one and \u0060QueryStream\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b1ed5ab02ea98744542a54fcb857de18c01262091ba694a45e04713d6806eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): drift/lib/src/drift3_preview/src/database/data_class.dart:222-250 | drift/lib/src/runtime/data_class.dart:222-250 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/database/data_class.dart\u0060 and \u0060drift/lib/src/runtime/data_class.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/database/data_class.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d401c18490b477dfb5e302cbc4af5c8d298d4815590c7aa94964bb5bd60bd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): drift_dev/lib/src/analysis/resolver/dart/table.dart:151-178 | drift_dev/lib/src/analysis/resolver/dart/table.dart:215-242 \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 \u0060drift_dev/lib/src/analysis/resolver/dart/table.dart:151\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":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fc0fb36bc9965bc0ce0a74d02fe4e9bde9c9860a20a67e86d33a0f772692da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:824-849 | docs/lib/src/snippets/modular/drift/example.drift.dart:623-648 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce3e20cc3b17c93015d408215efa00ed4a618020dece4188b75d65670ac0fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): drift_dev/lib/src/writer/tables/table_writer.dart:135-158 | drift_dev/lib/src/writer/tables/table_writer.dart:249-272 \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 \u0060drift_dev/lib/src/writer/tables/table_writer.dart:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d667878498310d8759c4c06583fc3634814501102f275188501d2a6e49f608dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): drift_dev/lib/src/writer/database_writer.dart:249-270 | drift_dev/lib/src/writer/database_writer.dart:309-331 \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 \u0060drift_dev/lib/src/writer/database_writer.dart:249\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":"drift_dev/lib/src/writer/database_writer.dart"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"78881a48e32f5eaa655562df1e7522a8130de7f6d92ac24125231008b44a1c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/service_extension.dart:28-48 | drift/lib/src/runtime/devtools/service_extension.dart:25-45 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/service_extension.dart\u0060 and \u0060drift/lib/src/runtime/devtools/service_extension.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/drift3_preview/src/devtools/service_extension.dart:28\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":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"579163c4492bebb5204fdff1239a932269623526d52e651775114773d7ff4ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:209-228 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:234-253 \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 \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart:209\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dfd37feffc6c85d893ca38dd31b5ea270dfad5cf950483c8c21e870b821680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:269-288 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:294-313 \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 \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart:269\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1320668c8fbfe7234f5ecda1dadbc282715cc5f99f87fe7334c491a3e9b0385e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:329-348 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:354-373 \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 \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart:329\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"3add6c83332b809fa813eb564fd5bb2de8b2e971a15d009ec0d953f1f5c64708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): drift_dev/lib/src/analysis/resolver/dart/table.dart:182-201 | drift_dev/lib/src/analysis/resolver/dart/table.dart:249-268 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060drift_dev/lib/src/analysis/resolver/dart/table.dart:269\u0060 calls \u0060add\u0060 and \u0060drift_dev/lib/src/analysis/resolver/dart/table.dart:202\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/table.dart"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f3b6fa8d275455a8d7dd82658ba94a6a5aff7b8d81c9a15d5ac0ffa0d48a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/service_extension.dart:93-111 | drift/lib/src/runtime/devtools/service_extension.dart:91-109 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/service_extension.dart\u0060 and \u0060drift/lib/src/runtime/devtools/service_extension.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/drift3_preview/src/devtools/service_extension.dart:93\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":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"262496739d3c1657f697c36825a8e3cae7b6064ce6c1db4ba57521f234e973c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:261-278 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:271-288 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc0002bdc64ca727d8ae4515515754c01dfdeb7d0bb93bd0b7647fba48d2589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): drift_dev/lib/src/analysis/resolver/dart/accessor.dart:54-71 | drift_dev/lib/src/analysis/resolver/dart/accessor.dart:79-96 \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 \u0060drift_dev/lib/src/analysis/resolver/dart/accessor.dart:54\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":"drift_dev/lib/src/analysis/resolver/dart/accessor.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcadf609a2a5ec824e84d7894e4aaf425538a1932aa3e1a7b92f251bf91d558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:418-434 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:424-440 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde33ece154e17edaea3a3573c53a47d5b1cdb76fd2f7a1c6b398b34c7a4ff11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): drift_dev/lib/src/writer/tables/table_writer.dart:112-128 | drift_dev/lib/src/writer/tables/table_writer.dart:227-243 \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 \u0060drift_dev/lib/src/writer/tables/table_writer.dart:112\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":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"df32586b063995368f5d1297f6625e64294cbb12033de2a364ac8675a33f056c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): drift_sqflite/lib/drift_sqflite.dart:46-58 | extras/encryption/lib/encrypted_drift.dart:48-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 \u0060drift_sqflite/lib/drift_sqflite.dart:46\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":"drift_sqflite/lib/drift_sqflite.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"203eeaa88e261c1c2b2ee890358d7c9dcbae5c78df04326bfe1a65af14e8f0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:865-880 | docs/lib/src/snippets/modular/drift/example.drift.dart:658-673 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c042b5808bd0cc2402aaa54727a0e7230cb6097f13423115ee00500dc881f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:230-244 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:242-257 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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 \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:246\u0060 calls \u0060missing\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart:257\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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"14385519f960fcf1762ac5d2aa00bdca51cc7c8c49607d326e39f007b9dab679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/store.dart:364-379 | drift/lib/src/runtime/executor/stream_queries.dart:346-361 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart\u0060 and \u0060drift/lib/src/runtime/executor/stream_queries.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart:364\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"534d2aaf7b2d009849a3ae76ef1acfbf5871db1a44f8781211718296e2376598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): sqlparser/lib/src/engine/module/fts5.dart:156-170 | sqlparser/lib/src/engine/module/geopoly.dart:90-105 \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 \u0060sqlparser/lib/src/engine/module/fts5.dart:156\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":"sqlparser/lib/src/engine/module/fts5.dart"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fcbb3e13880abe724238908bd8bcdee10e146e73536126a63e5c1a48093326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1062-1076 | docs/lib/src/snippets/modular/drift/example.drift.dart:832-846 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:1062\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb612503030f28846dc41434cc1c72577f95ec99964176743809462102672ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): docs/lib/src/snippets/modular/drift/example.drift.dart:902-916 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:242-256 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/many_to_many/shared.drift.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf778ea47d576f8d71c691c0962f03ff404231916e5755e06d36697a6642d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): drift_dev/lib/src/analysis/resolver/drift/table.dart:374-388 | drift_dev/lib/src/analysis/resolver/drift/view.dart:122-135 \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 \u0060drift_dev/lib/src/analysis/resolver/drift/table.dart:374\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":"drift_dev/lib/src/analysis/resolver/drift/table.dart"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f3fc44f7d137d64fcefd13456564e518dc53b9f965c0f94014bb9cef4303c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:49-63 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:124-138 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift_dev/lib/src/services/schema/find_differences.dart:49\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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b96e1ba31bf5cbea9fdf12ff7062c943e743bc1b64fc28aa7401b2e15f7eb59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:65-79 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:140-154 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift_dev/lib/src/services/schema/find_differences.dart:65\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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3b4f76538a947707d0f7895babd35998bdd022593310fc3196d8a0c8290c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:271-285 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:349-363 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd0373c7d4f11b9b1831138e4872aa742396a7f6027006f8cd9502155dd4724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/service_extension.dart:121-134 | drift/lib/src/runtime/devtools/service_extension.dart:121-134 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/service_extension.dart\u0060 and \u0060drift/lib/src/runtime/devtools/service_extension.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 54 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/drift3_preview/src/devtools/service_extension.dart:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c36f187d59221121b5c6723170e6a688362efe7695054e1037a504a1451190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): drift_dev/lib/src/analysis/resolver/dart/column.dart:692-705 | drift_dev/lib/src/analysis/resolver/dart/column.dart:708-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c0e30734035a141d6ac09afedf30e25ef1581f037a10615813e47bf1474458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): drift_dev/lib/src/backends/analyzer_context_backend.dart:133-146 | drift_dev/lib/src/backends/analyzer_context_backend.dart:187-200 \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 \u0060drift_dev/lib/src/backends/analyzer_context_backend.dart:133\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060drift_dev/lib/src/backends/analyzer_context_backend.dart:147\u0060 calls \u0060writeln\u0060 and \u0060drift_dev/lib/src/backends/analyzer_context_backend.dart:202\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/backends/analyzer_context_backend.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f394084cd8ee2f4f3268b589965b8b3fcf89521495e0702d42522a50dd8358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:144-157 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:222-235 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift_dev/lib/src/services/schema/find_differences.dart:144\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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3337846d6eaa248a95c0e511ee65c26bebc4a5b771bbcd03bdd62f198da96545"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart:278-290 | drift/lib/src/runtime/query_builder/expressions/aggregate.dart:287-299 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart\u0060 and \u0060drift/lib/src/runtime/query_builder/expressions/aggregate.dart\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3f8c29e3fd75032b61e73aefa70d3c01d2f2c657a3f4f5b950b60603608bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): docs/lib/src/snippets/modular/many_to_many/json.drift.dart:233-244 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:730-741 \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":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bd2c202e822e0b55d0d59d7ecd8222b77de103c23aeecc0a46c95406a4e060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:81-92 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:141-152 \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 \u0060docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:81\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":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a427fa0be4252c3887626b3e643582612b51c06293828bc252869039c8d9e332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): drift_dev/lib/src/writer/database_writer.dart:419-430 | drift_dev/lib/src/writer/database_writer.dart:436-447 \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 \u0060drift_dev/lib/src/writer/database_writer.dart:419\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entity\u0060 to \u0060DriftTrigger\u0060 in one and \u0060DriftIndex\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/database_writer.dart"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28e77e135c9f4e513325df68639fe5c08f472f8ce6d51dac2c4d7e3ec455546"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): extras/drift_postgres/lib/src/session.dart:201-212 | extras/legacy/drift_postgres/lib/src/pg_database.dart:208-219 \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":"extras/drift_postgres/lib/src/session.dart"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abb3026b5ff9d28f16c813da2ad98f11f4cc95ec4498f5ef3c6285b5f29e84e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201312 lines \u00D7 3): sqlparser/lib/src/engine/module/fts5.dart:91-102 | sqlparser/lib/src/engine/module/fts5.dart:103-114 | sqlparser/lib/src/engine/module/fts5.dart:116-121 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sqlparser/lib/src/engine/module/fts5.dart:91\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 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sqlparser/lib/src/engine/module/fts5.dart:103\u0060 calls \u0060TableColumn\u0060, \u0060ResolvedType\u0060 and \u0060sqlparser/lib/src/engine/module/fts5.dart:91\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/engine/module/fts5.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ba58e502fbaccc290f4ab44c13426acba343b00bbb21c8378299449e7df639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1140-1150 | docs/lib/src/snippets/modular/aliases.drift.dart:454-464 | docs/lib/src/snippets/modular/aliases.drift.dart:753-763 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:539-549 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ca73c0794d2462452e552c5793caaeb5e59ca44bdf1f258be6ba3b0f9e7b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): docs/lib/src/snippets/_shared/todo_tables.drift.dart:90-100 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:147-157 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:196-206 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:90\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e676878f0c0b33b7a516cde5752ceadcd0e73b7effcc3c2225552dee3ec1c2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): docs/lib/src/snippets/modular/drift/example.drift.dart:74-84 | docs/lib/src/snippets/modular/drift/example.drift.dart:126-136 | docs/lib/src/snippets/modular/drift/example.drift.dart:172-182 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/drift/example.drift.dart:74\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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b92212fa9ba0a1f1959429b764242122816f1e1f02d4e92275492b96500b14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:207-217 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:267-277 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:327-337 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart:207\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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"943d70ceeaafacb6cdfac9a4e94e7fbd59434afff027e34c1bfcca47068f68c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:232-242 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:292-302 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:352-362 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart:232\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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5c58d34f6e3e5938d2ce973bae208fe39dd809a8f43d5bf7bad1e6a2288f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:350-360 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:414-424 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:478-488 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:350\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":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e1856b4f3022d8f9939f974c35244700f247c1acdd35d856969cd08229d5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:377-387 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:441-451 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:505-515 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:377\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":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb933c5dbce2713b86a1eb0323209d25fa3757a2004394ba22d18912533c9f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:408-418 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:473-483 \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 \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:408\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dae1898b3fe197934fdef1a39ccf228ad61a393ec84a2ad180ea12de9ebbfc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:984-994 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:1083-1093 \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 \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:984\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2762c2ca5ed0b9ee803f700b1944ccd1563890cab4ec789d3876cb97b23fe5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:299-309 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:306-316 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ee007fa21d8ea5de0627a8180b831c2d8a974a0288cdec32144fcd6254d45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:319-329 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:326-336 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6223ac157817d7f79dedcbf802753bf43b7fcfe01c9acc4cff3da756c05ca0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:394-404 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:400-410 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d1fbb12feb8d1db97f193d8c91b5c5d71aea7a1995994114f871da469ca380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:406-416 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:412-422 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"329f9d71e131c0ae6c3a7872e5cb8974edd63d4fbad11e66a56144326f7270cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs/lib/src/snippets/modular/drift/example.drift.dart:376-386 | docs/lib/src/snippets/modular/drift/example.drift.dart:441-451 \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 \u0060docs/lib/src/snippets/modular/drift/example.drift.dart:376\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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563c691b77319ae023092660197b91459379806ed7e6931e65b623e382df9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/compiler.dart:512-522 | drift/lib/src/drift3_preview/src/query_builder/compiler.dart:544-554 \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 \u0060drift/lib/src/drift3_preview/src/query_builder/compiler.dart:512\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/compiler.dart"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"9010155254e4624b76142ecb913e917465bc00936598b7f746e290de20f2e93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sqlparser/lib/src/analysis/types/resolving_visitor.dart:110-120 | sqlparser/lib/src/analysis/types/resolving_visitor.dart:176-186 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060e\u0060 to \u0060InsertStatement\u0060 in one and \u0060MultiColumnSetComponent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060sqlparser/lib/src/analysis/types/resolving_visitor.dart:123\u0060 calls \u0060visitNullable\u0060, \u0060NoTypeExpectation\u0060 and \u0060sqlparser/lib/src/analysis/types/resolving_visitor.dart:189\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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"401c5d29f5cebc1a7e4e5b7a070684cb82f5722de00aef18f2c774694be553de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): docs/lib/src/snippets/_shared/todo_tables.drift.dart:828-837 | docs/lib/src/snippets/modular/drift/example.drift.dart:627-636 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:241-250 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:828\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e1801cc0ea9cb5063e1efa5ff876acb960cdb78101e5f47ad083042fabc5a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): docs/lib/src/snippets/modular/many_to_many/json.dart:78-87 | docs/lib/src/snippets/modular/many_to_many/json.dart:106-115 \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 \u0060docs/lib/src/snippets/modular/many_to_many/json.dart:78\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":"docs/lib/src/snippets/modular/many_to_many/json.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8ed2f81714a71848708e5fa28cd9b0054346ef16f0a23e7a0ab0894559e488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): drift_dev/lib/src/writer/tables/table_writer.dart:878-887 | drift_dev/lib/src/writer/tables/table_writer.dart:915-924 \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 \u0060drift_dev/lib/src/writer/tables/table_writer.dart:878\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9a76eecdc142dba461856533b5d1ec698fd42f100427306bcbc921c213608"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1263-1271 | docs/lib/src/snippets/modular/aliases.drift.dart:658-666 | docs/lib/src/snippets/modular/aliases.drift.dart:958-966 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:604-612 | examples/modular/lib/src/users.drift.dart:783-791 | examples/with_built_value/lib/tables.drift.dart:277-285 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:1263\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cf2cdcdf9ab7d0b65f597ee581b4e7bd4e34639cb1e3979f64c1da6ce72d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:794-802 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:1023-1031 | docs/lib/src/snippets/modular/upserts.drift.dart:512-520 | examples/modular/lib/src/posts.drift.dart:1019-1027 | examples/modular/lib/src/users.drift.dart:975-983 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/upserts.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart:794\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 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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b662f3ef14da5a516a9eab27f3d97b1d2a87d26da296771c0bf233ec7216950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:397-405 | examples/modular/lib/src/search.drift.dart:301-309 | examples/multi_package/server/lib/database.drift.dart:183-191 | examples/multi_package/shared/lib/src/posts.drift.dart:147-155 \u2014 before extracting anything, compare \u0060examples/modular/lib/src/search.drift.dart\u0060 and \u0060examples/multi_package/shared/lib/src/posts.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:397\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 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":"docs/lib/src/snippets/modular/many_to_many/shared.drift.dart"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4632f3fcb2353206122b7b8a5561fa9e11cf3c683887c0c5f1005522ab035c6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): docs/lib/src/snippets/modular/aliases.drift.dart:934-942 | docs/lib/src/snippets/modular/drift/example.drift.dart:808-816 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:397-405 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/aliases.drift.dart:934\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 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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b128cf415e1ab966656938ff8ffcee63d29698945dae0fbcee059a3082d4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:590-598 | examples/multi_package/shared/lib/src/users.drift.dart:138-146 | examples/with_built_value/lib/tables.drift.dart:260-268 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bb44a19fdbe36d065d0a5cd890971467f73b71aa9ea50a42c7121c9911f89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:907-915 | docs/lib/src/snippets/modular/drift/example.drift.dart:697-705 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:907\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71dba83afc7572158871588ac646f86ef0ab30e2f4aed2da0ff747d625b8568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1036-1044 | examples/modular/lib/src/users.drift.dart:758-766 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060examples/modular/lib/src/users.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:1036\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"6325e2fea138c2b5a4e05e4db19cdf14a62465679fe55df6dd6aaae04191d0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1249-1257 | docs/lib/src/snippets/modular/drift/example.drift.dart:1027-1035 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8edf7d27c0af824d53b5e9b327936cb358b13c144f0a4f52817e89f5ecd3a2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:330-338 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:337-345 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca5f9c0534b5e26cc4229075beeec3b4e4e83530e0a221011ab16eb3528f847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/lib/src/snippets/modular/drift/example.drift.dart:1047-1055 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:419-427 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/many_to_many/shared.drift.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/drift/example.drift.dart:1047\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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd04042933b9e14b40ee5b75f5d716e4ebdb7ba66a7aab29c22d8e68e6ebce64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/shared.dart:121-129 | drift/lib/src/runtime/devtools/shared.dart:117-125 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/shared.dart\u0060 and \u0060drift/lib/src/runtime/devtools/shared.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/devtools/shared.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa4f64cf90d9772ce0a7b397b083c64dd6ab3217c9590d4c362cc04105d6599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/compiler.dart:1200-1208 | drift/lib/src/drift3_preview/src/query_builder/compiler.dart:1211-1219 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060e\u0060 to \u0060TablePrimaryKeyConstraint\u0060 in one and \u0060TableUniqueKeyConstraint\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/compiler.dart"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf355f4f8b935cb48440769b3f00d340e23e005a13b50bb2fc268c95b5d6021c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): drift/lib/src/runtime/query_builder/migration.dart:347-355 | drift/lib/src/runtime/query_builder/migration.dart:361-369 \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 \u0060drift/lib/src/runtime/query_builder/migration.dart:347\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":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2208676e2b469c444ebb060d85d8740018667c96ff5e2b5ae31fd8abeb6db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 15): docs/lib/src/snippets/_shared/todo_tables.drift.dart:822-829 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:1137-1144 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:1326-1333 | docs/lib/src/snippets/modular/aliases.drift.dart:451-458 | docs/lib/src/snippets/modular/aliases.drift.dart:750-757 | docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:234-241 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:246-253 | docs/lib/src/snippets/modular/drift/example.drift.dart:621-628 | docs/lib/src/snippets/modular/drift/example.drift.dart:900-907 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:536-543 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:240-247 | docs/lib/src/snippets/modular/upserts.drift.dart:626-633 | examples/modular/lib/src/posts.drift.dart:682-687 | examples/modular/lib/src/users.drift.dart:548-554 | examples/with_built_value/lib/tables.drift.dart:149-155 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:822\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"7572b9e112783b6b4232c4198bb9e28b21726db5e2ca0155020b52400482154f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1203-1210 | examples/multi_package/shared/lib/src/users.drift.dart:90-97 | examples/with_built_value/lib/tables.drift.dart:212-219 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d6c3961c4a0a3a816a2d8088fa81316c59e60f49dd0202a0ac4b516fb4598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:49-56 | docs/lib/src/snippets/modular/drift/example.drift.dart:39-46 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:49\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4002b59b0dfaa9b167a3873a9354ac9c478e82e9d621f84c8468b8d74da59c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:949-956 | docs/lib/src/snippets/modular/drift/example.drift.dart:732-739 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:949\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afc9b994bc6e818cf45ad1498d851eb85e60e00536cf8958087ed629b6b7333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1156-1163 | docs/lib/src/snippets/modular/drift/example.drift.dart:922-929 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 124 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:1156\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"74de391026661a8869612580d77b58e2d40707bb9e40018f6226b8f1cafe96f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/modular/drift/with_existing.drift.dart:159-166 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:180-187 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ae8d2de11b892c56cefeed28acf8229602d0be0713218c87634d64151a497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/modular/many_to_many/json.drift.dart:248-255 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:745-752 \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 \u0060docs/lib/src/snippets/modular/many_to_many/json.drift.dart:248\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":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ca87187722682abada0bd8e62bd191939f619e22b999fb51466ca3d8256e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/compiler.dart:412-419 | drift/lib/src/drift3_preview/src/query_builder/compiler.dart:454-462 \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 \u0060drift/lib/src/drift3_preview/src/query_builder/compiler.dart:412\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":"drift/lib/src/drift3_preview/src/query_builder/compiler.dart"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f24b90a04fd9b41553cdf77e143e3cbecb1c5d2fdb0cf6ae51823ed52e91ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): docs/lib/src/snippets/_shared/todo_tables.drift.dart:821-827 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:1136-1142 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:1325-1331 | docs/lib/src/snippets/modular/aliases.drift.dart:450-456 | docs/lib/src/snippets/modular/aliases.drift.dart:749-755 | docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:233-239 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:245-251 | docs/lib/src/snippets/modular/drift/example.drift.dart:620-626 | docs/lib/src/snippets/modular/drift/example.drift.dart:899-905 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:535-541 | docs/lib/src/snippets/modular/many_to_many/json.drift.dart:236-242 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:733-739 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:239-245 | docs/lib/src/snippets/modular/upserts.drift.dart:625-631 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:821\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7bcae436840d7110b38306a73fb953b8f1dbc3ecda804e51c577b553f150b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): docs/lib/src/snippets/modular/aliases.drift.dart:933-939 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:794-800 | docs/lib/src/snippets/modular/many_to_many/relational.drift.dart:1023-1029 | docs/lib/src/snippets/modular/upserts.drift.dart:512-518 | examples/modular/lib/src/posts.drift.dart:1019-1025 | examples/modular/lib/src/users.drift.dart:975-981 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/aliases.drift.dart:933\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 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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27dbb25de62e35503c937385f05357db842a3f3c45eb7e2beb625ed7552f28b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): docs/lib/src/snippets/modular/drift/example.drift.dart:807-813 | docs/lib/src/snippets/modular/drift/fts5.drift.dart:396-402 | docs/lib/src/snippets/modular/many_to_many/shared.drift.dart:397-403 | examples/modular/lib/src/search.drift.dart:301-307 | examples/multi_package/server/lib/database.drift.dart:183-189 | examples/multi_package/shared/lib/src/posts.drift.dart:147-153 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/drift/example.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/many_to_many/shared.drift.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/drift/example.drift.dart:807\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 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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8848a23d45425324ce65b21b47062a3fd457b942a5c80fa88950661f43c9bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1181-1187 | examples/with_built_value/lib/tables.drift.dart:189-195 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5d70c9bb23fa64099c987a597f6e1b2620b676c47b2930e3a9356bbe521852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:186-192 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:264-270 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift_dev/lib/src/services/schema/find_differences.dart:186\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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5bd1efa7885d0f41c0327b6ae25d4d3ffedcf57e4387fed7e8423c354697e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): extras/drift_devtools_extension/lib/src/schema_validator.dart:62-69 | extras/drift_devtools_extension/lib/src/schema_validator.dart:98-104 \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 \u0060extras/drift_devtools_extension/lib/src/schema_validator.dart:62\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":"extras/drift_devtools_extension/lib/src/schema_validator.dart"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b35699d72cb72171c6a1a54a8ab472068d5677fd36ca2e3806a53756e18ae92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): docs/lib/src/snippets/modular/aliases.drift.dart:557-562 | docs/lib/src/snippets/modular/aliases.drift.dart:859-864 | examples/modular/lib/src/users.drift.dart:665-670 | examples/modular/lib/src/users.drift.dart:1047-1052 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 and \u0060examples/modular/lib/src/users.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/modular/aliases.drift.dart:557\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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b300502b2fdbc5aeb5cfeb7456637049f121cb1ba1e62db6faa4c1cc081e022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:349-355 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:356-362 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8304f04d58a29a0280cde9e20f9c81638e0a583566ddc69c882c75c11ad78178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): drift_dev/lib/src/analysis/resolver/drift/sqlparser/drift_lints.dart:139-144 | drift_dev/lib/src/analysis/resolver/drift/sqlparser/drift_lints.dart:350-355 \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 \u0060drift_dev/lib/src/analysis/resolver/drift/sqlparser/drift_lints.dart:139\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060e\u0060 to \u0060NumericLiteral\u0060 in one and \u0060StringLiteral\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/drift/sqlparser/drift_lints.dart"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea5aafe47836638815b15bd45352908960fb1168b54b37a30b1da9ff81ce98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1345-1350 | examples/modular/lib/src/users.drift.dart:574-578 | examples/with_built_value/lib/tables.drift.dart:165-169 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060examples/modular/lib/src/users.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:1345\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. 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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce192f62e1c666e6cbb3f14fffc372fb4795e950ba1b228160f63ebe225659ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): docs/lib/src/snippets/modular/aliases.drift.dart:526-530 | docs/lib/src/snippets/modular/aliases.drift.dart:828-832 \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 \u0060docs/lib/src/snippets/modular/aliases.drift.dart:526\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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1c7460e88547c297ae914a6827fbecc169c364a94a647359053fd5e37f3e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (145 lines \u00D7 2): drift/lib/src/runtime/manager/composer.dart:17-161 | future/drift_manager/lib/src/composer.dart:21-169 \u2014 before extracting anything, compare \u0060drift/lib/src/runtime/manager/composer.dart\u0060 and \u0060future/drift_manager/lib/src/composer.dart\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/manager/composer.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb04e5e5a1be701cc73a54a765038606f0c47fad18d5ed3e80a55d063fe6cb13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): drift/lib/src/runtime/manager/join_builder.dart:32-59 | future/drift_manager/lib/src/join_builder.dart:33-60 \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. 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":"drift/lib/src/runtime/manager/join_builder.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbc0985de94d15026bcf5ee85ee5f9338823fb240a83a4a3c4e0d90b02eaf53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): drift/lib/src/runtime/manager/ordering.dart:15-87 | future/drift_manager/lib/src/ordering.dart:16-88 \u2014 before extracting anything, compare \u0060drift/lib/src/runtime/manager/ordering.dart\u0060 and \u0060future/drift_manager/lib/src/ordering.dart\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060drift/lib/src/runtime/manager/ordering.dart:15\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":"drift/lib/src/runtime/manager/ordering.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d127603964ddee9fa7fffcfa0a8a9ad091d0e5fb39e0cf8fda718404461063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sqlparser/lib/src/ast/drift/drift_file.dart:22-60 | sqlparser/lib/src/ast/drift/import_statement.dart:15-21 | sqlparser/lib/src/ast/drift/inline_dart.dart:27-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sqlparser/lib/src/ast/drift/drift_file.dart:22\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/drift/drift_file.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38681c4054825aaa511082865fe342f35e0673685192d1aa2f1a23f926cc8c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): docs/lib/src/snippets/_shared/todo_tables.drift.dart:1221-1228 | docs/lib/src/snippets/_shared/todo_tables.drift.dart:1275-1282 | docs/lib/src/snippets/modular/drift/with_existing.drift.dart:616-623 | examples/multi_package/shared/lib/src/users.drift.dart:110-117 | examples/multi_package/shared/lib/src/users.drift.dart:167-174 | examples/with_built_value/lib/tables.drift.dart:232-239 | examples/with_built_value/lib/tables.drift.dart:289-296 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/drift/with_existing.drift.dart\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/lib/src/snippets/_shared/todo_tables.drift.dart:1221\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee103de533a7eca9db6688a0d30e3608fb5b46db10bcf4b1cd8d0ce8a30ad386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:311-317 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:318-324 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f3920d24a46eaff784604d49e1f615e13b3c9875445108a9f1f02cfcab94be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:340-348 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:347-355 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b952b98bb048c168d2d07c9e2d735268d17dd156d59eb539f4af340526930445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:357-365 | docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:436-444 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:364-372 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:442-450 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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 \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:357\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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"25848fc92bece3d699208366333aec1637b9e8a216d7a4186a45868fe68e7439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart:369-375 | docs/lib/src/snippets/modular/custom_types/table.drift.dart:376-382 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/custom_types/table.drift.dart\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 158 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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b6ae7aa451aef714e7cb6259dff532c1ce8bba7649af47a864b3e749b60726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/modular/many_to_many/json.dart:53-61 | docs/lib/src/snippets/modular/many_to_many/relational.dart:60-67 \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":"docs/lib/src/snippets/modular/many_to_many/json.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dc923f32c1fb2afd57d9fd2589d6fb2c3fe3d6c1787287405a76bce834d54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): drift/lib/internal/versioned_schema.dart:59-89 | drift/lib/src/drift3_preview/internal/versioned_schema.dart:58-88 \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":"drift/lib/internal/versioned_schema.dart"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba77e5d06aa6f94bc97dc6f7de0402880c80714e622459352c4781bc1e149c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/store.dart:196-202 | drift/lib/src/runtime/executor/stream_queries.dart:61-67 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart\u0060 and \u0060drift/lib/src/runtime/executor/stream_queries.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c290e25a08044fb3b66ef405ed033aca2d2fdd8d499a495534b4004559c40e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/store.dart:381-389 | drift/lib/src/runtime/executor/stream_queries.dart:363-371 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart\u0060 and \u0060drift/lib/src/runtime/executor/stream_queries.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecb7ae93e69b6c9e9a5dc60ca610a8d4cd737fc18c7c1839d5bda39cc5fdf6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/store.dart:399-405 | drift/lib/src/runtime/executor/stream_queries.dart:381-387 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/connection/streams/store.dart\u0060 and \u0060drift/lib/src/runtime/executor/stream_queries.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7a21ed93ac542796f4db1a899fb677df8b5c890e9f91cff71e107243845d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart:230-237 | drift/lib/src/runtime/executor/stream_queries.dart:415-422 \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. 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":"drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4c953533aabf8e46c2154471cc25bea773adaf7d975680a52a6f62629ecbdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): drift/lib/src/drift3_preview/src/database/connection_user.dart:403-432 | drift/lib/src/runtime/api/connection_user.dart:220-249 \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":"drift/lib/src/drift3_preview/src/database/connection_user.dart"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eda22bb28ac961e06d24832a3122d519d2e2b00707487c6d31708e5276c8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): drift/lib/src/drift3_preview/src/database/data_class.dart:74-80 | drift/lib/src/runtime/data_class.dart:74-80 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/database/data_class.dart\u0060 and \u0060drift/lib/src/runtime/data_class.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/database/data_class.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6e56567281ec04e4814a9cb510975801fff699bb35c2715a180c0bc9fd6f92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): drift/lib/src/drift3_preview/src/database/data_class.dart:252-261 | drift/lib/src/runtime/data_class.dart:252-261 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/database/data_class.dart\u0060 and \u0060drift/lib/src/runtime/data_class.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/database/data_class.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e3df6912f77aa0f96fe74c50d24f297a0b628556b202ae5ebfa482552f9e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): drift/lib/src/drift3_preview/src/database/migrations.dart:209-242 | drift/lib/src/runtime/query_builder/migration.dart:585-618 \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":"drift/lib/src/drift3_preview/src/database/migrations.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56e56bbfa4ca3732409efb9f2c758fa5fe51d940dc9110e278ba7f23a0843cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/shared.dart:68-74 | drift/lib/src/runtime/devtools/shared.dart:64-70 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/shared.dart\u0060 and \u0060drift/lib/src/runtime/devtools/shared.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/devtools/shared.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e440c1d6b4d8d8838f9ac1f0c040b9f3135bab9a7327e75763483bdc03c01bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/shared.dart:131-140 | drift/lib/src/runtime/devtools/shared.dart:127-136 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/shared.dart\u0060 and \u0060drift/lib/src/runtime/devtools/shared.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/devtools/shared.dart"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b3c991a69c8bf867c39972b8614472565bc7aa72156fec39cc1b87dcbebd16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart:267-276 | drift/lib/src/runtime/query_builder/expressions/aggregate.dart:276-285 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart\u0060 and \u0060drift/lib/src/runtime/query_builder/expressions/aggregate.dart\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1184802b94c6888b2a20ef41fc946a1fe0331b391805a11bd7383d758db5666b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/expressions/functions.dart:33-38 | drift/lib/src/runtime/query_builder/expressions/expression.dart:609-614 \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. 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":"drift/lib/src/drift3_preview/src/query_builder/expressions/functions.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"632c439ccc671a69f281fed1d8b2113db103299d1fcb117cc568486c486d41d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/schema/subquery.dart:69-102 | drift/lib/src/runtime/query_builder/components/subquery.dart:56-89 \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":"drift/lib/src/drift3_preview/src/query_builder/schema/subquery.dart"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3da7f403d77fa287ff441944932f6ba88e510518f8e477022a7f00cef0ad2f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/type_converter.dart:29-86 | drift/lib/src/runtime/types/converters.dart:32-89 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/query_builder/type_converter.dart\u0060 and \u0060drift/lib/src/runtime/types/converters.dart\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/type_converter.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8030e17d8107f1ab1ba1a3acbc115bab50c1d7fb55e4cced67aeddd8e6d7a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/src/runtime/query_builder/expressions/datetimes.dart:317-324 | future/drift_sqlite/lib/src/dialect/expressions.dart:262-269 \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. 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":"drift/lib/src/runtime/query_builder/expressions/datetimes.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf431735ca9c4ad5a25c5c5e26e7b7d11d16fc23a4c02ca32f3260a11df7f7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): drift/lib/src/runtime/query_builder/schema/table_info.dart:53-58 | drift/lib/src/runtime/query_builder/schema/view_info.dart:42-47 \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":"drift/lib/src/runtime/query_builder/schema/table_info.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5447dfd5529227fb6745d058abda3ba3e5d1daef98c12d93704f9a57131d0c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): drift_dev/lib/api/migrations_common.dart:115-156 | future/drift_sqlite/lib/src/schema_verifier/verifier.dart:183-224 \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":"drift_dev/lib/api/migrations_common.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c1ed8238533878a9a81deb31ed0a1beec6e5ebc0af644ff2c2e2d1a2e4bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:168-178 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:246-256 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089db6a75da5fae5eb7c2fc14113c074b4e487698eb59fc7ad8dca1908543c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): drift_sqflite/lib/drift_sqflite.dart:91-95 | extras/encryption/lib/encrypted_drift.dart:86-90 \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. 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":"drift_sqflite/lib/drift_sqflite.dart"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff7206267e65c6d22565062c7a15411ac0a880c97f573e80df474eec8659592"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): drift_sqflite/lib/drift_sqflite.dart:108-112 | extras/encryption/lib/encrypted_drift.dart:103-107 \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. 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":"drift_sqflite/lib/drift_sqflite.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b5cdc52bd95fd248910666825a09e6c4798d302cb5a69c10a33965fb8c04aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): extras/drift_postgres/lib/drift_postgres.dart:165-171 | extras/legacy/drift_postgres/lib/drift_postgres.dart:168-174 \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. 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":"extras/drift_postgres/lib/drift_postgres.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b9c1296832acc17b33537cc2e5b0c9697ad6ff55500db68ad0388710d4ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/lib/src/snippets/modular/aliases.drift.dart:536-543 | docs/lib/src/snippets/modular/upserts.drift.dart:716-723 \u2014 before extracting anything, compare \u0060docs/lib/src/snippets/modular/aliases.drift.dart\u0060 and \u0060docs/lib/src/snippets/modular/upserts.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 30 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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afcdf147732f26d07e1590e4705afe5395f1ef0e664b331d936713ab07dbed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/extensions/geopoly.dart:34-41 | future/drift_sqlite/lib/extensions/geopoly.dart:35-42 \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":"drift/lib/extensions/geopoly.dart"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ad0af1532a0a93f433dbb61c26da9bbbd3294c94698ffe8bf9d60dab4377a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/src/drift3_preview/src/devtools/shared.dart:28-37 | drift/lib/src/runtime/devtools/shared.dart:28-35 \u2014 before extracting anything, compare \u0060drift/lib/src/drift3_preview/src/devtools/shared.dart\u0060 and \u0060drift/lib/src/runtime/devtools/shared.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"drift/lib/src/drift3_preview/src/devtools/shared.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6e3a17c5b1861b39da1f0493239acf20c29e9aee6b5c6dc48276a53b4b7dc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/expressions/comparable.dart:128-135 | drift/lib/src/runtime/query_builder/expressions/comparable.dart:139-146 \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. 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":"drift/lib/src/drift3_preview/src/query_builder/expressions/comparable.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df8dc7350327ff355590b5fb77026e2379d30cc03de0d6da963f9e5b1cbc360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/types.dart:222-227 | drift/lib/src/runtime/types/mapping.dart:403-408 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060map\u0060 to \u0060Map\u003CType, BuiltinSqlType\u003E\u0060 in one and \u0060Map\u003CType, DriftSqlType\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/types.dart"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b5406201606844a58c78f063a62864c8eaaf8f6df9b1b169e0915f8c81b1e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): drift/lib/src/drift3_preview/src/query_builder/types.dart:239-244 | drift/lib/src/runtime/types/mapping.dart:420-425 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060map\u0060 to \u0060Map\u003CType, BuiltinSqlType\u003E\u0060 in one and \u0060Map\u003CType, DriftSqlType\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/types.dart"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e432e92f9f0feba45a5c655666f70bc0cc21650d1eee54b43bd10a27223fdc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drift/lib/src/runtime/manager/computed_fields.dart:102-109 | future/drift_manager/lib/src/computed_fields.dart:119-126 \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. 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":"drift/lib/src/runtime/manager/computed_fields.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1a96903721223c150f6b422aced46b9a718f31dc8c0f6b114a70cd7665e196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): drift_dev/lib/src/services/schema/find_differences.dart:259-269 | future/drift_sqlite/lib/src/schema_verifier/find_differences.dart:337-347 \u2014 before extracting anything, compare \u0060drift_dev/lib/src/services/schema/find_differences.dart\u0060 and \u0060future/drift_sqlite/lib/src/schema_verifier/find_differences.dart\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b45c739a6f5ab11f6088cba2d8e61237c814ff1cc389e038e7b64d795cf63f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): drift_dev/lib/src/services/schema/verifier_native.dart:17-26 | drift_dev/lib/src/services/schema/verifier_web.dart:19-28 \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":"drift_dev/lib/src/services/schema/verifier_native.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"756a927cbf8ee3492b79f2e4ec136bc7d963eb2a0e2d0278dccf652b155544de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): extras/drift_postgres/lib/src/type.dart:145-156 | extras/legacy/drift_postgres/lib/src/types.dart:102-113 \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. 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":"extras/drift_postgres/lib/src/type.dart"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ef9610ef5267c04c0f4f1c53546f17024efb03eee964d49394de36b355ec18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sqlparser/lib/src/ast/common/queryables.dart:74-78 | sqlparser/lib/src/ast/common/queryables.dart:235-239 | sqlparser/lib/src/ast/drift/nested_query_column.dart:32-36 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/common/queryables.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1018863bab6e0d97da7c089f943e4f5d5957eabb6703e5812172286f215f0370"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (116 corresponding lines): examples/app/lib/screens/home/drawer.dart:54-169 | examples/app_drift3/lib/screens/home/drawer.dart:54-169 \u2014 These two members are one piece of code written twice and then edited apart: 116 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":"examples/app/lib/screens/home/drawer.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5d8623063ff17d589ddecf55ed8fd4a5d25dd539ad172549dd03538846f718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): examples/app/lib/screens/home/todo_edit_dialog.dart:36-105 | examples/app_drift3/lib/screens/home/todo_edit_dialog.dart:36-105 \u2014 These two members are one piece of code written twice and then edited apart: 70 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":"examples/app/lib/screens/home/todo_edit_dialog.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"338b25ceb462f15002c7db252c418158a35fd4b2bbb0c966b00678115d2fdf96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): examples/app/lib/screens/home/card.dart:17-71 | examples/app_drift3/lib/screens/home/card.dart:17-74 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"examples/app/lib/screens/home/card.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a8d7737591e6fbcf3cbe162b9bdc2ad60fa4b3b74e8a33569bc0702abcd3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): examples/app/lib/database/database.dart:48-97 | examples/app_drift3/lib/database/database.dart:48-100 \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":"examples/app/lib/database/database.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32eb3e4a22ba64369d48632afe91ca891b7608c93fa841bfe0176c975df6497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): examples/modular/lib/src/users.drift.dart:678-691 | examples/modular/lib/src/users.drift.dart:1060-1073 \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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf7f855336dfed8a844dab281132fe1c9c12f7827201912c38a1e82ea4579f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): examples/multi_package/server/lib/database.drift.dart:72-89 | examples/multi_package/shared/lib/src/posts.drift.dart:31-48 | examples/multi_package/shared/lib/src/users.drift.dart:38-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 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":"examples/multi_package/server/lib/database.drift.dart"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0a5077c33e15d3576d50dd554f9b669302149cb3ea1bf0455a470e475a120d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): extras/integration_tests/drift3_testcases/lib/database/database.dart:164-185 | extras/integration_tests/drift_testcases/lib/database/database.dart:167-186 \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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"163c53ef293c7ee59591010ac1590619f4e09293a768254b1352b113e000e642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): examples/modular/lib/src/posts.drift.dart:679-698 | examples/modular/lib/src/posts.drift.dart:894-912 | examples/modular/lib/src/search.drift.dart:170-189 | examples/modular/lib/src/users.drift.dart:847-865 | examples/with_built_value/lib/tables.drift.dart:146-161 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e5efe28e5cb590aa716781be25e32c5949da25336bd31e0d989c54a8460845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): examples/modular/lib/src/posts.drift.dart:389-409 | examples/modular/lib/src/posts.drift.dart:443-463 | examples/modular/lib/src/posts.drift.dart:497-517 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d599ff122e747692c9d52f7461bd542a9c29c4f8a019f6b3cb19893df399dd37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): examples/modular/lib/src/posts.drift.dart:28-39 | examples/modular/lib/src/posts.drift.dart:349-360 | examples/modular/lib/src/posts.drift.dart:367-378 | examples/modular/lib/src/users.drift.dart:198-209 | examples/modular/lib/src/users.drift.dart:216-227 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cbb2c35c40171e4fbd304c8ee020f4a555df87046ce25c081c1e3340eaf654"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): examples/modular/lib/src/posts.drift.dart:702-713 | examples/modular/lib/src/posts.drift.dart:916-925 | examples/modular/lib/src/users.drift.dart:869-878 | examples/with_built_value/lib/tables.drift.dart:165-174 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb56eb3c2e220fe9cba2a2fbeae228a70210073948d0b124dcf67bfefaea424c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): examples/modular/lib/src/posts.drift.dart:729-738 | examples/multi_package/shared/lib/src/posts.drift.dart:63-71 \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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d380b4cf2aaaf78dfdf23abd2140bd50d43483017f11bf0d9e3457daa86a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): examples/multi_package/server/lib/database.drift.dart:102-108 | examples/multi_package/shared/lib/src/users.drift.dart:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/multi_package/server/lib/database.drift.dart"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad54ff07121e43fe0f7d36c2d5ff733d51dc341f898e5a21245fd294797cb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): examples/app/lib/screens/home.dart:28-42 | examples/app_drift3/lib/screens/home.dart:28-42 \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":"examples/app/lib/screens/home.dart"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63d2f771ab0d40b53622fc1071904f1934b98ef3490e2a992615a257097c26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/modular/lib/src/posts.drift.dart:750-758 | examples/multi_package/shared/lib/src/posts.drift.dart:82-89 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98b87f1e0d04a3e7f778a7c06ceac0dcf810c3564983a1e69168faa8c6f4a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/multi_package/shared/lib/src/users.drift.dart:82-89 | examples/with_built_value/lib/tables.drift.dart:204-211 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"examples/multi_package/shared/lib/src/users.drift.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc942a36f3823b5efe4c189f142ff43a7bb361d26fb37d62ad484cd8bd9af47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/modular/lib/src/posts.drift.dart:759-767 | examples/multi_package/shared/lib/src/posts.drift.dart:90-97 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6f27efb0e7433c4ad12d88a639cc463dc2ac9be8e2a54457d2b39409ad7f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): examples/modular/lib/src/posts.drift.dart:769-777 | examples/multi_package/shared/lib/src/posts.drift.dart:99-104 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"851a41fea0ac59f98232f88d14967a2eeb84741a39fbcb4c3d626659a1547928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): extras/integration_tests/drift3_testcases/lib/database/database.dart:187-190 | extras/integration_tests/drift_testcases/lib/database/database.dart:188-191 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3322afd3687df8208f95995ff83466833d6ab8a11f5bbbdcca7b6eeda81b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): examples/modular/lib/src/posts.drift.dart:778-784 | examples/multi_package/shared/lib/src/posts.drift.dart:105-110 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de24e32ee2a5fa76d7cd9318b2f43ab8179d2c15a0790c648c0a07529d4723"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): examples/modular/lib/src/posts.drift.dart:740-748 | examples/multi_package/shared/lib/src/posts.drift.dart:73-80 \u2014 These two members are one piece of code written twice and then edited apart: 8 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"210c4e680e713158f062db9fbe9b2333215ac492e3e02280b10f65e81089bb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): examples/modular/lib/src/posts.drift.dart:798-804 | examples/multi_package/shared/lib/src/posts.drift.dart:123-128 \u2014 These two members are one piece of code written twice and then edited apart: 6 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbae89f4d8bbc606cdca75ab7c1435956c0d8395c86bfcbcc1d419dd26197a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): extras/integration_tests/drift3_testcases/lib/database/database.dart:150-152 | extras/integration_tests/drift_testcases/lib/database/database.dart:153-155 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9436a50868ae8a7a09292d6b3f2564a13ce75ec0351e1fa80b3b9ccd4649f777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): extras/integration_tests/drift3_testcases/lib/database/database.dart:154-156 | extras/integration_tests/drift_testcases/lib/database/database.dart:157-159 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d32a157e7ae26c2224e6f097f2e8693f6a7cf6fc0b70acab4a45acc3e8fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): examples/modular/lib/src/posts.drift.dart:67-68 | examples/modular/lib/src/users.drift.dart:32-33 | examples/with_built_value/lib/tables.drift.dart:23-24 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82efea072735ba05e10910b6616e18fc89cfd18a851fa422ac9d02ecf7150d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): examples/modular/lib/src/posts.drift.dart:128-129 | examples/modular/lib/src/users.drift.dart:60-61 | examples/with_built_value/lib/tables.drift.dart:39-40 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 2 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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"155d482e78366775bab8b860d0943526e4f5f58eab4dfe49b9ed3cf394caf509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): extras/integration_tests/drift3_testcases/lib/database/database.dart:53-56 | extras/integration_tests/drift_testcases/lib/database/database.dart:54-57 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3ac2874f02b9566a699275cd01c2c897e64ad1e14952a167e28ad77942a897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2): examples/app/lib/screens/home/drawer.dart:81-169 | examples/app_drift3/lib/screens/home/drawer.dart:81-169 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home/drawer.dart\u0060 and \u0060examples/app_drift3/lib/screens/home/drawer.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/lib/screens/home/drawer.dart:81\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":"examples/app/lib/screens/home/drawer.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2262642e18e0800e5bb49daec0cf0673cc4dca61f4a7dd9acf2717cb3d634b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): examples/app/lib/screens/home.dart:44-110 | examples/app_drift3/lib/screens/home.dart:44-110 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home.dart\u0060 and \u0060examples/app_drift3/lib/screens/home.dart\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/screens/home.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"70230351bdac839c09d4569521add56cac924b47458f633360eff7b0c8553af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): examples/app/lib/screens/home/todo_edit_dialog.dart:36-97 | examples/app_drift3/lib/screens/home/todo_edit_dialog.dart:36-97 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home/todo_edit_dialog.dart\u0060 and \u0060examples/app_drift3/lib/screens/home/todo_edit_dialog.dart\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/lib/screens/home/todo_edit_dialog.dart:36\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":"examples/app/lib/screens/home/todo_edit_dialog.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f6dfcaf53cec87c8a9300d24b4c90bb9e431f686e568b9915214037bb5f6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201349 lines \u00D7 2): examples/app/lib/screens/home/card.dart:17-60 | examples/app_drift3/lib/screens/home/card.dart:17-65 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home/card.dart\u0060 and \u0060examples/app_drift3/lib/screens/home/card.dart\u0060 as WHOLE FILES: 96% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/lib/screens/home/card.dart:17\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":"examples/app/lib/screens/home/card.dart"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da55e2daaa0d9980727f98464b152fa9b3dcd4dc8c31b40e3ae58233b4cfc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): examples/app/lib/screens/backup/supported.dart:30-74 | examples/app_drift3/lib/screens/backup/supported.dart:30-74 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/backup/supported.dart\u0060 and \u0060examples/app_drift3/lib/screens/backup/supported.dart\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/screens/backup/supported.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"030fc75afa794fb0f01443d8e2fb7e7a9ab1e58d2d93d843740fed9469d8abc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): examples/app/lib/screens/search.dart:38-73 | examples/app_drift3/lib/screens/search.dart:38-73 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/search.dart\u0060 and \u0060examples/app_drift3/lib/screens/search.dart\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/screens/search.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b927cc2b99708842d8e4ce393a2e5fd7414d89a3f1c356252cef3094a2d52bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): examples/app/lib/screens/home/drawer.dart:12-46 | examples/app_drift3/lib/screens/home/drawer.dart:12-46 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home/drawer.dart\u0060 and \u0060examples/app_drift3/lib/screens/home/drawer.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"examples/app/lib/screens/home/drawer.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66cbf20454d3bb95d0db1583f86736fa27cdb3093f3a8b7db7a9ca43ee65d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): extras/integration_tests/drift3_testcases/lib/database/database.dart:100-133 | extras/integration_tests/drift_testcases/lib/database/database.dart:103-136 \u2014 before extracting anything, compare \u0060extras/integration_tests/drift3_testcases/lib/database/database.dart\u0060 and \u0060extras/integration_tests/drift_testcases/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d6e8f8da6e40c24889cecbe0ecc3e1567f974dc205687f995d7a4d29cbe93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): examples/app/lib/database/database.dart:65-97 | examples/app_drift3/lib/database/database.dart:68-100 \u2014 before extracting anything, compare \u0060examples/app/lib/database/database.dart\u0060 and \u0060examples/app_drift3/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/lib/database/database.dart:65\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":"examples/app/lib/database/database.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7105a335fb3e8f6c870700833e2444b25cb01466c29acb9ebaf76ddad0508636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): examples/app/lib/screens/home/drawer.dart:54-73 | examples/app_drift3/lib/screens/home/drawer.dart:54-73 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home/drawer.dart\u0060 and \u0060examples/app_drift3/lib/screens/home/drawer.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/lib/screens/home/drawer.dart:54\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":"examples/app/lib/screens/home/drawer.dart"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"093b1d7c8f55154fb868f0ea119c9cafdc7ec5264b267341d8995536ca47e1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): examples/app/lib/database/database.dart:48-65 | examples/app_drift3/lib/database/database.dart:48-65 \u2014 before extracting anything, compare \u0060examples/app/lib/database/database.dart\u0060 and \u0060examples/app_drift3/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/lib/database/database.dart:48\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":"examples/app/lib/database/database.dart"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3060f61a69d95eb5aa57bdae566ab11140d4b169fa7e6a2d7e8da7334140b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/modular/lib/src/posts.drift.dart:77-93 | examples/modular/lib/src/posts.drift.dart:415-431 \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 \u0060examples/modular/lib/src/posts.drift.dart:77\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a57fb4ff966f02b96a25600bf0cee1737fccf170ef64f9ea7657778f052f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/modular/lib/src/posts.drift.dart:138-154 | examples/modular/lib/src/posts.drift.dart:469-485 \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 \u0060examples/modular/lib/src/posts.drift.dart:138\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"399a381ed32f604c9b762b0e38d203f3c5be4cde6ea57051f12cb63abe870df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/modular/lib/src/posts.drift.dart:176-192 | examples/modular/lib/src/posts.drift.dart:523-539 \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 \u0060examples/modular/lib/src/posts.drift.dart:176\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e838c62c15d80e0790b900be08aeb2a1c1d331715cf7ea7b6ccebcf31b54bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:243-259 | examples/modular/lib/src/users.drift.dart:265-281 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/users.drift.dart:243\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d667d28677a318d31470a56ed22d717c697a257bc66fdeb461779601c131c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:297-313 | examples/modular/lib/src/users.drift.dart:319-335 \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 \u0060examples/modular/lib/src/users.drift.dart:297\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99efb2fa9c3fd5061cc9faab1a4bed5967479b86fea2a634a707097a6d35091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:351-367 | examples/modular/lib/src/users.drift.dart:373-389 \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 \u0060examples/modular/lib/src/users.drift.dart:351\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dc5e8031f3f73110ee9aeee7100f81117981c2b7df911a70314d164e912e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:545-558 | examples/with_built_value/lib/tables.drift.dart:146-159 \u2014 before extracting anything, compare \u0060examples/modular/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/users.drift.dart:545\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"4036e4e179d4744f68455d5b259225b5c6dd696637903c7f34b05209bb04aab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:578-590 | examples/modular/lib/src/users.drift.dart:1125-1137 \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 \u0060examples/modular/lib/src/users.drift.dart:578\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"2459263864a7e2766b0649fc7a45732b8a3ae918fcbb28cbb388da5a60cab41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): extras/integration_tests/drift3_testcases/lib/database/database.dart:135-148 | extras/integration_tests/drift_testcases/lib/database/database.dart:138-151 \u2014 before extracting anything, compare \u0060extras/integration_tests/drift3_testcases/lib/database/database.dart\u0060 and \u0060extras/integration_tests/drift_testcases/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa1dfa4a1360ffc20db7209bb5140e61b43fc2239be18f3f48f087620685cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/app/lib/database/database.dart:105-116 | examples/app_drift3/lib/database/database.dart:108-119 \u2014 before extracting anything, compare \u0060examples/app/lib/database/database.dart\u0060 and \u0060examples/app_drift3/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/database/database.dart"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e3373caee6b99c91a8c4d2c26489268bf1428ba7a02b330834ab820ff21bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): examples/app/lib/screens/search.dart:19-30 | examples/app_drift3/lib/screens/search.dart:19-30 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/search.dart\u0060 and \u0060examples/app_drift3/lib/screens/search.dart\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/screens/search.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd66d231a016ee1a748ce90288c0fa2c9759a46c21f8cb1140793e495665f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): examples/modular/lib/src/users.drift.dart:705-715 | examples/modular/lib/src/users.drift.dart:805-815 | examples/modular/lib/src/users.drift.dart:1074-1084 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/users.drift.dart:705\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f50638a1a9b827cda1faaf9caab7c0309e6484f8db2299b159b7ea03acc941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): extras/integration_tests/drift3_testcases/lib/database/database.dart:164-174 | extras/integration_tests/drift_testcases/lib/database/database.dart:167-177 \u2014 before extracting anything, compare \u0060extras/integration_tests/drift3_testcases/lib/database/database.dart\u0060 and \u0060extras/integration_tests/drift_testcases/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extras/integration_tests/drift3_testcases/lib/database/database.dart:164\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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8afbdb3f7d9380281730a06a7278945a59452d0d426241314098fa46ad0745a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): examples/modular/lib/src/posts.drift.dart:687-696 | examples/modular/lib/src/search.drift.dart:176-184 \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 \u0060examples/modular/lib/src/search.drift.dart:176\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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"db386ce58cfb0e4dca04fb1dfd31ffab722bc6d64f2a1e7ca26a2d3ef7af513e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:667-676 | examples/modular/lib/src/users.drift.dart:1049-1058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"78465a0d8fbf1c8b760d9b9c920fd1f3e7ef6426ff9671e9af929068a2b31efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/multi_package/server/lib/database.drift.dart:74-83 | examples/multi_package/shared/lib/src/posts.drift.dart:33-42 | examples/multi_package/shared/lib/src/users.drift.dart:40-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/multi_package/server/lib/database.drift.dart:74\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 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":"examples/multi_package/server/lib/database.drift.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee067106ce49190ab1a1367a3b93d3de89d8b047869360a75e08e886340668c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/modular/lib/src/posts.drift.dart:75-82 | examples/modular/lib/src/posts.drift.dart:136-143 | examples/modular/lib/src/posts.drift.dart:174-181 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b578c0b534442b6ce85f20c7d23ace600d03fc2ecbc1afe61b56d888f63fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/modular/lib/src/posts.drift.dart:391-398 | examples/modular/lib/src/posts.drift.dart:445-452 | examples/modular/lib/src/posts.drift.dart:499-506 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"697fcc36c08a63501d895b906b0b59455f84094e87fb92d7aac79d136d4abc62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/modular/lib/src/posts.drift.dart:413-420 | examples/modular/lib/src/posts.drift.dart:467-474 | examples/modular/lib/src/posts.drift.dart:521-528 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4fbf6ead5794db6dd1b0f47b39c8798ca19ddb2b810b3cee754a34ee447ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/modular/lib/src/users.drift.dart:241-248 | examples/modular/lib/src/users.drift.dart:295-302 | examples/modular/lib/src/users.drift.dart:349-356 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9da6cf735439abfc999bc609013273d3d3c73e80b9f199f62fc18a7699c4cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/modular/lib/src/users.drift.dart:263-270 | examples/modular/lib/src/users.drift.dart:317-324 | examples/modular/lib/src/users.drift.dart:371-378 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caa1c87aca825bbc4c3bb16d09adf075f8c6b7a05489ebf48526ccb5e05c1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/modular/lib/src/posts.drift.dart:98-105 | examples/modular/lib/src/posts.drift.dart:197-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"876cd979f135d09b9bb237c4942ba879a94ed5ec55dca73d1a051d0757f2d6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:685-691 | examples/modular/lib/src/users.drift.dart:1067-1073 \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 \u0060examples/modular/lib/src/users.drift.dart:685\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6f477546e06db875a8c73acb1e5bc85c63ad08d91a1d2da4a0fc7181fc24cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/multi_package/shared/lib/src/users.drift.dart:83-89 | examples/with_built_value/lib/tables.drift.dart:205-211 \u2014 before extracting anything, compare \u0060examples/multi_package/shared/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/multi_package/shared/lib/src/users.drift.dart:83\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 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":"examples/multi_package/shared/lib/src/users.drift.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a3c09ab319fd2192e1056a4d7e8394d390fe0bdb3abd71732b997c8d5738b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): examples/modular/lib/src/users.drift.dart:652-657 | examples/multi_package/shared/lib/src/users.drift.dart:82-87 | examples/with_built_value/lib/tables.drift.dart:204-209 \u2014 before extracting anything, compare \u0060examples/modular/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/users.drift.dart:652\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d43c15176fe59e5737f829dca71e4b17feb18b057317fe9ace9b4d0b5f41a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/modular/lib/src/posts.drift.dart:29-34 | examples/modular/lib/src/posts.drift.dart:368-373 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"05834f4b011b11a2b7b727e170bcb02820ca6646736077a068a3e50cb165fad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:199-204 | examples/modular/lib/src/users.drift.dart:217-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb58b0959c7815c92ac3b086b26cd24b93d5d13554445578a2c2d29ff4322d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:576-581 | examples/with_built_value/lib/tables.drift.dart:167-172 \u2014 before extracting anything, compare \u0060examples/modular/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/users.drift.dart:576\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"c108f24bc86090c099db61320b8cc3f048735cc53cb80bbcf269b186385f3d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:656-664 | examples/modular/lib/src/users.drift.dart:1038-1046 \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 \u0060examples/modular/lib/src/users.drift.dart:656\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"b760d7b827ae3557b81891089cff89afd787e9053e726141fc48bc63be577d5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/app/tool/builder.dart:9-19 | examples/app_drift3/tool/builder.dart:9-19 \u2014 before extracting anything, compare \u0060examples/app/tool/builder.dart\u0060 and \u0060examples/app_drift3/tool/builder.dart\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/app/tool/builder.dart:9\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/tool/builder.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d110ddfae1e317c0ffcf9737657c56b714c79cd617940032b0f2bd9008759af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): extras/integration_tests/drift3_testcases/lib/suite/suite.dart:12-48 | extras/integration_tests/drift_testcases/lib/suite/suite.dart:12-54 \u2014 before extracting anything, compare \u0060extras/integration_tests/drift3_testcases/lib/suite/suite.dart\u0060 and \u0060extras/integration_tests/drift_testcases/lib/suite/suite.dart\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060extras/integration_tests/drift3_testcases/lib/suite/suite.dart:12\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":"extras/integration_tests/drift3_testcases/lib/suite/suite.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc6761bd71c3037ef61aaa72dce602e02b68ec5f79d9a5afa57af09b9101c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/app/lib/database/database.dart:99-103 | examples/app_drift3/lib/database/database.dart:102-106 \u2014 before extracting anything, compare \u0060examples/app/lib/database/database.dart\u0060 and \u0060examples/app_drift3/lib/database/database.dart\u0060 as WHOLE FILES: this scan already matched 4 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/database/database.dart"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40dc5ab10825514ab642d06cd45a214616872603e600ada790b2350dc022263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/app/lib/main.dart:37-49 | examples/app_drift3/lib/main.dart:37-49 \u2014 before extracting anything, compare \u0060examples/app/lib/main.dart\u0060 and \u0060examples/app_drift3/lib/main.dart\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/main.dart"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f05f066bf4980c38451ab3566465898c09e952def582f152942501e165111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/app/lib/screens/backup/supported.dart:16-24 | examples/app_drift3/lib/screens/backup/supported.dart:16-24 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/backup/supported.dart\u0060 and \u0060examples/app_drift3/lib/screens/backup/supported.dart\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/screens/backup/supported.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fc6b6d4ee3a8bc902cbb083631eda5c5a5f05298bc81df646fca4cab19c9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/app/lib/screens/home/todo_edit_dialog.dart:23-28 | examples/app_drift3/lib/screens/home/todo_edit_dialog.dart:23-28 \u2014 before extracting anything, compare \u0060examples/app/lib/screens/home/todo_edit_dialog.dart\u0060 and \u0060examples/app_drift3/lib/screens/home/todo_edit_dialog.dart\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/lib/screens/home/todo_edit_dialog.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b76792705b2c5bca0d5e139d25e65e7a8b023506059d5f7b9572d7311620e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/modular/lib/src/search.drift.dart:265-272 | examples/multi_package/shared/lib/src/posts.drift.dart:112-119 \u2014 before extracting anything, compare \u0060examples/modular/lib/src/search.drift.dart\u0060 and \u0060examples/multi_package/shared/lib/src/posts.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/search.drift.dart:265\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":"examples/modular/lib/src/search.drift.dart"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5844e878f1f28ee6684e3065420452034cc56fbd3f452c7fc33d54eaee408f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): examples/modular/lib/src/search.drift.dart:337-345 | examples/multi_package/shared/lib/src/posts.drift.dart:183-191 \u2014 before extracting anything, compare \u0060examples/modular/lib/src/search.drift.dart\u0060 and \u0060examples/multi_package/shared/lib/src/posts.drift.dart\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/modular/lib/src/search.drift.dart:337\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":"examples/modular/lib/src/search.drift.dart"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0980ba6e1e8837206b9aceed51025e7d5639c3056f36bb7e093d27e642d022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/multi_package/shared/lib/src/users.drift.dart:75-80 | examples/with_built_value/lib/tables.drift.dart:197-202 \u2014 before extracting anything, compare \u0060examples/multi_package/shared/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"examples/multi_package/shared/lib/src/users.drift.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f877de6d040c1231927fead5166cc82856d3e5e0e2628826cbc99c6c93a973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/multi_package/shared/lib/src/users.drift.dart:103-108 | examples/with_built_value/lib/tables.drift.dart:225-230 \u2014 before extracting anything, compare \u0060examples/multi_package/shared/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"examples/multi_package/shared/lib/src/users.drift.dart"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2515f53502c76e6bdb2546df8613da1d1cfdd1af9d96da44b95959593408fdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/multi_package/shared/lib/src/users.drift.dart:148-153 | examples/with_built_value/lib/tables.drift.dart:270-275 \u2014 before extracting anything, compare \u0060examples/multi_package/shared/lib/src/users.drift.dart\u0060 and \u0060examples/with_built_value/lib/tables.drift.dart\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"examples/multi_package/shared/lib/src/users.drift.dart"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2345fdcc089590edc60b4a88b48575a12672cd4f737643d59f895f61bfd5e3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/modular/lib/src/users.drift.dart:679-683 | examples/modular/lib/src/users.drift.dart:1061-1065 \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 \u0060examples/modular/lib/src/users.drift.dart:679\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bc6661b734d1f93550d0e1e61f96a572ff0c83707f7f6d5efd6e0ff9274179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): examples/app/ios/Runner/AppDelegate.swift:6-15 | examples/app_drift3/ios/Runner/AppDelegate.swift:6-15 | examples/encryption/ios/Runner/AppDelegate.swift:6-15 \u2014 before extracting anything, compare \u0060examples/app/ios/Runner/AppDelegate.swift\u0060 and \u0060examples/app_drift3/ios/Runner/AppDelegate.swift\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/ios/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558516f8c668fa8432e72f91ef3f4ec3eac0c99ba90783547ff0aaff4082a9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/app/macos/Runner/AppDelegate.swift:6-12 | examples/app_drift3/macos/Runner/AppDelegate.swift:6-12 \u2014 before extracting anything, compare \u0060examples/app/macos/Runner/AppDelegate.swift\u0060 and \u0060examples/app_drift3/macos/Runner/AppDelegate.swift\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/macos/Runner/AppDelegate.swift"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8368ae331d30129056b673dd75fbf1c0dc4beef933e6aa61f3e1f52d8ccc2273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/app/macos/Runner/MainFlutterWindow.swift:5-14 | examples/app_drift3/macos/Runner/MainFlutterWindow.swift:5-14 \u2014 before extracting anything, compare \u0060examples/app/macos/Runner/MainFlutterWindow.swift\u0060 and \u0060examples/app_drift3/macos/Runner/MainFlutterWindow.swift\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/app/macos/Runner/MainFlutterWindow.swift"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf330b6849705ecc185226e74776bf3f750dd643bb27a40a89bbbe5459c9f94a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: drift_postgres (extras/legacy/drift_postgres): drift_postgres (extras/legacy/drift_postgres): abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a4054413d3d627f6431cf7b87ee41b408986f39c0f7ea614c651d429e28f83f7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: drift3_preview: drift3_preview: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e221fb506476f89c143a1ef0d028df312933d368020977d4f415882e7511e24f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sqlparser: sqlparser: abstractness 0.19, instability 0.00, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55abfeaa51272f5768e92424533f7aa7f03d75a07c800ba04ec5f8cd66def45f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: drift: drift: abstractness 0.24, instability 0.00, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7ebf31cd2e42e51b94d8eb59cb8db3df77c954c24760e8eb7f2ab441f8aa3716"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DatabaseConnectionUser (LCOM4 21): DatabaseConnectionUser\u0027s methods fall into 21 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 21 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":"drift/lib/src/runtime/api/connection_user.dart"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"49745341d47279185ce5c3654b701ed6977c236326c8ebf0927cd403551a2ca1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AstNode (LCOM4 11): AstNode\u0027s methods fall into 11 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 11 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":"sqlparser/lib/src/ast/node.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"791c36baa6fb5bd9f6b74b7c584be130936acdfd52dc40e81c1eea35b7a93706"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostgresDialect (LCOM4 10): PostgresDialect\u0027s methods fall into 10 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 10 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":"extras/drift_postgres/lib/src/dialect.dart"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbf4c0d7ce95808f493457bde155ed94aacdde763f9e518f57cf73f749d89eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollectCreateStatements (LCOM4 9): CollectCreateStatements\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":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ce0497232cd315e5fe97d57ff00b04a042b9c6754701044255d03d31d383b4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _MariaDbStatementCompiler (LCOM4 9): _MariaDbStatementCompiler\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":"extras/drift_mariadb/lib/src/dialect.dart"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"12511d534af7e89a2267715742ecbfa63920a8bab2dc99f03ad78b79b3aad063"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SqliteDialect (LCOM4 9): SqliteDialect\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":"future/drift_sqlite/lib/src/dialect/dialect.dart"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2682e1cc991f46f4015a1546f51b5b27f0a40b7c0f5785c0bed915efc9605cc2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _HttpFile (LCOM4 8): _HttpFile\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":"docs/lib/src/search/database.dart"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"45851087e2c112d7a3da18fa0bf8f413e2d2ed907404d300a96edc10f567e886"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CollectCreateStatements (LCOM4 8): CollectCreateStatements\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":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d55258cfb4b6303ac6e51e8d0dbc2179da6edfe7be967a8bec8b9a41bee98cb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GeneratedDatabase (LCOM4 8): GeneratedDatabase\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":"drift/lib/src/runtime/api/db_base.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a635d41f0a202307d75e9cff8d5693c395ac83822c6a0612b3b55ba9cc274c83"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PopularUsers (LCOM4 8): PopularUsers\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"786d58acd15a1a686a16dd1c7fc18b67bb475107908778b3b50f9c0a3a372099"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Database (LCOM4 7): Database\u0027s methods fall into 7 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 7 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":"extras/integration_tests/drift3_testcases/lib/database/database.dart"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34542f7cbe642ad372bb16b06aeac13aa79cb73d0b9bb08438f33f04eef5955"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Database (LCOM4 7): Database\u0027s methods fall into 7 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 7 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":"extras/integration_tests/drift_testcases/lib/database/database.dart"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8106aaf214d228048c5147dab7f41c27355f18366d28250a7ca8684f7bbbed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VersionedView (LCOM4 7): VersionedView\u0027s methods fall into 7 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 7 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":"drift/lib/internal/versioned_schema.dart"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef845b48d197edeac8c8b0b118cfd4c65addd90981a08149d6464eb786f93de"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Email (LCOM4 7): Email\u0027s methods fall into 7 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 7 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":"docs/lib/src/snippets/modular/drift/fts5.drift.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31259a1350f63c896fdad619e32566ef68c52f05c67f4903c31b841ea09f089"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GeneratedDatabase (LCOM4 7): GeneratedDatabase\u0027s methods fall into 7 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 7 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":"drift/lib/src/drift3_preview/src/database/db_base.dart"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b622f8f6bde025f8ad7c19ae5d6826982aa6f7871eb5b6fbb2c4cd9e9c371b7c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SelectStatement (LCOM4 7): SelectStatement\u0027s methods fall into 7 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 7 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":"drift/lib/src/drift3_preview/src/query_builder/statements/select.dart"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"513de6c2d5dbdecbbc2dd71d93d836e4c552df508a24c47af1c2a3ab5991127b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SimpleSelectStatement (LCOM4 7): SimpleSelectStatement\u0027s methods fall into 7 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 7 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":"drift/lib/src/runtime/query_builder/statements/select/select.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7ddb1e52ef1084b6c76f32691b9c2b1d77a7b44d35d371bc9ae6eb475c0c16"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SearchInPosts (LCOM4 7): SearchInPosts\u0027s methods fall into 7 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 7 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":"examples/modular/lib/src/search.drift.dart"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8909a5e8e9f8b80302c07786f4e651f8ab6a202e5303b2977ede90f6a62b76a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostgresSqlCompiler (LCOM4 7): PostgresSqlCompiler\u0027s methods fall into 7 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 7 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":"extras/drift_postgres/lib/src/dialect.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c77495c89e5e02754c70627d90aaf2745c993ad6ba9c79e3d935e3ba5eec957"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RenderTextBinding (LCOM4 6): _RenderTextBinding\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":"docs/tool/build_search_index.dart"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"03faf0757e617d56718cb27092919e86cefd105801d9cea52488a3c4f7b1a005"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $Database (LCOM4 6): $Database\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":"examples/modular/lib/database.drift.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"691c41eadd3550b6b5cc387788470381b06afd858c797df05a230e0c8483e6df"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HttpFileSystem (LCOM4 6): HttpFileSystem\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":"docs/lib/src/search/database.dart"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"670a09c3ee4c4a8ed33799f88f66d24a1a1a4c87c28390cef401855b1f493708"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Friends (LCOM4 6): Friends\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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ff3044da22c25c70304ff8686c32137c206624f8d2d288d079c61a69b798e1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VersionedView (LCOM4 6): VersionedView\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":"drift/lib/src/drift3_preview/internal/versioned_schema.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b34081e5548f1559ea0aa5e5f3ad022799282a73df9e2d4e3760ba34cde9803"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Likes (LCOM4 6): Likes\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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9c793f228c1c044984f6ee6ae2c77ea3a43a741eb036fe3c8d7e3971cabc80"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Follows (LCOM4 6): Follows\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"915293cc4ac6316383268337c091de37096f88640821b810f8af916ad189dc8e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Posts (LCOM4 6): Posts\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":"examples/multi_package/shared/lib/src/posts.drift.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84e1da08a9887b574503e6671c0295db97a124e6c693c41670385f1204f4c87"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RemoteQueryExecutor (LCOM4 6): RemoteQueryExecutor\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":"extras/drift_devtools_extension/lib/src/remote_database.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c164cd41d69b1403d330c4b262373dfc815b5b4115e458311456c289f1f5fed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SqliteConnection (LCOM4 6): SqliteConnection\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":"future/drift_sqlite/lib/src/connection/connection.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"799fa11e0ac825367e32283831829d01acb5d582a3bfa052747ad1928145184b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SqlitePoolSession (LCOM4 6): SqlitePoolSession\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":"future/drift_sqlite/lib/src/connection/pool.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93b672536ca9444b68c5ad2bbeed0c80bcdc2ed9be9b597bbdea027c566b507"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _LeasedPoolConnection (LCOM4 6): _LeasedPoolConnection\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":"future/drift_sqlite/lib/src/connection/pool.dart"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1c176c9ad12211587cf5fae8fdc2d7ed2233d6ed41be2a89b08b556ad2c357"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SqliteCompiler (LCOM4 6): SqliteCompiler\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":"future/drift_sqlite/lib/src/dialect/compiler.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b685c70f14488059ea051a2e7add619ad9a7541e40ff06d227398848a9883ab"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NodeSqlBuilder (LCOM4 6): NodeSqlBuilder\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":"sqlparser/lib/utils/node_to_text.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbb7ac69d91dc1469d41d9b4e56d8904f7aa9d3e4fb8a6ee7a727ceec531613"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _NativeDelegate (LCOM4 5): _NativeDelegate\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":"drift/lib/native.dart"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3753f8cb2473e937695d107a1a27ffb565dd6a5899e67e421dbc407001faa676"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $ActiveSessionsTable (LCOM4 5): $ActiveSessionsTable\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":"examples/multi_package/server/lib/database.drift.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a6090b65c7d69f66268f41e2081787f9723a5ea88915bcfd3fc4e21f584874"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Users (LCOM4 5): Users\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":"examples/with_built_value/lib/tables.drift.dart"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0dce86d7008f61864d4ece75772fb1995a7f2eafb71d3541bc15b310ec9408"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PeriodicReminders (LCOM4 5): PeriodicReminders\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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d223d164b2d2b22949836b3252334914e7144f0838ca1df40bae4e2538b9d2cc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Todos (LCOM4 5): Todos\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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"43172e179a3b6ea589bf17c3a4a29afa7051910e379ca9255c222e251c0681d5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Categories (LCOM4 5): Categories\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":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"1350b4c6ebbc5b2ccfef4cfc18de11841f888ca653dfadd64419f0d60f27b311"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Users (LCOM4 5): Users\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":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ddddf58d1db267e9f6b895fb06d2664c6d5c033525d72f5ae7670815f5f2e2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $ShoppingCartEntriesTable (LCOM4 5): $ShoppingCartEntriesTable\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":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"b283cb61a15d7fd21f5250eb52b9bae1f7a174072f932d7cb9690066972d8bd4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DriftCompatibilitySession (LCOM4 5): DriftCompatibilitySession\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":"drift/lib/src/drift3_preview/src/connection/connection_compat.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7591794eb7f937d5eb37c002ccebe179409fe06325708c8966f7fcc6ed6b28c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExplicitAliasTransformer (LCOM4 5): ExplicitAliasTransformer\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":"drift_dev/lib/src/analysis/resolver/queries/explicit_alias_transformer.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0993b04d1aa7ea7145e0219c1dbc51f2fc2790ad4aa7478e28838b8df0cade50"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DriftTable (LCOM4 5): DriftTable\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":"drift_dev/lib/src/analysis/results/table.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68673a8ae2e488be8606211c72bc1266751cdd43873da121f0b8e87c1d7bc11"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Posts (LCOM4 5): Posts\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":"examples/modular/lib/src/posts.drift.dart"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3aef719a82b115643a0990def46588ac694ff35004c8cb24b691e1d05b6017"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Users (LCOM4 5): Users\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":"examples/modular/lib/src/users.drift.dart"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9213aac527cc8ec08fd23a8b0c92836e59a9f551d81a5e8a51ea2f00d28e5ae8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $UsersTable (LCOM4 5): $UsersTable\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":"examples/multi_package/shared/lib/src/users.drift.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8310912c9526c8d32eaa9595d06e9e3ae91c39e19997b39f8310440654f6b15"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MariaDbSession (LCOM4 5): MariaDbSession\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":"extras/drift_mariadb/lib/src/session.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0863525f12633ef86af8b756037b581568aed3bc5619ca5294ef3005fb67d8ec"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AstPreparingVisitor (LCOM4 5): AstPreparingVisitor\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":"sqlparser/lib/src/analysis/steps/prepare_ast.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd411ab26782a969be7c77a68d947c608e9c9239c72f7f18d0fa42735c5dd0bf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _FindNonNullableJoins (LCOM4 5): _FindNonNullableJoins\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":"sqlparser/lib/src/analysis/types/join_analysis.dart"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1fc9bba4c62d7c60c6e2ea5b7575b34ce4c63bf6270a4aca6f3fd16da31df5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TypeResolver (LCOM4 5): TypeResolver\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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a49c9d3445c3c0caa1b15b416258bba3d3f97572d56160dd941c14b51f6eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Token (LCOM4 5): Token\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":"sqlparser/lib/src/reader/tokenizer/token.dart"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bad5ab17430788d1d4e58473f07881206ab66fa23fff1c7f3ef96ad85edc97"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VersionedTable (LCOM4 4): VersionedTable\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":"drift/lib/internal/versioned_schema.dart"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bb8fe7cd96a3f3c96d4ae0f00aebe02c9e19477519df4d30f0b08eba0999d7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $TodoItemsTable (LCOM4 4): $TodoItemsTable\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"921097445acdf2f06bb0b155260733450d09d8cf2bb5101e7e5c5d0bffe9f0ca"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $CategoriesTable (LCOM4 4): $CategoriesTable\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bf35d00062bbcda47cebb7bfbbbadd6943140a96a89d3634c46ddf7b1d4d2b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $UsersTable (LCOM4 4): $UsersTable\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":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e66bc6169429117cbf9be4788fbc285f5280ea04e995476037a06f20a9570f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Todos (LCOM4 4): Todos\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":"docs/lib/src/snippets/migrations/tests/generated_migrations/schema_v1.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"445dd99cbfb032048d306926187c790683b91451e5042e0b5631cdc92d9b0adc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Todos (LCOM4 4): Todos\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":"docs/lib/src/snippets/migrations/tests/generated_migrations/schema_v2.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb54177fc8ef3cf3e92ecd45fa5940b1617c020175c467d76df853107051882"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Todos (LCOM4 4): Todos\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":"docs/lib/src/snippets/migrations/tests/generated_migrations/schema_v3.dart"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3172044b600a95e8eadfe4097fe725a9b8d36571730de2859d54995ca940b2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $GeoPointsTable (LCOM4 4): $GeoPointsTable\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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae946b5485b15236af9e098fa5ef8ae808aba7bc2f9975cedbc7e9c90284c33"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $RoutesTable (LCOM4 4): $RoutesTable\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":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce0ad9e93d1d977a9fa2271410ac44a4a2a306b729c5bd87674c13c5923f83f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $PeriodicRemindersTable (LCOM4 4): $PeriodicRemindersTable\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":"docs/lib/src/snippets/modular/custom_types/table.drift.dart"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9b73d4c2ddb19cac90eb62016bb989160f1e8a1374143cdf7792010f0e1675"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $ShoppingCartsTable (LCOM4 4): $ShoppingCartsTable\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":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"594c86ace484a3a10be12578cd105ddb4609cf4abdf2acf6127d9539c5712f48"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $ShoppingCartsTable (LCOM4 4): $ShoppingCartsTable\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":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a7ec416654c12759b3b45878da57feee9e91eb54fede70ced2a0ccd6a5c89b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $BuyableItemsTable (LCOM4 4): $BuyableItemsTable\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":"docs/lib/src/snippets/modular/many_to_many/shared.drift.dart"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d361ea03fad5ebf183883168a6f8c350a62a97de8d6361a44d42793e9fa7acc3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $WordsTable (LCOM4 4): $WordsTable\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":"docs/lib/src/snippets/modular/upserts.drift.dart"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cb3a5538e1e31f2bf40821eee2da7c2af421fcd275d81222ac55cb6dae6b72"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: $MatchResultsTable (LCOM4 4): $MatchResultsTable\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":"docs/lib/src/snippets/modular/upserts.drift.dart"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"1210a25136c3c52178f8bd3c937ce5a5964c984ba6222ce425720c77da4ab6a9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VersionedTable (LCOM4 4): VersionedTable\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":"drift/lib/src/drift3_preview/internal/versioned_schema.dart"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba371a0b5d084a1054f929cb1dbba190f9294ec0a0ba43ef3f835f854d6cb277"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SingleTableSelectStatement (LCOM4 4): SingleTableSelectStatement\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":"drift/lib/src/drift3_preview/src/query_builder/statements/select.dart"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"79df7fc3a516eb5087d117be49628a6eba16ecad6e4431be185717a5ef8114d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _RemoteTransactionExecutor (LCOM4 4): _RemoteTransactionExecutor\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":"drift/lib/src/remote/client_impl.dart"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a794fd984340e92b0ab9923758b0c5994709420ecae06fff3cd97cd20697602"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TransactionExecutor (LCOM4 4): _TransactionExecutor\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":"drift/lib/src/runtime/executor/helpers/engines.dart"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8eceaac6fcc50305af70efc146a4fc6b3897c4c2005fe5e3a41c8da13c25bc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GenerationContext (LCOM4 4): GenerationContext\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":"drift/lib/src/runtime/query_builder/generation_context.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab5d22510b0c0677cd94b4a990d5280f762393c88d2d22418a4356f7b048860"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JoinedSelectStatement (LCOM4 4): JoinedSelectStatement\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":"drift/lib/src/runtime/query_builder/statements/select/select_with_join.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"959a41c9454f9b730cd1ce4ba838404697f93db2319d68abd017082adc457fdd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DriftAnalysisDriver (LCOM4 4): DriftAnalysisDriver\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":"drift_dev/lib/src/analysis/driver/driver.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa8aeed0824a0d77782e071f48b9650c566c105b6d4dd7ce4d1ce5cf23d4f7c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FileState (LCOM4 4): FileState\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":"drift_dev/lib/src/analysis/driver/state.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af136d444b3587a7ea3571ff03bc8bdd3d84e7e90c7d405fba07da1e01c84d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NestedQueryAnalyzer (LCOM4 4): NestedQueryAnalyzer\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":"drift_dev/lib/src/analysis/resolver/queries/nested_queries.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf63905f51ce5ce3b892074626ebc04da1dfc3b0340d7df2bcafd4f4bd1f2e1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DriftElement (LCOM4 4): DriftElement\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":"drift_dev/lib/src/analysis/results/element.dart"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"96879274a442a6fc9885178857155530e39880c14de5d941f97cd1cf7be9efb2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SqlQuery (LCOM4 4): SqlQuery\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":"drift_dev/lib/src/analysis/results/query.dart"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd14785025cd84638063270f1dc9adaccd2158c5a0d4803298a6d5486a004b7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DumpSchemaCommand (LCOM4 4): DumpSchemaCommand\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":"drift_dev/lib/src/cli/commands/schema/dump.dart"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ef832155a69f86db0d700113a0785ed949063d5fcbd3a4ba4e461fa705fa36"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ExportSchemaCommand (LCOM4 4): ExportSchemaCommand\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":"drift_dev/lib/src/cli/commands/schema/export.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2fe31f0361ee3c9795764d2cd15c915c0e65fd8d95edba890f2f96673f339"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GenerateUtilsCommand (LCOM4 4): GenerateUtilsCommand\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":"drift_dev/lib/src/cli/commands/schema/generate_utils.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5661db7d919c2b4526cae6c216115383025983452b1781b32bb8e3683520b7fd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: WriteVersions (LCOM4 4): WriteVersions\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":"drift_dev/lib/src/cli/commands/schema/steps.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd27356eaf456a2993173f7e059babca76f06e4a34dceaca07d0f3d50346587"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _SingleFileNoAnalyzerBackend (LCOM4 4): _SingleFileNoAnalyzerBackend\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":"drift_dev/lib/src/services/schema/sqlite_to_drift.dart"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea69c53dd3dde5327e5dd4eee28aa90edf2152a004f11fd8a3f788e9c51bfbd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _FakeCustomType (LCOM4 4): _FakeCustomType\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":"extras/drift_devtools_extension/lib/src/remote_database.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d80aa2898aea5af99c137f4bb4c53813ad3cad56dc5f73a699f2bda96f2b48"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostgresSession (LCOM4 4): PostgresSession\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":"extras/drift_postgres/lib/src/session.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc57ba39d50830d823df69bda91507f22ba87d1745c437a6383dc287f6baaff7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TransactionSession (LCOM4 4): _TransactionSession\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":"extras/drift_postgres/lib/src/session.dart"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fc9de24c4e9620f7f4f6ba25757276bbc704331a3fa893f4342a0a8fd1d3a3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: _TransactionPoolConnection (LCOM4 4): _TransactionPoolConnection\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":"future/drift_sqlite/lib/src/connection/pool.dart"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3233518d68802c4a7c6e2c3c966b4fa43a903aa32e1d05335b8b34d4b7d63a53"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TableValuedFunction (LCOM4 4): TableValuedFunction\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":"future/drift_sqlite/lib/src/dialect/table_valued_function.dart"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"058943645e9194ba53428a2030c96315b46af57423edd214ee65255ce66ffb3a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TableColumn (LCOM4 4): TableColumn\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":"sqlparser/lib/src/analysis/schema/column.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad7d5e2c893d78c28904e60214dcd31d91a80107e084b237741a68044d6f124"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Table (LCOM4 4): Table\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":"sqlparser/lib/src/analysis/schema/table.dart"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc82bcce7765416cdca19b308ba056fba4a6b89230f9a394472e13ab67f7437"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReferenceResolver (LCOM4 4): ReferenceResolver\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":"sqlparser/lib/src/analysis/steps/reference_resolver.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f615ef9094fa3107c0ab2114496f95516d28bf51c6564a2afe5908e08267e69c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TableReference (LCOM4 4): TableReference\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":"sqlparser/lib/src/ast/common/queryables.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bc069c0b9357641c0349749d717afa8ffa9ba49d9085ebd56b6050509f251a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AggregateFunctionInvocation (LCOM4 4): AggregateFunctionInvocation\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":"sqlparser/lib/src/ast/expressions/aggregate.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d232f3f7e1354cfcc0cd6cad3587c320c7aea4981d38e4e2daebcec30254b11"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Reference (LCOM4 4): Reference\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":"sqlparser/lib/src/ast/expressions/reference.dart"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5e44a551e48efa23eb8fc1b1103036d533f915db12122410bdd88b2b47e972"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeferrableClause (LCOM4 4): DeferrableClause\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":"sqlparser/lib/src/ast/schema/table_definition.dart"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb07c2cdd81f12e48083d63659ea852cf8b213e53d1eb5be995c0c706b26ea3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CreateVirtualTableStatement (LCOM4 4): CreateVirtualTableStatement\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":"sqlparser/lib/src/ast/statements/create_table.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a545272c609d530d3c5424848ca6d7a9b47d4ac6d6be5c685cf37040dde8abe3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DeleteTarget (LCOM4 4): DeleteTarget\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":"sqlparser/lib/src/ast/statements/create_trigger.dart"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"162fe2b7ae5ee472194b12bc98887ac600039ae273eb289163e70fc36cd3e7d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InsertTarget (LCOM4 4): InsertTarget\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":"sqlparser/lib/src/ast/statements/create_trigger.dart"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4c791609cc62a0ac7ecd49539a718214a32c2f1ec19e58de6ac70aab7e3a93"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UpdateTarget (LCOM4 4): UpdateTarget\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":"sqlparser/lib/src/ast/statements/create_trigger.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8411cc8ebe1534625db63f2f11706a03dfdeb95369836283954b9e0dd75463d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: drift_dev/lib/src/services/upgrade/drift3.dart: drift_dev/lib/src/services/upgrade/drift3.dart changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in _DartToDrift3Rewriter.visitMethodInvocation at line 378. 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:10:18 \u002B01:00\u0027 --until=\u00272026-11-12 22:10:18 \u002B01:00\u0027 --full-history --no-merges -- drift_dev/lib/src/services/upgrade/drift3.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":"drift_dev/lib/src/services/upgrade/drift3.dart"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c285a71e9ac406ed7103e9be9af6aac014f10485d1ae9125a8a0eb9e0ca67dd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sqlparser/lib/src/analysis/types/resolving_visitor.dart: sqlparser/lib/src/analysis/types/resolving_visitor.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 82 in TypeResolver._resolveBuiltInFunction at line 614. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:10:18 \u002B01:00\u0027 --until=\u00272026-11-12 22:10:18 \u002B01:00\u0027 --full-history --no-merges -- sqlparser/lib/src/analysis/types/resolving_visitor.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":"sqlparser/lib/src/analysis/types/resolving_visitor.dart"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa45bf731c6cdd6703ff20d22b480578928005db4e60b0b200d0c25abac523a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: drift_dev/lib/src/analysis/resolver/drift/table.dart: drift_dev/lib/src/analysis/resolver/drift/table.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in DriftTableResolver.buildPending at line 23. 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-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:10:18 \u002B01:00\u0027 --until=\u00272026-11-12 22:10:18 \u002B01:00\u0027 --full-history --no-merges -- drift_dev/lib/src/analysis/resolver/drift/table.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":"drift_dev/lib/src/analysis/resolver/drift/table.dart"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89d47bc5d840baba437c961e5a0cc01166dc442eaf1f86f71a5d17da978c36b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: drift_dev/lib/src/writer/tables/table_writer.dart: drift_dev/lib/src/writer/tables/table_writer.dart changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in TableOrViewWriter.instantiateColumn at line 317. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:10:18 \u002B01:00\u0027 --until=\u00272026-11-12 22:10:18 \u002B01:00\u0027 --full-history --no-merges -- drift_dev/lib/src/writer/tables/table_writer.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":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a7b5e8f4bcad36284e3811edc1529ecf5967817d512f188209c233bbea5b5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: drift_dev/lib/src/analysis/resolver/dart/column.dart: drift_dev/lib/src/analysis/resolver/dart/column.dart changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in ColumnParser._tryExtractingStartMethod at line 119. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 22:10:18 \u002B01:00\u0027 --until=\u00272026-11-12 22:10:18 \u002B01:00\u0027 --full-history --no-merges -- drift_dev/lib/src/analysis/resolver/dart/column.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":"drift_dev/lib/src/analysis/resolver/dart/column.dart"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd721ec7cee55037ade19566f17a5f170b20a4e5b7be9dd91e23751cced85ff3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 125 significant file(s) lose their only recent owner: sqlparser/lib/src/reader/parser.dart, future/drift_manager/lib/src/table_manager.dart, drift_dev/lib/src/analysis/serializer.dart, drift_dev/lib/src/writer/tables/table_writer.dart, drift_dev/lib/src/analysis/resolver/dart/column.dart, drift_dev/lib/src/services/schema/schema_files.dart, drift_dev/lib/src/services/upgrade/drift3.dart, drift_dev/lib/src/analysis/resolver/resolver.dart (\u002B117 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1649117dec6251a94fefef44f13a9406762bb68184c3c5b5a9a073e907511f81"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (127 single-owned of 332 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 332 of the 555 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: drift/lib/src/runtime/query_builder/expressions/window.dart, drift/lib/extensions/native.dart."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo we don\u0027t currently parse \u0022NOT NULL\u0022 (2 tokens) because of ambiguity \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":"sqlparser/lib/src/reader/parser.dart"},"region":{"startLine":3118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9158a2bcd137a12310ff13b9f5fb14f575838c0a71b8cb108ab5909df96c25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(nikitadol): Copy from \u0060_Fts5Functions\u0060. Must be removed when argument index appears \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":"sqlparser/lib/src/engine/module/geopoly.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a487f2c42595f3ca528cd2e8cae9d744795ea471d539eeaf3d20f6d0a2cae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Split up this mega-library \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":"sqlparser/lib/src/ast/ast.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef0ec84e6b6dd15a1b1458a2265808a3bbf3ae60642ed4697e83c201d24d20b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Remove this import after untangling the library \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":"sqlparser/lib/src/ast/node.dart"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bab31316d74f86e22b8769c7724c94a4e7f40f15e662174254eb72089f63523"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 10 files: The identical TodoComment appears in 10 files (10 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 10 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// todo: Remove this import\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/statements/create_index.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"770a0491577631f59394427e0ffdbe49e92e1eeaaaa19bcd59c683051025d8de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo remove consecutive whitespace \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":"sqlparser/lib/src/analysis/steps/column_resolver.dart"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b200a9cf6cef51112032c5f66ece1c349e418101b1155d8ceba8fcedb6f6cf"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to fork scopes on statements (selects are handled above) \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/analysis/steps/prepare_ast.dart"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c84620b3646d4b172db42cea2594b7e8b67407c27776a018dd31c5c86c2b16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo special case for USING (...) in joins? \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":"sqlparser/lib/src/analysis/steps/reference_resolver.dart"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"278e1f4aba16288401e048c7db6e026bad3d468d7a016dc79df76a8abf1e7452"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo entries can optionally be in a category. \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":"examples/app_drift3/lib/database/tables.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3953863c10bbc85c294d927f7a47fbe7088bbff785908930976c2efb83bbb5fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo entries can optionally be in a category. \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":"examples/app/lib/database/tables.dart"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a3749c10d3ef9f782e6404ae600f442aad8dc68a69a8bb0ece96f95f0e85b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with a better check for deleted assets, \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":"drift_dev/test/utils.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7aae03c3779ec914e6d426377ccefe2a179205447a1c90e4e86d4a1af29ed7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Store this on the view instead \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":"drift_dev/lib/src/writer/tables/table_writer.dart"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dff1d5357d3d1e8d31854a09bc2ba9a60a8aed644e4b59285d29ed2bd4a3e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This generated template shows how these tests could be written. Adopt \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":"drift_dev/lib/src/cli/commands/make_migrations.dart"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b45010df9dc8470502bc5a801946dfe2ead4ddfab44495f29483320c627e840"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fill these lists \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":"drift_dev/lib/src/cli/commands/make_migrations.dart"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be3ce8ff7ba6102ce5ccfe638affc742669c883d6b31ad1b6935cfe59b5436c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support custom dialects? \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":"drift_dev/lib/src/analysis/dialect.dart"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"193221edcbfcf24999066fdb87e039f9953b25286b3250bc6b495dc4b6fa0552"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Track dependencies on includes somehow \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":"drift_dev/lib/src/analysis/results/database.dart"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eedd887789b1e651d7316afbc93afec137d4ea34489f87a28c8d5c3c4e0006d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Allow custom result classes for RETURNING as well? \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":"drift_dev/lib/src/analysis/results/query.dart"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de8093f74a70fd6b472de4cfe532f4b23fb61e21c126c1df720265b19286a7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Use public API after https://dart-review.googlesource.com/c/sdk/\u002B/277401"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/shared/dart_types.dart"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed23babf53cbf98605fbcaa4d0cd3b9cbca03511b3100661ffd2cd897dd4b76b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Use public API after https://dart-review.googlesource.com/c/sdk/\u002B/277401"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/helper.dart"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"667539dd4d3b64ab72ecb070009c0c7dacad4ccc16b8850d033c2c4043d641c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Reference not resolved properly. An error should have been \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":"drift_dev/lib/src/analysis/resolver/queries/nested_queries.dart"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae990e425dee719086f4e9f4fc2944e468d61b3178d327a12d3b24c325fcf6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use Dart AST offsets \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":"drift_dev/lib/src/analysis/resolver/dart/index.dart"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b01eac4299428ffc8b66f499c6692d4147b08568bebaf9e9a9faf4e1b87b182"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can know about columns before crawling dependencies, refactor this \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":"drift_dev/lib/src/analysis/resolver/dart/view.dart"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d355e820e7b0a25cf428b960d086064b575c1eb6581edb19d4f4e5ad1d4880cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Mark references for files that import this one as stale. \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":"drift_dev/lib/src/analysis/driver/cache.dart"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d591097a703500ceccb04933c01d58450fc9f24840f4185a3a93009d4ffbb5ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Mark elements that reference an element in this file as stale. \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":"drift_dev/lib/src/analysis/driver/cache.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6b96ba77178139980d06c9b69a6566d6199d18a7b13b4bc05f582ee948116e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo how can we test that these are really equal? \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":"drift/test/database/transactions_test.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab69a350af1d200327d44236f0c57b16d8cbc374bb9c8feda4c700af54e89a42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Do we need to handle errors? We\u0027re reading from memory \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":"drift/lib/src/web/storage.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb34a77c1e60d1086cf93a264f5409498fd71842bbf3e9b9dc910aa4d95973"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo at least for stream queries we should cache prepared statements. \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":"drift/lib/src/web/web_db.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ce27fec8c2585154ffc8ff2a94ffd1a134a584a4ba88767e1c067d62f7b950"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Inline and remove types in the next major drift version \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":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c9461d4d2ce602578fd2226d2b718e275b7b4fe50f8fd394b1bfff8d856e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this pragma, it should be an explicit opt-in. \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":"drift/lib/src/runtime/query_builder/on_table.dart"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"575704b9dd8bc6fadfbff47c95bd23415a1930d66377f8f28a0a35e5d27ccaa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support the OR (ROLLBACK / ABORT / REPLACE / FAIL / IGNORE...) thing \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":"drift/lib/src/runtime/query_builder/statements/update.dart"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16cdb6f05b6080265a443c61e3617d7a1ce0204d16e83373cc29a488c99190e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Remove, replace with \u0060name\u0060 \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":"drift/lib/src/runtime/query_builder/schema/column_impl.dart"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bc5b8582f799f39d4555529f3071b2d71c908f857d4092462408ca2a22110b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: This is a good candidate for a record after that feature turns stable. \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":"drift/lib/src/runtime/query_builder/expressions/case_when.dart"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3155664f269c9b7304963bbf2421a587f25b17d2fa4092f63167f59ab327ac4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is horrible, fix with https://github.com/simolus3/drift/issues/3107"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/executor/connection_pool.dart"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a439ca314b62b1117419a26a9c4eedcd30c4e9bf42dc4eb09f559648da0511d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo this adds the stream to a map, where it will only be removed when \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":"drift/lib/src/runtime/executor/stream_queries.dart"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0a114954162162742473e89439e706ad22c32095e63da6496143e24e0afd35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo this adds the stream to a map, where it will only be removed when \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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f99fb08df3dfdaded0c1fc8bcd9ad3bf9ca725a07bb39efca65fa88b8774cdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add dialect options related to this schema version? \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":"drift/lib/src/drift3_preview/internal/versioned_schema.dart"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d117ca62502844a226bca2bccf70cb90e442ee66c20cdc9d6b02166a44c914"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It would be nice to also index documentation comments. \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":"docs/tool/build_search_index.dart"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2502e43c8ff75877f2a6f5043ae00bf8d2dc363606188ede8eaa2475406c09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// todo item would have if all items were sorted by descending content \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":"docs/lib/src/snippets/dart_api/expressions.dart"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec75ea5f156bc925b59017a850d0203057410c62f6c326ff9e7f076eb7546f11"}},{"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 \u0060extras/integration_tests/ffi_on_flutter/macos/Runner.xcodeproj/project.pbxproj\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/integration_tests/ffi_on_flutter/macos/Runner.xcodeproj/project.pbxproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e3b2b53bbaaa8fa1ccf72490b9d30e94bc3fb00806ef83e5e1e806bc9bd03"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 4 of 19 project(s) overshoot their size bounds, lowering Project Cohesion to 5.8/10. The most over is \u0060drift\u0060 (37710 LoC, 457 module-visible types across 35 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"589b0807406e7a419a41450a20556c7a0b635b47d1ba1879e5de66fefb6a4895"},"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":"f2d0026cec6dceec0d10adb8989141c1f59dff8bf91e39fd6b8ddeed6601ec92"},"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":"6cd7dd8ce2cb5c04a2c1d6ebe0d105c0ff37322563dcca85e129c8d762d0c027"},"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":"dece7beee945c2729df7d2c206870d1bd8f27f23bfdf2020a0873aa32bf2b129"},"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":"b7cfb273266d181ea85388882bfe60000237788ff1486a4ffb40495214caf66f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"686891e353b3edd3743809566be1c9bb13c810273a77009fee163810994e73d4"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dff7907dd88949c9bd5163dc8349c0e90a8bec77c1d7e4ca2b2f4ffbe4c1365"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0c7d9ae47e7e6dda9df59fda24f890dc536dab8442c73ba5c14ed3ac37d6f427"},"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":"2c73c15daa9acf1cd44aacab30da0c18c7122b424eba4db99992cf19b07ef3d3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40c35716ba8df00e15f314558c4ec68e2d20fbea4feb284f19d4787b956ecde0"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34b0a55222ce8afac6708167a2a9bb57a106b9b6fa96ecd391ec762c7383d94a"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d69e3beab226c373b7bd1d84dd05efb1dfab99c067a123e2df341897ba4f5b0"},"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":"e89239b706c746d631507c33b2950e6451e2727f0f8419ec397037ecfde62c74"},"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":"ba30774c97eb747aee0c0cba3a4d6bbf8d110c18bc4fd144c0fe7ee9b1bdacf2"},"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":"03eae69208a362117c6b17acb955cab8af8c296d7f090868538809056a3faf90"},"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":"69451fbd5707920f4e1b780830493c36852f1d9a19c2ea0bcc63b58eb6aa145f"},"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":"70c7b28a346a16f341f34abb163717f88c4d57b73b5ab812128e7c4fb7c0ee97"},"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":"aa77a2ca37f74ceafc51045c9fb7807ba78167a73a585490defde1b16db4f590"},"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":"7e1753feffbbd4ef7a312abab8a895fe123841f9d2b594ea6208d9551fdf9292"},"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":"642bdebbb772a546e26ee67e27b5f66f8edadeb76cb9fd40bf2103831911ca09"},"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":"88c02c51a1baee1a451578a8e3bc92f90359b14219804330ab32cf8ad5009ce4"},"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":"bbf3d1152973529496f33de2c0b5e58ccc82238dfdc3cf0ae1cb2f8bb2c6506b"},"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":"94e62ebc2814bfcb727086af503eaac08f965b14f8b97b7daf7d2d2365c56a9d"},"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":"1581162de2f1d9e279d5ea06e2c63146e00411ee0e22db474288dea352f67e19"},"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":"3f6600626abe5072640d5406dfd4dd85f796c9677ce4428b28e1f40068f4e97f"},"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":"04e44092c01c138ec52efce18732cf10101c8fcae12a9851f4c5305af1e18f32"},"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":"f3fe76015ab0562b56af8d71231d0c9d07b402cd6fc9437dd4bd276f5c44d2bf"},"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":"c2b537844ea69d640591607ddbc1f31171dd8888a351445e963139fc7b52e3ab"},"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":"41f34a03d71b247f47f728cb1800facfe9f95f98efc6b32eb4dd9fd2ff95220e"},"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":"29b914f94d8977e0fc9d4d9c7b85b02be47b3d5ae5d2a4800d3cff075e09ea34"},"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":"df1d92ae5d19019cd2d781c2213b79b2b9ac2068c00e2fb7269621013a110914"},"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":"5922fd0d5ee028faa8a9291833f7ca7d390902941bc56ed41b390460fc745804"},"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":"f5341c53e6f0083525cf08b3fa7a7904bd93ab86c4e46050717061a1343e47c4"},"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":"884304f63e07ad1f3b34706d82519536a5838e0599b97847d3c772f9bebca72b"},"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":"d6ab303d43d84a2bc3ed145810e874a0b5c981d7eb2c4d6854c92d7e53dbe1cb"},"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":"5738884706434b39a83e48843e8bf6677252da9c4562fc36e200d88e39de82e1"},"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":"65fc2f6f4091358f33d9b58398972c65b3b6dcb3e8e109efc74e224285339f5c"},"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":"67346a15c7d67d232e9bdf5c7e13844af69ba74554eb01aaec6b83c5ade4cc3d"},"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":"e39270946eb6733fb68de7a2ee7a17aadd36ff26260374d8efac6719ac346215"},"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":"9cbe462e0365212c34b63050945f5b52718cc5053695861208c2b1cf25ca0a16"},"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":"eecae216f742b2631595c53cf5e4c5e2c8ccb1c388a59e0a41654bf89c98b613"},"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":"f150576eecbf2f8bd2580fe303f4c9df68135135846e49e9b6646dc337eb39d0"},"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":"eed78ada92e9c074ea0a8694ebf308c73eb6a2563962c8b0e7b00ff434a1c907"},"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":"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":"dc76998bbb35e6722b3ee754f17cc853871edf73a71346c027ccae34c86b00a6"}},{"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":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"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":"9ff1ee9dd5615e2d512c1b5a7eb9a731208830cdc6ec1c07d8913d2a5c081e3c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 7 of 332 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 332 of the 555 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: drift/lib/src/runtime/query_builder/expressions/window.dart, drift/lib/src/runtime/manager/composer.dart, drift/lib/src/runtime/manager/computed_fields.dart, drift/lib/src/drift3_preview/src/query_builder/clauses/from.dart, drift/lib/src/runtime/query_builder/expressions/case_when.dart, drift/lib/src/runtime/manager/ordering.dart, drift/lib/extensions/geopoly.dart. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/query_builder/expressions/window.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a34f947978aa0b68dc0739a848be11337e365a0b630f765ec9bd9feb31115"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/manager/composer.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20388e12544a409d58ac8973e6b246c003aee3acb745f5cce84cf3d08fadd719"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/manager/computed_fields.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4d2d48099bedd39c9c02ad3939925c022bec00bf7a03f7331bea2ba127ccfd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/query_builder/clauses/from.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f751760946e76f14a90aab023d487a607db902ecd9a8dc8370a46554ea93b05"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/query_builder/expressions/case_when.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a3a88606c725fd0ed89ba9b84394120179e6ee17086164f72ee9813d19bfc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/manager/ordering.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e6f4b196d6a213b5f69644a3545f61fb8a5a1874a848aa4324bf74ccfe33ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/extensions/geopoly.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c752cc80b00112a425a7c947a208cba18750b0d502c672e727b85286d3ee1007"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: wasm_setup.dart \u2194 main.dart: \u0060drift/lib/src/web/wasm_setup.dart\u0060 (context drift) and \u0060extras/integration_tests/web_wasm/web/main.dart\u0060 (context extras) sit in DIFFERENT parts of the tree yet change together 58% of the time (14 of the 24 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 14 shared commits counted here, the most recent 3 are \u00609d2330b3\u0060 Handle unexpected close of drift remote client; \u00606b519ddd\u0060 Migrate IndexedDB databases to OPFS (#3720); \u00607f881179\u0060 WASM: Add export database API \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/web/wasm_setup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"124dcb27903121668f522d396a47f8641e9e22cf290ddfb122e6592d9c530cbb"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: dedicated_worker.dart \u2194 main.dart: \u0060drift/lib/src/web/wasm_setup/dedicated_worker.dart\u0060 (context drift) and \u0060extras/integration_tests/web_wasm/web/main.dart\u0060 (context extras) 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 \u0060f9d5443a\u0060 Migrate wasm internals to new interop; \u006009c6cf0b\u0060 Close vfs when wasm database is closed; \u00603ecee4fb\u0060 Add wasm setup APIs with custom workers (#2638) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/web/wasm_setup/dedicated_worker.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f65d7aa3c0ca4690b9766e517dd7d1613fd8327366a67f4c6a48e095f4fea05"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: wasm_setup.dart \u2194 dedicated_worker.dart: \u0060drift/lib/src/web/wasm_setup.dart\u0060 and \u0060drift/lib/src/web/wasm_setup/dedicated_worker.dart\u0060 change together 100% of the time (11 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 11 shared commits counted here, the most recent 3 are \u0060f9d5443a\u0060 Migrate wasm internals to new interop; \u006009c6cf0b\u0060 Close vfs when wasm database is closed; \u00603ecee4fb\u0060 Add wasm setup APIs with custom workers (#2638) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/web/wasm_setup.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493ea1c8fe59fc242884c02fb14e3170a9438a2601406d42c170abb18a50be9"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dedicated_worker.dart \u2194 shared_worker.dart: \u0060drift/lib/src/web/wasm_setup/dedicated_worker.dart\u0060 and \u0060drift/lib/src/web/wasm_setup/shared_worker.dart\u0060 change together 82% of the time (9 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 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 9 shared commits counted here, the most recent 3 are \u0060f9d5443a\u0060 Migrate wasm internals to new interop; \u006009c6cf0b\u0060 Close vfs when wasm database is closed; \u00603ecee4fb\u0060 Add wasm setup APIs with custom workers (#2638) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/web/wasm_setup/dedicated_worker.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2b0d19121c6e77e610ee44396ed36b9c1d86cd9dbebe52c991500a0ece6e3c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ast_equality.dart \u2194 node_to_text.dart: \u0060sqlparser/lib/src/utils/ast_equality.dart\u0060 and \u0060sqlparser/lib/utils/node_to_text.dart\u0060 change together 74% of the time (35 of the 47 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 35 shared commits counted here, the most recent 3 are \u006065ea4f3b\u0060 added alter table add/drop constraint; \u0060fb1513d3\u0060 sqlparser: Support ALTER COLUMN statements; \u0060ce0b6247\u0060 sqlparser: Add explicit nodes for aliases \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/utils/ast_equality.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d0de8135df9930a8c76e9b8056a072b4dd0fba50074f6dcb04fcfa9aac4716"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dump.dart \u2194 export.dart: \u0060drift_dev/lib/src/cli/commands/schema/dump.dart\u0060 and \u0060drift_dev/lib/src/cli/commands/schema/export.dart\u0060 change together 60% of the time (6 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) 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 6 shared commits counted here, the most recent 3 are \u0060364f8ea4\u0060 Improve warning and docs on schema export issues; \u00603d446ab8\u0060 Support Dart views in schema tools; \u006077720a12\u0060 feat: all-in-one-migrator \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/cli/commands/schema/dump.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9466f419b8c28402320a57d243c61d85b70e2eb0dc14f50b93032526b8fb2bea"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: visitor.dart \u2194 parser.dart: \u0060sqlparser/lib/src/ast/visitor.dart\u0060 and \u0060sqlparser/lib/src/reader/parser.dart\u0060 change together 58% of the time (30 of the 52 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 30 shared commits counted here, the most recent 3 are \u006065ea4f3b\u0060 added alter table add/drop constraint; \u0060fb1513d3\u0060 sqlparser: Support ALTER COLUMN statements; \u0060ce0b6247\u0060 sqlparser: Add explicit nodes for aliases \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sqlparser/lib/src/ast/visitor.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ec03229ef934d2fe855410fae81251ec84e476724ab1a9d4bdf4e0035c8e7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: isolate.dart \u2194 server_impl.dart: \u0060drift/lib/src/isolate.dart\u0060 and \u0060drift/lib/src/remote/server_impl.dart\u0060 change together 50% of the time (6 of the 12 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 6 shared commits counted here, the most recent 3 are \u0060e65fb730\u0060 drift_flutter: Add option to share across isolates; \u0060782301bb\u0060 Add APIs to share any database across isolates; \u00602bf36a3b\u0060 Properly close isolate connections \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/isolate.dart"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9fd111a2e4e76ac016c499592ad1760d1e8432067a71d13da2f8fcc87429e6"}},{"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":"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":"96ee2c466ca24e2487318581a3d8d0906a649779fb606ac45b466317a2a15502"},"taxa":[{"id":"CICD-SEC-6","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":"f565882c0a115fb9578e0145fd6b0e800a1762ed087db622de4d0ffa7bcb5dc2"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/search/component_client.dart"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c76b1ae2a57aafdd7c5f13d0c265217112f9d26e70fd022d2d87044b1149bf6"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060summary:not(.focus-visible)\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/lib/src/styles/_details.scss"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e51257d2a0b9c7f0ac4928ca31eb9e5fb3d185c8daea54c6b450244e91a940"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060summary::after\u0060 moves (\u0060transition: transform 250ms\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/lib/src/styles/_details.scss"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"227539ade061d8db0f2a786bc940d9d00089f14d76b5091871934360d8562561"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws UnimplementedError: \u0060_openDatabase\u0060 is a shipped member whose whole body still throws UnimplementedError \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/setup/migrate_to_drift/database.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7589e49b089b6bb6322363ba7c3d328053c2921b4b80ade8e1b9b743744a5c8e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060ensureInitialized\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/isolates.dart"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"df679a7200b7b21a1fcc9881d20195b54a14374ababfe87b669082b9f4143712"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws UnimplementedError: \u0060_openDatabase\u0060 is a shipped member whose whole body throws UnimplementedError \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/setup/migrate_to_drift/database.dart"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eef223303c9e45d25b8f74d945c66453d92786940dea57236a2c1538cafabe"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060notifyFileDeleted\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/driver/cache.dart"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b923fff04aa0df522534d371e776830596a73d302591850261528139df52aed4"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/common_database.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"22709deaa428aa090b05ecf15ac55ef23bdb44926f552a17fc69fc137b35f104"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/_shared/todo_tables.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"79390e8c75c9f00e9808817686a25b6d18a47c458f7e3f01cd9db2094155ea53"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/drift_files/custom_queries.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a7d334bdb248b2596914c9688a0cb01e767cade82834fedd02a8472db74664"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/aliases.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f4e32fab70f25a2f0610f1f9bd1794dec0fa805b8a728624e347e535df0ab"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa728f2eec9d87010192297d03f9d35d290d43d90aa4b8b71ea4e01b00bf90e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/custom_types/table.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b9847421e6721daeb06f4e4d37ffb3353a6dcac8e14c3ef19d0d9e4a043e22"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/example.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f57a499eedd6b94b6fa9111750a7269b3c92e5b33f27bf3b24eb7dfa35c33d"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/fts5.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa901fd306e9cbc6999ca8b442714e844f4db90d9752e5b2eb0913e48693f00"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/drift/with_existing.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f2dddfe44d3525c4327005cfcd71e66ffb39290460f654e6eb5e9ab473e65e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/many_to_many/json.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"affdad51783fb253f8957e64fc9350ff0bb98803b07a1a3d9327f8638bd7f05c"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/many_to_many/relational.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edf0b862949b6d97a2b97671119b7ad54f6ac570ec3e518a74085f63432f0c3"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/many_to_many/shared.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3141cf1ac2f93c816b88c8052ee414cdf039e0993fab69bb5b878e33aa8559e"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: \u0060// ignore_for_file: type=lint\u0060 switches every lint off for the whole file \u2014 hidden debt. Ignore the specific lint on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/modular/upserts.drift.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c81405808d118c062f419ca0e1bbf717226a5f13764564124b6e79da51305be"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060ensureInitialized\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/lib/src/snippets/setup/database.dart"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3605947ae57a84953085c57eabfa93b5a146e364aa622132eb2f8a7b7c955a1"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060mapToSqlLiteral\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/extensions/geopoly.dart"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"127a956c90ce5b941f6a2a5ca7d11ac73da06d1ca2f0ecb208e52b302150c2cb"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060sqlTypeName\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/extensions/geopoly.dart"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b9bf5651187ef29e4f01fd6df3b71d89ea6613728ecd53b011bb8cbc4351e0"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060executeBatch\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/src/devtools/service_extension.dart"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa84c0aecd85c055be99c749d9a8bd6264784530796355a8163328c35f9f45e"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060beginTransaction\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f65beb42970ab47176fa9feb52c809300195257ff389359af23a12e498be50"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060runBatched\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3307b6217f17dd665e0c84b47ac972d41ee57d5a1c96e683a2b17a0b6be49ccb"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060runDelete\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4813fbc44c546a06556e1bf890146e0b1f1ef6f46303736a7654e5631b2d57a0"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060runInsert\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75e3555de421a7416676d7983f2016219de26873ddbb853dc5bc5b9feec7bcf"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060runSelect\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7bd90be7f95f3a64d7158178bb97f6897eccddab5af0ac5fac4d374de0b944"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060runUpdate\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/devtools/service_extension.dart"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e689679a376a15f80912befa2202d904702c10a36b16eb41ae5d26272c55e52e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/test/database/streams_test.dart"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f73f6d7ac134fac4f048d591e573b45815a4575f219bd7f7685e0d6ec068dd"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/test/integration_tests/cancellation_test.dart"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1020fd54134e1a72394674931ca7480e2836f2ceba4841d7c3222761839da1e1"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/test/integration_tests/database_test.dart"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efbfae9283bf86bbc18e516111af72c2905b09fdd4232f0bb038a08127c1544"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/test/platforms/web/big_int_test.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cd11c27f87a631f93a5b49ebabf2cd28a3d3fa07f45c28c3bc3ac34dc1f142"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/test/platforms/web/local_storage_to_indexed_db_test.dart"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b38c85510fdd7a1bf5add552fa2e19a25c7cf04fd2947a9e78c8a6a4aad6656"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/test/backends/build/build_integration_test.dart"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aa3c7dd2e45adacaeaf0817825b76a2d0a6e658e2ba1772e05976407852e74"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060beginExclusive\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/drift_devtools_extension/lib/src/remote_database.dart"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c55872714aefcd003867cf2bef6c2c99944e31310fc3238b0ba190eac6790f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060beginTransaction\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/drift_devtools_extension/lib/src/remote_database.dart"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5f97ea4186e5d19f6f9e4f75b6f1fd85d2206051c1acf01957db2e2f11cb9b"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060runBatched\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/drift_devtools_extension/lib/src/remote_database.dart"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5191b7da4d43aef54cf4cc618d2a55ec363084693fde064c6f71c6fce9e2153d"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"future/drift3_flutter_preview/test/native_test.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8b495e0b5dae006b106e0a03ce2068d7a131a54dbde5aa9220c80302bf227f"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws UnsupportedError: \u0060sqlLiteral\u0060\u0027s body only throws an UnsupportedError or an UnimplementedError that gives its reason \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"future/drift_sqlite/lib/extensions/geopoly.dart"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb2aedcd5e6bd6fd4fc80f8e20d6ba93018d4dcaae71c4e5d005c50de2fa622"}},{"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: 8 public types in \u0060repository.internal\u0060 are marked as implementation by their own namespace, folder or name: \u0060SchemaExporter\u0060 (drift/lib/internal/export_schema.dart:10, \u0060internal\u0060), \u0060SchemaInstantiationHelper\u0060 (drift/lib/internal/migrations.dart:9, \u0060internal\u0060), \u0060MissingSchemaException\u0060 (drift/lib/internal/migrations.dart:23, \u0060internal\u0060), \u0060ModularAccessor\u0060 (drift/lib/internal/modular.dart:12, \u0060internal\u0060), \u0060VersionedSchema\u0060 (drift/lib/internal/versioned_schema.dart:22, \u0060internal\u0060), \u0060VersionedTable\u0060 (drift/lib/internal/versioned_schema.dart:129, \u0060internal\u0060), \u0060VersionedVirtualTable\u0060 (drift/lib/internal/versioned_schema.dart:223, \u0060internal\u0060), \u0060VersionedView\u0060 (drift/lib/internal/versioned_schema.dart:252, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/internal/export_schema.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c6752f5da3c92142e2091a7fc059ba17034bffc5bcecd01dddab9ae47a3c40"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 7 public types in \u0060repository.src\u0060 are marked as implementation by their own namespace, folder or name: \u0060CommonByteArrayType\u0060 (drift/lib/src/drift3_preview/internal/common_dialect.dart:10, \u0060internal\u0060), \u0060CommonDoubleType\u0060 (drift/lib/src/drift3_preview/internal/common_dialect.dart:36, \u0060internal\u0060), \u0060CommonTextType\u0060 (drift/lib/src/drift3_preview/internal/common_dialect.dart:61, \u0060internal\u0060), \u0060VersionedSchema\u0060 (drift/lib/src/drift3_preview/internal/versioned_schema.dart:22, \u0060internal\u0060), \u0060VersionedTable\u0060 (drift/lib/src/drift3_preview/internal/versioned_schema.dart:125, \u0060internal\u0060), \u0060VersionedVirtualTable\u0060 (drift/lib/src/drift3_preview/internal/versioned_schema.dart:209, \u0060internal\u0060), \u0060VersionedView\u0060 (drift/lib/src/drift3_preview/internal/versioned_schema.dart:237, \u0060internal\u0060). While they are public, every consumer of the library can bind to them, so changing them is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/drift3_preview/internal/common_dialect.dart"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dd3b89e869037d8022332337ff3f842e0fb83c9aa4c99ed0a30f3b94b1d993"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/7 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060docs\u0060, \u0060drift\u0060, \u0060drift_sqflite/ios\u0060, \u0060extras/integration_tests/web_wasm\u0060, \u0060future/drift_sqlite\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add the Dart analyzer\u0027s security lints plus \u0060semgrep --config=auto\u0060 as a CI step. What was searched, so you can tell an absence from a miss: the 3 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/main.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch gradle: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060gradle\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3bff8eed2eb29302c3d10644f1ecba23171c77cd6c406b6dfa078dfc05ad87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060openDatabase\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/native.dart"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a4320fb05b959cc04d3f793416b2eceda425756882ba78a393f0e2fcf0c1d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060run\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/cli/commands/make_migrations.dart"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d9e4bb85b596ec6dd6e0e06a2ffc713920299d3e9f05dde975308367465954"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060create\u0060 is async and calls createSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/cli/commands/make_migrations.dart"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1d1d58860828c2e41354442b563e9326d65be421d332c4898af6ea499cbcde"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeSchemaFile\u0060 is async and calls writeAsStringSync, readAsStringSync \u2014 a blocking call inside async code stalls the isolate\u0027s event loop \u2014 every other event, on Flutter the next frame, waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/cli/commands/make_migrations.dart"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e4ea10057619076ac5ebbcdfc8b035fc2f5206235a6df5ce3bf30a60e3b9ab"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha256.convert(\u2026)\u0060 from \u0060package:crypto\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/tool/build_search_index.dart"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f0731efe9bd2012b04481e10af3f243ccd310958f24528bf50c4eed9902034"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!column.isImplicitRowId \u0026\u0026 table.isColumnRequiredForInsert(column)\u0060 appears character-identically in 2 files \u2014 drift_dev/lib/src/writer/manager/manager_templates.dart, drift_dev/lib/src/writer/tables/update_companion_writer.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":"drift_dev/lib/src/writer/manager/manager_templates.dart"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3473691167326e2d30e4d3a2d9cb3a54449485343dacbd4feec4e050aaf1295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!wasCreated \u0026\u0026 versionBefore != versionNow\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/database/migrations.dart, drift/lib/src/runtime/query_builder/migration.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":"drift/lib/src/drift3_preview/src/database/migrations.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaded800cb4975ea17f54e5d6e015707d92e49bff3c76bdef06293702f36e87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060$joinBuilder?.referencedColumn == aliasedColumn \u0026\u0026 $joinBuilder?.currentColumn is C\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/manager/composer.dart, future/drift_manager/lib/src/composer.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":"drift/lib/src/runtime/manager/composer.dart"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28e89d6a9d3a726675bec68e63a0b37559a041dc0cdb5c77f1c59582667e47c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060CustomSqlType() || DialectAwareSqlType()\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/devtools/shared.dart, drift/lib/src/runtime/query_builder/expressions/expression.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":"drift/lib/src/runtime/devtools/shared.dart"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc99e81b0a7ea96b62cde725fd15cc968b24fb9e5be031bcf33ec64ab5cd975"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060argumentIndex == null || argumentIndex \u003C 0\u0060 appears character-identically in 2 files \u2014 sqlparser/lib/src/engine/module/fts5.dart, sqlparser/lib/src/engine/module/geopoly.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":"sqlparser/lib/src/engine/module/fts5.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd61a408597de2af1231600e6242f5ceedf4675d8e002f971fd2fb54383834e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060column.requiredDuringInsert || column.clientDefault != null\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/query_builder/migration.dart, future/drift_sqlite/lib/src/dialect/migration.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":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9a62eb87c6cff277a695d02f4273a5e8ff130f06f01b36148a4fc1acc1cb30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060converter.canBeSkippedForNulls \u0026\u0026 column.nullable\u0060 appears character-identically in 2 files \u2014 drift_dev/lib/src/writer/tables/data_class_writer.dart, drift_dev/lib/src/writer/tables/table_writer.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":"drift_dev/lib/src/writer/tables/data_class_writer.dart"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5ad535e5bd64872c1836a89f221a286928f603ceb8c5b6bd6d7def40ee0e5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060databasePath == null || databaseDirectory == null\u0060 appears character-identically in 2 files \u2014 drift_flutter/lib/src/connect.dart, future/drift3_flutter_preview/lib/src/connect.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":"drift_flutter/lib/src/connect.dart"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c79d6e0497e1c69f69d4ce8f88b03b28392bedeb2cff9fa0a6a7672a34ac0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060distinct \u0026\u0026 separator != sqliteDefaultSeparator\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart, drift/lib/src/runtime/query_builder/expressions/aggregate.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":"drift/lib/src/drift3_preview/src/query_builder/expressions/aggregate.dart"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"174c5504b7d19d7bfb9702340976957dc64663749b1079a6c443e74ab1f52528"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.currentColumn == currentColumn \u0026\u0026 element.referencedColumn == referencedColumn\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/manager/manager.dart, future/drift_manager/lib/src/table_manager.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":"drift/lib/src/runtime/manager/manager.dart"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd992abd7575120f4d872ff0dd78dae445978c0e8b8eefa8d7861b32bd61c0f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first == null || second == null || first is! num || second is! num\u0060 appears character-identically in 2 files \u2014 drift/lib/src/sqlite3/native_functions.dart, future/drift_sqlite/lib/src/connection/native_functions.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":"drift/lib/src/sqlite3/native_functions.dart"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4d768dd9fb298ef3ca9be839b9109211fe2adef78590f23d9ad0e6e9b5f41a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstParam == null || secondParam == null\u0060 appears character-identically in 2 files \u2014 drift/lib/src/sqlite3/native_functions.dart, future/drift_sqlite/lib/src/connection/native_functions.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":"drift/lib/src/sqlite3/native_functions.dart"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"94353ea609b10d8a6641dbb1b2da9b141d432624b304340fc9373fb5dc67103d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060firstParam is! String || secondParam is! String\u0060 appears character-identically in 2 files \u2014 drift/lib/src/sqlite3/native_functions.dart, future/drift_sqlite/lib/src/connection/native_functions.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":"drift/lib/src/sqlite3/native_functions.dart"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"84efac67d2871b8b3d77cb5640fd87a16acb37ff230defdd77cecadeb6749df6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identical(this, other) || (other is StreamKey \u0026\u0026 other.sql == sql \u0026\u0026 _listEquality.equals(other.variables, variables))\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/connection/streams/store.dart, drift/lib/src/runtime/executor/stream_queries.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":"drift/lib/src/drift3_preview/src/connection/streams/store.dart"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3cdd8c46c2b46a8e81719153bea5e8e1126d25eeee0b3067ff45bcf360c364"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identical(this, other) || (other is i1.PeriodicReminder \u0026\u0026 other.id == this.id \u0026\u0026 other.frequency == this.frequency \u0026\u0026 other.reminder == thi\u2026\u0060 appears character-identically in 2 files \u2014 docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart, docs/lib/src/snippets/modular/custom_types/table.drift.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":"docs/lib/src/snippets/modular/custom_types/drift_table.drift.dart"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebd4427f94718652a9bb329f7404a02261065f8db04e3adc5bf19166411fdd5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060identical(this, other) || other is Value \u0026\u0026 present == other.present \u0026\u0026 _value == other._value\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/database/data_class.dart, drift/lib/src/runtime/data_class.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":"drift/lib/src/drift3_preview/src/database/data_class.dart"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"268f5a67a49ddbbf57c1a3dd4ea85b51439ae510b20e750551741967e6c1c725"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFromDrift(type) \u0026\u0026 name != null \u0026\u0026 name.contains(\u0027Column\u0027) \u0026\u0026 !name.contains(\u0027Builder\u0027)\u0060 appears character-identically in 2 files \u2014 drift_dev/lib/src/analysis/resolver/dart/helper.dart, drift_dev/lib/src/utils/type_utils.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":"drift_dev/lib/src/analysis/resolver/dart/helper.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e06940232ae5684cc63f5448c95b3b14de57f9147a6a1add94cc1ced806de5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isRequired \u0026\u0026 !columnTransformer.containsKey(column)\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/query_builder/migration.dart, future/drift_sqlite/lib/src/dialect/migration.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":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a314dfc3246bb0086b06f25cf42406e9c311361c2f6c76dc585671fded700b98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.validateColumnConstraints \u0026\u0026 !_columnConstraintsMatch(ref.constraints, act.constraints)\u0060 appears character-identically in 2 files \u2014 drift_dev/lib/src/services/schema/find_differences.dart, future/drift_sqlite/lib/src/schema_verifier/find_differences.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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1ff2e30ddcd7c034c02b5402483a6a09452c2c0af8e2193867b83e873f10f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is ArrayAccessExpression \u0026\u0026 other.array == array \u0026\u0026 other.index == index\u0060 appears character-identically in 2 files \u2014 extras/drift_postgres/lib/src/array_access_expression.dart, extras/legacy/drift_postgres/lib/src/array_access_expression.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":"extras/drift_postgres/lib/src/array_access_expression.dart"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f9506d38c8b96d238c550613475162f9b8bd6fbb782f74c046cfb61101d0fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is FunctionCallExpression \u0026\u0026 other.functionName == functionName \u0026\u0026 _equality.equals(other.arguments, arguments)\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/query_builder/expressions/functions.dart, drift/lib/src/runtime/query_builder/expressions/expression.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":"drift/lib/src/drift3_preview/src/query_builder/expressions/functions.dart"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fdf60c273219f18b6081d04f264ae5d88c7e411f90f1f45d7616aa976b6b9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is PgDate \u0026\u0026 other.year == year \u0026\u0026 other.month == month \u0026\u0026 other.day == day\u0060 appears character-identically in 2 files \u2014 extras/drift_postgres/lib/drift_postgres.dart, extras/legacy/drift_postgres/lib/drift_postgres.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":"extras/drift_postgres/lib/drift_postgres.dart"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"962300c79055e7f34b7362bceee720108c1262df1805a54f3dd3ab88e609c4ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is PgDateTime \u0026\u0026 other.dateTime == dateTime\u0060 appears character-identically in 2 files \u2014 extras/drift_postgres/lib/drift_postgres.dart, extras/legacy/drift_postgres/lib/drift_postgres.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":"extras/drift_postgres/lib/drift_postgres.dart"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0a2602e137be7ea88a30b9ab2683e9e27e055de55630b1286fd53483ceae14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is SpecificUpdateQuery \u0026\u0026 other.limitUpdateKind == limitUpdateKind \u0026\u0026 other.table == table\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart, drift/lib/src/runtime/executor/stream_queries.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":"drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"deae8ca8a3aeb82d82f02d0dec25320466adf7c7eece9fb4c16d8b1f82509922"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is TableUpdate \u0026\u0026 other.kind == kind \u0026\u0026 other.table == table\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart, drift/lib/src/runtime/api/stream_updates.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":"drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa6e96a5188e4f9d01ef0cd72df79e2b08cf063ab2eab465e025f072ebcd5f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is Variable \u0026\u0026 other.value == value\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/query_builder/expressions/variables.dart, drift/lib/src/runtime/query_builder/expressions/variables.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":"drift/lib/src/drift3_preview/src/query_builder/expressions/variables.dart"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf45a350ba8c83fc824e5ccebff5adbefc9295b2e7d367674e192e89031ff60f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is _DartCastExpression \u0026\u0026 other.inner == inner\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/query_builder/expressions/expression.dart, drift/lib/src/runtime/query_builder/expressions/expression.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":"drift/lib/src/drift3_preview/src/query_builder/expressions/expression.dart"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d31eff5a0821f2cc340fcedcef6991b6e047fd3f083e8cd5e3404c0e9998781"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other is _DependingOnDateTimeExpression \u0026\u0026 other.forTimestamps == forTimestamps \u0026\u0026 other.forIsoString == forIsoString\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/query_builder/expressions/datetimes.dart, future/drift_sqlite/lib/src/dialect/expressions.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":"drift/lib/src/runtime/query_builder/expressions/datetimes.dart"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d85a659d3aeed1072e8eca2a3fbfcada3c16c01deb78fe63b404430a846313"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other.currentColumn == currentColumn \u0026\u0026 other.referencedColumn == referencedColumn \u0026\u0026 other.useColumns == useColumns\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/manager/join_builder.dart, future/drift_manager/lib/src/join_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":"drift/lib/src/runtime/manager/join_builder.dart"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf57a1aee62aefdc7e111cf9c498737f738bd23e0c6e31822a4641f56073eb1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060other.mode == mode \u0026\u0026 other.column == column \u0026\u0026 other.nulls == nulls\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/manager/ordering.dart, future/drift_manager/lib/src/ordering.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":"drift/lib/src/runtime/manager/ordering.dart"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba932c4826d2663c1a35501296ccfcfb9974b9f6063989f1ae22850c02455191"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ref is Default \u0026\u0026 act is Default \u0026\u0026 ref.name == act.name\u0060 appears character-identically in 2 files \u2014 drift_dev/lib/src/services/schema/find_differences.dart, future/drift_sqlite/lib/src/schema_verifier/find_differences.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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"662fa81f0d61108ffaeab0550f7d410392d1a1b9fe7cb5c926002277e5cc30e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rule is WritePropagation \u0026\u0026 rule.on.matches(update)\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart, drift/lib/src/runtime/api/stream_updates.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":"drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38e4c5fd69b38a6200e46255602ea0d11bf874c4ab02177e616ae58ebb57aee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start == null || start \u003C= 0 || (end == null || end \u003E 0)\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/query_builder/expressions/window.dart, drift/lib/src/runtime/query_builder/expressions/window.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":"drift/lib/src/drift3_preview/src/query_builder/expressions/window.dart"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0630b6673c6d8cd19b6c388ab4db4155e6a7f0c5b1297321ff01447815f93c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this \u003C _bigIntMinValue64 || this \u003E _bigIntMaxValue64\u0060 appears character-identically in 2 files \u2014 drift/lib/src/web/sql_js.dart, extras/legacy/drift_postgres/lib/src/pg_database.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":"drift/lib/src/web/sql_js.dart"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a7f8754411e81bcd74cc0aacb0e45ea96b35b6d885e1945d562fbe94c1714b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transformer != null || !migration.newColumns.contains(column)\u0060 appears character-identically in 2 files \u2014 drift/lib/src/runtime/query_builder/migration.dart, future/drift_sqlite/lib/src/dialect/migration.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":"drift/lib/src/runtime/query_builder/migration.dart"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d6cfea8d555f901f8f7438755210bf8e3c383a1e9a2fe1bd17c277b01046d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060update.kind == null || limitUpdateKind == null || update.kind == limitUpdateKind\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart, drift/lib/src/runtime/executor/stream_queries.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":"drift/lib/src/drift3_preview/src/connection/streams/update_rules.dart"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafb257d9e76c11485cc2ce65cd0663ccd8328e1529ca0006448fc87438fd934"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value is! Variable || value.value != null\u0060 appears character-identically in 2 files \u2014 drift/lib/src/drift3_preview/src/query_builder/statements/query.dart, drift/lib/src/runtime/query_builder/statements/query.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":"drift/lib/src/drift3_preview/src/query_builder/statements/query.dart"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9154932164a887e6cd401146ee8fa37fc86661634986f07e7dedaf77c1b0882e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060mapToSqlLiteral\u0060 is public and takes \u0060Object ? dart\u0060 from its caller, and it calls itself at line 135 (\u0060mapToSqlLiteral\u0060) with a piece of \u0060dart\u0060 \u2014 and nowhere in \u0060mapToSqlLiteral\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. \u0060jsonDecode\u0060 sets no nesting limit: 2 MB of brackets parse to a million levels, while a walk like this one throws \u0060StackOverflowError\u0060 from about 20,000 levels \u2014 40,000 bytes (Dart 3.13 VM; on the web the limit is the browser\u0027s stack). That is an \u0060Error\u0060, not an \u0060Exception\u0060: an \u0060on Exception catch\u0060 around the call does not stop it, so the request, the frame or the isolate fails with it. Thread a depth argument through \u0060mapToSqlLiteral\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/runtime/types/mapping.dart"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55177fb439a762167b82322c7d8a8d725c60ced43e59304eeb99392af7cec36"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060DriftCommunication\u0060 carries a disposal duty \u2014 it declares its own release \u2014 and it creates \u0060_incomingRequests\u0060 itself (line 25, \u0060StreamController\u0060), which makes that instance its own. Nothing in the class releases it \u2014 no \u0060_incomingRequests.close()\u0060, no tear-off of it, on any path \u2014 nothing elsewhere in the library releases it through another instance, and it is never handed on as a value (passed positionally, returned, stored, collected), so no other owner can be ending it. Passing it as a named argument does not: a widget or animation never disposes a controller it was given. On what was read, \u0060StreamController\u0060 outlives the object that made it \u2014 its listeners, and through them this object and everything it references, stay reachable, and a ticker, timer or subscription keeps calling into a disposed object. Release it where the duty is discharged: \u0060_incomingRequests.close();\u0060 in \u0060dispose()\u0060 before \u0060super.dispose()\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift/lib/src/remote/communication.dart"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"665b443ba16a296aba7ea6b845aea5a68a94176bd6ae09e3d5fe089215a8da35"}},{"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":"future/drift_sqlite/lib/src/schema_verifier/find_differences.dart"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb77deb688bf8c5c113299d6514d68a92b51131d01f042ba2404427d8f2d15"}},{"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":"drift_dev/lib/src/services/schema/find_differences.dart"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e66175507a72e147862fb60f8e391849463bb15951c7470d05b393d8d2957a"}},{"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. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drift_dev/lib/src/analysis/resolver/dart/view.dart"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c5c63fdf2b8b0298577c5f493c21c18f34cf8e07a6c78076bd8e72322a657"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060on Object\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":"drift/lib/src/web/wasm_setup/shared.dart"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"11295928596f6eb7b528d0235b6618a85d9e70461fe6f51169243b4ab7f78096"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (error)\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":"drift/lib/src/web/wasm_setup/shared.dart"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"148d6dd210d606cd186a618eaccc30b3dce42e8866197b0fac926b01d9a66142"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-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-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":53,"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."]}]}