{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXA1","name":"Runtime unauthenticated reachability","shortDescription":{"text":"Runtime unauthenticated reachability"},"helpUri":"https://codehealth.canine.dev/dimensions/AXA1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXH1","name":"Runtime security headers","shortDescription":{"text":"Runtime security headers"},"helpUri":"https://codehealth.canine.dev/dimensions/AXH1"},{"id":"AXI1","name":"Runtime container hardening","shortDescription":{"text":"Runtime container hardening"},"helpUri":"https://codehealth.canine.dev/dimensions/AXI1"},{"id":"AXR1","name":"Runtime accessibility (rendered)","shortDescription":{"text":"Runtime accessibility (rendered)"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"AXS1","name":"Runtime exposed surface","shortDescription":{"text":"Runtime exposed surface"},"helpUri":"https://codehealth.canine.dev/dimensions/AXS1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"DM1","name":"Aggregate boundaries","shortDescription":{"text":"Aggregate boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/DM1"},{"id":"DM2","name":"Strongly-typed ids","shortDescription":{"text":"Strongly-typed ids"},"helpUri":"https://codehealth.canine.dev/dimensions/DM2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"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":"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":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"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":"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":"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":"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":"sea_orm_macros::derives::entity_model::expand_derive_entity_model (cyclomatic 79): sea_orm_macros::derives::entity_model::expand_derive_entity_model has cyclomatic complexity 79 (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":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b7ca4007662c8a23b7956df408fb31e1b63156dd4b0406b33e3c51b5b7ff8e"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_arrow::values_to_arrow_array (cyclomatic 52): sea_orm_arrow::values_to_arrow_array has cyclomatic complexity 52 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (sea_orm_arrow::option_values_to_arrow_array) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f80c98d9e5608273f9cc925eddc0feffc68d113b5b2f4825946bbe1ddaa1fd8"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_arrow::option_values_to_arrow_array (cyclomatic 52): sea_orm_arrow::option_values_to_arrow_array has cyclomatic complexity 52 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (sea_orm_arrow::values_to_arrow_array) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"083ddb7450195186ec5d6abb7cfebc459d09acc584f27b0949844c2f6a911ef2"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityTransformer::transform (cyclomatic 51): EntityTransformer::transform 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":"sea-orm-codegen/src/entity/transformer.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ec868afe83bb97fc20fab9715c6cd521e53c5e0aa81f22398bfe8047a6cc99"}},{"ruleId":"D1","level":"warning","message":{"text":"Column::get_def_inner::write_col_def (cyclomatic 49): Column::get_def_inner::write_col_def has cyclomatic complexity 49 (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":"sea-orm-codegen/src/entity/column.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e979ca439aa60c583803d6b86b0d937bc39a921e688adc45e367f59d8a355a81"}},{"ruleId":"D1","level":"warning","message":{"text":"EntitySchemaInfo::sync (cyclomatic 44): EntitySchemaInfo::sync has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"78527e7349fd1d04b930275c8583414d52e244b01deacad726ca051fa941ce0e"}},{"ruleId":"D1","level":"warning","message":{"text":"EntitySchemaInfo::sync (cyclomatic 44): EntitySchemaInfo::sync has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd2d1957025a0a11b40ff5f8f12b212eb6687a482157e75bc60e36f43eb5b67"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_macros::derives::arrow_schema::column_type_to_arrow_datatype (cyclomatic 40): sea_orm_macros::derives::arrow_schema::column_type_to_arrow_datatype has cyclomatic complexity 40 (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":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2826e9af6088d5b1877a3c761c361625dfde4f1f7757773e20b87929e7daf873"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_macros::derives::value_type_match::column_type_wrapper (cyclomatic 38): sea_orm_macros::derives::value_type_match::column_type_wrapper has cyclomatic complexity 38 (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":"sea-orm-macros/src/derives/value_type_match.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18396f8c56382de6e35d097898a0d3dd6d2f4f2a329f7128e221754b22ac4a8"}},{"ruleId":"D1","level":"warning","message":{"text":"Column::get_rs_type::write_rs_type (cyclomatic 36): Column::get_rs_type::write_rs_type has cyclomatic complexity 36 (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":"sea-orm-codegen/src/entity/column.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a284132c3365dd4642cb003d12101b488f3c2ee84d274c8056984c8e9e26f47"}},{"ruleId":"D1","level":"warning","message":{"text":"DerivePartialModel::new (cyclomatic 35): DerivePartialModel::new has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/partial_model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c977d91ce2cbce62164c62a567ed209a34ff0a1c82f7447e0090f8716d3341"}},{"ruleId":"D1","level":"warning","message":{"text":"ActiveEnum::new (cyclomatic 28): ActiveEnum::new has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22632c7b110f742bd573a390723eb1231b1863e6edd3937712239207caf5c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_macros::derives::arrow_schema::rust_type_to_arrow_datatype (cyclomatic 27): sea_orm_macros::derives::arrow_schema::rust_type_to_arrow_datatype has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68964c7603194a38bb9ac5ca1713f191bc3d16263b362c84f10ede244dbfbcf"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_macros::derives::model_ex::expand_sea_orm_model (cyclomatic 25): sea_orm_macros::derives::model_ex::expand_sea_orm_model 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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c15c85b44dfa34ef912db0c286af69614610882c4674c789647a7866eb4eab"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_sync::entity::active_model::establish_links (cyclomatic 25): sea_orm_sync::entity::active_model::establish_links 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd7bfbe4ba395811a0f77dcb74548695ddb1108ad99ad1db55aa5e3fb1c1924"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm::entity::active_model::establish_links (cyclomatic 25): sea_orm::entity::active_model::establish_links 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":"src/entity/active_model.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"63865c32a73a8b64c938da5ef8a3af95319ccf4d45846e8798cacdd587496ca3"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_cli::commands::generate::run_generate_command (cyclomatic 21): sea_orm_cli::commands::generate::run_generate_command 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":"sea-orm-cli/src/commands/generate.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd946551ad02d9adbe159a1039119ea4737fa88cd35bc253a84635a7a407f4ad"}},{"ruleId":"D1","level":"warning","message":{"text":"RelationAttr::from_attr (cyclomatic 21): RelationAttr::from_attr 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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b996ed7bf965875def14bfeec66144ef39d3aced2234cdb8575e88990eb2949"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveRelation::impl_relation_trait (cyclomatic 21): DeriveRelation::impl_relation_trait has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"sea-orm-macros/src/derives/relation.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc8dd5ac17fd97cf1b6d056bf2694715d49caee391093f946fa9325d3a71f77"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_macros::derives::arrow_schema::expand_derive_arrow_schema (cyclomatic 21): sea_orm_macros::derives::arrow_schema::expand_derive_arrow_schema 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":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afcdbfc8f6c0545fec52d98ca6512d259878713327232d491909fbabbe7a0b6"}},{"ruleId":"D1","level":"warning","message":{"text":"RbacEngine::user_can (cyclomatic 21): RbacEngine::user_can 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f422e7500d8eec227b1dd766540c6f222239ef3f700a85e3a2699385113933"}},{"ruleId":"D1","level":"warning","message":{"text":"RbacEngine::user_can (cyclomatic 21): RbacEngine::user_can 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":"src/rbac/engine/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1898d0bc1ad861109e8505078c32f51ebe1d784914f04bc85b4fcb792bba499d"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityWriter::gen_import_frontend::collect (cyclomatic 19): EntityWriter::gen_import_frontend::collect has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/writer/frontend.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a616cbb50cedc4dd6a87641abb656fd6705a11a7a4ec24dbc76bfc26fc0cf9b3"}},{"ruleId":"D1","level":"warning","message":{"text":"BelongsToAttr::from_attr (cyclomatic 19): BelongsToAttr::from_attr has cyclomatic complexity 19 (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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b242d1ced20b99d22d0423aca3d22a081a6aa538aec97210999fbb16d089e2"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_codegen::merge::render_file_with_spacing (cyclomatic 18): sea_orm_codegen::merge::render_file_with_spacing has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"sea-orm-codegen/src/merge/mod.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb48b9a9318615e668d82d8e6e8fda82b03c36e2aff3a98c268d48add0fa297f"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_macros::derives::typed_column::expand_typed_column (cyclomatic 17): sea_orm_macros::derives::typed_column::expand_typed_column 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":"sea-orm-macros/src/derives/typed_column.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b060787ca81ff96a242c6e3ccbaab022d5adf68e008e3e38bf594b451fa42fca"}},{"ruleId":"D1","level":"warning","message":{"text":"sea_orm_cli::commands::migrate::run_migrate_command (cyclomatic 16): sea_orm_cli::commands::migrate::run_migrate_command 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":"sea-orm-cli/src/commands/migrate.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af3ddfb17eb8d0a63e277ee67a38ba7ae173c4b4a1e0c7d0634ae17d70fd591"}},{"ruleId":"D1","level":"warning","message":{"text":"EntityWriter::gen_dense_model_struct (cyclomatic 16): EntityWriter::gen_dense_model_struct 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":"sea-orm-codegen/src/entity/writer/dense.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8ea20d17e86db37b947875a252b5eeb8b497427856bd1e232dd4eae20ec73c"}},{"ruleId":"D1","level":"warning","message":{"text":"DeriveActiveModel::impl_from_json (cyclomatic 16): DeriveActiveModel::impl_from_json 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":"sea-orm-macros/src/derives/active_model.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"106103702d1cf1ab2316425bd12def65a0bffd9050d8cfe0a4858c88ba0f5df3"}},{"ruleId":"D1","level":"warning","message":{"text":"HasManyAttr::from_attr (cyclomatic 16): HasManyAttr::from_attr has cyclomatic complexity 16 (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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1183862f78c1d69e8ac174085aa1bbfbb3800facbbdc7ac24017cdf6b0bd8b"}},{"ruleId":"D1","level":"warning","message":{"text":"DbErr::sql_err (cyclomatic 16): DbErr::sql_err has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/error.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eafc11750ba984c38fb14082372f25b598193eb66c3c3182f23dd5189f49936"}},{"ruleId":"D1","level":"warning","message":{"text":"DbErr::sql_err (cyclomatic 16): DbErr::sql_err has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/error.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"692f0d348e910959e7a72fd75e9f03d3ad2e948e8be003616f332a030f8db665"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::entity_model::expand_derive_entity_model (cognitive 241): sea_orm_macros::derives::entity_model::expand_derive_entity_model has cognitive complexity 241 (threshold 15). Drivers by points: if/else 87 (217 pts), loops 3 (14 pts), match/switch 2 (6 pts), boolean chains 4 (nesting depth added 145). 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":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce691953aa930130a516f793e2920188e8e54d5ef5434a654499d52d4d0ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityTransformer::transform (cognitive 140): EntityTransformer::transform has cognitive complexity 140 (threshold 15). Drivers by points: if/else 30 (90 pts), loops 15 (38 pts), match/switch 3 (7 pts), boolean chains 5 (nesting depth added 87). 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":"sea-orm-codegen/src/entity/transformer.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d7321a664287090d1a3d4366679a06790b43c1741af89cb84f593369c4c747"}},{"ruleId":"D2","level":"warning","message":{"text":"EntitySchemaInfo::sync (cognitive 131): EntitySchemaInfo::sync has cognitive complexity 131 (threshold 15). Drivers by points: if/else 30 (96 pts), loops 11 (30 pts), boolean chains 5 (nesting depth added 85). 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e641f86be46bc1057641fa443b0c6c0336af25582d7f809c33431960a4fec4"}},{"ruleId":"D2","level":"warning","message":{"text":"EntitySchemaInfo::sync (cognitive 131): EntitySchemaInfo::sync has cognitive complexity 131 (threshold 15). Drivers by points: if/else 30 (96 pts), loops 11 (30 pts), boolean chains 5 (nesting depth added 85). 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":"src/schema/builder.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0778aaa2f1666a827600ec4a40006e539a8d73b7e04e98a97fb0b0b88495a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DerivePartialModel::new (cognitive 78): DerivePartialModel::new has cognitive complexity 78 (threshold 15). Drivers by points: if/else 22 (47 pts), loops 6 (17 pts), match/switch 4 (14 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/partial_model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0da7ad419de034762718cfa54a80ca273e0caf505a0f7713d456917ce9793dc"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::arrow_schema::column_type_to_arrow_datatype (cognitive 66): sea_orm_macros::derives::arrow_schema::column_type_to_arrow_datatype has cognitive complexity 66 (threshold 15). Drivers by points: if/else 43 (62 pts), boolean chains 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8babd8028cfbe12b835cd6dc2629fdf129ff361966fdcf340c23cfb69b78353d"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveEnum::new (cognitive 55): ActiveEnum::new has cognitive complexity 55 (threshold 15). Drivers by points: if/else 24 (45 pts), match/switch 2 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 24). 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":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5c4c2fd3533f70f9e5ca444d4c601ac7278949b7d498f3bdf5e843720c99f6"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_sync::entity::active_model::establish_links (cognitive 55): sea_orm_sync::entity::active_model::establish_links has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 9 (25 pts), boolean chains 2 (nesting depth added 29). 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49be6981bd011111c4ba756ad39b775a857f160fa86f124444912bad007730f"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm::entity::active_model::establish_links (cognitive 55): sea_orm::entity::active_model::establish_links has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 9 (25 pts), boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_model.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53435bbc57655738da89fd39605a0e0ce7a86f1ebf7d07aa49a7acfe8d5eda4"}},{"ruleId":"D2","level":"warning","message":{"text":"RbacEngine::user_can (cognitive 51): RbacEngine::user_can has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (40 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 31). 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"67647d50eb4e45f7b439c2b1d30abeac0461e7ee93076ccfee47ed93fe0835d6"}},{"ruleId":"D2","level":"warning","message":{"text":"RbacEngine::user_can (cognitive 51): RbacEngine::user_can has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (40 pts), loops 3 (7 pts), boolean chains 4 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/rbac/engine/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e5ae0a62e6913c72a13fe246670dca17195147766575dc9b582d52d1dd2797"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_arrow::values_to_arrow_array (cognitive 50): sea_orm_arrow::values_to_arrow_array has cognitive complexity 50 (threshold 15). Drivers by points: match/switch 20 (36 pts), if/else 4 (12 pts), loops 1 (2 pts) (nesting depth added 25). 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. This shape REPEATS in the file: one other method here (sea_orm_arrow::option_values_to_arrow_array) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5b4bc99ca03915734d6df0e87c7d140168dbce535b3cd36f164b82a1fba54d"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_arrow::option_values_to_arrow_array (cognitive 50): sea_orm_arrow::option_values_to_arrow_array has cognitive complexity 50 (threshold 15). Drivers by points: match/switch 20 (36 pts), if/else 4 (12 pts), loops 1 (2 pts) (nesting depth added 25). 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. This shape REPEATS in the file: one other method here (sea_orm_arrow::values_to_arrow_array) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1805641bd0a424ac081ddc00df772f1ad4d1d29ef5a8640f750b8d5649ed2"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_cli::commands::generate::run_generate_command (cognitive 49): sea_orm_cli::commands::generate::run_generate_command has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (31 pts), loops 3 (9 pts), match/switch 3 (7 pts), boolean chains 2 (nesting depth added 24). 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":"sea-orm-cli/src/commands/generate.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20a59b027ab43befc6607c3b1ff52a55e90358fb54526ee6807653962087a01"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::typed_column::expand_typed_column (cognitive 49): sea_orm_macros::derives::typed_column::expand_typed_column has cognitive complexity 49 (threshold 15). Drivers by points: if/else 18 (42 pts), loops 2 (5 pts), boolean chains 2 (nesting depth added 27). 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":"sea-orm-macros/src/derives/typed_column.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a844b65e0add5952c6163892b45f731a9e5acbc010bf47e92f7711fe8b84440"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::value_type_match::column_type_wrapper (cognitive 49): sea_orm_macros::derives::value_type_match::column_type_wrapper has cognitive complexity 49 (threshold 15). Drivers by points: if/else 32 (43 pts), boolean chains 4, match/switch 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":"sea-orm-macros/src/derives/value_type_match.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"769503ca030049fa06efbb9d9050708719520b812a6dcf399653608d2406b85f"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::model_ex::expand_sea_orm_model (cognitive 48): sea_orm_macros::derives::model_ex::expand_sea_orm_model has cognitive complexity 48 (threshold 15). Drivers by points: if/else 20 (32 pts), match/switch 2 (7 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"541f26bafc245f38bcb1d4e83b13f264f26840dfeb93599b4f6d44bc4517b8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::arrow_schema::expand_derive_arrow_schema (cognitive 46): sea_orm_macros::derives::arrow_schema::expand_derive_arrow_schema has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (37 pts), loops 2 (8 pts), boolean chains 1 (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":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0e15325a3529ac4550340fda5d2500382f89789aceeb625d6c944e6591e221"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveFromQueryResult::new (cognitive 40): DeriveFromQueryResult::new has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (13 pts), match/switch 3 (11 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":"sea-orm-macros/src/derives/from_query_result.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c5048150309f06a6ef3e84a256cf6796ce4372e7a69a1866b43b12d25b63d1"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_codegen::merge::merge_derives (cognitive 28): sea_orm_codegen::merge::merge_derives has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (9 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/merge/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4a8e76aba065614f364ae462161b7b26c1da83d5b987b4f3c441d4c9ab8601"}},{"ruleId":"D2","level":"warning","message":{"text":"DenseRelationField::field_tokens (cognitive 27): DenseRelationField::field_tokens has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (21 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/writer/dense.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b62eba5c6769faf9e46045d69b4cf85bfe53414a468f931bc4cc70a0f7307f"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_codegen::merge::render_file_with_spacing (cognitive 27): sea_orm_codegen::merge::render_file_with_spacing has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 3, loops 1 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. 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":"sea-orm-codegen/src/merge/mod.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bb3f4d2b3bbae6c764cad22dcfbde308754bcf3c6b5c3338375a0add6ba39a"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveRelation::impl_relation_trait (cognitive 26): DeriveRelation::impl_relation_trait has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (19 pts), match/switch 4 (7 pts) (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/relation.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86a2e08467fee619d832c54fc807fc519b858a17b4edf5a6b5fef349fbe0ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveActiveModel::impl_from_json (cognitive 25): DeriveActiveModel::impl_from_json has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, match/switch 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":"sea-orm-macros/src/derives/active_model.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"202c8811ef03aec1383062a4382c9e09e5436be0b606554dc8b9bd94d456fdde"}},{"ruleId":"D2","level":"warning","message":{"text":"BelongsToAttr::from_attr (cognitive 23): BelongsToAttr::from_attr has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 5, match/switch 4 (5 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dfafc0796b3ca45605c26246c6e1a8d8b6fddd338443633400e6d962da8aa7"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlxPostgresConnector::connect (cognitive 23): SqlxPostgresConnector::connect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 pts), loops 1 (2 pts) (nesting depth added 6). 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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ac4b3c51779e5a1d29b25bd110b726c4fd8c8862ba37934d433ea12f10b53d"}},{"ruleId":"D2","level":"warning","message":{"text":"DbErr::sql_err (cognitive 23): DbErr::sql_err has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 6 (10 pts), boolean chains 1 (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/error.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e39d214c57d98af91ad1513847a034ab2382ee99916c3e78ba9294bea465a0"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlxPostgresConnector::connect (cognitive 23): SqlxPostgresConnector::connect has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (21 pts), loops 1 (2 pts) (nesting depth added 6). 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":"src/driver/sqlx_postgres.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"51137f39e26ee356e49f679676f8f73f70f14ab9082932a20ce69eb925bec7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"DbErr::sql_err (cognitive 23): DbErr::sql_err has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 4 (12 pts), if/else 6 (10 pts), boolean chains 1 (nesting depth added 12). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/error.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8be77c84bc138781b13b19fcf7a794db998304f95a0e58260375537125779e"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveIntoActiveModel::new (cognitive 22): DeriveIntoActiveModel::new has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (8 pts), match/switch 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":"sea-orm-macros/src/derives/into_active_model.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90970b98245fc420ea11466705b1b465249e10ccfddb1d8ddcfadbf41ac6e0f"}},{"ruleId":"D2","level":"warning","message":{"text":"CompoundType::from_type (cognitive 22): CompoundType::from_type has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 2 (3 pts) (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":"sea-orm-macros/src/derives/util.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f756e801476423000dfce6f2a95e17d3abd89a43c196299f1221e61b0d4eee6f"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::into_active_model::parse_field (cognitive 22): sea_orm_macros::derives::into_active_model::parse_field has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 1 (4 pts), loops 2 (3 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":"sea-orm-macros/src/derives/into_active_model.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c3fcddd842f431b0ddae06ffcd44a50a77db476d60b00b5c4ec6e1013c535d"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityWriter::gen_dense_model_struct (cognitive 21): EntityWriter::gen_dense_model_struct has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 3 (4 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":"sea-orm-codegen/src/entity/writer/dense.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9865245b0f1bdf1303a81f614ca4e58aab439f1d272f342ce6511f3819b8b4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveEnum::impl_active_enum (cognitive 20): ActiveEnum::impl_active_enum has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 3, loops 1 (2 pts) (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":"sea-orm-codegen/src/entity/active_enum.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de35307bff649c91c1cb2d80e23a32404caecadb0fd88ebdf80d78dfb4f959"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityWriter::gen_import_active_enum (cognitive 19): EntityWriter::gen_import_active_enum has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4f1a5e129e7014fd18cd8e62474bfab14d274110acd114a54aa80c79475394"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_codegen::merge::merge_item_attributes (cognitive 19): sea_orm_codegen::merge::merge_item_attributes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 2 (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":"sea-orm-codegen/src/merge/mod.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"abadbab462de0825b956b5019a5f4694c715df49799f9c06159f6a23cc778c49"}},{"ruleId":"D2","level":"warning","message":{"text":"RelationAttr::from_attr (cognitive 19): RelationAttr::from_attr has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 2, match/switch 1 (nesting depth added 8). 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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0806cf331f2d14e6a60263408d6c683d113012fe3539d0e59a9101012e9d9f2e"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::model_ex::entity_loader_field (cognitive 19): sea_orm_macros::derives::model_ex::entity_loader_field has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (5 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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87f92c155707d5eb517d9c12fab4955e0966ee4158f3a426fda037545e5e08d"}},{"ruleId":"D2","level":"warning","message":{"text":"HasManyAttr::from_attr (cognitive 18): HasManyAttr::from_attr has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"f374a6fe83ae55416efe4056d505957c9d402aba85195e1179b2cbc7a29872e0"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertMany::many (cognitive 18): InsertMany::many has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), match/switch 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e32bc3dd1437f683f8bc32932d81b62e6fdb0bfcf9bceafb7f7686df50ab09"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_sync::schema::entity::column_def_from_entity_column (cognitive 18): sea_orm_sync::schema::entity::column_def_from_entity_column has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 3 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f07a1b9a4e53a86e07dbabc9e539962b1c2dcc3de6d2c50a535c874ae10f929"}},{"ruleId":"D2","level":"warning","message":{"text":"InsertMany::many (cognitive 18): InsertMany::many has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), match/switch 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":"src/query/insert.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c467d2d75ba59d8280c377b383653466bc88c6ef5016fa665c4f54af27bc7e52"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm::schema::entity::column_def_from_entity_column (cognitive 18): sea_orm::schema::entity::column_def_from_entity_column has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 3 (4 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/entity.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0674cd36d919482fd79a28c2a3fb281d4653104617fe75f0e031f6d3055cecab"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_macros::derives::model_ex::expand_belongs_to_into (cognitive 17): sea_orm_macros::derives::model_ex::expand_belongs_to_into has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce6ad0894a59304b7d8ffceb1e209949e7e586d74943ba7f82f22559b912288"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveModelTrait::from_arrow (cognitive 17): ActiveModelTrait::from_arrow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cfdcf12fc6e126dfe2ed4c3c4216c48e1dc7794641b99ede3d02491f0c33e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ActiveModelTrait::from_arrow (cognitive 17): ActiveModelTrait::from_arrow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_model.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fcdeca11a5244f11cfdad0b766455add4f316076146e5adb0e38ba05a6608b"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityWriter::gen_compact_model_struct (cognitive 16): EntityWriter::gen_compact_model_struct has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 1 (2 pts), match/switch 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":"sea-orm-codegen/src/entity/writer/compact.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c14333cd7d517b39e97fe61db3737082178b7d37b1cb7cdc88d77aa5139cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"Field::from_field (cognitive 16): Field::from_field has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5f8b5d2afe66316d4ef678b937fe157cf6a204b47d9a1b0fc1f2f0674f1bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaBuilder::sync (cognitive 16): SchemaBuilder::sync has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (9 pts), match/switch 3 (5 pts), if/else 1 (2 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b024f5cb71f785dd92ca03ea43d56057d5b4e40bf3040b55c4a8fbb756bc3f93"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm_sync::executor::consolidate::consolidate_query_result_of_ordered_rows (cognitive 16): sea_orm_sync::executor::consolidate::consolidate_query_result_of_ordered_rows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b36fc8d97536b7c110edda142c0fe9275c7583e1195dfc5bf989126ae56e1"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaBuilder::sync (cognitive 16): SchemaBuilder::sync has cognitive complexity 16 (threshold 15). Drivers by points: loops 5 (9 pts), match/switch 3 (5 pts), if/else 1 (2 pts) (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9902787a2979cbcb28b2b13e404ac60511e55cdad6fa3ed1e8f7e9b56bfa8ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"sea_orm::executor::consolidate::consolidate_query_result_of_ordered_rows (cognitive 16): sea_orm::executor::consolidate::consolidate_query_result_of_ordered_rows has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/consolidate.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a0ae33b3abe2f031b4183cd3559b75f8bf3167d2d4ae419cd6864dfca3ce14"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: sea_orm_migration::schema: TooManyFunctions \u2014 125 free functions. The bar is 30 free functions; this is 95 over it, 4.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":"sea-orm-migration/src/schema.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3769b4b97732715d89efdc7c18e6574e1c4f5b04c5e373d244d8f73e9c765d19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_sync::driver::sqlx_postgres::from_sqlx_postgres_row_to_proxy_row: FunctionTooLong \u2014 sea_orm_sync::driver::sqlx_postgres::from_sqlx_postgres_row_to_proxy_row runs 381 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"6534096f00aaba45be26b0e6e22d14130d66b34f8bc3e80f7ac5343adfe1b5ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm::driver::sqlx_postgres::from_sqlx_postgres_row_to_proxy_row: FunctionTooLong \u2014 sea_orm::driver::sqlx_postgres::from_sqlx_postgres_row_to_proxy_row runs 381 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_postgres.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e486e7e6dfb4e1e6eb8eab83e2bcef968dd224a292d07b2174e7ba823b4ad291"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_macros::derives::entity_model::expand_derive_entity_model: FunctionTooLong \u2014 sea_orm_macros::derives::entity_model::expand_derive_entity_model runs 375 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 275 over it, 3.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":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800f3e6635a5f3acf24ccdafc1bb4746702fcfdcb4280f36c2f1d54d53ae9a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/query.rs: FileTooLong \u2014 1289 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 789 over it, 2.58\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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a58d1e7b74b0bd0f79014efdeda2ce15d611756122d80c337fc39d8c55250"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/query.rs: FileTooLong \u2014 1289 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 789 over it, 2.58\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":"src/executor/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffa32a6080d1a26184338035d5fc33382b26d270b0d79d48f775a2bd24b1fde"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_cli::commands::generate::run_generate_command: FunctionTooLong \u2014 sea_orm_cli::commands::generate::run_generate_command runs 238 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\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":"sea-orm-cli/src/commands/generate.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6afbc6b0925071211b9331dcf222b15c22c5f0558a5792c8445f67b04eb1d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/loader.rs: FileTooLong \u2014 1164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"src/query/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"654d8ac676dcb2a4a2001cc8b03237bc18bff8fd11eb3f2e0bbc59eea87fe70c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_arrow::option_values_to_arrow_array: FunctionTooLong \u2014 sea_orm_arrow::option_values_to_arrow_array runs 226 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e59b4d1bdde864fcefd5aed7306f8f481337133c8015c8da5ac26f9a2f82305"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 44 free functions. The bar is 500 significant lines; this is 629 over it, 2.26\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9878d0c0027e2ff55942850c6fd1ccd94d59938e7cafc9f397793b4b244355b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntityTransformer.transform: MethodTooLong \u2014 transform runs 219 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\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":"sea-orm-codegen/src/entity/transformer.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba53b65916dbc201810553588d2fefabdd85dd2aa51e6c9edff46a2ce153297"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/model_ex.rs: FileTooLong \u2014 1089 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 589 over it, 2.18\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bce438ab317424e6dc1c3e63832974cb1c4a9176ad7a3e89d66941d80b83ba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_arrow::values_to_arrow_array: FunctionTooLong \u2014 sea_orm_arrow::values_to_arrow_array runs 217 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee8df4d841c82a463979208932e32ccbae95e5af3d063387231ec3b9c2f4540"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/loader.rs: FileTooLong \u2014 1082 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 582 over it, 2.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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0a48cf0251cb3d444ab58bb2ad0547549f7477ae91d850de9b5d5bc852f5b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_macros::derives::entity_loader::expand_entity_loader: FunctionTooLong \u2014 sea_orm_macros::derives::entity_loader::expand_entity_loader runs 208 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"b185b1a1f991686599dcf81da5a7e9f287d4d502b2a042c8ff4622d16bbcb698"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/active_model_ex.rs: FileTooLong \u2014 1011 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 511 over it, 2.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6025c9c0644d1560135727a0727a29237ac7fa4ade8b34cf48fd2f97583788ad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseTransaction: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 8 blocks, lines 37-903. The bar is 400 significant lines; this is 227 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":"src/database/transaction.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8bce68115515ca6916d5482b17819ec1ba900b31730d5784004338c1d976f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntitySchemaInfo.sync: MethodTooLong \u2014 sync runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9fabadd17af661bd12876c69e4be74529a0860f0a8917e28ab7a451a2b7c33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: EntitySchemaInfo.sync: MethodTooLong \u2014 sync runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ca22e5d652494a301c2f33bf7dea09dcdb0d23d6e57ee6c553c9db1608ce35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConnectOptions: TooManyMethods \u2014 45 methods, declared across 2 files: database/mod.rs (43), driver/sqlx_common.rs (2). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6109b93eaeb28d044b1ee5953285385ebe46fd5f5fc6a97ea4aab5e7441c1f2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConnectOptions: TooManyMethods \u2014 45 methods, declared across 2 files: database/mod.rs (43), driver/sqlx_common.rs (2). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"481b58bc8f6ff0febbca4a0292d1eadece3083e72385a326cdcf2a37f6f8d29f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeriveRelation.impl_relation_trait: MethodTooLong \u2014 impl_relation_trait runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\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":"sea-orm-macros/src/derives/relation.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fa3f46123cfc1a912109695a5b7040c418ce945f7b4898974a32c726ac26aa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseTransaction: ClassTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 8 blocks, lines 37-848. The bar is 400 significant lines; this is 176 over it, 1.44\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e98a386b11a4da8957f0bb62f25e139fd75c7c193d8f3d0b8a5cf02f70fdff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/transaction.rs: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: DatabaseTransaction (8 blocks, 37-903). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/transaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f83d03912e0d999a83f8c6ade5f3f5160a6ec426fb63187317ecf08bb08e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EntityWriter: TooManyMethods \u2014 41 methods, declared across 6 files: entity/writer.rs (29), writer/compact.rs (3), writer/dense.rs (3), writer/frontend.rs (3), \u002B2 more file(s). The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c09a97c956c79fcbf6729b40cf9d4b379674f977797289f19697cae6e68794b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseConnection: ClassTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 21 methods, 11 blocks, lines 35-946. The bar is 400 significant lines; this is 145 over it, 1.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/db_connection.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4493ac8d19989ae49608a3b3cd0ed584e210e78ccd75a5943e603ece364e75f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/sqlx_postgres.rs: FileTooLong \u2014 681 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 181 over it, 1.36\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":"src/driver/sqlx_postgres.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30336818589cf092628a3865a3908102247e99ad8e3d7c733874f2ecfd62b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: entity/writer.rs: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: EntityWriter (2 blocks, 26-962). The bar is 500 significant lines; this is 180 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":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a569533c6deb2fdcc06766233a6e941d516f3072f5987e3d02e3724409a8bba0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/entity_loader.rs: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 180 over it, 1.36\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08fb3a28b7319b8cc6d1c059093cd6962a58edea423044e66c0fbdd55fd9255"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/sqlx_postgres.rs: FileTooLong \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 169 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca00c042ece3f3db579f801d0566c3df27d49dd80544f331d5a988489ac842f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/db_connection.rs: FileTooLong \u2014 654 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: DatabaseConnection (11 blocks, 35-946). The bar is 500 significant lines; this is 154 over it, 1.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/db_connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25feab37a471aef8c3888a2d1a267ebed0f41af1edee7e55b6598b3e1ff42c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Select: TooManyMethods \u2014 39 methods, declared across 6 files: query/join.rs (13), executor/select.rs (11), query/select.rs (8), query/combine.rs (5), \u002B2 more file(s). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. 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":"sea-orm-sync/src/query/select.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"574359f936ba7ca51d4b6ddaeec691ee831412a070263b5f965930382a509eb6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Select: TooManyMethods \u2014 39 methods, declared across 6 files: query/join.rs (13), executor/select.rs (11), query/select.rs (8), query/combine.rs (5), \u002B2 more file(s). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/query/select.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4099ddf11a5c79754689b828c11cc48e310c49f34129c59d4a327b5d591b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActiveEnum: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 12 methods, 2 blocks, lines 8-888. The bar is 400 significant lines; this is 119 over it, 1.30\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":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3dd3ae766224e07a67911a074c83aff6d3a598679146227c38a4c5880a60eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActiveEnum.new: MethodTooLong \u2014 new runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d526a0537276ded1f36b8d679d5c5f36c706506ebc7d263efe82bcbf413b9826"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeriveActiveModel.impl_from_json: MethodTooLong \u2014 impl_from_json runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c99a45d5fd152aa40a3870cb9c2d2e528753a61bcd56d451478d072ab7e47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/transaction.rs: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: DatabaseTransaction (8 blocks, 37-848). The bar is 500 significant lines; this is 131 over it, 1.26\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bd3da1963952f7f9072df041d1180b5399e1fa31a5d6ec17703744e4b26e00"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseConnection: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 21 methods, 11 blocks, lines 35-893. 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8bd19d2035902a5ff05bad697cb9ad283165ec7ad691a850a9e29eda588837"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/db_connection.rs: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: DatabaseConnection (11 blocks, 35-893). The bar is 500 significant lines; this is 108 over it, 1.22\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240f18ca2bc94af770b98407d031b20c9a980a5a6b0fe0cbf7f04c0ef6956ef8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: EntityWriter: ClassTooLong \u2014 485 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 41 methods, 2 blocks, lines 26-962. The bar is 400 significant lines; this is 85 over it, 1.21\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":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"18464e8571f3792080fea154d6cb2777416cd7f6cb5222853e32822487708a49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/active_enum.rs: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: ActiveEnum (2 blocks, 8-888). The bar is 500 significant lines; this is 98 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":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6819889fc3cc7d46d686289efd9e16bbf835d5f090478bf8f4381e2c15c9423"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: entity/active_model.rs: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: ActiveModelTrait (31-1046). The bar is 500 significant lines; this is 95 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad673be44279d7ad3f27197d47477e51c4364d40e241e30dec9199720fffd0d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RelationAttr.from_attr: MethodTooLong \u2014 from_attr runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e5b1274c10f22bfbb10966a374e36a9ad8d9ca695abbf1f4200a7005c3f4cf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DerivePartialModel.new: MethodTooLong \u2014 new runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\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":"sea-orm-macros/src/derives/partial_model.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8dd05d3b1869c2e46129a75025890409e72302d486aea531fd104d60da9d41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaBuilder.sync: MethodTooLong \u2014 sync runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48caf98f70d76d2ed38f0e4474cc0bb05eb2fc0037a7bde54e1b501449229d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: entity/active_model.rs: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: ActiveModelTrait (30-1036). The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a772147d82ccb0e0d9857a37518aa64e76bcacf8e3623f23829cc9864b27ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaBuilder.sync: MethodTooLong \u2014 sync runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"317e3934b740b8a2847a85820e926b8b86fdd185413c12c51e4dbe8302cb8592"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActiveModelTrait: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 39 methods. The bar is 400 significant lines; this is 51 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_model.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c76c961ad9e403bc01687b8e6a201b94d8117216075961f561818dab4aa3c35"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActiveModelTrait: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 39 methods. The bar is 400 significant lines; this is 47 over it, 1.12\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0806ebd796859d405349d4805ae359d795655a806053936dab278a1a0a1c47a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_sync::driver::sqlx_mysql::from_sqlx_mysql_row_to_proxy_row: FunctionTooLong \u2014 sea_orm_sync::driver::sqlx_mysql::from_sqlx_mysql_row_to_proxy_row runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaa7edffeade58eff4d2557b69be05d0d633cba33e6956fb0b54d0ec6552e3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm::driver::sqlx_mysql::from_sqlx_mysql_row_to_proxy_row: FunctionTooLong \u2014 sea_orm::driver::sqlx_mysql::from_sqlx_mysql_row_to_proxy_row runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"src/driver/sqlx_mysql.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7db91b493c18202e06ef9afd99bb7b6e5ea3681d0bcb7b9701a0766d19f1998"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_arrow::arrow_array_to_value: FunctionTooLong \u2014 sea_orm_arrow::arrow_array_to_value runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"166f9aa9a9b8010f5ed11571072898c189210406537b59231222de1638b7956d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sea_orm_macros::derives::model_ex::expand_sea_orm_model: FunctionTooLong \u2014 sea_orm_macros::derives::model_ex::expand_sea_orm_model runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e75b113a550693203dcdd6f566b9d0c6682ca0e0b801b16fb58a8604be49e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 16 shared lines): sea-orm-sync/src/driver/sqlx_mysql.rs:201-224 | sea-orm-sync/src/driver/sqlx_postgres.rs:236-259 | sea-orm-sync/src/driver/sqlx_sqlite.rs:220-243 | src/driver/sqlx_mysql.rs:202-225 | src/driver/sqlx_postgres.rs:241-264 | src/driver/sqlx_sqlite.rs:221-244 \u2014 These 6 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede49cbb5220a206ff600f846abac7f6ee662c7632f573049ba02895b4b0899d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 54 shared lines): sea-orm-sync/src/database/stream/query.rs:40-114 | sea-orm-sync/src/database/stream/transaction.rs:44-107 | src/database/stream/query.rs:42-116 | src/database/stream/transaction.rs:45-108 \u2014 These 4 members are variants of one another: a block of 54 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6853fecdde2f0675cf27833fc41572edec3d178848e65c37e76bc94443887fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 17 shared lines): sea-orm-sync/src/executor/consolidate.rs:196-280 | sea-orm-sync/src/executor/consolidate.rs:358-401 | src/executor/consolidate.rs:196-280 | src/executor/consolidate.rs:358-401 \u2014 These 4 members are variants of one another: a block of 17 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d713b989eb88f6dd5dd160cd07e4a5e1fa60909f1e7971c04d2808f3fd8432d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 24 shared lines): sea-orm-macros/src/derives/entity_loader.rs:402-447 | sea-orm-macros/src/derives/entity_loader.rs:453-511 | sea-orm-macros/src/derives/entity_loader.rs:570-611 \u2014 These 3 members are variants of one another: a block of 24 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae45f87175b5b6d7ac67a4b9aae3337adbf63ed8ed8e31debbd844ef9656f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (172 shared lines): sea-orm-sync/src/schema/builder.rs:395-614 | src/schema/builder.rs:399-623 \u2014 These two members are variants of one another: 172 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"239ee361c933c9c01a7c62a224a33d99c705a01aacce79c93483bb48ade373e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (133 shared lines): sea-orm-sync/src/schema/builder.rs:93-248 | src/schema/builder.rs:93-252 \u2014 These two members are variants of one another: 133 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"7476e89a93ca218b7be4735cb7788cb543577d0df4d3876f34c5a5d2c64cbc89"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (130 shared lines): sea-orm-arrow/src/lib.rs:698-970 | sea-orm-arrow/src/lib.rs:980-1262 \u2014 These two members are variants of one another: 130 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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c6d8fb187c127907266bce51cffa53ee3d70c4e589ad6ccda764b964102bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (89 shared lines): sea-orm-sync/src/database/transaction.rs:629-735 | src/database/transaction.rs:665-771 \u2014 These two members are variants of one another: 89 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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"70356ab65da9e78245797099109a640138c22b3f616446b142fa63a64f18be86"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): sea-orm-sync/src/query/loader.rs:1139-1229 | src/query/loader.rs:1226-1317 \u2014 These two members are variants of one another: 84 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c721fcda73653c2849fca61a42b071b792b2cbf724f3ca9f4aac64fbed0e1c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): sea-orm-macros/src/derives/model_ex.rs:678-813 | sea-orm-macros/src/derives/model_ex.rs:905-984 \u2014 These two members are variants of one another: 59 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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a533272f33edacfc61b0b315dff99888f128b1d449aa97594f13d92367292f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): sea-orm-macros/src/derives/entity_loader.rs:291-336 | sea-orm-macros/src/derives/entity_loader.rs:342-400 \u2014 These two members are variants of one another: 33 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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8d454ed0e9bdb78a697832265d83a80a97f6efa5dcf73ddc8df852d4f58a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): sea-orm-sync/src/entity/active_model.rs:1002-1035 | src/entity/active_model.rs:1011-1045 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"7415f1271be2590b1448005f9b38589392b1afeb94537c74e970eaf97398bb08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sea-orm-sync/src/rbac/context.rs:261-278 | src/rbac/context.rs:273-291 \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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"51613469f7d6d0f04e54270f3025ec7e1df0e5a458ef759437b3c4e1efcdb5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): sea-orm-sync/src/database/transaction.rs:220-269 | sea-orm-sync/src/database/transaction.rs:274-323 | sea-orm-sync/src/database/transaction.rs:391-444 | sea-orm-sync/src/database/transaction.rs:448-503 | sea-orm-sync/src/database/transaction.rs:507-563 | sea-orm-sync/src/database/transaction.rs:567-626 | src/database/transaction.rs:242-294 | src/database/transaction.rs:299-351 | src/database/transaction.rs:421-474 | src/database/transaction.rs:478-536 | src/database/transaction.rs:540-596 | src/database/transaction.rs:600-662 \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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07c10527f4d8feaae5ca60b28b49d0c081582cc9313bdb79f563331848fb6e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sea-orm-sync/src/driver/sqlx_mysql.rs:401-555 | sea-orm-sync/src/driver/sqlx_postgres.rs:437-965 | sea-orm-sync/src/driver/sqlx_sqlite.rs:427-523 | src/driver/sqlx_mysql.rs:409-563 | src/driver/sqlx_postgres.rs:450-978 | src/driver/sqlx_sqlite.rs:436-532 \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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e781e87218791e60b8bc037197a4793f99e9d75712e29133eceea0e3174f3c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): sea-orm-sync/src/entity/active_model.rs:689-705 | sea-orm-sync/src/entity/active_model.rs:781-793 | sea-orm-sync/src/entity/active_model.rs:815-827 | src/entity/active_model.rs:697-713 | src/entity/active_model.rs:789-801 | src/entity/active_model.rs:823-835 \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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"9220a4cdd51b0a417c1b5c30db64bef459cc94d7945f97fab168f26210ab9586"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-macros/src/derives/active_model_ex.rs:1116-1170 | sea-orm-macros/src/derives/active_model_ex.rs:1172-1189 | sea-orm-macros/src/derives/active_model_ex.rs:1349-1386 | sea-orm-macros/src/derives/active_model_ex.rs:1388-1404 \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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"86632fc545d1bca56d60f882cf2ffa4a22d3a2fc34ee0f2046b7cd3fde1dcc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/database/mock.rs:232-251 | sea-orm-sync/src/database/proxy.rs:195-214 | src/database/mock.rs:232-251 | src/database/proxy.rs:196-215 \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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77fcad8b869a2c2ed00bf6c205bcb35a114d57d5f91fbd32d29ea525c92ae19"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/driver/rusqlite.rs:328-344 | sea-orm-sync/src/driver/rusqlite.rs:501-516 | src/driver/rusqlite.rs:328-344 | src/driver/rusqlite.rs:501-516 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2a2f3991b8301e3bb29b1fd1a060d215f17f4e0548bb0c9169295f4b59bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/driver/rusqlite.rs:348-361 | sea-orm-sync/src/driver/rusqlite.rs:519-531 | src/driver/rusqlite.rs:348-361 | src/driver/rusqlite.rs:519-531 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5aadfd6e6ca86af930e306848c1bd23a6fc3cddee7acfbb39dd54f211e7de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/driver/sqlx_mysql.rs:338-359 | sea-orm-sync/src/driver/sqlx_postgres.rs:373-391 | src/driver/sqlx_mysql.rs:345-366 | src/driver/sqlx_postgres.rs:384-403 \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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a85e895a7c323344ee3a521a5068705e65332369a43f1edb38b21c9f1447aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/entity/column.rs:437-448 | sea-orm-sync/src/entity/column.rs:474-485 | src/entity/column.rs:437-448 | src/entity/column.rs:474-485 \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":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"769f6fa47e73d9a92b566b060248b528fded73fd342ae99d28bc6a295cf93624"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/entity/link.rs:38-66 | sea-orm-sync/src/query/join.rs:122-165 | src/entity/link.rs:38-66 | src/query/join.rs:122-165 \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":"sea-orm-sync/src/entity/link.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5db543760a2c713a55b957bb28dc0615b8a630e6159e00eb5bbd337274cdddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/executor/cursor.rs:313-327 | sea-orm-sync/src/executor/cursor.rs:340-354 | src/executor/cursor.rs:315-329 | src/executor/cursor.rs:342-356 \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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2c56ae25075e5379b5c4a95e15bb8586ff96a30b787d3ca67847cc6e977901"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/executor/cursor.rs:438-454 | sea-orm-sync/src/executor/cursor.rs:493-522 | src/executor/cursor.rs:440-456 | src/executor/cursor.rs:495-524 \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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b21c429229e91e62c7afa60f82fbc5f94d3a7c4aa5de048d15acfd5e7673bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/executor/delete.rs:151-166 | sea-orm-sync/src/executor/delete.rs:175-190 | src/executor/delete.rs:151-168 | src/executor/delete.rs:177-194 \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":"sea-orm-sync/src/executor/delete.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2660a926f3dd48773884457fbf7ef022c253908b0af09b18561e6155739d0e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/executor/insert.rs:498-523 | sea-orm-sync/src/executor/insert.rs:566-585 | src/executor/insert.rs:509-537 | src/executor/insert.rs:580-600 \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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d82551184af4dd0712d40232005caa9ceae605b8065121ee1b8979f7c64fe70"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/executor/select.rs:909-924 | sea-orm-sync/src/executor/select.rs:1202-1217 | src/executor/select.rs:924-939 | src/executor/select.rs:1228-1243 \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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8740c8847b5cc15844badf85a8ae4b0eacc0db53da51724390838f74bc41421"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:9-29 | sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:36-61 | src/rbac/engine/role_hierarchy_impl.rs:9-29 | src/rbac/engine/role_hierarchy_impl.rs:36-61 \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":"sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7dd823b5a2ad266e5f973ab189e1f43ba81b5df54451a86712dc10f505d96b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (127 corresponding lines): sea-orm-sync/src/entity/active_model.rs:1235-1361 | src/entity/active_model.rs:1246-1377 \u2014 These two members are one piece of code written twice and then edited apart: 127 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bdb0fe68e44c46aadd19a7462cab64f5b7e8a07b21a821452fbcfbe6fef228"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): sea-orm-sync/src/driver/sqlx_postgres.rs:68-160 | src/driver/sqlx_postgres.rs:68-165 \u2014 These two members are one piece of code written twice and then edited apart: 93 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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"879986e3083ccb35b5005a07ad7c53530670a767880ba0c71f476002c65ba720"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): sea-orm-sync/src/database/transaction.rs:82-165 | src/database/transaction.rs:89-178 \u2014 These two members are one piece of code written twice and then edited apart: 84 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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a9ca0e96613623c971e58dd765e369a0aa21600f4ffb8084b010282c1dd565"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): sea-orm-sync/src/database/db_connection.rs:305-356 | src/database/db_connection.rs:326-377 \u2014 These two members are one piece of code written twice and then edited apart: 52 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d374d4403db9969eb400fb1d25f90d234e16b0bd4e7edfe6f20f3e87a893c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): sea-orm-arrow/src/lib.rs:419-455 | sea-orm-arrow/src/lib.rs:527-584 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c647e2b7db44b5f0e8894c55edcb0d4405f215273c9fca0d7e00900a94d6ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): sea-orm-sync/src/executor/insert.rs:435-479 | src/executor/insert.rs:443-487 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72708c75b992774bd157089f458ab604ed832eec84b5cfd0d1a2b94063d12d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 58\u002B corresponding lines): sea-orm-sync/src/driver/sqlx_mysql.rs:68-125 | sea-orm-sync/src/driver/sqlx_sqlite.rs:69-144 | src/driver/sqlx_mysql.rs:68-126 | src/driver/sqlx_sqlite.rs:69-145 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 58 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7cd70f39603c847d89b74bff48227c291f523ae2060e2fc181648fb34d4c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): sea-orm-migration/src/migrator/exec.rs:266-305 | sea-orm-migration/src/migrator/exec.rs:312-351 \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":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba58702a327e39fc3de6a2bb2565f090ebf0a08125e1631f94771ab0b83e7665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): sea-orm-sync/src/database/mod.rs:192-227 | src/database/mod.rs:208-243 \u2014 These two members are one piece of code written twice and then edited apart: 36 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":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf079cb3a51f58961013a7de93f0d272a4a648bb877d458bd0b6cccc7803750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): sea-orm-macros/src/derives/entity_loader.rs:157-213 | sea-orm-macros/src/derives/entity_loader.rs:219-267 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bb100c15c744863368ff02cf2edf848bf0fe2ed88da83ef96f517033d9f842"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 33\u002B corresponding lines): sea-orm-sync/src/database/db_connection.rs:505-537 | sea-orm-sync/src/database/db_connection.rs:551-583 | src/database/db_connection.rs:544-578 | src/database/db_connection.rs:596-633 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"68168ca84f560ec608f767fc8980fdf3a01e7eae41b99b35867ed29ffa323130"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): sea-orm-sync/src/executor/update.rs:139-171 | src/executor/update.rs:144-177 \u2014 These two members are one piece of code written twice and then edited apart: 33 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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4917fa2dfdce7524070d95bb76a186c6277fd4b5c58557b8c9ec17d48a5cd3fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): sea-orm-sync/src/rbac/context.rs:184-215 | src/rbac/context.rs:194-226 \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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4d0d5857f693c51816f97b0e5b04ceca4c5168d7fc379cfa8446c4b8c109cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): sea-orm-sync/src/rbac/context.rs:221-255 | src/rbac/context.rs:232-267 \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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8723f92ab7bf257d98c85da088f97ee60296612ad1e3c67d8141936c04dacce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): sea-orm-arrow/src/lib.rs:1294-1325 | sea-orm-arrow/src/lib.rs:1331-1358 \u2014 These two members are one piece of code written twice and then edited apart: 28 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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e235be2ce710303511a68eeafc375a0a3abe9f6ef231f33e96e3806252e6960b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): sea-orm-sync/src/driver/rusqlite.rs:390-411 | src/driver/rusqlite.rs:390-411 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e8682dd902ca86f34b57503c93ef157d5d536f306d4c22fdb9f66bd7c5d32c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): sea-orm-sync/src/driver/rusqlite.rs:365-386 | src/driver/rusqlite.rs:365-386 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f49b390b8dba21d6700b090119474f6d90ca65ae8d166c33d001313a2b8e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sea-orm-sync/src/driver/rusqlite.rs:565-585 | src/driver/rusqlite.rs:565-585 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"272a25ddd087c067be5d064a1ac48f7ce80f75405beef8d5b7cf13c053956dc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 21\u002B corresponding lines): sea-orm-sync/src/database/db_connection.rs:403-423 | sea-orm-sync/src/database/db_connection.rs:430-458 | sea-orm-sync/src/database/db_connection.rs:468-496 | src/database/db_connection.rs:433-457 | src/database/db_connection.rs:464-492 | src/database/db_connection.rs:502-531 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf7a08fc93d83321c3ecb7f674a36c29b8c351485f2df937437222ec326ad5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 25\u002B corresponding lines): sea-orm-sync/src/database/db_connection.rs:163-187 | sea-orm-sync/src/database/db_connection.rs:191-231 | sea-orm-sync/src/database/db_connection.rs:235-261 | sea-orm-sync/src/database/db_connection.rs:265-291 | src/database/db_connection.rs:164-196 | src/database/db_connection.rs:200-240 | src/database/db_connection.rs:244-276 | src/database/db_connection.rs:280-312 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 25 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b002c9c55b6a2a3508f90d47f4df24cee7b88e84c83c9c4150a66f42fc91d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sea-orm-sync/src/driver/rusqlite.rs:538-558 | src/driver/rusqlite.rs:538-558 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7ccaa18f422bb47d4c54ff64bf2fa21e5552d6dade1527ae2471923c803af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): sea-orm-arrow/src/lib.rs:397-416 | sea-orm-arrow/src/lib.rs:505-524 \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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfb2752ed2d78abbb82b9a30549b7aa76e1f73421f4f2de57a082a0d668195f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): sea-orm-sync/src/rbac/context.rs:43-73 | src/rbac/context.rs:43-78 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"918420c88abba8265805b3eeebbc6634ee510c4621ebf7b0a765a1fbc30c48bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): sea-orm-migration/src/manager.rs:142-167 | sea-orm-migration/src/manager.rs:173-198 | sea-orm-migration/src/manager.rs:205-229 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"sea-orm-migration/src/manager.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"17edc63af05ee838eff171b3ce7ca8b3930c2f4a202243d04fd11bedaee8591d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): sea-orm-sync/src/executor/insert.rs:533-556 | src/executor/insert.rs:547-570 \u2014 These two members are one piece of code written twice and then edited apart: 24 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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbcdd66ca47c2d86eaa00a3e85c8930b330a932f14116235e09423502884d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sea-orm-sync/src/driver/mock.rs:182-197 | src/driver/mock.rs:183-198 \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":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0c7fc6110ab1da369dca8f822379f85c3a658b44bc3b454e6b3b4b72565f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): sea-orm-sync/src/executor/update.rs:177-199 | src/executor/update.rs:183-206 \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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71e867a444f92b687daafb8bb4b964d4a7698378118675a7376f871fac945bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sea-orm-macros/src/derives/entity_loader.rs:517-537 | sea-orm-macros/src/derives/entity_loader.rs:543-563 \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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04325854f1a6ee462d80d6e6fd9de69ff0c21d3a3106b08328121d16c2d940e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): src/database/db_connection.rs:403-425 | src/database/db_connection.rs:857-873 | src/database/db_connection.rs:882-904 \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":"src/database/db_connection.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"591d7794c350d21e41d8be7465ae92b1623a08603eda73d7c1d15b80be36e257"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): sea-orm-sync/src/database/db_connection.rs:374-396 | sea-orm-sync/src/database/db_connection.rs:804-820 | sea-orm-sync/src/database/db_connection.rs:829-851 \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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0760458a08296f07c91f1ce74d9b08025fbe131a785ecc2661b371470b1fead"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sea-orm-sync/src/rbac/context.rs:287-307 | src/rbac/context.rs:300-321 \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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbf52fe11cebfdc0ed7e2f7b82b7688bc40c05173f0355fee148160842262d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sea-orm-sync/src/executor/update.rs:213-229 | src/executor/update.rs:220-236 \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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"51821cbb0134724994439c805135fafcabeef5b7843ae7b9b83330320cec5e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): sea-orm-arrow/src/lib.rs:1428-1447 | sea-orm-arrow/src/lib.rs:1465-1483 \u2014 These two members are one piece of code written twice and then edited apart: 19 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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f0aae09015bda54d7563480a0a4a5020ca63ea72c21437f16fca392b4c33ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): sea-orm-sync/src/driver/sqlx_common.rs:101-127 | src/driver/sqlx_common.rs:103-129 \u2014 These two members are one piece of code written twice and then edited apart: 27 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":"sea-orm-sync/src/driver/sqlx_common.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0225a3f49e6afc38070df5ecadd8db29891673b9254781a02942f7d6df5401d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): sea-orm-sync/src/executor/cursor.rs:285-307 | sea-orm-sync/src/executor/paginator.rs:52-74 | src/executor/cursor.rs:285-309 | src/executor/paginator.rs:54-78 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68e70c87a78d6b1b9825e9ad7518a1f0d35e243dde543f2feaf2b508d899429"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/executor/consolidate.rs:67-73 | src/executor/consolidate.rs: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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"faccce26ebf550949b0814ee1637bb1ef7c992349263b551a2aee5c44847506b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sea-orm-sync/src/schema/builder.rs:373-386 | src/schema/builder.rs:377-390 \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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"db01682b96c1e010bdf2035ad75387259741160158baeeccac060bd9a01803e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sea-orm-migration/src/migrator/queries.rs:11-28 | sea-orm-migration/src/migrator/queries.rs:34-48 \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":"sea-orm-migration/src/migrator/queries.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df85eeda7c89cd3d885ca3975bde6cd8c722258a8c6999552094d899180ca60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): sea-orm-sync/src/executor/paginator.rs:82-100 | sea-orm-sync/src/executor/paginator.rs:295-309 | src/executor/paginator.rs:86-104 | src/executor/paginator.rs:304-318 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f38222b90404c24fda442e2e68ba00c069e5def14048398fe56a11e343b6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): sea-orm-sync/src/executor/consolidate.rs:31-37 | sea-orm-sync/src/executor/consolidate.rs:46-52 | src/executor/consolidate.rs:31-37 | src/executor/consolidate.rs:46-52 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7910454431497f45e2afb75b4d5380dcad7ba37334bf3dc1d04164951a7dd4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/entity/relation.rs:577-584 | src/entity/relation.rs:577-584 \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":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"822d0e30d0dad34cec19b2f4a078ba2605c0086c2661db0176c496897f8c0fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sea-orm-sync/src/rbac/schema.rs:48-63 | src/rbac/schema.rs:52-67 \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":"sea-orm-sync/src/rbac/schema.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac80b875a3bf2e1bb7361ec97dff873a413150fc9766d91c7a18aa0969e37a37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/executor/consolidate.rs:15-22 | src/executor/consolidate.rs:15-22 \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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7929747d7f20f43deb5658461080b3a1fd0262f67b6396db2e9ba03405d971cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sea-orm-arrow/src/lib.rs:270-286 | sea-orm-arrow/src/lib.rs:309-325 \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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e279df482ce43ea6790cb1d43340c552e655d9b7000c800256c040bc2e8cdb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/executor/consolidate.rs:78-84 | src/executor/consolidate.rs:78-84 \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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1163379e95a337b9ce1ea2b690064bd87d04e1afc516ed51c1ca8e7612ea3306"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): sea-orm-sync/src/rbac/context.rs:80-97 | sea-orm-sync/src/rbac/context.rs:100-123 | sea-orm-sync/src/rbac/context.rs:130-147 | src/rbac/context.rs:85-103 | src/rbac/context.rs:137-155 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9c300dd701490272dd4c470567d02ff16acd06eaa04b0e8c945c4f05ae5286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sea-orm-sync/src/database/transaction.rs:752-764 | src/database/transaction.rs:794-806 \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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da5b878d63e64f0ee82dbfc6ea9448f823afab4fffb4e4fcdd6ae4cd270be58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sea-orm-sync/src/schema/builder.rs:253-267 | src/schema/builder.rs:257-271 \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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e40fb2b013a1777ee38c5f14ed001815897fde69697d7b33f9e990121e94f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): sea-orm-sync/src/database/sea_schema_shim.rs:37-49 | sea-orm-sync/src/database/sea_schema_shim.rs:51-63 | src/database/sea_schema_shim.rs:46-58 | src/database/sea_schema_shim.rs:60-72 \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":"sea-orm-sync/src/database/sea_schema_shim.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb94fed578b1cabf3a64a136fb916e2f28c1772101e80177e5d198e6496622d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): sea-orm-sync/src/entity/active_model.rs:978-993 | src/entity/active_model.rs:986-1002 \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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fc71fe456fbabaa168539fab2549ddcdc498791f2990619c5f45a7e9f710d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): sea-orm-sync/src/driver/sqlx_mysql.rs:158-166 | sea-orm-sync/src/driver/sqlx_postgres.rs:193-201 | sea-orm-sync/src/driver/sqlx_sqlite.rs:177-185 | src/driver/sqlx_mysql.rs:159-167 | src/driver/sqlx_postgres.rs:198-206 | src/driver/sqlx_sqlite.rs:178-186 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d761fe764408eb8227254996814e70d3b1c81cc41513f11eb3aa2f3d140440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): sea-orm-sync/src/executor/paginator.rs:243-257 | src/executor/paginator.rs:251-265 \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":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"063b2be116ff58e7dfed25068dca7ed9a47caaf66b3d8078b27194a052abc437"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): sea-orm-sync/src/driver/proxy.rs:66-77 | src/driver/proxy.rs:66-77 \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":"sea-orm-sync/src/driver/proxy.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fc0c9ba9a3f1095b631fcf803e7c545810d58e01732f9b71304aace013bef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-sync/src/driver/rusqlite.rs:471-479 | src/driver/rusqlite.rs:471-479 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b73475bdc263e57ee8c7bf3b62a84a158d5221c8004032b20200ef2d0806b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): src/executor/insert.rs:104-114 | src/executor/insert.rs:121-131 | src/executor/insert.rs:141-151 | src/executor/insert.rs:161-172 | src/executor/insert.rs:182-193 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/insert.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"061603dc6c622680a48208836eb61c2bbdb70a2d08efd9da4f193a3a7b567dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): sea-orm-sync/src/executor/insert.rs:104-114 | sea-orm-sync/src/executor/insert.rs:121-131 | sea-orm-sync/src/executor/insert.rs:141-151 | sea-orm-sync/src/executor/insert.rs:161-172 | sea-orm-sync/src/executor/insert.rs:182-193 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e293bbf32a8d3b7aa7a4ad32235e4faf380bec4efba2785b1ce13ab9d0e4f876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): sea-orm-sync/src/executor/update.rs:118-129 | src/executor/update.rs:123-134 \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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49a8f227d02eb976a351cc8ad5115b8c628d9719cb5f5cd3c40440a08ec0b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sea-orm-macros/src/derives/value_type_match.rs:9-21 | sea-orm-macros/src/derives/value_type_match.rs:194-206 \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":"sea-orm-macros/src/derives/value_type_match.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ada103969e38a1d7fb93ad61f946a8dc246c75770f4046820e15116958a2cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sea-orm-sync/src/executor/insert.rs:276-289 | src/executor/insert.rs:284-297 \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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1db78c9f5dc809bc684ebddcc08837541d490627954f642b5dd1a6ca70f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): sea-orm-sync/src/executor/select.rs:888-901 | sea-orm-sync/src/executor/select.rs:1181-1194 | src/executor/select.rs:899-915 | src/executor/select.rs:1203-1219 \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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd50b088495b894c476174644161d150bbc70524ed425a8b11ed6b2d2fa7829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-sync/src/schema/builder.rs:669-677 | src/schema/builder.rs:678-686 \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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a449c60a86cd6b264f948e4e036037695d5423a4db6c29cdd1c497d53b8b1365"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sea-orm-codegen/src/entity/writer/dense.rs:157-179 | sea-orm-codegen/src/entity/writer/frontend.rs:53-73 \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":"sea-orm-codegen/src/entity/writer/dense.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e95c168b675f185e4584b8bac1987550a46f5b923a1f2d469f9e582329998e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): sea-orm-macros/src/derives/active_enum_display.rs:98-108 | sea-orm-macros/src/derives/into_active_model.rs:278-288 | sea-orm-macros/src/derives/related_entity.rs:146-159 | sea-orm-macros/src/derives/relation.rs:238-248 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_enum_display.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f5ea2ef801cc571c65b33c8b2e82081b5767c29b2a9f3335221efe95659333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/query/helper.rs:900-907 | src/query/helper.rs:900-907 \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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad598cc7d1cc93ddbc5e9d4cec7178fbfa79e8b650115165bd78c6e14a17749"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/query/helper.rs:915-922 | src/query/helper.rs:915-922 \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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"4843a1be6a7f66b464d1c3da14692e37bda4645ba154335048655e5223314e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-sync/src/database/tracing_spans.rs:67-75 | src/database/tracing_spans.rs:67-75 \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":"sea-orm-sync/src/database/tracing_spans.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc0a198a87685732ea06e081e23d2935405a66224dca7c9866fdce54e2d8fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/entity/active_value.rs:621-628 | src/entity/active_value.rs:621-628 \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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca2f45d94ebbca5870aa43f35f480d43527a2f22f0aaf6811bdc66352a5557c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): sea-orm-sync/src/entity/column.rs:138-146 | sea-orm-sync/src/entity/column.rs:170-178 | src/entity/column.rs:138-146 | src/entity/column.rs:170-178 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"156d05c1fa1b6b1a0a9bd030e297eae3ddb9d75a86b29210c9cdb7597c7a2b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-sync/src/value/text_uuid.rs:59-67 | src/value/text_uuid.rs:59-67 \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":"sea-orm-sync/src/value/text_uuid.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c3327d0e9688b508d2d3b562d7531baacee1003bd056b8feba4237a7fe4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): sea-orm-sync/src/driver/sqlx_mysql.rs:268-279 | sea-orm-sync/src/driver/sqlx_postgres.rs:303-314 | sea-orm-sync/src/driver/sqlx_sqlite.rs:289-301 | src/driver/sqlx_mysql.rs:274-286 | src/driver/sqlx_postgres.rs:313-325 | src/driver/sqlx_sqlite.rs:295-308 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"268d80072e0ab0adc4c96b6172c971acccfb8e0bff3b52846c87aa81221bde51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/entity/relation.rs:566-573 | src/entity/relation.rs:566-573 \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":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"81431d1f8452091f2a06a65dd4adb5328d1fcca6a75490204bd848168e650af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/schema/entity.rs:113-119 | src/schema/entity.rs:113-119 \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":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd62838f3466a997e65c8df579b04269afdcae3346dfdd2fa28e2f593ea4facb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): sea-orm-sync/src/database/executor.rs:164-176 | src/database/executor.rs:177-194 \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":"sea-orm-sync/src/database/executor.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"14261ea0b49ca44a5e5cf2d35011b2b5ec8da529a60f7a20ac51204eec465a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): sea-orm-sync/src/entity/active_model_ex.rs:198-204 | sea-orm-sync/src/entity/active_model_ex.rs:264-270 | src/entity/active_model_ex.rs:198-204 | src/entity/active_model_ex.rs:264-270 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"74231363e1909b5ae721b40565d386cb6ab6f0a55d3f0d6254a932c9fdfa1d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/value/text_uuid.rs:48-54 | src/value/text_uuid.rs:48-54 \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":"sea-orm-sync/src/value/text_uuid.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4f836c15b05e6544c14f62f350c8e34e462a1a2a9c6220702bce31a316e826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-codegen/src/entity/writer.rs:145-153 | sea-orm-codegen/src/entity/writer.rs:160-171 \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":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"daab877f73e2779d1ef6369b60bdf5123d5f5acc7dbd19de10b1075f1e63a1f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): sea-orm-macros/src/lib.rs:190-206 | sea-orm-macros/src/lib.rs:211-227 \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":"sea-orm-macros/src/lib.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19c9577585541036e93d40c135fc06275a74db1fb939789812941b9f8d1aa98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): src/database/transaction.rs:55-71 | sea-orm-sync/src/database/transaction.rs:54-64 \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":"src/database/transaction.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44b0876656088c8b6cd89b72e63025f13bd9c7d6277bd6a0a21c7d5057a40c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): src/database/executor.rs:123-135 | sea-orm-sync/src/database/executor.rs:118-130 \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":"src/database/executor.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eec7e08a72666624a76585139ab55dfdea4714da9e2de8d7d9c5957d22ad45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-sync/src/driver/proxy.rs:81-91 | src/driver/proxy.rs:81-91 \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":"sea-orm-sync/src/driver/proxy.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d22d4921ed5d39cfb701d492604e810c63e3a58cc389cc7f97d69d2d9c938bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): src/entity/active_model.rs:452-458 | sea-orm-sync/src/entity/active_model.rs:444-450 \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":"src/entity/active_model.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38f0a54fd599d7b44b32284b58341d1979c5498bba3a599adbd78055751acec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/executor/insert.rs:205-212 | src/executor/insert.rs:205-212 \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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"184a614f6ecab1bd174ea6bab8ab30765bba41a3aba31d1e80510822598a6543"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): src/entity/active_model.rs:352-356 | sea-orm-sync/src/entity/active_model.rs:345-349 \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":"src/entity/active_model.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8578698ade9bd68abae688b8015686aa33d093f28275fbf169a9ba7701b5526d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): sea-orm-sync/src/dynamic/execute.rs:86-93 | sea-orm-sync/src/executor/select.rs:862-869 | src/dynamic/execute.rs:86-93 | src/executor/select.rs:873-880 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/execute.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2675cefeac776c2369438ad7400dd72406f0911e56b0ef3f3aed47056f14106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-migration/src/migrator.rs:190-200 | sea-orm-migration/src/migrator/with_self.rs:150-160 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deeaa6dc12278a03ca5b381e40b0e9cc2bee5c0fc8b634a8de3a19b97fc2b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): sea-orm-sync/src/entity/active_model.rs:919-924 | sea-orm-sync/src/entity/active_model.rs:942-947 | sea-orm-sync/src/entity/active_model.rs:965-970 | src/entity/active_model.rs:927-932 | src/entity/active_model.rs:950-955 | src/entity/active_model.rs:973-978 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a58c7b329b24d3627b9bc8b728de0d7e3b6e11a62ddfabceea1198601e248f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): issues/262/src/main.rs:5-14 | issues/319/src/main.rs:5-14 \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":"issues/262/src/main.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c32b802d6927f9319ae90e255089fc8579917baa57e22fc5a42f65466f51c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sea-orm-sync/src/executor/select.rs:201-204 | src/executor/select.rs:203-206 \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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"65be8c251f1d9838d0029a37c9242bed28c4d9faccf04eba5478bb70ee9db6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/database/connection.rs:125-132 | src/database/connection.rs:134-141 \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":"sea-orm-sync/src/database/connection.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4d405a17126b641438ffc3f5f18fc817b002cc8cc95cbbc126981a7460494"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sea-orm-sync/src/entity/active_model.rs:227-231 | src/entity/active_model.rs:230-236 \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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a7b6685c1a5866d233f5fa056df0f3befa1ba89b41c3971e6c869b9cd044b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-sync/src/database/transaction.rs:804-814 | src/database/transaction.rs:849-860 \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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"994eb935c8977c12dea0c92d61be3deb7ccdddaa3d2c9bd417b1825bb52dd976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-sync/src/driver/sqlx_sqlite.rs:266-276 | src/driver/sqlx_sqlite.rs:267-278 \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":"sea-orm-sync/src/driver/sqlx_sqlite.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"037afc578d94baea84f7cb3b59601e71e736ce8f1e39af442bc58f8a41ef289d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): sea-orm-sync/src/executor/returning.rs:31-37 | sea-orm-sync/src/executor/select.rs:1124-1130 | src/executor/returning.rs:31-37 | src/executor/select.rs:1144-1150 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/returning.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"097270254b25c39c1c027976688d611a258f2ccebe1631d53c0ffd7c1eda6466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-migration/src/migrator.rs:109-116 | sea-orm-migration/src/migrator/with_self.rs:65-73 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e96a88a30f6a47ef835190cae883e5b44e8f2754585f9ea456c1f4f0889fc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-migration/src/migrator.rs:122-129 | sea-orm-migration/src/migrator/with_self.rs:79-87 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"713af29ba490319b010d799c244a69dcc4010c6f97e713f0c0496696a0fe9b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-sync/src/driver/sqlx_sqlite.rs:413-423 | src/driver/sqlx_sqlite.rs:421-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":"sea-orm-sync/src/driver/sqlx_sqlite.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c7327b0bbdb6166b2904c63f94254b3e85fbcf9cadaf9b2361a5a2d1421ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sea-orm-migration/src/migrator.rs:216-221 | sea-orm-migration/src/migrator/with_self.rs:176-181 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5c829f2ad702513092de0b2965c936542c6dac2ca41907352ba14b798ae90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-sync/src/query/loader.rs:1113-1121 | src/query/loader.rs:1198-1207 \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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e43b09f599b1392f4a91d8e9a2757ef140fe94aeba6bd582343dde0c7534b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/database/restricted_connection.rs:308-314 | src/database/restricted_connection.rs:323-332 \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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d9f60088c1acb87b4b446cc35b3f8b054c8ee3d1bac424e1b4f1d282a7afef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-sync/src/database/transaction.rs:771-781 | src/database/transaction.rs:814-825 \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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"797cf78c8e5d72da1e20f81f446d36e1766dff815a372f1e4684b04da2df59a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): sea-orm-sync/src/database/transaction.rs:788-798 | src/database/transaction.rs:832-843 \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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afd48ab4c34fcc769832fcc402a097bad7eecbcdbfd392c39a02f04d50eb4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sea-orm-sync/src/entity/active_model.rs:677-680 | src/entity/active_model.rs:685-688 \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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"18450c243d86c4d6fbd661b1d317f99c23949704e978aee8412c8f62aea4c4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sea-orm-sync/src/entity/base_entity.rs:228-231 | src/entity/base_entity.rs:229-232 \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":"sea-orm-sync/src/entity/base_entity.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c6e734c4b3e0c47092461831fd4ecff3d8867ca5cf68f00bfad62a7becb36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/database/restricted_connection.rs:320-326 | src/database/restricted_connection.rs:338-344 \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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"437823ac70983f6053ff4eaf120b488afbb6c6489974c80b9d447454a2d52a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/database/restricted_connection.rs:377-383 | src/database/restricted_connection.rs:405-414 \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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3ae6723a0dcf3e904b82016e0e854bd90fdb466d38aabb3b5cb7db330b7a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/database/restricted_connection.rs:295-301 | src/database/restricted_connection.rs:310-316 \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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ef26f5fe8dfa4c85b95689b96707912dceab83355de62fa278bb64a09b53d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/database/restricted_connection.rs:389-395 | src/database/restricted_connection.rs:420-426 \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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"652d65b7c2adbb1d7b088ae2957e1b0a02c51e2afa0b3df0767a4245f303f11f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sea-orm-sync/src/entity/model.rs:57-60 | src/entity/model.rs:58-61 \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":"sea-orm-sync/src/entity/model.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2a2f58500c48c1d11a11c226480e1a24e676b24b21c0113719af03e636e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-sync/src/database/restricted_connection.rs:364-370 | src/database/restricted_connection.rs:392-398 \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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c604feb2e7bd99964d91ad57e6f6b0277d359fd0b735c068e5d8dbf4952d54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sea-orm-sync/src/dynamic/execute.rs:99-104 | src/dynamic/execute.rs:99-105 \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":"sea-orm-sync/src/dynamic/execute.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de719e19098a2f8332b4b788b78026f1bfa6fda49205f6f99de376245198284"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-migration/src/migrator.rs:155-161 | sea-orm-migration/src/migrator/with_self.rs:113-120 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd003fb33e4173919417bf37781fa063cfa113b21c3abb48c5a58382fe598eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): sea-orm-migration/src/migrator.rs:170-176 | sea-orm-migration/src/migrator/with_self.rs:129-136 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c9652604657d030fe747efc6b1658c3a627df0184dcb12847a830519bf3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sea-orm-sync/src/executor/query.rs:190-193 | src/executor/query.rs:190-193 \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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6def505b1ab05d865273a5f5eb2d1c8c784da1c936e711c776f8d1bdee0f3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): issues/324/src/model.rs:48-83 | issues/400/src/model.rs:49-52 \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":"issues/324/src/model.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b9a7ce6ce24e46e40eda2cbfea0f31ed8ec025fc79365520c48cdf99b9003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): sea-orm-sync/src/entity/relation.rs:74-76 | src/entity/relation.rs:74-76 \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":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d476d3bf6fa21515fb5685aba74206be8bcc472e07b935bc6f9e85eb53245659"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): sea-orm-sync/src/executor/returning.rs:42-47 | src/executor/returning.rs:42-48 \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":"sea-orm-sync/src/executor/returning.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"949a15e2120b6051fbbcd418fc85ab57959cfa58908c9297dfc63581691b302a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sea-orm-migration/src/migrator.rs:245-249 | sea-orm-migration/src/migrator/with_self.rs: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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4207d98a5d646cda0de2f2e4f62db77e5b1960ebe962b6081f619959e3ff62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): sea-orm-sync/src/dynamic/entity.rs:142-145 | sea-orm-sync/src/entity/column.rs:318-321 | src/dynamic/entity.rs:142-145 | src/entity/column.rs:318-321 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/entity.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ce434a993c764330286570ff0803499f65c168a174385d87a24f1b833deaa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): sea-orm-sync/src/dynamic/entity.rs:150-153 | sea-orm-sync/src/entity/column.rs:342-345 | src/dynamic/entity.rs:150-153 | src/entity/column.rs:342-345 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/entity.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b7c2fde3ad985a2ac0834f5adb1a1f44beb499913c9424e69e92d07d6b632"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): sea-orm-sync/src/dynamic/entity.rs:158-161 | sea-orm-sync/src/entity/column.rs:366-369 | src/dynamic/entity.rs:158-161 | src/entity/column.rs:366-369 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/entity.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf544943036d92c8b32a3cc8fb32895d3b20ab08a7cb54307944cc132fd7ac82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sea-orm-migration/src/migrator.rs:73-81 | sea-orm-migration/src/migrator/with_self.rs:29-37 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e25bc3beea23c4217a720aa93ae6fc96562e82c2f9c941f8dd9b83a9ee159e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): sea-orm-sync/src/driver/rusqlite.rs:664-667 | src/driver/rusqlite.rs:664-667 \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f1bcd8c077ceb68860432eab439940e2748d5a336e010a6ff9567a1c23e106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sea-orm-migration/src/migrator.rs:255-259 | sea-orm-migration/src/migrator/with_self.rs:211-215 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dbd8d5d38b49aff1963231f6993fdffb7572f394551ae50930528ae5559150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sea-orm-migration/src/migrator.rs:265-269 | sea-orm-migration/src/migrator/with_self.rs:221-225 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d392461385a7201c85c433537e848d556369be5f5630e8abaa85ce25b285e9d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): sea-orm-sync/src/database/stream/query.rs:124-127 | sea-orm-sync/src/database/stream/transaction.rs:117-120 | src/database/stream/query.rs:126-129 | src/database/stream/transaction.rs:118-121 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f557317f4c70a0d1da122cc128858a2582345da08e2f68071054c23d8540d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): sea-orm-sync/src/entity/relation.rs:56-58 | src/entity/relation.rs:56-58 \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":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ed9c07e5997d0d1766aba4d1560eb856ebd24e857d8cab7d627f68371cf564"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): sea-orm-migration/src/migrator.rs:206-210 | sea-orm-migration/src/migrator/with_self.rs:166-170 \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":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"47377007aa43edde6a7f0986896c8b0ef489348cf14202661bf81517850cca5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (525 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:441-965 | src/driver/sqlx_postgres.rs:454-978 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 701 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 \u0060sea-orm-sync/src/driver/sqlx_postgres.rs:441\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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b98159bbce998416e67baa65b271e1e9f5addd121bbc309cf748a5f9b0621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (96 lines \u00D7 2): sea-orm-sync/src/error.rs:253-348 | src/error.rs:253-348 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/error.rs\u0060 and \u0060src/error.rs\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 \u0060sea-orm-sync/src/error.rs:253\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":"sea-orm-sync/src/error.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80188a35a64daf0c65f789b128eedd28c7b5c2e22d3c4933b4ff8b9f59082e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_sqlite.rs:431-523 | src/driver/sqlx_sqlite.rs:440-532 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs\u0060 and \u0060src/driver/sqlx_sqlite.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 198 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 \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs:431\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":"sea-orm-sync/src/driver/sqlx_sqlite.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd852d11208162b60681d3cbe300343f1bcf4b21eef5142c227994a267b1a44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (151 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:405-555 | src/driver/sqlx_mysql.rs:413-563 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_mysql.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 306 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:405\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aaf3c9503b414b1053edab2bb5b920b409ca484518136b233c5cc542c3c57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:207-279 | src/driver/rusqlite.rs:207-279 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fac4fd77eca3bf42060bda285c255a352d9e973ed9c17838b3c7a6c12b723b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): sea-orm-sync/src/query/util.rs:161-233 | src/query/util.rs:161-233 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/util.rs\u0060 and \u0060src/query/util.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a86977e8ea61262f1af6dbd2418a369a784eb77dd7cd897bb0049bba6074ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201365 lines \u00D7 4): sea-orm-sync/src/executor/consolidate.rs:216-280 | sea-orm-sync/src/executor/consolidate.rs:362-364 | src/executor/consolidate.rs:216-280 | src/executor/consolidate.rs:362-364 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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 \u0060sea-orm-sync/src/executor/consolidate.rs:216\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-sync/src/executor/consolidate.rs:215\u0060 calls \u0060match\u0060, \u0060take\u0060, \u0060Some\u0060 and \u0060sea-orm-sync/src/executor/consolidate.rs:362\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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a02174234a64dbfb9d3b6270fecfc8bf5403cdb73bb267f8a4d6af5246d17a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:69-132 | src/driver/sqlx_postgres.rs:69-132 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 701 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 \u0060sea-orm-sync/src/driver/sqlx_postgres.rs:69\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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f0a793ba7bdad5866067356e17b79af6ad5ecbabd264194c7a8a54e9e1fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:316-382 | src/query/insert.rs:316-382 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36283970f445eb556ce1016ae08f7cacd5a6847ecd552d4f2b7951aedb9873b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:279-336 | src/rbac/engine/mod.rs:279-336 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c75513e675572f9a7184521895443385aaac798e8a3afa0050bded78ae2a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2): sea-orm-sync/src/dynamic/model.rs:72-154 | src/dynamic/model.rs:72-154 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/model.rs\u0060 and \u0060src/dynamic/model.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/model.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b285047912bc2c118d367987082f103dd152311730eddada3900a9daec4509ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_sqlite.rs:70-120 | src/driver/sqlx_sqlite.rs:70-120 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs\u0060 and \u0060src/driver/sqlx_sqlite.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 198 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 \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs:70\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":"sea-orm-sync/src/driver/sqlx_sqlite.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"231677a29a248d7eed78cef4d3765057088d37438f229ccc0f998dbdd234f25d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:504-554 | src/entity/active_model.rs:512-562 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606e6f01885042da7379dd42dd3fbff7dec3aff2dfed1ff90e5d60cf10a976a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:572-621 | src/entity/active_model.rs:580-629 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0c95f94a3296996eb6873cb34286b3c0911cce222b68f28da7a07fc1500c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201349 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:547-594 | src/schema/builder.rs:554-602 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:547\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2472ffa11422ee953be50c2f8d682e7f98701c466d8323493dce3d59607e323d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:242-289 | src/schema/entity.rs:242-289 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4416de0fea460c97895dabb18488c1027e36d845bb06963aa340019b5b8c36a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:1262-1303 | src/entity/active_model.rs:1274-1315 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:1262\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75ca4203ca357c1d1cc7a0932ce20cdea0556cce6d49f3cda7ceb51400ba704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): sea-orm-sync/src/database/mod.rs:274-314 | src/database/mod.rs:290-330 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mod.rs\u0060 and \u0060src/database/mod.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fdb4382915b8ad9d35b3d10b55455b08f1a464df57e6b23bc982884e5c41fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:69-108 | src/driver/sqlx_mysql.rs:69-108 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_mysql.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 306 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:69\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f76c4b06858f5b26dab6def6e10ff14c4f3537064529ba0deb6fa647efa67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:70-131 | src/rbac/engine/mod.rs:70-131 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4575efa98bd562125c17e85c8ab54274c6fd45359be5cf813942466dcfc7ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:360-401 | src/executor/consolidate.rs:360-401 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4789a654fab6e06b9de93b15872a184c96887b47662d9285eca2b71da8cbe193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:131-182 | src/executor/query.rs:131-182 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b872202f9515ec1e44d695eaf16e5a0c3ddec0730ca024ec6f005b8b38e0614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): sea-orm-arrow/src/lib.rs:898-932 | sea-orm-arrow/src/lib.rs:1189-1224 \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 \u0060sea-orm-arrow/src/lib.rs:898\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"2188cb5e11cc2fa4cd909841beab94a1b041fbca6cb583d71fcba6812d4532c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): sea-orm-sync/src/entity/base_entity.rs:337-372 | src/entity/base_entity.rs:340-375 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/base_entity.rs\u0060 and \u0060src/entity/base_entity.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/base_entity.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3602a770387912216ff5a78afdc64217ea8391c0bf8ae0c472da9222feee7a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:92-127 | src/query/insert.rs:92-127 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"39518c106034514a6de7cb5749605d991863855448af5fcab73011278e44e26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1141-1175 | src/query/loader.rs:1228-1263 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebce7a1eea64a057ed8fd1a7e00f3545ec9bb6aabe5901cc90713d55ad1b74a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1178-1213 | src/query/loader.rs:1266-1301 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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 \u0060sea-orm-sync/src/query/loader.rs:1178\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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a90064434649ad251e009acd6e0cc43411f8eb4ec938afb59b47763d993374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:330-364 | src/database/transaction.rs:358-392 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:330\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7945bb674105a30ddeebadf66cc6264721bee9595e1e36407b154b532e8d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:640-674 | src/entity/active_model.rs:648-682 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d296133e3d583bb78ab889b486d6f72eff6cc321e45724faa866982dbced0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:245-279 | src/executor/cursor.rs:245-279 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0d19030509f8b03f1801cc1fb6ab4a7ab81fa597fd6ffffe54053a2198b84d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:169-203 | src/rbac/engine/mod.rs:169-203 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b4b68569f5f446efe08755df3aa99c12966a512a3ab0d4b41f1cb7a41545b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:508-541 | src/schema/builder.rs:514-548 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:508\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9656f31511d9a2b62d785c3daf7922d2c6e7d39b1c151a9aca6dd0421b14fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): sea-orm-sync/src/query/combine.rs:47-80 | src/query/combine.rs:47-80 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/combine.rs\u0060 and \u0060src/query/combine.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"sea-orm-sync/src/query/combine.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b476afa54298c8e03b22a9ae783708377d88f78d3099a5e0cbbd37b0c0e1f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:448-481 | src/schema/builder.rs:454-487 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:448\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb31e43762c8c92498ced7722445a32f7a54cbc48fd3e51034143d2c234500ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:150-183 | src/schema/entity.rs:150-183 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63349da5ae407868951dcc6ae94f5a87dae8f7e4780e21b289dac166238bf9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): sea-orm-sync/src/query/update.rs:89-121 | src/query/update.rs:89-121 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/update.rs\u0060 and \u0060src/query/update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/update.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef03b037e35d11bda02a6598b49457f328bdd921f997a46edc4e26b46b9abea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:281-313 | src/schema/builder.rs:285-317 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf7cc8f726ec32a68f042951b90349a0eeab00016d6d07d33e4dac0006100ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/database/proxy.rs:67-98 | src/database/proxy.rs:68-99 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/proxy.rs\u0060 and \u0060src/database/proxy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/proxy.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7b51de2e2cf9a21a13db1b4617f74ae25bb53877652fe65505527db9ab6c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:630-661 | src/database/transaction.rs:666-697 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:630\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6714495e93cb69e214688bafc03f3033d621837fde7b25f7147675a3cf16312d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:85-116 | src/entity/active_model.rs:86-117 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff1dc5dfb42e5e5ebe4fe457b23d5e91e66c9fadb622d6440d4dd96bcce1d37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/entity/model.rs:86-117 | src/entity/model.rs:87-118 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/model.rs\u0060 and \u0060src/entity/model.rs\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. 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":"sea-orm-sync/src/entity/model.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aea4c13226ebf1e00325d5da6dd3e9ae4d0105d25f93bda294ad7449e4dd802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): sea-orm-sync/src/entity/link.rs:75-105 | src/entity/link.rs:75-105 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/link.rs\u0060 and \u0060src/entity/link.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/link.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a896dd3b6ba162151c7befb6bbbd13f5d2ac5ed79ecad07738df7de4c5d4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): sea-orm-sync/src/database/stream/query.rs:46-75 | sea-orm-sync/src/database/stream/transaction.rs:50-79 | src/database/stream/query.rs:48-77 | src/database/stream/transaction.rs:51-80 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/query.rs\u0060 and \u0060sea-orm-sync/src/database/stream/transaction.rs\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. 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 \u0060sea-orm-sync/src/database/stream/query.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"773fccc80537d8795f6b187bd56f1d2774a8ff12b688502fb3986653ada42776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:656-685 | src/entity/column.rs:656-685 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd42d37d352644d2bb25ecc50d8087d40ca56a5298ccd11d0014aa70ca7322f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): sea-orm-sync/src/query/join.rs:123-165 | src/query/join.rs:123-165 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/join.rs\u0060 and \u0060src/query/join.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/join.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbef57cb8c1e223bef548b72374d554fb996c58689772234a765c1212acd4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1347-1376 | src/query/loader.rs:1435-1464 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b6c4721a05e2899fa19c583dc5dcc8d9136f80ee8eacb10e53254222a8ca93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): sea-orm-macros/src/derives/model_ex.rs:702-730 | sea-orm-macros/src/derives/model_ex.rs:927-955 \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 \u0060sea-orm-macros/src/derives/model_ex.rs:702\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9555b3abec510a9ff5f749d61b39cd4a1416b53697d400a2bbae953b4543754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:299-346 | src/executor/consolidate.rs:299-346 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbfa27596c167550004aadb0e00c2e8b7d7a4541b781e24486f16d24d48b5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:121-195 | src/executor/cursor.rs:121-195 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1647320b1b7f094ef7cad69281532c65e6e5c25fe067fb042fff122f516cce68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:494-522 | src/executor/cursor.rs:496-524 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"97186c2477135b98070a5cf2ec382108a9e9406474eafba009bab4f822e66829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:228-259 | src/rbac/engine/mod.rs:228-259 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf17797e4d60009c3216216eeda91dd2337a9c558bb2bfdf653249372aed45c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:208-236 | src/schema/entity.rs:208-236 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2f47b7f56a86abd8e975ab63e718886672ba6b78f8f39c2aaa82b4f0283a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:502-529 | src/database/restricted_connection.rs:549-576 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a317f7b2fb4700f85496d26083e542389e3b2de44a24bb66bab80cb809c30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/database/sea_schema_shim.rs:67-94 | src/database/sea_schema_shim.rs:76-103 \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":"sea-orm-sync/src/database/sea_schema_shim.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff08a516e21470f6fe007b14ca3d6ab3401b646be9122d68a42952af2bd1b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:135-165 | src/driver/rusqlite.rs:135-165 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fa8cdb66538cb69225b609ae3551c60fdce706122a3c6a60b93b7c69e16cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/driver/sqlite.rs:5-32 | src/driver/sqlite.rs:5-32 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlite.rs\u0060 and \u0060src/driver/sqlite.rs\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. 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":"sea-orm-sync/src/driver/sqlite.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2761ae612331c30658e2c6002bd6865b6f7ae5f4c1fc01f1ab307a119ab1edc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/entity/link.rs:39-66 | src/entity/link.rs:39-66 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/link.rs\u0060 and \u0060src/entity/link.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/link.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fae3d8c602fdb333ffa29d59f64ffe2fc82ab49fa76f75fce987324b3b5aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1264-1291 | src/query/loader.rs:1352-1379 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d890fa1ffb8104a3b20e4fb6254679a8bf15887c0eac5079405dc924e5e805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:180-242 | src/schema/builder.rs:184-246 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:180\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b735e2c331fdd165d318b7cb422ee2a866579dc6646a1544dfd049467eb8d1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:86-112 | src/driver/mock.rs:87-113 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"167a87b09c5623d14661f99db24c4dccf23c231bc00d072eb0662dacdc18e811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:156-184 | src/executor/consolidate.rs:156-184 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"299bd4e5167c05f08b256e27c279dbc9faf6ec187051a3f6756244f26bcfc709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): sea-orm-sync/src/query/util.rs:122-151 | src/query/util.rs:122-151 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/util.rs\u0060 and \u0060src/query/util.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7aacf0a800ff079a780c0815b4d67503b49d13d48799df452aad0ebefa1016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): sea-orm-sync/src/database/sea_schema_rusqlite.rs:36-61 | src/database/sea_schema_rusqlite.rs:36-61 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/sea_schema_rusqlite.rs\u0060 and \u0060src/database/sea_schema_rusqlite.rs\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. 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":"sea-orm-sync/src/database/sea_schema_rusqlite.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a479114980f0cacf53952a26c2412842c41d0dd3480630388cf346b1e664160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): sea-orm-sync/src/entity/registry.rs:32-57 | src/entity/registry.rs:32-57 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/registry.rs\u0060 and \u0060src/entity/registry.rs\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. 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":"sea-orm-sync/src/entity/registry.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edc122453f0e551f1a6eed2ced05801c3fea63b607bc45712a8e12644bc316b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:412-436 | src/schema/builder.rs:416-441 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:412\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcc3e7655101fe9879197084c6f775163b789e3327b7988f53a3e38ab960025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:1236-1259 | src/entity/active_model.rs:1247-1271 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:1236\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"627acea1ca2c33dabb56c9ef17b2f1c849b57beefaccd8399275421dbe15a02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:426-451 | src/executor/consolidate.rs:426-451 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ebc14a9d69f25b5bfd747ea6b4cbdbe31aacc939e5e6331f480cd5811adcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:37-61 | src/rbac/engine/role_hierarchy_impl.rs:37-61 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs\u0060 and \u0060src/rbac/engine/role_hierarchy_impl.rs\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. 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":"sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f6652de305564bf1b8ee863fa17cac8a3ec8a668061b70b664de668a801ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): sea-orm-sync/src/entity/identity.rs:117-140 | src/entity/identity.rs:117-140 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/identity.rs\u0060 and \u0060src/entity/identity.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/identity.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"86740788fd99215af8c5f20593a44ebb0a3382600f8416bbebe3b87839317af0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): sea-orm-sync/src/entity/identity.rs:147-170 | src/entity/identity.rs:147-170 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/identity.rs\u0060 and \u0060src/entity/identity.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/identity.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae8e0df7df4d2c276e5872a3b80bd819f311223b232f8bd646d2b2c2267ba4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:203-224 | sea-orm-sync/src/driver/sqlx_postgres.rs:238-259 | sea-orm-sync/src/driver/sqlx_sqlite.rs:222-243 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:203\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cdca2c0d243cc36202e78445ffd7ffe92ceae5b94a2d8cedd19ae5b2b687a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/driver/sqlx_mysql.rs:204-225 | src/driver/sqlx_postgres.rs:243-264 | src/driver/sqlx_sqlite.rs:223-244 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/driver/sqlx_mysql.rs:204\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"805d87c08400df0d58223161b5f98121643a4372e4e1264a3e80c0f000e04079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-macros/src/derives/model_ex.rs:910-931 | sea-orm-macros/src/derives/model_ex.rs:1058-1079 \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 \u0060sea-orm-macros/src/derives/model_ex.rs:910\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7e9dc86b8a15bed0da6a9ebcc5a2a7646724581317d1baa915fd721f170912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-sync/src/database/connection.rs:147-168 | src/database/connection.rs:156-177 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/connection.rs\u0060 and \u0060src/database/connection.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"sea-orm-sync/src/database/connection.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09a226012f16449ffa3afda3fdbc9b4dc1e8c7ccd5ab7e80ee4821aa82d58b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:155-176 | src/database/mock.rs:155-176 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cb65fd9ea74adc56c3710da61620ddce7682f679d5375405241c94d490b822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_common.rs:59-80 | src/driver/sqlx_common.rs:61-82 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_common.rs\u0060 and \u0060src/driver/sqlx_common.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_common.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"478c960d7136475d6d86077ab41d28ff373d1a506ce94f40aadd6a95919dd392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:1004-1025 | src/entity/active_model.rs:1013-1034 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:1004\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"746e0144f683a8b07cc2992bc451937e51e951b3654ddd746eb3553782f397f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:205-226 | src/executor/query.rs:205-226 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28402ec66186e78c56a79a4a279908e426010c7ae4d25b16fbc23783fc4a547"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): sea-orm-sync/src/query/delete.rs:108-129 | src/query/delete.rs:108-129 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/delete.rs\u0060 and \u0060src/query/delete.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/delete.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"890cfc58e0c8e75fc58bf47aa36da59cf9df9ad0ae689b348196c9119e67d55d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sea-orm-sync/src/database/mod.rs:236-256 | src/database/mod.rs:252-272 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mod.rs\u0060 and \u0060src/database/mod.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed45370bb53772838a3406003d3b2554d74a8ac84abe165e28bd4ce5f90819f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/database/proxy.rs:154-188 | src/database/proxy.rs:155-189 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/proxy.rs\u0060 and \u0060src/database/proxy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/proxy.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e8367905eda33e2703370fb0650975bf6624931b228e8f20f182ce9486a8fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:292-312 | src/driver/rusqlite.rs:292-312 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d36df77dfe03405efbb8a74430dd479c5b77946f58a7da36372f010a68036b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:463-483 | src/entity/active_model.rs:471-491 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f386662e7bec3a182a913cec6b66f2301a1ddaeeb8eb606dbe89bc4c19a394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:187-206 | src/rbac/context.rs:197-217 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/context.rs\u0060 and \u0060src/rbac/context.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060sea-orm-sync/src/rbac/context.rs:187\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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"82461b880d03b84d5a516975b1039cd6302c8468a28501b000cfd5c6938d2cdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:121-140 | src/schema/builder.rs:123-143 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b02795d47d2b2a6f1270ea674d932360d7314ced7e76ab4e310304530990dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): sea-orm-sync/src/schema/json.rs:18-38 | src/schema/json.rs:18-38 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/json.rs\u0060 and \u0060src/schema/json.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/json.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfad843afe8a1280ad45639827da5bf25a4846c4efa5dc6879155f6aa98304e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-macros/src/derives/model_ex.rs:681-700 | sea-orm-macros/src/derives/model_ex.rs:1054-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 \u0060sea-orm-macros/src/derives/model_ex.rs:681\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52e317c6ef1ea128f8d92eabcd8eb71c95ac26da327d637ac8c7730791451d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:134-153 | src/database/db_connection.rs:134-153 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"46875bc545ba3f36a2fd99bcc4d27333579a87f72bf807cf04e3efe627f9ff41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:782-801 | src/database/db_connection.rs:835-854 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a00bbcdde8fa1275f47e592fc1bb5fa3e52b8d1817d46659d1a4225e6744d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:850-869 | src/entity/active_model.rs:858-877 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f63eeb9d30492a3c063130e954023450468f926f5df8088663c5018dbf601e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/query/join.rs:205-224 | src/query/join.rs:205-224 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/join.rs\u0060 and \u0060src/query/join.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/join.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec4307c0c426d2e26fc0bdd8cbe6ebc953bf1474f5fbdb642945009c6b2e5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:10-29 | src/rbac/engine/role_hierarchy_impl.rs:10-29 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs\u0060 and \u0060src/rbac/engine/role_hierarchy_impl.rs\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. 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":"sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ace64ea1de9c7a244a21f91b423bd43a6c1b37c8ab8f46af670968e8e421912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/rbac/engine/snapshot.rs:19-38 | src/rbac/engine/snapshot.rs:19-38 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/snapshot.rs\u0060 and \u0060src/rbac/engine/snapshot.rs\u0060 as WHOLE FILES: this scan already matched 6 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. 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":"sea-orm-sync/src/rbac/engine/snapshot.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae41947317d56a3dd824adb2c8a86128da3d2c063fc5369fbf525f4f1cf7c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): sea-orm-macros/src/derives/model_ex.rs:682-700 | sea-orm-macros/src/derives/model_ex.rs:907-925 | sea-orm-macros/src/derives/model_ex.rs:1055-1073 \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 \u0060sea-orm-macros/src/derives/model_ex.rs:682\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc46a4186c2e5d48f4c6345620df23a1967bd400e1af83a30b16a7a39fa4542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:133-151 | src/database/mock.rs:133-151 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"27604cda1829bd1b4dfcbe72b848153e174b91735d326e0e7849daf62d12bdb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sea-orm-sync/src/query/util.rs:13-31 | src/query/util.rs:13-31 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/util.rs\u0060 and \u0060src/query/util.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eabe85b18ca1a9811548d9aa31b9f1c2bb7470c35218f0f0caa6adedf102c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:160-178 | src/schema/builder.rs:163-181 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:160\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"589b23f70d9d783453f1a34ffed85d54a0148d5168c1481b8acc462484ef3451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/database/statement.rs:78-95 | src/database/statement.rs:78-95 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/statement.rs\u0060 and \u0060src/database/statement.rs\u0060 as WHOLE FILES: 99% 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. 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":"sea-orm-sync/src/database/statement.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d98d6b93cda6ef736b6d93a460e4b7dac66bcc2bf77c84af404d527da879b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:63-80 | src/driver/mock.rs:64-81 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d4cb1ee74680d800cc0f9ba3fdbfbd5efaab3580ad8fcb0b538423648ecc0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:462-479 | src/executor/insert.rs:470-487 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:462\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"796551fcd2b371e7592f858fe35b71fc00d570c0af127a1c3a78513a5ede8f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:539-556 | src/executor/insert.rs:553-570 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:539\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"721068352a1ff2f944b05a87728983f32477da93f8aef685c1367693e1b7ab62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): sea-orm-sync/src/query/util.rs:64-86 | src/query/util.rs:64-86 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/util.rs\u0060 and \u0060src/query/util.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7811f977178bfbc9f962c9d526b40691ead418ec5b84eb21f24c319976bbfa00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:621-640 | src/schema/builder.rs:630-649 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"513078057db608f3e23c9432f76c775a2dacf0c89dfbe859c7d2f10e4a2552bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/schema/json.rs:44-61 | src/schema/json.rs:44-61 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/json.rs\u0060 and \u0060src/schema/json.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/json.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d2ab57e9db2efacaf6131fb38280487e152a6ba0f1cd8143eb21dc9b5bd418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): sea-orm-sync/src/schema/json.rs:64-109 | src/schema/json.rs:64-109 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/json.rs\u0060 and \u0060src/schema/json.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/json.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70effcfae2f70a819890ccf89e6fb7343a398decc12e1c000bde7a73d65fe34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-codegen/src/entity/base_entity.rs:135-151 | sea-orm-codegen/src/entity/base_entity.rs:193-209 \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 \u0060sea-orm-codegen/src/entity/base_entity.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/base_entity.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4bcb5c965a0077c1cbcf9af5cfaf4a422e58599dd7784e3143689f48bee3c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-macros/src/derives/derive_iden.rs:57-73 | sea-orm-macros/src/derives/derive_iden.rs:112-128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sea-orm-macros/src/derives/derive_iden.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/derive_iden.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bc7c25e2360f9ea824a59f18a3813414e60399dc640f382eea4224bf0ef982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:706-722 | src/database/transaction.rs:742-758 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:706\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"9927fce1895d67172e674b0d1b7bd214dcfa66c5b631f7ac88ba522df607de94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/dynamic/entity.rs:48-64 | src/dynamic/entity.rs:48-64 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/entity.rs\u0060 and \u0060src/dynamic/entity.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"sea-orm-sync/src/dynamic/entity.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3de93d5cca901874020aef61c689efa967d91c51a84744f2164b1557835a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:634-650 | src/entity/column.rs:634-650 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33be7163e4939c90f701cc9df439875b031c7cae6900e7c0e3f770e609828f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201317 lines \u00D7 4): sea-orm-sync/src/executor/consolidate.rs:197-213 | sea-orm-sync/src/executor/consolidate.rs:361-363 | src/executor/consolidate.rs:197-213 | src/executor/consolidate.rs:361-363 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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 \u0060sea-orm-sync/src/executor/consolidate.rs:197\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, \u0060sea-orm-sync/src/executor/consolidate.rs:213\u0060 calls \u0060iter_mut\u0060, \u0060fold\u0060, \u0060get\u0060 and \u0060sea-orm-sync/src/executor/consolidate.rs:363\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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"675ae705f100d00c753a6a13816a608501949cc16f426c3d53384b923138db05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:296-329 | src/executor/query.rs:296-329 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0b6fb3bfaedbc85f44e637a3f262129b156aefd20033c125c8c496aad4d41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:385-401 | src/executor/query.rs:385-401 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0b9a16255a84477cc770c0aab043d787567b9907f2ea2125e1b1406e1cd19e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1063-1079 | src/query/loader.rs:1147-1163 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6317175c2653257b894632617f216a8ac4575c044059b2be9961a19332f4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/query/util.rs:96-112 | src/query/util.rs:96-112 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/util.rs\u0060 and \u0060src/query/util.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bae5b294d95f7baeaa80a6575559941138a6aaac561ab768f25fcc61d725444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/database/db_connection.rs:562-578 | src/database/db_connection.rs:617-633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/database/db_connection.rs:562\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/db_connection.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e5671fd6966b1df3f1007d9ef03b4bd2691e9861345542d006fbc51856b5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): sea-orm-sync/src/database/mock.rs:233-248 | sea-orm-sync/src/database/proxy.rs:196-211 | src/database/mock.rs:233-248 | src/database/proxy.rs:197-212 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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 \u0060sea-orm-sync/src/database/mock.rs:233\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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80b761161a90b7ba9d4683c3c8ba2ca3915b168d0604dc5280cc4dea72769ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-codegen/src/entity/writer/dense.rs:194-209 | sea-orm-codegen/src/entity/writer/frontend.rs:87-102 \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 \u0060sea-orm-codegen/src/entity/writer/dense.rs:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-codegen/src/entity/writer/dense.rs:193\u0060 calls \u0060as_str\u0060 and \u0060sea-orm-codegen/src/entity/writer/frontend.rs:86\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":"sea-orm-codegen/src/entity/writer/dense.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c512d7d725d7f4b4aab7f050d1a0901da0dee2aa63e8be002055c03df4b65760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-macros/src/derives/case_style.rs:60-75 | sea-orm-macros/src/strum/helpers/case_style.rs:58-73 \u2014 before extracting anything, compare \u0060sea-orm-macros/src/derives/case_style.rs\u0060 and \u0060sea-orm-macros/src/strum/helpers/case_style.rs\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. 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":"sea-orm-macros/src/derives/case_style.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be88a03fa97a68ac81f296eb2163644ad8c2b7de0b7912e28ef377d4a584fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-macros/src/derives/column.rs:32-47 | sea-orm-macros/src/derives/column.rs:104-119 \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":"sea-orm-macros/src/derives/column.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c02656de3c442fcbba31cedc04fa4b20c2c574da5f5f83f552098230c13b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:724-739 | src/database/db_connection.rs:777-792 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"363640755b4ce442feb5f9a5650fc90ca491f7fdab134b6a1396e2bc36421a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:747-762 | src/database/db_connection.rs:800-815 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"51210d7d155a48c13caa28b322037b07acbf2c6a428cb4c07527c6c72dc3f174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:481-496 | src/database/transaction.rs:514-528 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:481\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"472c21f0d91579036cd4427840c958e53b2d4348fb4e051f90d19da73c24ceea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/entity/relation.rs:362-377 | src/entity/relation.rs:362-377 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/relation.rs\u0060 and \u0060src/entity/relation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9599329c89bfdeb4ff8d212fffc7c45c3c6e84b6acddfae1d483097826395e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/entity/relation.rs:380-395 | src/entity/relation.rs:380-395 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/relation.rs\u0060 and \u0060src/entity/relation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"813044fdaad0ac38b733b705f679425afa2b01ccf7074c212479ed57f5723925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:461-476 | src/executor/cursor.rs:463-478 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e9444c5ffba4dfe04505d2ce3b1f53891b5f9aed5758f4b376c877d50ec9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:489-504 | src/schema/builder.rs:495-510 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:489\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfda4c34391ec56846ba6eb2e97913818ab254858c0c836fcc3a6a70759cad6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:126-141 | src/schema/entity.rs:126-141 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f984fa9e807f3fe4ef35a23da8b972f5344d176914e59d265750879cef4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): sea-orm-sync/src/query/loader.rs:1141-1155 | sea-orm-sync/src/query/loader.rs:1197-1211 | src/query/loader.rs:1228-1242 | src/query/loader.rs:1285-1299 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7191c2ff0e99fcd81863b7b66ba78f9b78515647af643fa153f3168fe32916e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): sea-orm-macros/src/derives/active_model_ex.rs:1434-1448 | sea-orm-macros/src/derives/model_ex.rs:1242-1255 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48d53965d927c434836479b72bca11e3b879b83742f4c9cab265e69b2dc04a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:211-225 | src/database/db_connection.rs:220-233 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:211\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a99df14ab1d13c5c48d4c958b57347b47c35f3be127c4d6e479b24579cf2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:523-537 | sea-orm-sync/src/database/db_connection.rs:569-583 \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 \u0060sea-orm-sync/src/database/db_connection.rs:523\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a725fd71baff57b18c50491a24e66769e8eb4f56a1648dcdea9f693838e36537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:837-851 | src/database/db_connection.rs:890-904 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:837\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc92f675aa27d989a82f33a2d9d442041bbac8ea93d2f2e50aed747345fd1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/database/mod.rs:169-183 | src/database/mod.rs:185-199 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mod.rs\u0060 and \u0060src/database/mod.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1f6b3bf7d1ae18b4780dbe9cac7d5ea853144e08237977051d4720396316e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:589-608 | src/driver/rusqlite.rs:589-608 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef387d10e06faf1101c1e8318bc567e7942b19ee053283ccc93d170354d81e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:341-355 | src/driver/sqlx_mysql.rs:348-362 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_mysql.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 306 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:341\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a95f9d97ede767de8fe973a40934867daf27d37bbd3dcee5d5e184f6fe1d692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/entity/relation.rs:210-224 | src/entity/relation.rs:210-224 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/relation.rs\u0060 and \u0060src/entity/relation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef57fbb7d408f36878c0071166efc83da323176afc463c881e10a8e271c5613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/entity/relation.rs:468-482 | src/entity/relation.rs:468-482 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/relation.rs\u0060 and \u0060src/entity/relation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cded5dc45a195f772bebf6ff4c3d932c2c626a48d03cdb673db87fd86a5d4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:440-454 | src/executor/cursor.rs:442-456 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 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 \u0060sea-orm-sync/src/executor/cursor.rs:440\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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"051d21d5d19cfeab3eb9266a902158c8e1dddfe6423945b17bbded3be09b93d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:338-354 | src/executor/paginator.rs:347-363 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/paginator.rs\u0060 and \u0060src/executor/paginator.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"942585a731942eca6227319daedaf82e0a8cf1125ee4cc191e2ad33c30888f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1237-1251 | src/query/loader.rs:1325-1339 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"423465234258836ed660250516461d699f41c5ace4b5f67124d480edb6a31065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1295-1312 | src/query/loader.rs:1383-1400 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"639c4ea431160e7593b51024eab5dd2dad97c10e9c187e4b04a9d38ab1139738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:224-249 | src/rbac/context.rs:235-260 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/context.rs\u0060 and \u0060src/rbac/context.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060sea-orm-sync/src/rbac/context.rs:224\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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8b296a4cbc4e980402fd73a561f001cd1399999287de118da3d4daed7700d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:339-353 | src/rbac/engine/mod.rs:339-353 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"271796107e269d603f0b88aa74386f76dd54abe3e3e939c5cb0d81434a124ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:396-410 | src/schema/builder.rs:400-414 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:396\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad319da57137859e20027c2690154bd3340ddbcb2f8b6c65a25e963d6e1dcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/driver/sqlx_mysql.rs:97-111 | src/driver/sqlx_sqlite.rs:107-123 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_sqlite.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 145 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/driver/sqlx_mysql.rs:97\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":"src/driver/sqlx_mysql.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70f8605a2a87984245ca68d2b5f8395051feb0875e501571e914bd3cf5c1f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): sea-orm-sync/src/executor/cursor.rs:314-327 | sea-orm-sync/src/executor/cursor.rs:341-354 | src/executor/cursor.rs:316-329 | src/executor/cursor.rs:343-356 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-sync/src/executor/cursor.rs:335\u0060 calls \u0060select_cols\u0060, \u0060select_only\u0060, \u0060into_json\u0060 and \u0060sea-orm-sync/src/executor/cursor.rs:313\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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d98ad3dd0992b924f76f2afa96c1947c06101534453bb08f64ec0e9338ba45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:10-23 | sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:38-51 | src/rbac/engine/role_hierarchy_impl.rs:10-23 | src/rbac/engine/role_hierarchy_impl.rs:38-51 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs\u0060 and \u0060src/rbac/engine/role_hierarchy_impl.rs\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 \u0060sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs:10\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":"sea-orm-sync/src/rbac/engine/role_hierarchy_impl.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"603c06833067d064c10205de7eb1618e8b1c02c78588146adc76e913891e7a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): sea-orm-arrow/src/lib.rs:871-882 | sea-orm-arrow/src/lib.rs:1158-1171 \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 \u0060sea-orm-arrow/src/lib.rs:871\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f5b7489984615c5339e0e0d1ae72197369755440bee3cfacea28752720003"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): sea-orm-arrow/src/lib.rs:884-896 | sea-orm-arrow/src/lib.rs:1174-1187 \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 \u0060sea-orm-arrow/src/lib.rs:884\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a438418a405c39fc2afe225f63c28191caca187c387989301d4f264992954d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:314-341 | src/database/db_connection.rs:335-362 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:314\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c37baefb549285b75b224c39e4556c225d9441d63423f8e0554c3af13f9b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:95-108 | src/database/stream/metric.rs:97-110 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/metric.rs\u0060 and \u0060src/database/stream/metric.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d0726d98030ad8f166d99c8dbed2d74dfe87a56081bb2e51516ead158e6bbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/dynamic/execute.rs:57-70 | src/dynamic/execute.rs:57-70 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/execute.rs\u0060 and \u0060src/dynamic/execute.rs\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. 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":"sea-orm-sync/src/dynamic/execute.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0123ab0e2678fb3302c21b19ba8ead4aa9e0c6d6246c434cf901a3bf7c41fbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:692-705 | src/entity/active_model.rs:700-713 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:692\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d881176b58ff271e301b2a49ae23d2b577b13ad8a1804be6a62d21b4961c3c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:979-992 | src/entity/active_model.rs:987-1000 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cfb8aaf5d41266e05390489e1031ed0f5e3c8d2fba7467a020f9e347bbd192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/query/delete.rs:202-215 | src/query/delete.rs:202-215 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/delete.rs\u0060 and \u0060src/query/delete.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/delete.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"942b4e78b7bd518fc8938d0180ddbf4e9c1afc382a34ff57f5f99b58d792b23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:150-163 | src/rbac/engine/mod.rs:150-163 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"160cfac34083ad288db2ac423c6c12d631a8dc297b13c935a5f2d04434cbe059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sea-orm-sync/src/database/stream/query.rs:87-99 | sea-orm-sync/src/database/stream/transaction.rs:80-92 | src/database/stream/query.rs:89-101 | src/database/stream/transaction.rs:81-93 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/query.rs\u0060 and \u0060sea-orm-sync/src/database/stream/transaction.rs\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. 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 \u0060sea-orm-sync/src/database/stream/query.rs:87\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":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"04360803a22e24a9ae67575633bb5a0d4950f8a2afa5346ebc836e0aa921959f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:73-85 | sea-orm-sync/src/driver/sqlx_postgres.rs:73-85 | src/driver/sqlx_mysql.rs:73-85 | src/driver/sqlx_postgres.rs:73-85 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:73\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f18820f3695c77f978bb68fbe8b8b424508e1b948961ea0c74871b99a8cf32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sea-orm-sync/src/entity/link.rs:49-61 | sea-orm-sync/src/query/join.rs:134-146 | src/entity/link.rs:49-61 | src/query/join.rs:134-146 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/link.rs\u0060 and \u0060src/entity/link.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 72 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":"sea-orm-sync/src/entity/link.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f545df54f648d62cfe5ca3952df6bcc5618603bccbdf6786cea978198af9a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sea-orm-sync/src/executor/consolidate.rs:256-268 | sea-orm-sync/src/executor/consolidate.rs:385-397 | src/executor/consolidate.rs:256-268 | src/executor/consolidate.rs:385-397 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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 \u0060sea-orm-sync/src/executor/consolidate.rs:256\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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaa41ddcbeb131cbcf4aa10174916fc8ac065ed8d93cac4b5431ec1c9499b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): sea-orm-sync/src/driver/rusqlite.rs:725-737 | sea-orm-sync/src/driver/sqlx_sqlite.rs:372-384 | src/driver/rusqlite.rs:725-737 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060conn\u0060 to \u0060\u0026RusqliteSharedConnection\u0060 in one and \u0060\u0026SqlxSqlitePoolConnection\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3930b6a4a5c686b24fbbd7a4a3946c79b9f2022302a0646f86ad1c25f9490e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-arrow/src/lib.rs:958-970 | sea-orm-arrow/src/lib.rs:1250-1262 \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 \u0060sea-orm-arrow/src/lib.rs:958\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e05160ef28187807a1bfb3a43494678909736ff3e1fef08be41bdd9aa082b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:383-396 | src/database/db_connection.rs:412-425 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:383\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b8642f3a907a51bcf4c9b099c946bc4027600b9aef48b44cd41cfbe7536bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/database/tracing_spans.rs:51-63 | src/database/tracing_spans.rs:51-63 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/tracing_spans.rs\u0060 and \u0060src/database/tracing_spans.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"sea-orm-sync/src/database/tracing_spans.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc21852f31eb29f4488d7ea141a132b3fa428d4637002ea2909fa15df3fef76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:615-627 | src/driver/rusqlite.rs:615-627 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6879a35bb6a0e80fa8a925181984ba47607ec39d6e6a0a7a88d56f1f38e21839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:86-115 | src/executor/cursor.rs:86-115 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ee5737b97574c39a2f88acfdd40e478740d4b608893662df61bf8a6546284b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:1703-1715 | src/executor/query.rs:1705-1717 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e5d85e951c9b4198babd630227b2bcc03fb80daff3ad2b93c74f0da6bdc0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1217-1229 | src/query/loader.rs:1305-1317 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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 \u0060sea-orm-sync/src/query/loader.rs:1217\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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0dcccd1794a2002d337aed73073e1efabae8424ce8d6515336a0558bfadf1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): sea-orm-sync/src/database/db_connection.rs:309-320 | sea-orm-sync/src/database/db_connection.rs:323-334 | sea-orm-sync/src/database/db_connection.rs:337-348 | src/database/db_connection.rs:330-341 | src/database/db_connection.rs:344-355 | src/database/db_connection.rs:358-369 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"32402232ee13dcb0bf2f2f3c873e4f392ce2c41c000bc906249c8d167c01ef85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:74-85 | sea-orm-sync/src/driver/sqlx_postgres.rs:74-85 | sea-orm-sync/src/driver/sqlx_sqlite.rs:79-90 | src/driver/sqlx_mysql.rs:74-85 | src/driver/sqlx_postgres.rs:74-85 | src/driver/sqlx_sqlite.rs:79-90 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs:76\u0060 calls \u0060Some\u0060, \u0060pragma\u0060, \u0060clone\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs:73\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4907ea6dcbada724cf02648caa71d64221f79724fda19723d3439416761899c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:476-487 | sea-orm-sync/src/driver/sqlx_postgres.rs:768-779 | src/driver/sqlx_mysql.rs:484-495 | src/driver/sqlx_postgres.rs:781-792 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:476\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b375e5a22fdb571d73ee6b9f45dd2722b5cb3f35f43c089ee72330477c210cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:487-498 | sea-orm-sync/src/driver/sqlx_postgres.rs:810-821 | src/driver/sqlx_mysql.rs:495-506 | src/driver/sqlx_postgres.rs:823-834 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:487\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ad77b9d65baf84f69beafc1e53a44d1a29581fe42ced8add10a7ebb0a06843"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): sea-orm-sync/src/database/transaction.rs:396-407 | sea-orm-sync/src/database/transaction.rs:512-523 | sea-orm-sync/src/database/transaction.rs:572-583 \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 \u0060sea-orm-sync/src/database/transaction.rs:396\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afd75f48a37b49a52f6fa4f4ee91c6cf19b68978e81d71d8c5ff7d44cec18f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/database/transaction.rs:426-437 | src/database/transaction.rs:545-556 | src/database/transaction.rs:605-616 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/database/transaction.rs:426\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/transaction.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde0e397ff3178bc841256db356c4485c05903a246b122b750a0aa6f78c6d7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-cli/src/commands/generate.rs:226-237 | sea-orm-cli/src/commands/generate.rs:306-317 \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 \u0060sea-orm-cli/src/commands/generate.rs:226\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":"sea-orm-cli/src/commands/generate.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e8cbde454dd45c9a8e7e3fa996c00093fb24273560d88745a96e91b44cf4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-macros/src/derives/case_style.rs:42-53 | sea-orm-macros/src/strum/helpers/case_style.rs:40-51 \u2014 before extracting anything, compare \u0060sea-orm-macros/src/derives/case_style.rs\u0060 and \u0060sea-orm-macros/src/strum/helpers/case_style.rs\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. 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":"sea-orm-macros/src/derives/case_style.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3291952cac52175cc431c81b0408b3341afc70a4def9ef13e42d0a960ecf4232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/database/stream/query.rs:101-112 | src/database/stream/query.rs:103-114 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/query.rs\u0060 and \u0060src/database/stream/query.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 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 \u0060sea-orm-sync/src/database/stream/query.rs:101\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":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce901f315c39ce7f8f2ca3081d6c13fd9836428d214188df8fe6547f4c0dc1f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/database/stream/transaction.rs:94-105 | src/database/stream/transaction.rs:95-106 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/transaction.rs\u0060 and \u0060src/database/stream/transaction.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 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 \u0060sea-orm-sync/src/database/stream/transaction.rs:94\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":"sea-orm-sync/src/database/stream/transaction.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acbcb934303ba465174331a63000ec63479054a49e54daaf0acf4b78c72a910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:99-109 | src/database/transaction.rs:106-117 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b184cba4d91914719e9706b3ce5f1edc3940410fc8e35c61e34e53220c8ecab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:676-687 | src/database/transaction.rs:712-723 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:676\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7003f3dae901a0bd6ab8b7516c2f7785b28f9e433a3d6f2c517b542429c7c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:691-702 | src/database/transaction.rs:727-738 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:691\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64fdd10e7aac555f72943e287b6805fcb37b27aaa5b740e8836bcdbb41c4faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:329-340 | src/driver/rusqlite.rs:329-340 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:329\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"222ffacc49734fc833aa74dc360baaec61f33d21131c91d693cd8fdeb67f2e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:376-387 | src/driver/sqlx_postgres.rs:387-398 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 701 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 \u0060sea-orm-sync/src/driver/sqlx_postgres.rs: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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"db74cd3c2d3d56400e78d58d91ea69270b10ed3eb80d4f00205b485a6d73d052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:717-728 | src/entity/active_model.rs:725-736 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46a1e7a5bd2f7c496967fab6c471ce70781696badf8b4877b5c996a3b97cb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:762-773 | src/entity/active_model.rs:770-781 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32529224b154194db447f062a12339a193fd62b725c73679a264fe0a160f6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:880-891 | src/entity/active_model.rs:888-899 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f537cb08525a0e6eb025ac1df2489c209af7a4d9da9af05a1d33457a8b8a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/base_entity.rs:322-333 | src/entity/base_entity.rs:325-336 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/base_entity.rs\u0060 and \u0060src/entity/base_entity.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/base_entity.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3a62920862df950622384a31bcb497287cf0e6d18ed2b92247d0f8ca7cbfb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/base_entity.rs:1053-1064 | src/entity/base_entity.rs:1075-1086 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/base_entity.rs\u0060 and \u0060src/entity/base_entity.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/base_entity.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc628bf437074183045c8035a534a2ba243a2b42cf7d00dc2865131550e301d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:499-509 | src/executor/insert.rs:510-521 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:499\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc50099e519bc5ca1e9f9a4ddad4d40ac92a4f6989af3acb0770565277a17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:567-578 | src/executor/insert.rs:581-592 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:567\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"93044cd36b6072a1913f129c0b62a353e51b75d7a9aef6e9c164762c7fac3b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:83-94 | src/executor/paginator.rs:87-98 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/paginator.rs\u0060 and \u0060src/executor/paginator.rs\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e5e3ae5260a29f5ed7599d1df802c62b30b3face0f1e1d61db06bf525b72bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/select_ext.rs:48-59 | src/executor/select_ext.rs:50-61 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/select_ext.rs\u0060 and \u0060src/executor/select_ext.rs\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 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. 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":"sea-orm-sync/src/executor/select_ext.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2fbe8f0ec6112e1cfd274ff2fe8c415ea3492aae516f0f55964198c53569db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/update.rs:178-189 | src/executor/update.rs:184-195 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/update.rs\u0060 and \u0060src/executor/update.rs\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 \u0060sea-orm-sync/src/executor/update.rs:178\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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"110254048d3a6adbda9bcb6addce7776e3f00908bf2167002e6b821d52efc17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:103-113 | src/rbac/context.rs:109-120 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/context.rs\u0060 and \u0060src/rbac/context.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060sea-orm-sync/src/rbac/context.rs:103\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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"962d25e2b16bf960d804b7455a76a3bbb76911f2776283eb7fffadfdd0f1a21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:135-147 | src/rbac/engine/mod.rs:135-147 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"625cbce43608dfd217f8aa77c7934d8b48ed2c4158265f46fa511f721708cc05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/rbac/schema.rs:31-42 | src/rbac/schema.rs:31-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. 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":"sea-orm-sync/src/rbac/schema.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d73075d0092d3c3e7b746c0737192a3da4842030abe5639abeef4e0cf3acdf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:208-218 | sea-orm-sync/src/driver/sqlx_postgres.rs:243-253 | sea-orm-sync/src/driver/sqlx_sqlite.rs:227-237 | src/driver/sqlx_mysql.rs:209-219 | src/driver/sqlx_postgres.rs:248-258 | src/driver/sqlx_sqlite.rs:228-238 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"60aed7e9d307298ee15d7dabf8adbdcc2cd9d6f5a3b46dfe502af8db66368daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sea-orm-sync/src/database/stream/query.rs:104-114 | sea-orm-sync/src/database/stream/transaction.rs:97-107 | src/database/stream/query.rs:106-116 | src/database/stream/transaction.rs:98-108 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/query.rs\u0060 and \u0060sea-orm-sync/src/database/stream/transaction.rs\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. 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 \u0060sea-orm-sync/src/database/stream/query.rs:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d97e70c617f2a9dff28e8f601fab754fc6f7c6459c396f48aee813626623dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:375-386 | sea-orm-sync/src/driver/rusqlite.rs:547-558 | src/driver/rusqlite.rs:375-386 | src/driver/rusqlite.rs:547-558 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:375\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"af30cf76e2363b75d3c114b36c4c79247fe9c0762b1c1b6c9550bb6b146f8e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:400-411 | sea-orm-sync/src/driver/rusqlite.rs:574-585 | src/driver/rusqlite.rs:400-411 | src/driver/rusqlite.rs:574-585 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:400\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"239b79179cac5619bbd58c0ce25fbbbff32b99e9a4aa70873cf34811bd44b33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:339-349 | sea-orm-sync/src/driver/sqlx_postgres.rs:374-384 | src/driver/sqlx_mysql.rs:346-356 | src/driver/sqlx_postgres.rs:385-395 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:339\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6482581119db0d5305bede3826576b8bf885b4a26d40ad57817e33cea346f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sea-orm-sync/src/schema/builder.rs:104-114 | sea-orm-sync/src/schema/builder.rs:142-152 | src/schema/builder.rs:106-116 | src/schema/builder.rs:145-155 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:104\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d3e2b8418cb3ef0f0dc8f628ced489d7f722a6a042712cf698961a02b3a97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): sea-orm-macros/src/derives/active_model_ex.rs:1174-1184 | sea-orm-macros/src/derives/active_model_ex.rs:1358-1367 | sea-orm-macros/src/derives/active_model_ex.rs:1390-1399 \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 \u0060sea-orm-macros/src/derives/active_model_ex.rs:1174\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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"da917b7902be95e7aa5a09d9bda465cabda5682c3d356c4e6a93ef8b847ed386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): sea-orm-sync/src/database/db_connection.rs:413-423 | sea-orm-sync/src/database/db_connection.rs:448-458 | sea-orm-sync/src/database/db_connection.rs:486-496 \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 \u0060sea-orm-sync/src/database/db_connection.rs:413\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10dbfcbcf01efb229419e4a6e6fff67fb5488d972558ae7424455b539cf27b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:144-154 | sea-orm-sync/src/driver/sqlx_postgres.rs:179-189 | sea-orm-sync/src/driver/sqlx_sqlite.rs:163-173 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"81510c3c19bb60580b6476762329da3b4eec220fea21700ec51a83efb81de944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/database/db_connection.rs:447-457 | src/database/db_connection.rs:482-492 | src/database/db_connection.rs:521-531 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/database/db_connection.rs:447\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/db_connection.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc1dc06f0c02cd1ea519cb03f30d0e5f9e752e0f65ea71795cd9d3d89afc3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/driver/sqlx_mysql.rs:145-155 | src/driver/sqlx_postgres.rs:184-194 | src/driver/sqlx_sqlite.rs:164-174 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a290c690321e0611e750e42caa395ae7a767852976397221cd69a00ca3c0471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-arrow/src/lib.rs:934-944 | sea-orm-arrow/src/lib.rs:1226-1236 \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 \u0060sea-orm-arrow/src/lib.rs:934\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c82814dd6222de66751a8e9000d7778dca1f395e7eb6700b7c1f5827762da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-arrow/src/lib.rs:946-956 | sea-orm-arrow/src/lib.rs:1238-1248 \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 \u0060sea-orm-arrow/src/lib.rs:946\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f5e133c94439c91e68e94b59e66df7c49c0c1f6a78857b64f7040020539b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-macros/src/derives/model_ex.rs:771-781 | sea-orm-macros/src/derives/model_ex.rs:965-975 \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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd6e2c8ab314d98df25cca64e339f271b6ddfa86c6b62425389c553109927d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:188-198 | src/database/mock.rs:188-198 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ab9fa9cb9b390417f444c9282556855298ac6ea6f2f58d528e33dda21d30d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:202-212 | src/database/mock.rs:202-212 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"141b9554d2f80d1fe6074aa631ae2a2c7f01c831078370b5ce6bac4e59692fe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/mod.rs:193-203 | src/database/mod.rs:209-219 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mod.rs\u0060 and \u0060src/database/mod.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/database/mod.rs:193\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":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d037465b205f10162589e015fb737b81f124d4035a7b6a2b89283f1eade9789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:80-90 | src/database/stream/metric.rs:82-92 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/metric.rs\u0060 and \u0060src/database/stream/metric.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4652f407a3c0462350ec77ad105841f185a96917e3ea5c08c6705b8d48a3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:132-142 | src/database/transaction.rs:144-154 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039e09340a1508d6a911b77e816c377debcb7aef382399a3dd6c8c54233b68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:143-153 | src/database/transaction.rs:156-166 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:143\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a3291d25ace4a24864d119054a678b1fedd6148e65d665227b4b46bc1c286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:246-256 | src/database/transaction.rs:271-281 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:246\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc926bde6c85a1b8ab5f7cfe52f0aabac0e739dfb531065ea1269f7836061cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:300-310 | src/database/transaction.rs:328-338 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:300\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a2fb10602ed2db521c08545506be27a09370f4ec4957991711e4828db9df7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:589-599 | src/database/transaction.rs:623-633 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:589\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8e0e8da831432ca5abfc1f15a2405d985ff4179e817b6d7ba6881194ad075a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:600-610 | src/database/transaction.rs:635-645 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:600\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e726b06ddcbfa99f67f54e7cd932322f8e948bf5e530fc9d06660331c61ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:349-359 | src/driver/rusqlite.rs:349-359 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:349\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf833a15b77aea9e1cfc14c358cef0924bd115b05bee266543cf47ffebcb620d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:502-512 | src/driver/rusqlite.rs:502-512 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:502\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a448a7c4af141253673e7c4298975c748fd0294f736ffdcef677a763f376f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/entity/compound.rs:27-37 | src/entity/compound.rs:28-38 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/compound.rs\u0060 and \u0060src/entity/compound.rs\u0060 as WHOLE FILES: 88% 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. 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":"sea-orm-sync/src/entity/compound.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"83404bcb51a35a17f2085d5975e0629d77abf2d32dd627afd764dc9a10130a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:443-453 | src/executor/insert.rs:451-461 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:443\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1476709912d44cc0065a4dd1496ace4d33936fa9736472974e5361bb8f0e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:76-95 | src/executor/query.rs:76-95 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad1ab37619d612709a621dfa72b848ec06b036ad7eb52d3bd772d82836e2e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1050-1060 | src/query/loader.rs:1134-1144 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2dd83eb648f175a0fedf1e0b34722d01e94898e76c18526dcf2d489f318211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1391-1401 | src/query/loader.rs:1479-1489 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e726dccfdd2d3c46e2e910d31c6e856467380781bd21befbb86a8529d452ca77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/query/update.rs:217-227 | src/query/update.rs:217-227 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/update.rs\u0060 and \u0060src/query/update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/update.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"996286fe7182bc1ca7b2eb2bbe8be4e42207d0e4f89bb56eac0195d2987ea034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:26-36 | src/schema/builder.rs:26-36 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6295ebffbf6cc38093f59d77bd6e6d9fa67ea379a5798a1a7b4f4a02b84a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:94-102 | src/schema/builder.rs:94-104 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:94\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de7061e1694ef1e6d663a0797fe1e1951d32c4c407ee53f2faacc7c5149a962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:657-667 | src/schema/builder.rs:666-676 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1f46971d2119303800067ff4f552bd417bc74abd524caf5c88a80aeee7d8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:404-413 | sea-orm-sync/src/driver/sqlx_postgres.rs:440-449 | sea-orm-sync/src/driver/sqlx_sqlite.rs:430-439 | src/driver/sqlx_mysql.rs:412-421 | src/driver/sqlx_postgres.rs:453-462 | src/driver/sqlx_sqlite.rs:439-448 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:404\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a564844cd8cd08fa9f30b783c1fd6dc7ef6fee4968fd43abfa34c45c685188d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:335-344 | sea-orm-sync/src/driver/rusqlite.rs:507-516 | src/driver/rusqlite.rs:335-344 | src/driver/rusqlite.rs:507-516 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:335\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1246ff5354799475ea602eb0ce867fd67660f451bfe0870ad0ad71eb8833fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): sea-orm-sync/src/executor/insert.rs:501-509 | sea-orm-sync/src/executor/insert.rs:568-577 | src/executor/insert.rs:512-520 | src/executor/insert.rs:582-591 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:501\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec894afe5bcca2a3e963279e40d4ac34cd24e8f180e7fe4366e7bdc4e806794f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): sea-orm-sync/src/executor/select.rs:915-924 | sea-orm-sync/src/executor/select.rs:1208-1217 | src/executor/select.rs:930-939 | src/executor/select.rs:1234-1243 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/select.rs\u0060 and \u0060src/executor/select.rs\u0060 as WHOLE FILES: 82% 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 4 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 \u0060sea-orm-sync/src/executor/select.rs:915\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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b03c7b942f9eb0f9e2507e84ace4a4472d18a34b38591e49dbf4fe886ae08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): sea-orm-sync/src/database/transaction.rs:669-678 | sea-orm-sync/src/database/transaction.rs:684-693 | sea-orm-sync/src/database/transaction.rs:699-708 \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 \u0060sea-orm-sync/src/database/transaction.rs:669\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e891ea7e9dffac6c23e6a06e9cb6fb979e807e893a055fa18c34e2e83973267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/database/transaction.rs:705-714 | src/database/transaction.rs:720-729 | src/database/transaction.rs:735-744 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/database/transaction.rs:705\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/transaction.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"74205df66adcbd3b9e823c64703b68f81da9ef01e581f1a9b527ccd1df675433"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-arrow/src/lib.rs:540-549 | sea-orm-arrow/src/lib.rs:554-563 \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 \u0060sea-orm-arrow/src/lib.rs:540\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"748d1e7da848038bf0b5794492238f53b7a98c48e04021c4e4c601af4e915d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-arrow/src/lib.rs:1429-1438 | sea-orm-arrow/src/lib.rs:1506-1515 \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 \u0060sea-orm-arrow/src/lib.rs:1429\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9c594f62c50edac73881b99d73d4685d7439848fd6dbc973f4d7b9a14c51b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-macros/src/derives/active_model.rs:27-36 | sea-orm-macros/src/derives/model.rs:51-60 \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 \u0060sea-orm-macros/src/derives/active_model.rs:27\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":"sea-orm-macros/src/derives/active_model.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b0f7d27a7627179b0c304f6610dd384745892c6578ba2c784f111403f23934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:296-305 | sea-orm-macros/src/derives/entity_loader.rs:348-357 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:296\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 before the matched lines, \u0060sea-orm-macros/src/derives/entity_loader.rs:346\u0060 calls \u0060value\u0060, \u0060span\u0060 and \u0060sea-orm-macros/src/derives/entity_loader.rs:294\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b69ff43146b4961818ea05815cd2d330e8f17e6fb03518d850c5ccf54c7d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:292-301 | sea-orm-macros/src/derives/entity_loader.rs:403-412 \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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7141e1ac1ebb027e250ef9a4ef157e464687e48d144116122ea8f8ff17f8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:407-416 | sea-orm-macros/src/derives/entity_loader.rs:459-468 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:407\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-macros/src/derives/entity_loader.rs:457\u0060 calls \u0060value\u0060, \u0060span\u0060 and \u0060sea-orm-macros/src/derives/entity_loader.rs:405\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7493afb359412e1884ae8fc54ad02caed941230e020d9ab5e8f34866bcfac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): sea-orm-macros/src/derives/entity_model.rs:166-174 | sea-orm-macros/src/derives/entity_model.rs:190-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac35f0f2b95e05ea321eb7bd91ab03d8ed16facad5a67784c464bd7b24faf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-macros/src/derives/model_ex.rs:1006-1015 | sea-orm-macros/src/derives/model_ex.rs:1212-1221 \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, \u0060sea-orm-macros/src/derives/model_ex.rs:1223\u0060 calls \u0060is_self_ref\u0060 and \u0060sea-orm-macros/src/derives/model_ex.rs:1017\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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35457e9ed842142694e12a71aefae35bd1a950d6e39cbb963a91aab139c6a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:486-495 | src/database/restricted_connection.rs:533-542 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f02f5ebcc241a3d543bc019244162556be38b409d16656136d49dbb554c598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:53-72 | src/database/stream/metric.rs:55-74 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/metric.rs\u0060 and \u0060src/database/stream/metric.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96bfad5857551a2113369df219fdfe56d75a905cf475aace11035705dff1e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:663-672 | src/database/transaction.rs:699-708 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:663\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e90a38ff482827abb4d03970d5f9d6be357a50b5b55056106798ae16be261d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:520-529 | src/driver/rusqlite.rs:520-529 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:520\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f13ebae092b096ebf2fa919de1d7f8d58cbc2d60a5ab068bfeb1372d3a4a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_common.rs:102-111 | src/driver/sqlx_common.rs:104-113 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_common.rs\u0060 and \u0060src/driver/sqlx_common.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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 \u0060sea-orm-sync/src/driver/sqlx_common.rs:102\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":"sea-orm-sync/src/driver/sqlx_common.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9fb46e89db21aeaec4b189d2b060fed186a966065e9e58f48e11abe2b0dcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:784-793 | src/entity/active_model.rs:792-801 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:784\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7e377010469654f5fa455253be534c76dd81b67197136a9888949836f9136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:818-827 | src/entity/active_model.rs:826-835 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:818\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"8053838eec96adeb326b1334c7bd04c8c5aa2cbfaa76faaba20538abd675332a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:403-412 | src/entity/active_model_ex.rs:403-412 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb269d68e31925c659cadba031a618ecab19d0ef30299075c2a4fde4164f7288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1463-1472 | src/query/loader.rs:1551-1560 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea253f3b5a1fbc5aaf95a9991b844aaeb1e54fecd403dbaa92868baa950aba97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:290-302 | src/rbac/context.rs:303-316 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/context.rs\u0060 and \u0060src/rbac/context.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060sea-orm-sync/src/rbac/context.rs:290\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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"89869313240ab83ddc95d474152ad9182c524de6da61650d6717d0fe31e5df56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:56-65 | src/schema/builder.rs:56-65 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9660b6b8ee4442291582ca516568073251e0fa58425e724b12ec0a72690d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:114-124 | sea-orm-sync/src/schema/builder.rs:153-163 \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 \u0060sea-orm-sync/src/schema/builder.rs:114\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"034c01261c4f81ee8952b6ff7fd2b3a5ecf8c7a0136883b43b0e76ee245545b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:193-202 | src/schema/entity.rs:193-202 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a3de4a43e39836a5c35951d6c80f2f44efa3c6ba937075bd0462fadfa6e2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/database/restricted_connection.rs:493-502 | src/database/transaction.rs:192-201 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/restricted_connection.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc59eec2b2fbb387935b68b0ed72fb0d8d915080ddf62dfd9df53871e494fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/schema/builder.rs:116-126 | src/schema/builder.rs:156-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/schema/builder.rs:116\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f34e6ebd4998b1331dcace77b96e5042c3748702b6240e328015844d7efbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): sea-orm-sync/src/entity/active_model.rs:690-698 | sea-orm-sync/src/entity/active_model.rs:782-790 | sea-orm-sync/src/entity/active_model.rs:816-824 | src/entity/active_model.rs:698-706 | src/entity/active_model.rs:790-798 | src/entity/active_model.rs:824-832 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3cc2dc18be569f2b39f5214693310e7408e1a16915d2eff3d12c02cf0a87ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): sea-orm-macros/src/derives/entity_loader.rs:343-351 | sea-orm-macros/src/derives/entity_loader.rs:454-462 | sea-orm-macros/src/derives/entity_loader.rs:518-526 | sea-orm-macros/src/derives/entity_loader.rs:544-552 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060sea-orm-macros/src/derives/entity_loader.rs:352\u0060 calls \u0060clone\u0060, \u0060pop\u0060, \u0060push\u0060 and \u0060sea-orm-macros/src/derives/entity_loader.rs:528\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbe108819f8969569cd54ef61de1bbdf7bc1f49a1f04b9f4a2856446bb1d26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:353-361 | sea-orm-sync/src/driver/rusqlite.rs:523-531 | src/driver/rusqlite.rs:353-361 | src/driver/rusqlite.rs:523-531 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:353\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bc00bd5960d0345d3243d2df4d561e8e39cf657db73a19a652ad6cdf2d4160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): sea-orm-macros/src/derives/entity_loader.rs:429-437 | sea-orm-macros/src/derives/entity_loader.rs:489-497 | sea-orm-macros/src/derives/entity_loader.rs:593-601 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:429\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d0404520645adf3daf2498e63afd371f1ab920e4fd52e64c3167bbbc2f05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:171-184 | sea-orm-sync/src/driver/sqlx_postgres.rs:206-219 | sea-orm-sync/src/driver/sqlx_sqlite.rs:190-203 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8a7bd3244470ddbcc67e8bb24ae3e3215c86f25874999ceef87abcb129f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/driver/sqlx_mysql.rs:172-185 | src/driver/sqlx_postgres.rs:211-224 | src/driver/sqlx_sqlite.rs:191-204 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"937034393dd3b35b3178756938624a0e04b0cf05f407aff3af4da1925d847700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-arrow/src/lib.rs:828-836 | sea-orm-arrow/src/lib.rs:1110-1118 \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 \u0060sea-orm-arrow/src/lib.rs:828\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d89f7e976a06ed7de177b8c995dee01ecfa5f8c72f6e3e5ec4c7756b44b9643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-arrow/src/lib.rs:838-846 | sea-orm-arrow/src/lib.rs:1120-1128 \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 \u0060sea-orm-arrow/src/lib.rs:838\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef1381e10fcb070708207ed9c099c43a4bbb7462b70b804ce00efb429ce66cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-arrow/src/lib.rs:848-856 | sea-orm-arrow/src/lib.rs:1130-1138 \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 \u0060sea-orm-arrow/src/lib.rs:848\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84a29b2b31c49757f48e46c6e0f3e31d73f7c786f7fce51cf2e31e8c6bbff63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-cli/src/commands/generate.rs:461-469 | src/driver/sqlx_postgres.rs:131-139 \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 \u0060sea-orm-cli/src/commands/generate.rs:461\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":"sea-orm-cli/src/commands/generate.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c88e460cdc7a4c8851bc2b0e6d3aef7a33b39015ce5a155124c6fe9bdb5b256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): sea-orm-codegen/src/entity/writer/dense.rs:100-106 | sea-orm-codegen/src/entity/writer/dense.rs:115-123 \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 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":"sea-orm-codegen/src/entity/writer/dense.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d18b4ec3747e8c702fbce0464d7c08ed791cdae7c6bec0deeca74cc2ce579b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): sea-orm-macros/src/derives/from_query_result.rs:142-149 | sea-orm-macros/src/derives/partial_model.rs:123-131 \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 \u0060sea-orm-macros/src/derives/from_query_result.rs:142\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":"sea-orm-macros/src/derives/from_query_result.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46ec8a9de3b1834fa32c064f0023e0a834073845e73cb56c28ad658152e6602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:611-619 | src/database/transaction.rs:647-655 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:611\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25332616c2c23b7a12606ff4df912f87aa20830551d3212381eca4b0eb6e7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:159-167 | src/driver/mock.rs:160-168 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b791120ec27d0b14ad03179fad4f52c6947d268ff8b7024a776a6513a75c644f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/dynamic/model.rs:48-56 | src/dynamic/model.rs:48-56 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/model.rs\u0060 and \u0060src/dynamic/model.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/model.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1f7152f28ce8eb283336fdf38d6a8d0bd29fcdf63f6ceaabd054fbc9de3bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/entity/identity.rs:72-84 | src/entity/identity.rs:72-84 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/identity.rs\u0060 and \u0060src/entity/identity.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/identity.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f019fc6b7191989cce612136ffa37c3a9eb9685b7e32ade6174f3a905e549e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/query/util.rs:42-55 | src/query/util.rs:42-55 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/util.rs\u0060 and \u0060src/query/util.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 182 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75173cc17d66329b2f6d7e46f89aa6a2e294ca88bd0fe6dff47f9f498b0cb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/rbac/engine/snapshot.rs:73-81 | src/rbac/engine/snapshot.rs:73-81 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/snapshot.rs\u0060 and \u0060src/rbac/engine/snapshot.rs\u0060 as WHOLE FILES: this scan already matched 6 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. 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":"sea-orm-sync/src/rbac/engine/snapshot.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae5d43ecbbd5826190bde5545a05bf372a303098bf67a69a4334b86b5ba85ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:339-347 | src/schema/builder.rs:343-351 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c6d5d19d79bbeb0a38304af51d998c98a74977d2c1c414abbae9e3eaf9ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): sea-orm-sync/src/database/transaction.rs:402-410 | sea-orm-sync/src/database/transaction.rs:518-526 | sea-orm-sync/src/database/transaction.rs:578-586 | src/database/transaction.rs:432-440 | src/database/transaction.rs:551-559 | src/database/transaction.rs:611-619 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:402\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b882c8dfd69a202fde3734ce57bc3b5f410a673996115c0ff057b8df9f7a97bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): sea-orm-macros/src/derives/active_model_ex.rs:1123-1130 | sea-orm-macros/src/derives/active_model_ex.rs:1175-1182 | sea-orm-macros/src/derives/active_model_ex.rs:1359-1366 | sea-orm-macros/src/derives/active_model_ex.rs:1391-1398 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sea-orm-macros/src/derives/active_model_ex.rs:1123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-macros/src/derives/active_model_ex.rs:1357\u0060 calls \u0060clone_with_mixed_site_span\u0060 and \u0060sea-orm-macros/src/derives/active_model_ex.rs:1122\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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"72812c5f4ab280dfecacf3057d5956b07ac1417b8baa70d326533f4e14824ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): sea-orm-macros/src/derives/entity_loader.rs:295-302 | sea-orm-macros/src/derives/entity_loader.rs:347-354 | sea-orm-macros/src/derives/entity_loader.rs:406-413 | sea-orm-macros/src/derives/entity_loader.rs:458-465 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sea-orm-macros/src/derives/entity_loader.rs:346\u0060 calls \u0060value\u0060, \u0060span\u0060 and \u0060sea-orm-macros/src/derives/entity_loader.rs:294\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d979f1be8b55360507db8867012b9552367f57ed4539f5049c8484202ad0b98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): sea-orm-sync/src/executor/cursor.rs:439-446 | sea-orm-sync/src/executor/cursor.rs:500-507 | src/executor/cursor.rs:441-448 | src/executor/cursor.rs:502-509 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b792b29c761de8985f255fe3724a6e626033b9473172d9d70a95e8c0e90675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sea-orm-macros/src/derives/entity_loader.rs:440-447 | sea-orm-macros/src/derives/entity_loader.rs:504-511 | sea-orm-macros/src/derives/entity_loader.rs:604-611 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:440\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32563c422325f72338e78e2e936d77f9aa280632aea0e5b3a6f06f83f824c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:159-166 | sea-orm-sync/src/driver/sqlx_postgres.rs:194-201 | sea-orm-sync/src/driver/sqlx_sqlite.rs:178-185 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f22ce555745e79cb89a21b81b1ff744363c05c5b069a3c24287258cca1a5728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/database/transaction.rs:619-626 | src/database/transaction.rs:631-638 | src/database/transaction.rs:643-650 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/database/transaction.rs:619\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/transaction.rs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cd23ae455d497cf53465178df1ff729b72d6e427be1554e5707b4878b2f155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): issues/1357/src/main.rs:20-27 | issues/1357/src/main.rs:32-39 \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 \u0060issues/1357/src/main.rs:20\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":"issues/1357/src/main.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb1920125f7eec1a58305f358fbdd6d2c2b41385949b59a136469674b109ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-arrow/src/lib.rs:818-825 | sea-orm-arrow/src/lib.rs:1100-1107 \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 \u0060sea-orm-arrow/src/lib.rs:818\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e110d5e1e2a409b2a2e9e1bd82df3919059ca0f2061cdfa356e79ef632f9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-codegen/src/util.rs:5-13 | sea-orm-macros/src/derives/util.rs:318-326 \u2014 before extracting anything, compare \u0060sea-orm-codegen/src/util.rs\u0060 and \u0060sea-orm-macros/src/derives/util.rs\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. 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":"sea-orm-codegen/src/util.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"24560101b9df8166c10a700551b68a97159c598510bd38c556baac2603394464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): sea-orm-macros/src/derives/arrow_schema.rs:203-209 | sea-orm-macros/src/derives/arrow_schema.rs:321-328 \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 \u0060sea-orm-macros/src/derives/arrow_schema.rs:203\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":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3714a8c403ca0f7ea4910ca5595691d16eb0a96512c3f4bd6ffc2c3d8dadafba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:319-326 | sea-orm-macros/src/derives/entity_loader.rs:379-386 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:319\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b94042758e604d2a43964ca5be60863371e5d663bfc356c01e324fd3ad555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:816-824 | sea-orm-macros/src/derives/entity_loader.rs:832-840 \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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"734b4a760e7d2365a45ff6f3394c55c0cc64d52103423fa4d3cdec52778156cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-macros/src/derives/model_ex.rs:824-831 | sea-orm-macros/src/derives/model_ex.rs:995-1002 \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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7bde93e1dcbda36a903f8daec179ed9de6aa992bbd25a4a904e09b95eaf6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-macros/src/derives/partial_model.rs:76-83 | sea-orm-macros/src/derives/partial_model.rs:121-129 \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 \u0060sea-orm-macros/src/derives/partial_model.rs:76\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":"sea-orm-macros/src/derives/partial_model.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4344aad366d300a90143ae14acc4340e0813ced330619ef9be977078653289b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/tracing_spans.rs:68-75 | src/database/tracing_spans.rs:68-75 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/tracing_spans.rs\u0060 and \u0060src/database/tracing_spans.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"sea-orm-sync/src/database/tracing_spans.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b0246b70c0a7dec572edb3d470f908f471b9671bd18d3e19d5da07621313a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:430-437 | src/database/transaction.rs:460-467 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:430\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32ecfd5021d5e04f18278e1f55ee1f87dc039c7c02028717fc03dcd84862484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:459-466 | src/database/transaction.rs:489-496 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:459\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d224e9041329f121040033afda27a05f998dff2d03ae3d24f483b272456b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:549-556 | src/database/transaction.rs:582-589 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:549\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff424d47d30f6e576d13c850e8b390540f325d954d8c3af2854e6657bda01a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:472-479 | src/driver/rusqlite.rs:472-479 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad85a9bc0ba6245ae042cb4d611a656961e49f4b29baf959a868ddffb7b04e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:139-146 | src/entity/column.rs:139-146 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1e5217ad628d8eb6c93e30f8b31300d8d9d4f5ef6526b653f2186e657cf4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:171-178 | src/entity/column.rs:171-178 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"93306e600f355004aa6c3aa5ec368fd087e86e7a21c39b5e0ad265e361094497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:296-303 | src/executor/paginator.rs:305-312 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/paginator.rs\u0060 and \u0060src/executor/paginator.rs\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d1662747711b6fb97cb40856ffbeafc909808bfa105cbfecc607ea528d915a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/combine.rs:201-209 | src/query/combine.rs:201-209 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/combine.rs\u0060 and \u0060src/query/combine.rs\u0060 as WHOLE FILES: this scan already matched 3 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. 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":"sea-orm-sync/src/query/combine.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccef209acd6469c7c3381bd75b395b8ee15c2ec1ee871841dd175352e29eb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/select.rs:358-366 | src/query/select.rs:358-366 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/select.rs\u0060 and \u0060src/query/select.rs\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. 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":"sea-orm-sync/src/query/select.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a89cd84b64a55c9bf87a508e92a820d7c491cc8a3d029108adf8acdf1333270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:254-261 | src/schema/builder.rs:258-265 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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 \u0060sea-orm-sync/src/schema/builder.rs:254\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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0531fd8a24a71a526f74b4ef07c2d1912d9498b1a02752e99aba13e6d4e8d3eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:670-677 | src/schema/builder.rs:679-686 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c0b9444bdd0b2bcd0d15cbc15aa303d38c578147b30071bad0575373beeeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/value/text_uuid.rs:60-67 | src/value/text_uuid.rs:60-67 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/value/text_uuid.rs\u0060 and \u0060src/value/text_uuid.rs\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 3 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. 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":"sea-orm-sync/src/value/text_uuid.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c1a11ac3c736417a6eb00ddd1aa9f2589b1082d27f312bbc585e755c239bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sea-orm-sync/src/database/transaction.rs:668-674 | sea-orm-sync/src/database/transaction.rs:683-689 | sea-orm-sync/src/database/transaction.rs:698-704 | src/database/transaction.rs:704-710 | src/database/transaction.rs:719-725 | src/database/transaction.rs:734-740 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dfde16fc85275ef75771bd2c18ba27fc8ddaac7d62e5567857a7f6b09838bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:470-476 | sea-orm-sync/src/driver/sqlx_postgres.rs:731-737 | src/driver/sqlx_mysql.rs:478-484 | src/driver/sqlx_postgres.rs:744-750 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:470\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d0b513c9813ef901e6f65d6d6c370fc0d7e8b54df015a55ee6a9af70713b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): sea-orm-sync/src/executor/delete.rs:152-158 | sea-orm-sync/src/executor/delete.rs:176-182 | src/executor/delete.rs:152-158 | src/executor/delete.rs:178-184 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sea-orm-sync/src/executor/delete.rs:152\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":"sea-orm-sync/src/executor/delete.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"49864ebd56b7554d6da9b22d07ddd2b570da8b2419fc3e81018be1cef6e4d71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-arrow/src/lib.rs:543-549 | sea-orm-arrow/src/lib.rs:557-563 | sea-orm-arrow/src/lib.rs:571-577 \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 \u0060sea-orm-arrow/src/lib.rs:543\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791c344d7e00e3c3621590d3df73d647c85e9645cf2805db97667b22407fcc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-macros/src/derives/entity_loader.rs:420-426 | sea-orm-macros/src/derives/entity_loader.rs:476-482 | sea-orm-macros/src/derives/entity_loader.rs:584-590 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:420\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e1c49a1424cdf98f539d752e37221171d4cf7c41259b0ed4bbd222398a26e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-sync/src/database/transaction.rs:586-592 | sea-orm-sync/src/database/transaction.rs:597-603 | sea-orm-sync/src/database/transaction.rs:608-614 \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 \u0060sea-orm-sync/src/database/transaction.rs:586\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c7c0456ffcaede945fdcc8bc461f27e3e42446869f5ae1beeddfe1475c29e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:309-315 | sea-orm-macros/src/derives/entity_loader.rs:365-371 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:309\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc9b6824da24e5167858ab714a3ae272b031acdc5665f8c35294dcfd3c68eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:330-336 | sea-orm-macros/src/derives/entity_loader.rs:394-400 \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 \u0060sea-orm-macros/src/derives/entity_loader.rs:330\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":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4577405981805a9c39da6b4319d25ba5d6a654db2197ca921d75408ef390d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:519-525 | src/database/db_connection.rs:558-564 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:519\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c39cd8ada629cab7647772394ee081b870ef65ca6d4d71590fbd4de2ce6f53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:565-571 | src/database/db_connection.rs:613-619 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:565\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bea26c4a14a773a952ecec5662214000563646f349de4dd23819e0d061b0b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:412-419 | src/database/transaction.rs:442-449 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:412\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d80249c1eec149974aff428176ecb197d7dab9f3c690bfdaefcaae1f13e020c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:421-428 | src/database/transaction.rs:451-458 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:421\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"38da77405f77d290e98afd5639963d5c0e528e8439ce2c92bdfc5c37c2c6f4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:467-473 | src/database/transaction.rs:498-504 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:467\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"92298ca88490d4dc0fe31bb6cf77211f656c5e118d6cc785a29a16dd3a1574a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:474-480 | src/database/transaction.rs:506-512 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:474\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1f5d3ba90ad756f5792d00e27a14c29d5a4e77fcd6f2cb4407d752778213c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/relation.rs:567-573 | src/entity/relation.rs:567-573 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/relation.rs\u0060 and \u0060src/entity/relation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c468b4e44ac3a03013f12d877c7d0bf5b2490f49b063d033cfb03bac13fdef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/update.rs:148-154 | src/executor/update.rs:153-159 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/update.rs\u0060 and \u0060src/executor/update.rs\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 \u0060sea-orm-sync/src/executor/update.rs:148\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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80a059dc875c40c27e37f9aaa55f4a7b966c2d9132e10b25e701cd4b67410e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/rbac/schema.rs:49-55 | src/rbac/schema.rs:53-59 \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":"sea-orm-sync/src/rbac/schema.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3996a3e7d7e0aad19040fb35b34f2fbbfeb9cea23bf96d71a85c7a1eb9e09c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): sea-orm-sync/src/database/transaction.rs:228-233 | sea-orm-sync/src/database/transaction.rs:282-287 | sea-orm-sync/src/database/transaction.rs:401-406 | sea-orm-sync/src/database/transaction.rs:458-463 | sea-orm-sync/src/database/transaction.rs:517-522 | sea-orm-sync/src/database/transaction.rs:577-582 \u2014 all 6 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 \u0060sea-orm-sync/src/database/transaction.rs:228\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a794b22ebc03bb328136ca3a9effe0c1f089ed386772ba3955d022ef93f42051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): src/database/transaction.rs:248-255 | src/database/transaction.rs:305-312 | src/database/transaction.rs:429-436 | src/database/transaction.rs:486-493 | src/database/transaction.rs:548-555 | src/database/transaction.rs:608-615 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/database/transaction.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/transaction.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53d11d5b0875235d87815e284b43c6b04ea63e2fd7fe4480f21584b1b3b1ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/database/transaction.rs:229-234 | sea-orm-sync/src/database/transaction.rs:283-288 | src/database/transaction.rs:251-256 | src/database/transaction.rs:308-313 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:229\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3173e144736307ac4e2934428e339b2288307396af530e4c507a142d58af3bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/database/transaction.rs:530-535 | sea-orm-sync/src/database/transaction.rs:591-596 | src/database/transaction.rs:563-568 | src/database/transaction.rs:625-630 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:530\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fac759b09a88bfc447ab4808aaba19db567dc0e251ed25630a34b5b3216eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/database/transaction.rs:540-545 | sea-orm-sync/src/database/transaction.rs:602-607 | src/database/transaction.rs:573-578 | src/database/transaction.rs:637-642 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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 \u0060sea-orm-sync/src/database/transaction.rs:540\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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c13bb5dfb6362c1e56615fc2c379d7e107078cbce3c81ab7ccf31cc95c2645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:366-376 | sea-orm-sync/src/driver/rusqlite.rs:391-401 | src/driver/rusqlite.rs:366-376 | src/driver/rusqlite.rs:391-401 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:366\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"707c93a727ae44889afe65618b0cda22e57d339b4c0bb0a9484576e79fdf6b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:189-199 | sea-orm-sync/src/driver/sqlx_postgres.rs:224-234 | sea-orm-sync/src/driver/sqlx_sqlite.rs:208-218 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"469cad7607ccf2b533c5acc56653eb7cec2ee23d34c3cf20ffaa2d604acacd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/driver/sqlx_mysql.rs:190-200 | src/driver/sqlx_postgres.rs:229-239 | src/driver/sqlx_sqlite.rs:209-219 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e9319e8ff2ada7486a49f1d273d1085976f649b0110dbd6df6997f36faba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-arrow/src/lib.rs:1295-1300 | sea-orm-arrow/src/lib.rs:1332-1337 \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 \u0060sea-orm-arrow/src/lib.rs:1295\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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a68d35fc636888eb92ff8d3ff08f975b7aa68e100545526df2b5e38aaddc421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/database/mod.rs:214-219 | src/database/mod.rs:230-235 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mod.rs\u0060 and \u0060src/database/mod.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/database/mod.rs:214\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":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"280e9773a17e6726ab93d11c141f236e6a6899712fa82a5e1c6b47fcff3c1732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:190-197 | src/driver/mock.rs:191-198 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 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 \u0060sea-orm-sync/src/driver/mock.rs:190\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":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af2d5612ec8aa1a953913a95181af636698441adebbbe0b027c559531480fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:622-628 | src/entity/active_value.rs:622-628 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"66943bed47a27e5fa48c5577c57f5ca62ad36322c96d33e2227ed02a1825687f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:901-907 | src/query/helper.rs:901-907 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c48c568354bbf8f5561b3c3f3c2ee906fa941f174d20908848019a2a0a925c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:916-922 | src/query/helper.rs:916-922 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9608afc63d2b9b1dbd9b220917e3fd4f0daa8277fbe6b634d3f7e52d1b261c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:264-273 | src/rbac/context.rs:276-285 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/context.rs\u0060 and \u0060src/rbac/context.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060sea-orm-sync/src/rbac/context.rs:264\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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9715e9b30340d094ea794776369d70ab053423d1ffd4fd5cfce1a295028bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/value/text_uuid.rs:49-54 | src/value/text_uuid.rs:49-54 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/value/text_uuid.rs\u0060 and \u0060src/value/text_uuid.rs\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 3 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. 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":"sea-orm-sync/src/value/text_uuid.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7781131913b128f518a204eec89efb696766fe76381b115c72d2d39674b7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:202-206 | sea-orm-sync/src/driver/sqlx_postgres.rs:237-241 | sea-orm-sync/src/driver/sqlx_sqlite.rs:221-225 | src/driver/sqlx_mysql.rs:203-207 | src/driver/sqlx_postgres.rs:242-246 | src/driver/sqlx_sqlite.rs:222-226 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:202\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4ee49207788e004fe06c1552e92d1e0ae424c396d425403919f31e151b3d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:539-548 | sea-orm-sync/src/driver/rusqlite.rs:566-575 | src/driver/rusqlite.rs:539-548 | src/driver/rusqlite.rs:566-575 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:539\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1059c359a47806d5b7e52bb3bed3eb91c227173e95f7cac0b0e35112f2bb2d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): sea-orm-sync/src/entity/column.rs:438-442 | sea-orm-sync/src/entity/column.rs:475-479 | src/entity/column.rs:438-442 | src/entity/column.rs:475-479 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 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 \u0060sea-orm-sync/src/entity/column.rs:438\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":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d883036dabe26ebc6277c9a52cd50563854909bf451a6776273d02940a593cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/driver/sqlx_mysql.rs:160-167 | src/driver/sqlx_postgres.rs:199-206 | src/driver/sqlx_sqlite.rs:179-186 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d4a11294669bd6b1dc9048e51ed7af2b51810e79be3c9c992781dcda6a525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-macros/src/derives/column.rs:18-25 | sea-orm-macros/src/derives/primary_key.rs:22-29 \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 \u0060sea-orm-macros/src/derives/column.rs:18\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":"sea-orm-macros/src/derives/column.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c58b0300dce7c6e0c4b9fab81e7b0dbd715961afe3e7e5c0b03aa0622cb964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:177-181 | src/database/db_connection.rs:184-188 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8a59aef1e93c9a15fd5eefa90fb035e97e6aaa230638ea4d5b6fe76a226f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:251-255 | src/database/db_connection.rs:264-268 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca2b3f202e9574f5445f4107f855a5ed16ef25ecf9ac6f21d545a9ee95c9232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:281-285 | src/database/db_connection.rs:300-304 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfdbd7fad0af278ff5a521bbd8ca71d03d73bebfaaf6e65286ca16386da5654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:812-816 | src/database/db_connection.rs:865-869 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c1bc5bcb91716685a6114b17874f3d1b5aeefca48195674c08c5e416c7a498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:200-204 | src/entity/active_model_ex.rs:200-204 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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 \u0060sea-orm-sync/src/entity/active_model_ex.rs:200\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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a642a731da410ead78302958666830ed4870637ae3f051dce658d15b2dca13a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:266-270 | src/entity/active_model_ex.rs:266-270 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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 \u0060sea-orm-sync/src/entity/active_model_ex.rs:266\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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24263ace679c6509dc3b489273363841f8a4cc5db00eafbc955225e8051a815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:442-448 | src/entity/column.rs:442-448 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 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 \u0060sea-orm-sync/src/entity/column.rs:442\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":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29ed9376b16d98a1616c4943e220fba540bf6ce3a11e6d873138b479fa44b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:479-485 | src/entity/column.rs:479-485 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 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 \u0060sea-orm-sync/src/entity/column.rs:479\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":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0277a1ad516ac467af917f81938720d2401f5715163f1657809d609a00ce471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/executor/update.rs:140-144 | src/executor/update.rs:145-149 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/update.rs\u0060 and \u0060src/executor/update.rs\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 \u0060sea-orm-sync/src/executor/update.rs:140\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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e77e2354e3b1209f97f01e7032bacb5b154378fce024965a433a6f76d145b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/update.rs:214-220 | src/executor/update.rs:221-227 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/update.rs\u0060 and \u0060src/executor/update.rs\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"682b4e7642108a3da38bcef3879b726729714b79ef25abf5de967b7a5cf996e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:114-119 | src/schema/entity.rs:114-119 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b4d5d6545cc788a4d19fce3a2c0f1e8f070923114e8937affe2765272f9a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): issues/1599/entity/src/cake.rs:30-42 | sea-orm-sync/src/tests_cfg/cake_compact.rs:35-47 | sea-orm-sync/src/tests_cfg/cake_seaography.rs:31-43 | src/tests_cfg/cake_compact.rs:35-47 | src/tests_cfg/cake_seaography.rs:31-43 \u2014 before extracting anything, compare \u0060issues/1599/entity/src/cake.rs\u0060 and \u0060sea-orm-sync/src/tests_cfg/cake_seaography.rs\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 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 \u0060issues/1599/entity/src/cake.rs:30\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":"issues/1599/entity/src/cake.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2988fd11c1df83c69cd4880b975b9c8e396737b512e51dee59efa369524dfb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/entity/active_enum.rs:132-166 | src/entity/active_enum.rs:132-166 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_enum.rs\u0060 and \u0060src/entity/active_enum.rs\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 \u0060sea-orm-sync/src/entity/active_enum.rs:132\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":"sea-orm-sync/src/entity/active_enum.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c93be010f5a796d6f214f8c4588f67110a573e3d83f47850a74cae5edcdb5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (268 lines \u00D7 2): sea-orm-sync/src/entity/column/types.rs:95-362 | src/entity/column/types.rs:95-362 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column/types.rs\u0060 and \u0060src/entity/column/types.rs\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 \u0060sea-orm-sync/src/entity/column/types.rs:95\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/column/types.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e578d50fc8d86258e77e6cfba44b74dcf95c624bfba81e5360388e4c524fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (94 lines \u00D7 2): sea-orm-sync/src/entity/column_def.rs:40-133 | src/entity/column_def.rs:40-133 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column_def.rs\u0060 and \u0060src/entity/column_def.rs\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":"sea-orm-sync/src/entity/column_def.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cde5851259ec290add82a244f8fdd06427b5f8dfc6a5b9d9950c044ed71c3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (214 lines \u00D7 2): sea-orm-sync/src/entity/compound/belongs_to.rs:88-301 | src/entity/compound/belongs_to.rs:88-301 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/compound/belongs_to.rs\u0060 and \u0060src/entity/compound/belongs_to.rs\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 \u0060sea-orm-sync/src/entity/compound/belongs_to.rs:88\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":"sea-orm-sync/src/entity/compound/belongs_to.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c658150e756b77070cd2b9c35971ef03e9ebdf8cba0ea3a4685e12c84345bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (275 lines \u00D7 2): sea-orm-sync/src/entity/compound/has_many.rs:20-294 | src/entity/compound/has_many.rs:20-294 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/compound/has_many.rs\u0060 and \u0060src/entity/compound/has_many.rs\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 \u0060sea-orm-sync/src/entity/compound/has_many.rs:20\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":"sea-orm-sync/src/entity/compound/has_many.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a274d27414f51674060c07e7398d400ee2a27968f7af4dc7f83a3710b31e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (126 lines \u00D7 2): sea-orm-sync/src/entity/compound/has_one.rs:18-143 | src/entity/compound/has_one.rs:18-143 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/compound/has_one.rs\u0060 and \u0060src/entity/compound/has_one.rs\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 \u0060sea-orm-sync/src/entity/compound/has_one.rs:18\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":"sea-orm-sync/src/entity/compound/has_one.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c50feb9a03b915114518d12cbdfccfe575702a0b25e5e924853e4e64e0e07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/entity/with_arrow.rs:8-39 | src/entity/with_arrow.rs:8-39 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/with_arrow.rs\u0060 and \u0060src/entity/with_arrow.rs\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 \u0060sea-orm-sync/src/entity/with_arrow.rs:8\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":"sea-orm-sync/src/entity/with_arrow.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6413ae32c1705ce34fd84341ce7d714a75b90f7f6807cc78ebfd13e8dfa15112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sea-orm-sync/src/query/debug.rs:22-40 | src/query/debug.rs:22-40 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/debug.rs\u0060 and \u0060src/query/debug.rs\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 \u0060sea-orm-sync/src/query/debug.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/debug.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52a8d343642c209d259022456f8a4d9f126d55aabeead51654786050f915ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): sea-orm-sync/src/query/traits.rs:25-56 | src/query/traits.rs:25-56 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/traits.rs\u0060 and \u0060src/query/traits.rs\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":"sea-orm-sync/src/query/traits.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc705efdfbf2df12070c950fbc90220da243027a5444b56f724df7a4f4fde72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): sea-orm-sync/src/rbac/engine/resource_request.rs:16-55 | src/rbac/engine/resource_request.rs:16-55 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/resource_request.rs\u0060 and \u0060src/rbac/engine/resource_request.rs\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 \u0060sea-orm-sync/src/rbac/engine/resource_request.rs:16\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":"sea-orm-sync/src/rbac/engine/resource_request.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6521a21b6b1e1af84a02cc0bbc2f62090dde52857f6b022e04e59e212e0ae24f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): sea-orm-sync/src/value.rs:104-129 | src/value.rs:104-129 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/value.rs\u0060 and \u0060src/value.rs\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 \u0060sea-orm-sync/src/value.rs:104\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":"sea-orm-sync/src/value.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de1fc1e5823a6c2941125496043168166fef641e7c613c8cfdb52bcace3422a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/value/with_chrono.rs:36-50 | src/value/with_chrono.rs:36-50 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/value/with_chrono.rs\u0060 and \u0060src/value/with_chrono.rs\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":"sea-orm-sync/src/value/with_chrono.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"046fe68153f6899a0facd532a21c798e1bb4e2e4b481fdbcd2802498aea1b01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sea-orm-sync/src/value/with_time.rs:36-54 | src/value/with_time.rs:36-54 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/value/with_time.rs\u0060 and \u0060src/value/with_time.rs\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":"sea-orm-sync/src/value/with_time.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"42041e6bb7987437cbb499f38b9dcca700472e4eef58ee79ddd585bbc3197f6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-macros/src/derives/column.rs:141-150 | sea-orm-macros/src/derives/primary_key.rs:53-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/column.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93e9fcf0c035cd9709baa6425117bb9e1308c08b1bc0eadd1c70c30155eb320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/connection.rs:217-224 | src/database/connection.rs:232-239 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/connection.rs\u0060 and \u0060src/database/connection.rs\u0060 as WHOLE FILES: this scan already matched 3 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":"sea-orm-sync/src/database/connection.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd73e19e9c9bbb78cc39f6bcb9a85a0fe559f3c8fcb074b5646b75d6b0eb38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/database/connection.rs:237-242 | src/database/connection.rs:252-257 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/connection.rs\u0060 and \u0060src/database/connection.rs\u0060 as WHOLE FILES: this scan already matched 3 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":"sea-orm-sync/src/database/connection.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2ae62ac876f9b2f7d6733e1a07e7b06b4e77048c26a7b82006d3acbd4aac47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:605-612 | src/database/db_connection.rs:655-662 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3dc940500bba4c21e36cf1c3edb5b8f73a4fb673d72c613ee23679bcbef09d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:655-664 | src/database/db_connection.rs:705-714 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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 \u0060sea-orm-sync/src/database/db_connection.rs:655\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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b359aa2eaa7c118f9da425c17417ac135ded02929c97a4c53228670b4a9f800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:710-720 | src/database/db_connection.rs:763-773 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/db_connection.rs\u0060 and \u0060src/database/db_connection.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 219 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8f706f4f2f67cff3ad8e62303e7bf281cc822e0027cddebd34e49e0b8bfbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/executor.rs:44-50 | src/database/executor.rs:45-51 \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":"sea-orm-sync/src/database/executor.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"324dae1804c78661898ebde6b00ce96b0332e841c99f3fb9fa6a0d44f14645a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:72-80 | src/database/mock.rs:72-80 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"226edafd1ecddba0318aab2903109c3ce54089e6f35f51fed960792531dcf4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:103-109 | src/database/mock.rs:103-109 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47dac5728d2a3f42a694353e1c20aae23be8012323a7d046b06d2ddc6341b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:179-184 | src/database/mock.rs:179-184 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2bbee7f70a9a20177bb5c06929ad899b315b286e00c1a021dd82357e7065a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:347-352 | src/database/mock.rs:347-352 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554aaa7cb9e8b0fdee42e958c885f348067445cce570113a53eaf12488b74f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:391-397 | src/database/mock.rs:391-397 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"5194b31abd3d02ab25086fa7db7969ae74c5efcb5a386518f4c9692b878d81b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:399-411 | src/database/mock.rs:399-411 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"da16644f577bebed0d7f08d5b2dfc04fbe071a0b4eba4beb1568ecead47e437d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/database/mock.rs:413-425 | src/database/mock.rs:413-425 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/mock.rs\u0060 and \u0060src/database/mock.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 140 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":"sea-orm-sync/src/database/mock.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2835a4d8dfe4d8073b87a0aa3780dd8e4d3b10db1a598cd95ca668b63eaa58ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:447-455 | sea-orm-sync/src/database/transaction.rs:174-182 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"38decca49d97907855896174346575fa372cca24223a46916a35639d316bba68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:531-537 | src/database/restricted_connection.rs:578-584 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe76a2737f1a5c505bbb7654da8b42c505264458048195a47f110ceb5f4db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:539-545 | src/database/restricted_connection.rs:586-592 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f749e889c06fb8d7faa61b4f9adabffc8d30a1e9f568dc53366607dd9b74af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:547-551 | src/database/restricted_connection.rs:594-598 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c65de9c0dbf385982f7e07323423c7a8a0d50570e3f4f69a35af827aa5600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:553-557 | src/database/restricted_connection.rs:600-604 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c412c383850aa4251b92844dffb65809a19f35f305e19278dea59d93020621a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:562-568 | src/database/restricted_connection.rs:609-615 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/restricted_connection.rs\u0060 and \u0060src/database/restricted_connection.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 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 \u0060sea-orm-sync/src/database/restricted_connection.rs:562\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":"sea-orm-sync/src/database/restricted_connection.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"606a2f95b06a682308f54cef307bb37a02868e86e7ebef362f3d2d65a7575dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/tracing_spans.rs:91-101 | src/database/tracing_spans.rs:91-101 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/tracing_spans.rs\u0060 and \u0060src/database/tracing_spans.rs\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060sea-orm-sync/src/database/tracing_spans.rs:91\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":"sea-orm-sync/src/database/tracing_spans.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0834a9c81a7185a9c977242350a8a5c3ca7653e634c5f5416285049d408ab7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:865-870 | src/database/transaction.rs:920-925 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/transaction.rs\u0060 and \u0060src/database/transaction.rs\u0060 as WHOLE FILES: this scan already matched 28 separate duplicated blocks between them, totalling at least 315 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":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"193a168d08a0deb4593b1641f5353f30b72fd1767dc9f4aa47f65b1d0e8415a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:121-127 | src/driver/mock.rs:122-128 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 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":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fcf0cb725f82e5cfb2986fbdaf4045f434e101dffb57f6b07f41b7b6a0dafa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:147-154 | src/driver/mock.rs:148-155 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 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":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"644c73a46501e51d5db874eacc902368f4796f9746f1c9ce44b3d06450c0be6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:171-178 | src/driver/mock.rs:172-179 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/mock.rs\u0060 and \u0060src/driver/mock.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 85 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":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a080eb9ec05045ebc4664ecc8cd37cfa20ceac2fbfd30e34b44f0637d36fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:123-132 | src/driver/rusqlite.rs:123-132 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdcb548a4b0678e8e92412268879be4ab502da6f7847e9f2d28bea40501ed07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:181-188 | src/driver/rusqlite.rs:181-188 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7415f4bc7926374cf0fccad1f894be9b1d314cb856ec47d11836d6d134117d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:314-324 | src/driver/rusqlite.rs:314-324 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb5227417a4e8ed5f9c20c7e666a071a2d294b7d9fd94704068ddd029cbca78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:416-424 | src/driver/rusqlite.rs:416-424 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2474e547c8b4b40ebedc6bafde4d58e9fc0ceee3345485efa8fc26241f7915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:433-444 | src/driver/rusqlite.rs:433-444 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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 \u0060sea-orm-sync/src/driver/rusqlite.rs:433\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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b3bde09061b36cbac6dd61a0c69ecd12aa85257541f5fcdbd332579937d183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:457-461 | src/driver/rusqlite.rs:457-461 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a268d799cc12802f8b2e5572bb54dc422e59d17a061177f68ebf625124ac27d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:630-641 | src/driver/rusqlite.rs:630-641 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"7844311fd76a4b95fa2316f4c22625254a960d3292c5d529a612c00c4617b4bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:644-652 | src/driver/rusqlite.rs:644-652 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b834cd16fcb78ce099f21f46afd071b2d8521fa307fa1d419b1f3dd3b5d1d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:678-685 | src/driver/rusqlite.rs:678-685 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb63b2110ad293435e54287bb2efa19d946a18cc342818fb5530c087bed4857"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:708-714 | src/driver/rusqlite.rs:708-714 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/rusqlite.rs\u0060 and \u0060src/driver/rusqlite.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 378 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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b05540b514993d8d77877af6216b48475c75b7f16a4d82c9ac2d149aeec5eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_common.rs:45-51 | src/driver/sqlx_common.rs:47-53 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_common.rs\u0060 and \u0060src/driver/sqlx_common.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 39 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":"sea-orm-sync/src/driver/sqlx_common.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fedc722bc11f53d1ba849e07c16f17bc8fa671a8a5f5a62022a42265fb457a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:229-238 | sea-orm-sync/src/driver/sqlx_postgres.rs:264-273 | sea-orm-sync/src/driver/sqlx_sqlite.rs:248-257 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42f93a1d322bf175cf81f0f6b7a371dbb7c4b904d01a3b89fe77f94d4f17f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:289-295 | sea-orm-sync/src/driver/sqlx_postgres.rs:324-330 | sea-orm-sync/src/driver/sqlx_sqlite.rs:311-317 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"77962600d4ef379bd432a254860d7f54b0612200af4c22342ce96579127f7a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:326-332 | sea-orm-sync/src/driver/sqlx_postgres.rs:361-367 | sea-orm-sync/src/driver/sqlx_sqlite.rs:348-354 | src/driver/sqlx_mysql.rs:333-339 | src/driver/sqlx_postgres.rs:372-378 | src/driver/sqlx_sqlite.rs:355-361 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7168babc24aa18717dfab61003c09328b42e7a14a493b0b0d30442e38cc575e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_sqlite.rs:360-368 | src/driver/sqlx_sqlite.rs:367-375 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs\u0060 and \u0060src/driver/sqlx_sqlite.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 198 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 \u0060sea-orm-sync/src/driver/sqlx_sqlite.rs:360\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":"sea-orm-sync/src/driver/sqlx_sqlite.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"0901dcee83a0948d8e435b15e0f5b481e5d4db2fec6aefb6804ab597c480f1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/dynamic/entity.rs:34-39 | src/dynamic/entity.rs:34-39 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/entity.rs\u0060 and \u0060src/dynamic/entity.rs\u0060 as WHOLE FILES: this scan already matched 3 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":"sea-orm-sync/src/dynamic/entity.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7338f7104938398098d2613cde22dc65487d8726e9eb5b1aed3e7f129a45c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/dynamic/entity.rs:66-77 | src/dynamic/entity.rs:66-77 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/entity.rs\u0060 and \u0060src/dynamic/entity.rs\u0060 as WHOLE FILES: this scan already matched 3 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":"sea-orm-sync/src/dynamic/entity.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c93f1fd5be4919433e1ec8ccca4a27daabbd4df6fc3dda9acf997a4ece010af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/dynamic/execute.rs:40-45 | src/dynamic/execute.rs:40-45 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/execute.rs\u0060 and \u0060src/dynamic/execute.rs\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/execute.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c92bb9aa0a4a0912cee2470aedc6d7b9a182129ef0103e63dd24ae70d197ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/dynamic/model.rs:60-67 | src/dynamic/model.rs:60-67 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/dynamic/model.rs\u0060 and \u0060src/dynamic/model.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 100 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":"sea-orm-sync/src/dynamic/model.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42499619c1c9d389697db7e5fa3122e8813d60576360373c3e960a1c92a4d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:386-396 | src/entity/active_model.rs:393-403 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"be93ec403053b949bc3048270bc00fc82b4d7f7c98b3b749f60eaeda421fb485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:739-751 | src/entity/active_model.rs:747-759 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7754fe15845af05615a27d1490d041faf75ab6fe555c953e971bef09ff1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:799-807 | src/entity/active_model.rs:807-815 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:799\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f3908ec1986ef056ec53b44852c18a36fd25c7632cc530e8ef0b5cde64e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:834-842 | src/entity/active_model.rs:842-850 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model.rs\u0060 and \u0060src/entity/active_model.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 433 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 \u0060sea-orm-sync/src/entity/active_model.rs:834\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":"sea-orm-sync/src/entity/active_model.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcda366eed01022132a0061d32603310423d5ce4b7c2ad587d3b0f9b376693f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:148-153 | src/entity/active_model_ex.rs:148-153 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"296de191c78f148309057070b6164be46194771fbe71525d343d79571ab3da85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): sea-orm-sync/src/entity/active_model_ex.rs:178-184 | sea-orm-sync/src/entity/active_model_ex.rs:244-250 | src/entity/active_model_ex.rs:178-184 | src/entity/active_model_ex.rs:244-250 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eeb0750aa793e645695faa7299a0995118b1a8c7f77a1e2122ab066c638920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/entity/active_model_ex.rs:187-192 | sea-orm-sync/src/entity/active_model_ex.rs:253-258 | src/entity/active_model_ex.rs:187-192 | src/entity/active_model_ex.rs:253-258 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c29941a82c66f719bd8e7b782143a3b8845c75fe005028a8bce304cf4ac388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:283-288 | src/entity/active_model_ex.rs:283-288 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e12466137ccdaf1e6982bbec7a9e2cab709227b98eea7f2ff00cac2a4161c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:291-299 | src/entity/active_model_ex.rs:291-299 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8480a6d25be39a9c9414856bdf6f0460a4abbeb38d094c5b940e4bf03918d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:302-307 | src/entity/active_model_ex.rs:302-307 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac72e20b84f0fd8e7530160621281c74ccde378413449f12e11a8579eddd041d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:310-316 | src/entity/active_model_ex.rs:310-316 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7cbb71dc9a996b225491c1ae0d98495a4cfc8492e198c30f989b87f148e4c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:319-329 | src/entity/active_model_ex.rs:319-329 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"355d3a72f4030ea64ecdb7991ab10d8c478e17dbdea657f40a72d576fc3d877c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:346-357 | src/entity/active_model_ex.rs:346-357 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c692d4b7cf50e40e325cb2b38719f7d8c06e6dd0923cf4161ec4da57adda68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:375-381 | src/entity/active_model_ex.rs:375-381 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae9c4a1233e5612841f2f9814a99f02861044fb9a289461e4014babc86f1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:384-396 | src/entity/active_model_ex.rs:384-396 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e36f272d9c323ad7d264ce31d07f01f76d74e6f70c8bd6d995e6c387a9745d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:427-434 | src/entity/active_model_ex.rs:427-434 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e3e3f18dabc9bc0f6cd8769b5bb1a872c2962fc169680c9081fe26fcae094c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:438-447 | src/entity/active_model_ex.rs:438-447 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a52d6e9109a469b0199f24721eb1aaefb6cfc731e0dc9aa3f2a794c1564f9e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_model_ex.rs:454-459 | src/entity/active_model_ex.rs:454-459 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_model_ex.rs\u0060 and \u0060src/entity/active_model_ex.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 134 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf11d50e378954bb2f8675f223b6802829fac868d13845f7cab5e63d10acc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:276-281 | src/entity/active_value.rs:276-281 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf50d81f3dfe611e8c86a7d84510b09e80d5777285c55ca9a587b11c0b86bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:288-293 | src/entity/active_value.rs:288-293 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eccb75116d5acd0e9c9f66ff3dda7d55c7923edfc77658fe8e06ff374855ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:296-301 | src/entity/active_value.rs:296-301 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d57ad2231a90f27ec8b69feb3ecce0766fdefabde6907884079afeca29b650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:304-310 | src/entity/active_value.rs:304-310 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"11af950d80ee0d2634056054f4fec39a42e7327145828870cf80e2075a29ade1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:314-319 | src/entity/active_value.rs:314-319 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a557a885d001d59a7e1633c478676ea954afd68f53f8540811d8e871fed805cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:351-356 | src/entity/active_value.rs:351-356 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6483c7444db740e6d1bc528424427d1710c74171685f5c3aa455451f5d1e0a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:393-399 | src/entity/active_value.rs:393-399 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7f03707d8dbf1f3dc0c6b92a56e69be723a533f5dfbdb30979f3fe831a1a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:536-541 | src/entity/active_value.rs:536-541 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"970ae4941630755533a051b9aad0317c491d099ece893c86f22b986c85340714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:609-614 | src/entity/active_value.rs:609-614 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4a5cc75880f27d2f6beb7f848cb639ef6504f68f35c1e4b0f604a4d37248f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:635-641 | src/entity/active_value.rs:635-641 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/active_value.rs\u0060 and \u0060src/entity/active_value.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 70 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":"sea-orm-sync/src/entity/active_value.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c3d4ac76d8a65232063de9113ec333e05d3a3ead9704a7aeef464d35adff91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/base_entity.rs:39-44 | src/entity/base_entity.rs:39-44 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/base_entity.rs\u0060 and \u0060src/entity/base_entity.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 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":"sea-orm-sync/src/entity/base_entity.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"549caf3e30a08d40acddf847b3b0480c210c97ea65e8bb3b8f04bb3291159a2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:587-593 | src/entity/column.rs:587-593 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 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":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0158f8992182653e14658423080b9591623d0a74e834fa3b8f53a1390ec22de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:625-631 | src/entity/column.rs:625-631 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/column.rs\u0060 and \u0060src/entity/column.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 96 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":"sea-orm-sync/src/entity/column.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"4194327e7fc1ad134c49628bb9daf3ecf7a86559db523420b06f31a1e335b51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/entity/compound.rs:50-57 | src/entity/compound.rs:51-58 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/compound.rs\u0060 and \u0060src/entity/compound.rs\u0060 as WHOLE FILES: 88% 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":"sea-orm-sync/src/entity/compound.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"104bd2f7a604becfc7de24886092b9da36095b68d31436e5026fa2f89094cf4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/compound.rs:149-157 | sea-orm-sync/src/executor/paginator.rs:110-118 \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":"sea-orm-sync/src/entity/compound.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7696e691e07fa09577eb4bc8a7f92045e0d6bf0d738360c19884e054b4f3f2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/compound.rs:176-181 | sea-orm-sync/src/executor/paginator.rs:172-177 \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":"sea-orm-sync/src/entity/compound.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a531a860e40cbf7aaadc70680f30dc8078a6fb26677e65b955db1ec8ff225d4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/entity/identity.rs:25-32 | src/entity/identity.rs:25-32 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/identity.rs\u0060 and \u0060src/entity/identity.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 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":"sea-orm-sync/src/entity/identity.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5e7e4746917954d8a968b8095e97667b15d691e04693505bb86c1c0448eb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/identity.rs:86-91 | src/entity/identity.rs:86-91 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/identity.rs\u0060 and \u0060src/entity/identity.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 75 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":"sea-orm-sync/src/entity/identity.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb14ad1bff0c9c458a382fd781cc4906c574e516305f35c7b7193ff2db00f019"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:99-105 | src/executor/consolidate.rs:99-105 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5221a77baacc68645543e2ca239edf29206e217681902ce8d979bbc0103c06d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:108-113 | src/executor/consolidate.rs:108-113 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2056126e0e423b241a21944ecc50a4260f2c9406bc115332c87a6d6c83aa08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:115-120 | src/executor/consolidate.rs:115-120 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e299bad044d1c4660d51eda7efbb95d3897dbe35e389aab607969baf5572d5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:138-144 | src/executor/consolidate.rs:138-144 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7733d1c1c9d7c283d27f7f31b0c470a1b838fc67b1743b340374a863ff8490cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:409-415 | src/executor/consolidate.rs:409-415 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 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":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"feabbb44ce58d1c34c1cedf4f1e23281d998571d9850eb7647884560e7df202a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:51-65 | src/executor/cursor.rs:51-65 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deead5b46d9267b63aceebb3f6bf229ea4639ca9847e84378e56e458cc27c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:223-232 | src/executor/cursor.rs:223-232 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"59626e64ce0a95054d07a7a3fed072d69c0cb8330a391b0b3a2a46febb431934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:234-242 | src/executor/cursor.rs:234-242 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/cursor.rs\u0060 and \u0060src/executor/cursor.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 256 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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"413568cb3a6e4fd14ab6504283c9a43b051d18c2e1827d876ecf65b6095700be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:87-93 | src/executor/insert.rs:87-93 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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 \u0060sea-orm-sync/src/executor/insert.rs:87\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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f317dc2a7247cd002a05c1e9fdc670a7c86cb832a7d857c779ccd5cdc01322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/insert.rs:590-595 | src/executor/insert.rs:605-610 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/insert.rs\u0060 and \u0060src/executor/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 94 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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4036ffa7de382fa9a11ca91b7800e6a39202243b0c3f5f9473785667836fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:319-328 | src/executor/paginator.rs:328-337 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/paginator.rs\u0060 and \u0060src/executor/paginator.rs\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded77c8120a78771273ffc7bf58ce48b135fe50ba0e486e36ac3d02556205fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:393-399 | src/executor/paginator.rs:402-408 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/paginator.rs\u0060 and \u0060src/executor/paginator.rs\u0060 as WHOLE FILES: this scan already matched 5 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/paginator.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7edadc72d58bb41d58faba07a0ef848417cdcbfbaff0c15775660bdb902a3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): sea-orm-sync/src/executor/query.rs:65-71 | sea-orm-sync/src/executor/query.rs:1650-1656 | src/executor/query.rs:65-71 | src/executor/query.rs:1652-1658 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060sea-orm-sync/src/executor/query.rs: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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1fff72d293a2b27ae3a8aa6883251478b078c382d4752b7829e775c6d6ca7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:104-111 | src/executor/query.rs:104-111 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"094926d3a609adf3e4cceabab689e1400ce70b3f4113eaa53b25c737265b90b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:333-339 | src/executor/query.rs:333-339 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d103d4c7017f2e8f627c45fa8e36e5edecf744f1763a870eacb747ce625bd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:343-349 | src/executor/query.rs:343-349 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd8069372d55b3663b982509dd7cb197039334a00155db2eefe74d1a2a900c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:353-359 | src/executor/query.rs:353-359 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"774061bf6af9a9ea0d1c9b2f048a4bac340cb706256b6a5ca67c0ff64e9103c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:363-369 | src/executor/query.rs:363-369 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eba22e4a44ccfd8adaaebe3da38fefb47f197b1ed216a8d95710725b1afa15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:373-379 | src/executor/query.rs:373-379 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"52568e66169d9637170d13a7225ef390c1febcef256b6f1aa4c6aca020bce09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:1624-1635 | src/executor/query.rs:1626-1637 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae33f9672d1a31c172591f29a15f2941c20b79ed5bc4ac339d6d70d2e36253f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:1693-1699 | src/executor/query.rs:1695-1701 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/query.rs\u0060 and \u0060src/executor/query.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 227 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 \u0060sea-orm-sync/src/executor/query.rs:1693\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":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c61baf5438fc1f00e9080c0fce05114dfc5a0efd94da661927cb4d1b0047fd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/select.rs:236-241 | src/executor/select.rs:238-243 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/select.rs\u0060 and \u0060src/executor/select.rs\u0060 as WHOLE FILES: 82% 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 4 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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c674be61a465d95d441394c62472cd59c89bd5a962399a1109b9ac5f2e42ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/select.rs:251-256 | src/executor/select.rs:253-258 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/select.rs\u0060 and \u0060src/executor/select.rs\u0060 as WHOLE FILES: 82% 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 4 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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9de96980aa86c3870d5673973ed7d231a74a4f1806d5897a2fd6ed5f00f5121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/executor/select.rs:644-649 | sea-orm-sync/src/executor/select.rs:780-785 | src/executor/select.rs:655-660 | src/executor/select.rs:791-796 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/select.rs\u0060 and \u0060src/executor/select.rs\u0060 as WHOLE FILES: 82% 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 4 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":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb570b55c10cd43650d632f2b6c994d54a97df59fb950fbfc9dfbea79b52c3d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/executor/select_ext.rs:24-32 | src/executor/select_ext.rs:25-33 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/select_ext.rs\u0060 and \u0060src/executor/select_ext.rs\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 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":"sea-orm-sync/src/executor/select_ext.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14eff19ff80406b9236d89e9e0fa9c9d08ff6114ef3e4bf38f2e99cd55b74b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/combine.rs:165-170 | src/query/combine.rs:165-170 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/combine.rs\u0060 and \u0060src/query/combine.rs\u0060 as WHOLE FILES: this scan already matched 3 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/combine.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e254f78400f98a3be92c5cb5339e7d44ff6fce7afddad6300e7ddddeafa8ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/delete.rs:132-139 | src/query/delete.rs:132-139 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/delete.rs\u0060 and \u0060src/query/delete.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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":"sea-orm-sync/src/query/delete.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5040b3cc0a30fc2f008e389f38744a9137c7310160410391e9dd205f9ddfa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/delete.rs:157-164 | src/query/delete.rs:157-164 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/delete.rs\u0060 and \u0060src/query/delete.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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":"sea-orm-sync/src/query/delete.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ce74212b297f929ac417895233799c8ce4e66217b7da849ce923dc18cd72d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/query/delete.rs:221-232 | src/query/delete.rs:221-232 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/delete.rs\u0060 and \u0060src/query/delete.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 64 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":"sea-orm-sync/src/query/delete.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b1f9c1e17dee84bb91aaa92665d9589451b819c9f92a5448bfe2c1be78cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:95-102 | src/query/helper.rs:95-102 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edd40fa657a4c93a7fab92a48ef70a45fea4a5d34ffb51a8bc5d56ea2d7f505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:204-211 | src/query/helper.rs:204-211 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"015bcb3e2a37aacffd3c3486593e5febd8291f29c182a8bf75fc053c015e87a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:247-254 | src/query/helper.rs:247-254 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"db76c6bef2421528a6b51191792cfba7e6543d309f4b93ba5497c32bb625e4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:378-383 | src/query/helper.rs:378-383 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c371807a936d214098e7c0ffc01fe9301c516c5afee61697c6e92c5c7c2d820b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:386-392 | src/query/helper.rs:386-392 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e730099a5da22373101af25055003fab0b9d267a9bfe0a88932f6a911e5580fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:412-417 | src/query/helper.rs:412-417 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2766c50544d1a51e6d9046d1ea29a71fe2dcff1857be43b368b020544e08fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:425-430 | src/query/helper.rs:425-430 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"78846ca72350a7887733c569d6bfd3f247a867da84ed06abba7632c9bd01a2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:853-859 | src/query/helper.rs:853-859 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"5567ec2ee3e5814a8c28f00bd253a67cdaa1f6f19c758e57f04c6329a96bbf0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:866-872 | src/query/helper.rs:866-872 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/helper.rs\u0060 and \u0060src/query/helper.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 77 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":"sea-orm-sync/src/query/helper.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d077b9c34b0cb9a2ae401a060fe04f34eff8647d2415080a0637f1c5351722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:224-230 | src/query/insert.rs:224-230 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac029edd206d187692ec56da5aa36349e020ebe7ec2f7c3e8a98bf6fc790fbd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:415-421 | src/query/insert.rs:415-421 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"caaf69e9746955b22613bfc1580ecad262a7398cec172bc680c6b85f131ebf15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:467-482 | src/query/insert.rs:467-482 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1256ea61673eb9ff40a968d8853af48cb5f512d1fb5ab7b2ee07fb8f651eb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:534-550 | src/query/insert.rs:534-550 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94dcffdfa29cecc4fc6baadf30ad8291dd233fabee6bd3c5281eab36725627c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:588-594 | src/query/insert.rs:588-594 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e002bb71981c6dff62e1708188acd07dee646ae62a81f2271f1fba1cb1d2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:616-621 | src/query/insert.rs:616-621 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/insert.rs\u0060 and \u0060src/query/insert.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 163 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":"sea-orm-sync/src/query/insert.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a31a80e1b5eca586205f0ae282ce7a5d6ad8c23da772225fa69149a82d839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/join.rs:256-261 | src/query/join.rs:256-261 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/join.rs\u0060 and \u0060src/query/join.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 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":"sea-orm-sync/src/query/join.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca7f259774b6677aa7f9dfc18ad9fb38724f29c8c5662491e6ce64655762a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/join.rs:268-273 | src/query/join.rs:268-273 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/join.rs\u0060 and \u0060src/query/join.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 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":"sea-orm-sync/src/query/join.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"15589e45b2204f998a3a5c0df403fcece12835317607156719d7d77c43d80b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/join.rs:280-285 | src/query/join.rs:280-285 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/join.rs\u0060 and \u0060src/query/join.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 94 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":"sea-orm-sync/src/query/join.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4054e4db0c7623aabfa05077ceb1c50718ee6383623226c6d6f40ec7c27acfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1330-1336 | src/query/loader.rs:1418-1424 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2962a1422b4d403ef69954c4766b341ff1b9411359919d433d105c1d9b05fdbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1403-1411 | src/query/loader.rs:1491-1499 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0544c075bdd9c2ac6b81884739618272913c8929f4d62d78548a8d67de421a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1413-1421 | src/query/loader.rs:1501-1509 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc554a233903def042ea486b25554574534f9dca01219a3be96df80387b9f66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1443-1447 | src/query/loader.rs:1531-1535 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfc163175f3098c82ff62e59d81b259f038ac044d628bb97b5e70dc2cc339d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/query/loader.rs:1454-1459 | sea-orm-sync/src/query/util.rs:247-252 | src/query/loader.rs:1542-1547 | src/query/util.rs:247-252 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/loader.rs\u0060 and \u0060src/query/loader.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 276 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21a382de194ea72034c5af84074dbc6d0702b2dd688c5c242701f48ef98c62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/select.rs:338-345 | src/query/select.rs:338-345 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/select.rs\u0060 and \u0060src/query/select.rs\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":"sea-orm-sync/src/query/select.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d2e48686cc526abc8516d6bfca4e1a070f7db57568be357893591864a36c49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/update.rs:140-145 | src/query/update.rs:140-145 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/query/update.rs\u0060 and \u0060src/query/update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 50 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":"sea-orm-sync/src/query/update.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb9f242f32a891af51be476a0fc5b9aee998d71accb7f69e11389f6cfd1d031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:149-153 | src/rbac/context.rs:157-161 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/context.rs\u0060 and \u0060src/rbac/context.rs\u0060 as WHOLE FILES: this scan already matched 6 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":"sea-orm-sync/src/rbac/context.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34b986ec87648a543679091d6492d3cdc3d51ef43c298e55ff8f82162c38e84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:205-218 | src/rbac/engine/mod.rs:205-218 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce6791da3d072b5240f2328514897dafb5302ad91705b6efad27b258eaed965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:264-272 | src/rbac/engine/mod.rs:264-272 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/mod.rs\u0060 and \u0060src/rbac/engine/mod.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 252 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 \u0060sea-orm-sync/src/rbac/engine/mod.rs:264\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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f97c1bcdc888815ba59af23739cf19bea89009c55d85038102ace6d5386237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/rbac/engine/snapshot.rs:40-45 | src/rbac/engine/snapshot.rs:40-45 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/snapshot.rs\u0060 and \u0060src/rbac/engine/snapshot.rs\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/snapshot.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"934cf363253d95dcd2f330f3dce1c5b9885439cc63a5f1c7ca65e95f0423eba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/rbac/engine/snapshot.rs:47-52 | src/rbac/engine/snapshot.rs:47-52 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/snapshot.rs\u0060 and \u0060src/rbac/engine/snapshot.rs\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/snapshot.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f880176d387db622c763d6fbce371f70081cbc8710168d64315e05f20d97b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/rbac/engine/snapshot.rs:54-59 | src/rbac/engine/snapshot.rs:54-59 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/snapshot.rs\u0060 and \u0060src/rbac/engine/snapshot.rs\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/snapshot.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5c0d7277350bae3603dec7d717d0f6307493262be992e317e4e93260a7f328"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/rbac/engine/snapshot.rs:124-130 | src/rbac/engine/snapshot.rs:124-130 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/rbac/engine/snapshot.rs\u0060 and \u0060src/rbac/engine/snapshot.rs\u0060 as WHOLE FILES: this scan already matched 6 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/rbac/engine/snapshot.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebd2e16bacedefa807fee79f52602f0507532075cc49d0db60529009e5c275d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:349-355 | src/schema/builder.rs:353-359 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"217c5ae507418bb9527b0269a3666efc7a6a1dbc11ad1ac9c3f389166796d02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:360-367 | src/schema/builder.rs:364-371 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07846f21ff23428266968317d2ae48d498dea767abde4ae13643516f9c9e2ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:643-649 | src/schema/builder.rs:652-658 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/builder.rs\u0060 and \u0060src/schema/builder.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 432 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3889e0137940b9cfe72c21c706d91a2680512f5fd3f72b18e4f65d3ed16b437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:43-49 | src/schema/entity.rs:43-49 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7594142ed4875d3a4c2d0ac8affa06d447531a5dbf129181666117b408542f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:104-111 | src/schema/entity.rs:104-111 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/entity.rs\u0060 and \u0060src/schema/entity.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27bf8d7d5a552b18b26aa06f61c41d6f22351bb0b3ccf751c5a13853119158d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/value/text_uuid.rs:71-79 | src/value/text_uuid.rs:71-79 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/value/text_uuid.rs\u0060 and \u0060src/value/text_uuid.rs\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 3 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":"sea-orm-sync/src/value/text_uuid.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9346392ea109a757cd15f3674f38b4814c478974618d50eb1bc06d711f8f3534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): src/database/db_connection.rs:746-752 | src/database/executor.rs:260-266 | src/database/restricted_connection.rs:192-198 | src/database/restricted_connection.rs:281-287 | src/database/transaction.rs:231-237 \u2014 there are 5 copies across 4 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 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/db_connection.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"902590f52c36818909008b377fdb62956c23cda27e96415bd68fae7094bd01df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/database/restricted_connection.rs:378-384 | src/database/restricted_connection.rs:460-466 | src/database/transaction.rs:896-902 \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":"src/database/restricted_connection.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa426e41daedecd6c83feafda23ad0dfe7f51e5eaa0c4af9d22fbcc5912560b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/driver/sqlx_mysql.rs:230-239 | src/driver/sqlx_postgres.rs:269-278 | src/driver/sqlx_sqlite.rs:249-258 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6ed76616b84176d4863332eaa4428cd91ed1b45145ca2efa87d086978accc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/driver/sqlx_mysql.rs:296-302 | src/driver/sqlx_postgres.rs:335-341 | src/driver/sqlx_sqlite.rs:318-324 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9346cea321068e1c388374fb435bb5ddf1760a6161d18650f04fb715399a50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/entity/compound.rs:153-161 | src/executor/paginator.rs:114-122 \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":"src/entity/compound.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dd1ec3d30b40be3f9f5311c425a12fabff6c394ef2cad20cd6609f735bb6bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/entity/compound.rs:180-185 | src/executor/paginator.rs:177-182 \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":"src/entity/compound.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4fe4d5904d2b94801f4fa6c9f7153c20f91b7c6048d2cd22cdb4bc8ec5f498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:32-42 | src/database/stream/metric.rs:34-44 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/database/stream/metric.rs\u0060 and \u0060src/database/stream/metric.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9821eba090fc97679d55d67d64f29f9c0c1261e9395d3790ca7328da58de22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:267-279 | sea-orm-sync/src/driver/proxy.rs:146-158 \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 \u0060sea-orm-sync/src/driver/mock.rs:267\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":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a477ed70274632164ac00a08e80391b36ec1be75dd8410fe517dc0bacee9dec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:246-255 | sea-orm-sync/src/driver/sqlx_postgres.rs:281-290 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:246\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad1a8f33465e1732b1c6f5dc920f16d3c421668bfc9c3d09350cd9d4c76e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:387-397 | sea-orm-sync/src/driver/sqlx_postgres.rs:423-433 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/driver/sqlx_mysql.rs\u0060 and \u0060sea-orm-sync/src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 204 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 \u0060sea-orm-sync/src/driver/sqlx_mysql.rs:387\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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"407a1f3260431ff3eaa25f50b45a89fd7229b9675aa6421560114a43b696f45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/driver/mock.rs:268-281 | src/driver/proxy.rs:146-159 \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 \u0060src/driver/mock.rs:268\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/mock.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef824ec52d1718a11d3ead4f96f634596772d6fbde158f6871a9932adc24ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/driver/sqlx_mysql.rs:247-257 | src/driver/sqlx_postgres.rs:286-296 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/driver/sqlx_mysql.rs:247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e537796971b604f664d7de026f0c89af8e1bfc112f97c657fc7ca833d8f4fefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/driver/sqlx_mysql.rs:394-405 | src/driver/sqlx_postgres.rs:435-446 \u2014 before extracting anything, compare \u0060src/driver/sqlx_mysql.rs\u0060 and \u0060src/driver/sqlx_postgres.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 206 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/driver/sqlx_mysql.rs:394\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/sqlx_mysql.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac45f91d0410374e4ee94b8ceaaddda70477dcb84287bfb6e8f5072d856df81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-migration/src/manager.rs:150-163 | sea-orm-migration/src/manager.rs:181-194 \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 \u0060sea-orm-migration/src/manager.rs:150\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":"sea-orm-migration/src/manager.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1218c68a654ed2e63bd2f80af481950ce61835d55256d0e2272950031b442e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-macros/src/derives/active_model_ex.rs:71-82 | sea-orm-macros/src/derives/active_model_ex.rs:122-133 \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 \u0060sea-orm-macros/src/derives/active_model_ex.rs:71\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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec8a66835a33faf76654932690990ed3478bbd828c12bdf324fa78332adf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-migration/src/migrator/exec.rs:280-290 | sea-orm-migration/src/migrator/exec.rs:326-336 \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 \u0060sea-orm-migration/src/migrator/exec.rs:280\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":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a234a6da11fdae1e26644f4bdb77f62896070aa57f209e64d6b36bab6db5b66c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-codegen/src/merge/mod.rs:191-200 | sea-orm-codegen/src/merge/mod.rs:202-211 \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":"sea-orm-codegen/src/merge/mod.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"721e76d9f9156bbc463fa79a1d058945199cba1685d7b224489a2f7bc459b28a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-macros/src/derives/util.rs:199-207 | sea-orm-macros/src/derives/util.rs:217-225 \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 \u0060sea-orm-macros/src/derives/util.rs:199\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":"sea-orm-macros/src/derives/util.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b48f27c822d55b63afc3db231f3dec9f4c1651879c12d82becb56d1907fc86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sea-orm-macros/src/derives/model_ex.rs:825-832 | sea-orm-macros/src/derives/model_ex.rs:996-1003 | sea-orm-macros/src/derives/model_ex.rs:1202-1209 \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":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b738676c193bd27cb78bdfe80a34ffadfb8778a6d1b0992fb976e09c561d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): sea-orm-macros/src/derives/entity_model.rs:201-208 | sea-orm-macros/src/derives/entity_model.rs:220-227 | sea-orm-macros/src/derives/entity_model.rs:229-234 | sea-orm-macros/src/derives/entity_model.rs:247-254 | sea-orm-macros/src/derives/entity_model.rs:256-263 | sea-orm-macros/src/derives/typed_column.rs:37-42 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. 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":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a847c9307cb7d1dcdc9edf1394a4f7b07b827bd9543caa783425cd8093879c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): sea-orm-macros/src/derives/entity_model.rs:201-208 | sea-orm-macros/src/derives/entity_model.rs:220-227 | sea-orm-macros/src/derives/entity_model.rs:229-234 | sea-orm-macros/src/derives/entity_model.rs:247-254 | sea-orm-macros/src/derives/entity_model.rs:256-263 | sea-orm-macros/src/derives/entity_model.rs:265-270 | sea-orm-macros/src/derives/typed_column.rs:37-42 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. 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":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cff606ac8a85d088eec9724cc3079f1af0695664ed38f2a6ca0af5e95aca18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-macros/src/derives/active_enum.rs:138-144 | sea-orm-macros/src/derives/active_model.rs:30-36 | sea-orm-macros/src/derives/derive_iden.rs:57-62 | sea-orm-macros/src/derives/derive_iden.rs:112-118 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060sea-orm-macros/src/derives/active_enum.rs:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060syn::DeriveInput\u0060 in one and \u0060DeriveInput\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":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a943409b4dae767004c2ea8962390a26c36ef11fcb47cdae57785ced063ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-arrow/src/lib.rs:430-434 | sea-orm-arrow/src/lib.rs:438-442 \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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7014507d7b34b148727bd0b2f042c0cd240814726632a8d945769d6a974a4d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-arrow/src/lib.rs:595-599 | sea-orm-arrow/src/lib.rs:601-605 \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":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d5afd71019ec01a8d2bc1de652218495f2b6207423aefb41a4c893a211e20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/entity/relation.rs:578-584 | src/entity/relation.rs:578-584 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/entity/relation.rs\u0060 and \u0060src/entity/relation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/relation.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6605a27ec3c3ae28ef4b984621fba623c8e5a69d11456018e765a0de608188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:17-22 | src/executor/consolidate.rs:17-22 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c2105f6cf7466da0f2a582fa8953a7fa3b53818608fc5e5e3feed10219aa24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:32-37 | src/executor/consolidate.rs:32-37 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1312e54d953eec76bff2ad2cfeb57d0e3b014a8b952a75bb9e16e62637fcf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:47-52 | src/executor/consolidate.rs:47-52 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbea2b4514ec21fc9915d0c63d9c9715940689fe83c1a36ac43d78695653c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:68-73 | src/executor/consolidate.rs:68-73 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe2daeb1dacdb74d2c80330640df7436267de6ae673f1ec29b6c83a0cc0d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:79-84 | src/executor/consolidate.rs:79-84 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/executor/consolidate.rs\u0060 and \u0060src/executor/consolidate.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 303 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/consolidate.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b466464da9b73fd1e8a56773cd71b8333a50877083542eb6fcfc053e991856"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): sea-orm-sync/src/tests_cfg/entity_linked.rs:69-76 | src/tests_cfg/entity_linked.rs:69-76 \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":"sea-orm-sync/src/tests_cfg/entity_linked.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21f1bcb75026005cd91338d53571e38c4631217b3e444d4f3161b23228f4593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/tests_cfg/entity_linked.rs:46-58 | src/tests_cfg/entity_linked.rs:46-58 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/entity_linked.rs\u0060 and \u0060src/tests_cfg/entity_linked.rs\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. 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":"sea-orm-sync/src/tests_cfg/entity_linked.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cce0b606c5d5782e5265113028d257041e5b7425abe1b2b3717ef645c80b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/tests_cfg/entity_linked.rs:70-76 | src/tests_cfg/entity_linked.rs:70-76 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/entity_linked.rs\u0060 and \u0060src/tests_cfg/entity_linked.rs\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. 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":"sea-orm-sync/src/tests_cfg/entity_linked.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a4d09daf2ad32fc919d654f952220f45c9751d386b9d39db3553f6198ab540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): sea-orm-sync/src/tests_cfg/cake_expanded.rs:8-75 | src/tests_cfg/cake_expanded.rs:8-75 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/cake_expanded.rs\u0060 and \u0060src/tests_cfg/cake_expanded.rs\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 \u0060sea-orm-sync/src/tests_cfg/cake_expanded.rs:8\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":"sea-orm-sync/src/tests_cfg/cake_expanded.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"deecf32bae31f41f51458d8c05ee6be6e1f824d2a4a291ac79e4b741a2cf7d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/tests_cfg/cake_filling.rs:35-49 | src/tests_cfg/cake_filling.rs:35-49 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/cake_filling.rs\u0060 and \u0060src/tests_cfg/cake_filling.rs\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 \u0060sea-orm-sync/src/tests_cfg/cake_filling.rs:35\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":"sea-orm-sync/src/tests_cfg/cake_filling.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c68ff0e5752032874485627d6c3924b457a1bae59a5c9498a7279f58bf3fe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): sea-orm-sync/src/tests_cfg/filling.rs:34-56 | src/tests_cfg/filling.rs:34-56 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/filling.rs\u0060 and \u0060src/tests_cfg/filling.rs\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 \u0060sea-orm-sync/src/tests_cfg/filling.rs:34\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":"sea-orm-sync/src/tests_cfg/filling.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9294a38e3a5335b586ce4b779e2a8d2ccd6612b2764fda0f99aad576936fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): sea-orm-sync/src/tests_cfg/lunch_set_expanded.rs:9-61 | src/tests_cfg/lunch_set_expanded.rs:9-61 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/lunch_set_expanded.rs\u0060 and \u0060src/tests_cfg/lunch_set_expanded.rs\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 \u0060sea-orm-sync/src/tests_cfg/lunch_set_expanded.rs:9\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":"sea-orm-sync/src/tests_cfg/lunch_set_expanded.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"282a95b541ebb1bbc3402fabcddd0b72c0c2285806e2e59156619ba5d33b48b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/tests_cfg/entity_linked.rs:12-17 | src/tests_cfg/entity_linked.rs:12-17 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/entity_linked.rs\u0060 and \u0060src/tests_cfg/entity_linked.rs\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/tests_cfg/entity_linked.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6784a1ab367a56f2263e612e7152c0d016a697aea7ced1e37ee3278ca0486fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/tests_cfg/entity_linked.rs:28-34 | src/tests_cfg/entity_linked.rs:28-34 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/tests_cfg/entity_linked.rs\u0060 and \u0060src/tests_cfg/entity_linked.rs\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/tests_cfg/entity_linked.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f940cf531951326d62b3a896f5ffd7a93ff468cb4f48dbad7d88a90cd07c67e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: entity (issues/1599/entity): entity (issues/1599/entity): abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e7f3057580dba388c462d5876216557ec0306edd9bb5305d3eb45e246e43425a"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: sea-orm-codegen: sea-orm-codegen: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5d5713b4f646c063156a949a86b740439fb4d986716e51abfdad0c5edc7f3d0b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConnectOptions (LCOM4 20): ConnectOptions\u0027s methods fall into 20 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 20 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":"sea-orm-sync/src/database/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbb6d6e0a9679d0c82e77e4dccfa7d7565558967b5aee0a4158be124b2d9ff9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ConnectOptions (LCOM4 20): ConnectOptions\u0027s methods fall into 20 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 20 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdaa1470854284b31172f79eb42f1aa880a3be0f7bf0c9fb2338b4b70bcb54a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-arrow/src/lib.rs: 0.0% line coverage (0/653)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-arrow/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26437cc597690b80fcf2e1abd9f6981d73078ef6fa2321f08b4ea75f0ee69a8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/entity/writer.rs: 41.9% line coverage (246/587)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7460d3c2a50fb2146e0d01ce48468779f39f93aa0f28dcf88fd14e4f8b52adb3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/error.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24501a5b837f1e72749d45f8bd5dafc7d964fef1bd8e4520f4e2ca94bd8f284b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/tests_cfg/dense/indexes.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/tests_cfg/dense/indexes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"953ec21f53bc286017211faa891978c55e52ab4603f4b10085bb47649fa81e68"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/tests_cfg/duplicated_many_to_many_paths/bills.rs: 33.3% line coverage (3/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/tests_cfg/duplicated_many_to_many_paths/bills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e692da222d1c8a32c03974723c072f4667e18a71d7323aeb00ef3d8f29d6e0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/tests_cfg/duplicated_many_to_many_paths/users.rs: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/tests_cfg/duplicated_many_to_many_paths/users.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"062da21cae4b49cba4e64971b274809b6f32dd6546960f48d3210c0ff6e7d17e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/tests_cfg/many_to_many/bills.rs: 33.3% line coverage (3/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/tests_cfg/many_to_many/bills.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bbc99b4a2d4ddec332fb5b4b9dfaf4739152745b4c84f98ffd5d0a79c4b216"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/tests_cfg/many_to_many/users.rs: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/tests_cfg/many_to_many/users.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780d69dcda40b430718ab4b491c3cc55dc34f34f07e28efabbd9b784eba1992"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-codegen/src/tests_cfg/many_to_many_multiple/users.rs: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/tests_cfg/many_to_many_multiple/users.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70330db0b8ebb40ba0ca28758db0514b3ab39e1f0fcfc92513195dcba03dc1d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/active_enum.rs: 0.0% line coverage (0/366)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a14a06b9091c2da43d5bb3e5cad64a23d3dbe2bc89d0c302a55683da6b1e3c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/active_enum_display.rs: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_enum_display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c682fdbd5a0a70c78c7447452f707ee89eb8e4fefc24b2942855862e33a1b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/active_model.rs: 0.0% line coverage (0/176)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adfb60bd7f96e6d8cff7ee5a6c637fb072bc6944a3c66fc6901b8a387a983ab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/active_model_behavior.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model_behavior.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6abfe8efc8bd41e6d7b78fcd1f135031c5767ce0da841be2323106872d52b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/active_model_ex.rs: 0.0% line coverage (0/630)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7d3080219de305aa4f05d8d521d6a9bef766c3d451e386a9cbb9e967595aaf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/arrow_schema.rs: 0.0% line coverage (0/242)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/arrow_schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d574da1bfecbef702fcaac41f6d36a19979c85d4c6a5e47c47747f184bde0f2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/attributes.rs: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/attributes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27423365c55672349d48b86aed750b2f8db2553bce0f9dd24cf551efa5809837"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/case_style.rs: 25.0% line coverage (14/56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/case_style.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"352bbbf7643a3e901d10562fb3e0c39a9eba7a1852265fdbd5b57cfd1ee76d72"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/column.rs: 0.0% line coverage (0/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/column.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dfb134b1f64a3948a697db41ae17e9039e7e164c59817d41cc1255710e6acd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/derive_iden.rs: 0.0% line coverage (0/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/derive_iden.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a200c6731c2fa9b63e551a0c8d454d015acf3831b3275d47e45c214d20261841"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/entity.rs: 0.0% line coverage (0/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f634c8b376ba0888bc8b09a88871be26fa864df785998bfd87c0d480aac9624b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/entity_loader.rs: 0.0% line coverage (0/331)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a8e1a56e8b5dfab76428881dfc8f7af3af54d9239a519ebc4b45fc8fe5ce2d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/entity_model.rs: 0.0% line coverage (0/401)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6120e25fc19c7d9371e73ed18aa5562654d7ef656003c4ea1b1fc5ae2a48c7a8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/from_query_result.rs: 0.0% line coverage (0/128)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/from_query_result.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4073ef73ad85920bb15969307e264b07448849f545a883a1c7f6726153156e51"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/into_active_model.rs: 0.0% line coverage (0/159)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/into_active_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224acd2c3e9905dea995c22e7a11ee101cae2db625abb2e3dd8dd0c6ddd0f29e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/migration.rs: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/migration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d14ec6f79b6913f0951879c389acf873d9ff033b65d1276d314cab4c89dd1a8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/model.rs: 0.0% line coverage (0/169)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c25312c3cf725227e3ab799170c159810aba6d049ae65ce24fbf4adb45301b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/model_ex.rs: 0.0% line coverage (0/992)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/model_ex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bed4ad2527a42ddac873320d3fc339d4e5c73a839aa618b6abe28cc561b0f1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/partial_model.rs: 41.6% line coverage (104/250)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/partial_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dc88e52702ab2f4b625fb5195a6111060712e56150cb701d6dd72687728976"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/primary_key.rs: 0.0% line coverage (0/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/primary_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ef0d8b6c45ee7309572bdf6c9f2a77b566d8c9f5cc4c434a6577bef564ca45"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/related_entity.rs: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/related_entity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f005071c79f893906ad3f66a60c16923f0951bdddf8a25a6b4d8aaa5cee72a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/relation.rs: 0.0% line coverage (0/181)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/relation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f12f9857129abdafed694c3885f068c558efb724e763518a39f4fd9fc553e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/serde_attributes.rs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/serde_attributes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a4ede95a58ac23ecf49ab3d594837b14f96e472d332fb76a0794b9ef83a484"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/try_getable_from_json.rs: 0.0% line coverage (0/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/try_getable_from_json.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7ae6307ec4886846259714bc0d661c16ea48a4214500d2a537547fd9d16e20"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/typed_column.rs: 0.0% line coverage (0/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/typed_column.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac110988bf4b49bbb647deb17d5e558651d947b01df56504baa5f3e8860a8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/util.rs: 19.0% line coverage (52/274)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59eacf051ddcdf4fc8af26e18ec4fa4bbe50cfd4c4316024625c9bf3d1de3ab5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/value_type.rs: 0.0% line coverage (0/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/value_type.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3345a0a14de0d4ee2fee46f0fb3c64b3476ee4c89d877b24050ca2f76c192219"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/derives/value_type_match.rs: 0.0% line coverage (0/159)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/value_type_match.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76a77e7e43c1f46a6b22c7da7cbd29a4df066c75082f7d05e646ce67541aee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/lib.rs: 0.0% line coverage (0/201)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c6868942f7cae98a8d883faa35c5977b64c558ad3312085e299c701d522fda"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/raw_sql.rs: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/raw_sql.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcd9607ba2be6b8b4d77900f1b6309f07d889ee17e8a03763dadcb3d0f13f2e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/strum/enum_iter.rs: 0.0% line coverage (0/51)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/strum/enum_iter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ac881dfe110d12739b35a9f1ea51674c2e1c03f711a83e1d5f7f6406ac6b39"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/strum/helpers/case_style.rs: 29.8% line coverage (14/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/strum/helpers/case_style.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"485f88290586f07f81b6e69ad100f124934e9106dd59ffc0b7c07130d4120965"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/strum/helpers/metadata.rs: 0.0% line coverage (0/129)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/strum/helpers/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e386111d8bf9596414aab69d3fd7264f0417a51ecc09fbe49d465f264544e849"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/strum/helpers/mod.rs: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/strum/helpers/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"458f2b09af30f56f6312b6db936fbb217c9cb015dafb1a4c3bce7aa256497dfe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/strum/helpers/type_props.rs: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/strum/helpers/type_props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16269bce0aa707c04c1af3fb8168cbbcceec9c1f7d6b04d93a9d69aef51babb2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: sea-orm-macros/src/strum/helpers/variant_props.rs: 0.0% line coverage (0/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/strum/helpers/variant_props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a230f6f78efeff7eee0e408df2640675e70ac4412321a6a00844321c0e25879"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/database/connection.rs: 36.5% line coverage (35/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af0217d6afba8dea79ab871943ec0ee6c121ade98e1d1c4fd4d342fd97947a4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/database/db_connection.rs: 44.4% line coverage (68/153)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/db_connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7140a3cebc6ce6e544f0f572b59c83869c4def118869e79d97a189f6b1d0d69d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/database/executor.rs: 0.0% line coverage (0/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/executor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab90cb977c70270e6d2f585b38110551aad1007b699d4a5b9e97e6a2f41c187d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/database/mod.rs: 33.5% line coverage (67/200)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b20b41a6cc4d045f28b4cf9a96a0f8957b937c147bb71c0a4f5660c957b2c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/dynamic/entity.rs: 22.4% line coverage (26/116)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamic/entity.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa25f52f45fe614bfa31b4befef389b464cd9909184eb62bdba68e5563c60ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/dynamic/execute.rs: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamic/execute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2964547e9fd2af59fc222b4a13e233e615adf34ea4f4ea8df28d6947c881bbd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/dynamic/model.rs: 24.2% line coverage (16/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/dynamic/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2c38bb940bad6c72d3a01add723616ae5d432ce3d505a1e8491234ef243822"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/active_enum.rs: 6.7% line coverage (6/90)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d79c3c5474de33ba64f0ea376c0d8150dd33ab06fbfb51cf099d437366926b7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/active_model.rs: 21.3% line coverage (87/408)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eee9feaffdc734ec977755c964463241c1cec0554971189f83299566e4905d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/active_model_ex.rs: 1.4% line coverage (3/221)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/active_model_ex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e9c5a045fdb4cdf377a208c02d9f0bd24b8fad93ba94b87b9916b75e2faac1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/column.rs: 44.5% line coverage (105/236)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/column.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaf2dc13787bf94d9a4c09c35502c5975d3b3a6e235cc3b7c350587fc0bdaa6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/column/types.rs: 0.0% line coverage (0/106)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/column/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf3e2e69438a9584e3c7ef6f3645181fd1e2f3d182a46290777329fdc9f1be5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/column/types/postgres_array.rs: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/column/types/postgres_array.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe7929a730704b7398252930d723ced5f33893d902b11daad6f4b4d01cad863"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/column/types/with_datetime.rs: 0.0% line coverage (0/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/column/types/with_datetime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9473234fcb0aae86b7a6fc1551bf9666d8551cb3b5ba12e844de72b3a233e33"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/column/types/with_json.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/column/types/with_json.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a092d4c07ae58bb3cae28aa4948e9b9aab451b4e53c0590d3c7d71a1b548fde3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/column/types/with_uuid.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/column/types/with_uuid.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6788ee03c4dde709949e58a2c4c22996eee34bdbb8e35ff0aa8925fce221d4ef"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/compound.rs: 0.0% line coverage (0/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/compound.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2a8cdc188ee8ef155d766ea602c7fa423c4b2e8e2a267a5568dd3692721f62"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/compound/belongs_to.rs: 5.5% line coverage (7/128)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/compound/belongs_to.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1bbee02f3e8f95d88f1b88d05cd6d9155ecd6681f232caf31db67c764fa058"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/compound/has_many.rs: 21.1% line coverage (26/123)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/compound/has_many.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a09f23f526f702a92bf5d6988361a93826bedc60f1fe54c588826cc0b8780"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/compound/has_one.rs: 38.8% line coverage (26/67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/compound/has_one.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b7ae09b866fb17511d2772e2c5177da47372aa493450579a5ea0193b6d0203"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/model.rs: 36.1% line coverage (26/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f994f1bbb01403db5b9a9e06a902fc8ce58376093f073399e787b80f363f6f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/entity/partial_model.rs: 0.0% line coverage (0/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/partial_model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd47ddd5938807d1ccc8c99c0a9ccd595cdf1967842cc6b0d3e9f5dc54057f9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/delete.rs: 7.8% line coverage (9/116)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/delete.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa20f2be072adf1db764778a7cd060bfe028b86fc628f88f40fbd5d3b20539c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/insert.rs: 26.0% line coverage (104/400)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/insert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12871b197df607233fc8365b688a45c815f76542e7a6b657b0e2fe3744d43725"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/query.rs: 31.0% line coverage (125/403)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d736a230b65cd6cf8a2b4a5ca739d6710c4285b6c196a1263e087309905f937"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/select.rs: 32.2% line coverage (111/345)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/select.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c683f4a04c4b1bf6bc2191f9c46af93963be34ed9d7aa093ac5c7dfee8b1de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/select/five.rs: 21.9% line coverage (30/137)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/select/five.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5859550677d4c061e29da76218e421eec2218554d5a63c31fe3bab8dd5b67579"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/select/four.rs: 17.3% line coverage (30/173)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/select/four.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a31f97f3fb0c062888f1261f3861a1be37300a680b217372a0c69e662ce3436"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/select/six.rs: 14.0% line coverage (19/136)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/select/six.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36de781fba5e278ccce66ca75e13cb2412430bddfa2d51709c5194c7b4140f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/executor/select/three.rs: 20.5% line coverage (30/146)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/executor/select/three.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae68922a40b587e3c13cbfe4ce790733734f047eb37a77eb41919582233e272"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/query/debug.rs: 0.0% line coverage (0/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/query/debug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78ace4bb5af0aefda28495acfbcc814bab8ffb2e7adfdddad839b3517cd34fd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/query/insert.rs: 45.5% line coverage (115/253)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/query/insert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a26d673a27f22473a3aee803ee4405219118c191390c7e0782fbacbdf18fb4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/query/traits.rs: 27.3% line coverage (3/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/query/traits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75edba85a79f6065ae00d240aad48d27c7ae14ed10da2c1dfbf669f57d7e2c1e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/query/util.rs: 44.4% line coverage (79/178)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/query/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f39e8c2932aa748b1424ac784315480505da6fd40c6c70fc89add21fa09107"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/schema/builder.rs: 0.0% line coverage (0/333)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f32a090bffcbe1c6f2a7b139b6f0646c8ef137de54ccff348c4619d623f78f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/cake.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/cake.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9997d96308dfa2b8986ad0592ce46e19c508f6b0bf18e4d461264823144cbdf3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/cake_compact.rs: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/cake_compact.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae17b4b21e288a3960e40ff9e3fefc976915cf162d83575ce507f6c8232d79eb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/cake_expanded.rs: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/cake_expanded.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb626177aadd941102b1decfd7dc855309f4eb0c6801c2b864561060f63e7e7e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/comment.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/comment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab33e263ba40a8ad0adea1e5c008d88d1f7b1dd1ec07091cc49190d02de5572"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/ingredient.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/ingredient.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ed60207b8c5eb7cd6b3ab0a3e06db8af52abbc24e29a56250b90502560de64"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/lunch_set_expanded.rs: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/lunch_set_expanded.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbf545237f51ed7ea07a55898db0bb8cafc1743afeeb50bfb8f26dd0cf042fe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/post.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/post.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dcaf04d89b6022039fd128e24f62c968c3b741740808a84691ad6f8c28fed2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/post_tag.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/post_tag.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a075e7504fcaa351d9fa74b973952bd313216fd425c510e9e306378460f77807"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/profile.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eeae4310765084eb580b418fd0e19ea7da9cfceac8137231a25e821f380ba7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/tag.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/tag.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19aa0e55f7627ff108494a6a74e38673c7927e9f01e313b67a789ac30e71584"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/user.rs: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/user.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53256d2637232a7dfb5f13a722854953c110e43f3f2fbc60950b0152f2d25532"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/tests_cfg/vendor.rs: 0.0% line coverage (0/3)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/tests_cfg/vendor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"683b929e2fedba46c95e6dad0f2cd325b9317b0852659fc534cd426778399de3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/value/text_uuid.rs: 13.2% line coverage (9/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/value/text_uuid.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6956ad5711af28031d8dc6b82d247b851058d187ea1272c8b190d4b7feec089e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: src/value/timestamp.rs: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/value/timestamp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7084b7895efd05677cf24721e89ef40e86bd77660a74ecad94855116f0d70724"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sea-orm-macros/src/derives/entity_model.rs: sea-orm-macros/src/derives/entity_model.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in sea_orm_macros::derives::entity_model::expand_derive_entity_model at line 16. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 13:24:28 \u002B00:00\u0027 --until=\u00272026-11-10 13:24:28 \u002B00:00\u0027 --full-history --no-merges -- sea-orm-macros/src/derives/entity_model.rs\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":"sea-orm-macros/src/derives/entity_model.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa1bc7ced681b5e6f77e8829a19a01d1510c2c611b2efef342672a23d2c1976"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sea-orm-cli/src/commands/generate.rs: sea-orm-cli/src/commands/generate.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in sea_orm_cli::commands::generate::run_generate_command at line 116. 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-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 13:24:28 \u002B00:00\u0027 --until=\u00272026-11-10 13:24:28 \u002B00:00\u0027 --full-history --no-merges -- sea-orm-cli/src/commands/generate.rs\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":"sea-orm-cli/src/commands/generate.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"56270271aac4388d46438bd63142641f8c56542d4f1efdadec323c62ed68a400"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 18 significant file(s) lose their only recent owner: sea-orm-sync/src/executor/consolidate.rs, src/rbac/engine/mod.rs, src/entity/active_model_ex.rs, sea-orm-sync/src/entity/active_model_ex.rs, sea-orm-sync/src/query/json.rs, src/error.rs, sea-orm-sync/src/error.rs, src/rbac/context.rs (\u002B10 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"04ef52c6e681b6e223ff47531b38bba5b3b83504862032ad063fb048f51612b8"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: src/executor/select_ext.rs, src/tests_cfg/serde_rename.rs, sea-orm-sync/src/docs.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ff241c79f78e81aab1f42b089c1e24ad74a4445a52ea378978ee0e1531eb2c24"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how can we abstract 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":"tests/json_struct_tests.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"34aa03f9dfc8f0a473e04b9dfc125a63ff1556a134502e89b479f2baa6986327"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how can we abstract 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":"tests/json_struct_tests.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4216e964df75b5facd83fa0f0896b56469a4cd8a9bc5e6ff5bcec3e1ccff7ccc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how can we abstract 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":"sea-orm-sync/tests/json_struct_tests.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7a5bd2862137a313690eafc7cc397ee29a9e15b784597144520f29ddcdaf0c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME how can we abstract 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":"sea-orm-sync/tests/json_struct_tests.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deefa43582f31f6c2d2dc3b3a9fc761beb3d40538be8fb38ccc0366d8b0d8d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: init utils \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":"tests/partial_model_nested/nested_alias.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f95efe32f005da8701465b0948aadcba4000d4339ffa9632f8f813c98abd8da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: init utils \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":"sea-orm-sync/tests/partial_model_nested/nested_alias.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f4f66604f6fc206db1704f1d374fed864dc17c79dffa14017649fa4997d1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add enum variants \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6de1cbfec0ab85ddee82c46e465c1eeb74ed43bb2fc0c81eb964fd0ab4d40b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add enum variants \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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee8eb839a9ce259bbba23ad49dabed6722296fd03b07d8e4f1db71c6ad263ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace DynIden::inner with a better API that without clone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/query/loader.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6561073f84838916c5833964027db531047db354a207ec88c6084e14d231417"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace DynIden::inner with a better API that without clone \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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dfdc7c8d7cd26144ce0e8832d169c2c1fde1d61804bebcb4ecb6480ad847d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle disable_statement_logging \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1eebcb519b404cdffa91c9beec079e247ef615a94f7907364fb7e93200cd4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle disable_statement_logging \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":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afa050f270e52f83b3f69ab5ca06b803aac90a43ef93b736d0937f122015d6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use DynIden constructor \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":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071abfd2058026ea17d496173ad59cde945b4aab8e809ca89bd45c1280c7ecf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Batch save? \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":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"084ec8d16108fb23fc3e4352afa81bd38ebe78befd7c9923626f20e625cd88b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Some actual work goes here... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/react_admin/backend/src/workers/downloader.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25a4800437d8e14656bc4c7aca454aacda9234763df5f083d44967323a8631f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Some actual work goes here... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/loco_starter/src/workers/downloader.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b10bb6164142abcbaf49568ed2db39987e22b076628b73cfe19a3ad62d70c39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Some actual work goes here... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/loco_seaography/src/workers/downloader.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d86c5c9e39f2d22e1318fd8da17ae9fd8bea6a1c7c025e1ec14640b5bc3ced9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see how to dedup / extract this to app-local test utils \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/loco_example/tests/requests/notes.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0e68200947c97c9d4a89881f2f54306e9b04c140a8b9f6d68f7b24ebe5061d"}},{"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 \u0060sea-orm-cli/Cargo.toml\u0060 makes this repository a deployable product (line 34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-cli/Cargo.toml"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa827b26f1762e759d4ce498e56573f5981daa66e59c529f9e92e35b941fe9c"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 28 project(s) overshoot their size bounds, lowering Project Cohesion to 8.6/10. The most over is \u0060(repository root)\u0060 (42336 LoC, 346 module-visible types across 16 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":"c9e4d9b74036d61f5034c056b8e6a3caebcfc2e1a6b22c82736bba3a2986f7c5"},"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":"423ce5b274b99598e13dac413e1d138d2efa9dc2bb469f2a76b272de0b8a5f83"},"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":"9547ffe1fe450c6c27db818620d208444635fcb2b5e8020d78e0fe53a6e209e3"},"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":"89bb37b903bc30f61450a2205ec954e925681e960fc56e28dec9f39c9a5a6c25"},"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":"4445dfbc2eef6be992d39b3dcc05c4bae1e7837cce35c1fd48aef885756ad3e3"},"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":"ce909bed6ebda284b1d561b91d12c8ea22c0754c210152a0847e6efa0dca4833"},"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":"0f066f34dbc9df8fe8679481c3f63f0d321a1056dc68b015e4acff4e6818eb96"},"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":"d131c32785c6d67895c6817bf9921917ceefb33faf83aef2f41038eb6e979d92"},"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":"23c27de6f4dbcbe4f83101a59d82a1470384949e2a09291b57cac8ebcf10f8bc"},"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":"3a49f2dbbd32611c6ed99ff4457ec9231a07b1f9b7b2ad636f9ce6ad9e31033b"},"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":"dd8c2b9a880923d4dec86420d863f6e81bf7657c845ceb51cea60fbb9d4a444f"},"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":"8e00e450452881ebfaecef0bdb6d6b4c2ca698802973930f77cbf8e905b2d285"},"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":"b35132d369626ee2dff51dbc31a9851ea520c0c9f0f4d42e2afccf2a4105434b"},"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":"3577b5d460a45f2f85a34c317d2bbdc39946750e4d239c3a196c4aa170cf5403"},"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":"4e366510d6d4c0ee60f02f4cb1a5aa6408a3a26dacc96182979c6e8916767a11"},"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":"25d00ef6d4b8e271219c739c48b8f92a784c6f8f0483aeea244edb22c9b32686"},"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":"ae1f0e0b33e9ece5a0ddf61c3c77134527a8db269bce3c5c0eb23b367724234b"},"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":"80c19e0e2114d3939b325d084adfe644f297cce1094257bb6740756115cfada6"},"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":"90b14e7f1153c67bdbeec0077e47032ef4de28e18164b38b7196e70eed379390"},"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":"1890c0968e0e3ca48bd66c29169e27e32b115a8c038508b9585d154b2f77635c"},"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":"ad97ac576a9d6e9e80882cf3374aace38287e3845d9067b10c67cedc2f20a4fa"},"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":"e8ee1e8daefe053a47a746e18a42131c85c0e592eaf8aabe28d904fddcb74a65"},"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":"d60333c88b4631ae11bcb052c8b5cb98939b28cf028014d1251b9a66f227dda1"},"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":"2cd0944ae92da47303bd2f7ef4e98a9d7f8378382e0528f1a1f58e39d64fe3a1"},"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":"1a8fbbcf1d2ce0a4329d129f479b61d6e81e9361129ff0e42bd39b2e02c0760c"},"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":"5e819e6da81df484722a4bbeee3cf18234cf23f1ff1ba8ca94994925432e851b"},"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":"b45720d22f4ebd6baa41095ee35c99cd00cff8ea604036e40bd5a63d92cd3639"},"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":"741cd62944a37ae8e265461ad0cdcb0270cff320cd5a44cbce80c48a0f5126b1"},"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":"22136e32ce7763323c3706ad7221afea1844d3141c3f3102e6f25539f4dc9043"},"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":"8ff3afadf609a6755c1181240e03a3a424d96e89c4dc7c0e39ed489787162736"},"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":"51eae7611850161552f4110b0107c421ef4d17fbef113bfd67a7dad84cd199ac"},"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":"e1662c9ade40f2e82655e4fe7d8a43712d7d0fee04fc2564c24bfa5f87863e34"},"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":"382c0cb310acc81db009fe792c4915be6594a9b4ca894884b75cbd20316c8c88"},"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":"506a3b053a330d947bd3c82c0b13eec7dea9ff6d06cf538093010c046f767502"},"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":"022480bd877a9031ecdfdd4214c7ad005f06a373ab3f89072b0cf9eec29392a3"},"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":"2456052007e7c375dcb1bf7470b031f148c6b3a785b08210b6410dd9e3dd9660"},"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":"3208d0c031a678ca8b562b1a58945ed63bd45c4e4b68fb11dc24bcf4be3b7cc4"},"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":"2316052545d49f0ede5fed4650f23a17de8d6e0c50f7d910731166b926dacd56"},"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":"eb2857e9e67c1b9cd7f9bd4bc7e291dcac32aa890b03dad5acf91df49afbbbf9"},"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":"223df80e43cfd100885dcabebcb7a03179e05cbc3bbee73df32d21ee5c7159ae"},"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":"714a8fd4617e0c91f31111215ee5d134b9284afe3a31c9645f8bf0cf2300ae2c"},"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":"b6411ca257718b534581974b9bbf035eaec569e5e8773c0f86cc4c491782417e"},"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":"2e9d08b7a3bdcd57342a918cd97a8003ae3efaf6b93f330d0ea0455b5c219f0e"},"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":"3faa8c1587e0f779a98f1501d259762a3f3c692fcba0a3e10d909b6c3b5001d2"},"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":"cd0d0208886b0f017d04f17caa826ca712f3dcda6d5f0587b13f4c3a6a717e5b"},"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":"ca3f28e101178fbd184686ce3fbe8de031c71edcb5f31372d6e52efa6129c584"},"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":"8ca86136fc17520f146c9ece99b931a581d0aadf9d6b6765c3969f74cc9c95ea"},"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":"ec338ea1ecb6ed908d2b246864428b4a7f3c7954b9a135ac3a5af9e8ed0de05b"},"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":"6c5c32cb649da46ed66cc278cc2b7ce52b9e4c37df1d5167e2a9f4daf5e910fa"},"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":"e480af34335eb2d104bb79a8f0b35a06da6e118d80a76a57d6d5f98c3718b666"},"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":"ceeb7c0b73a39db09c13bb10828325c17bea265ff4197bd5b09aa9668a7830fa"},"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":"41c2c6220eb3781f6a4984a4393bc946a13f27a65ea6fe6e4d31f9ea63c59c7f"},"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":"591933e1e31d11ea2fe071c9fdcc6cb5c9227e532c1cab237920441b5fa97c8a"},"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":"4220bf355058469ac09e0fc2f22b023970f1687fb390e22dbb610356c487ee6a"},"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":"fa2874ee1229be449817d1450f6009bfcec7cb181990687397d651d03e495076"},"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":"1d087f9791af329f11427c3076a703bed984942fee445ded5bde42b000808adc"},"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":"f8fd4645ca25956ad6f2b5e2cb7b9d0542f610d150fce5a9ebb04bd6ca95d775"},"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":"4128854e3f6eb65b4e68cf04d9d6bbbc0094ff16eba8c244e128aa9f8333358c"},"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":"9aeefd5fd38a5770719fe86fca6549c319878f852365be12322d35d38060bcb9"},"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":"d486583eba7dfb527fa5e7bde9a847c04325b18fe328b848b4afae6e3d605b70"},"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":"442b9ff0967f619ca2357bbd838d90e7f43795866428ea1916d7432aa5f017e2"},"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":"aa3fa398669f0b56268d4f944a3b830082e78e846689a202d8f37e0b2ef766d8"},"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":"07c043a5f0015fa8296499393fd934a5ac3dac28fdf0b7798fe7d40d242283ba"},"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":"9ba87db983b1ca284123ce82357ea493b6658d12bab7033bf574a8b99584d9b7"},"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":"640a8f737468d4984cb05cdc44d4de988c49f86f42a33d7915482649b2d62ceb"},"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":"735b5697cad31c2a0494c4c2286c837c40640e602f52f3ccafc8702b956ed5ca"},"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":"0908537e9e03288086e1f10759e92adcec6bd0db400d7ad880ab02bb092e6e17"},"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":"a05ba2c8e94ae22edbbd59ca0d83b47e726447d23189045daecc696564f2f033"},"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":"a401356b814419154157f3504ce4d17a5da3236ede4bb3e7120d2da5c5a3aa9a"},"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":"c5e979c60b460aeb42fe5d1b9c32039faf17f93d9b603ad845e96d243f54e9ae"},"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":"a003a2210ead0e860127aefe26a81edb64ed5140c50772c01e07f64926659699"},"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":"a7274b2460766a3c240f6932ffa6f3ee74e6e4ed2af52abdeb062e9194e292e5"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cda719c579f468031cf1d84911fa78c4df72f9dd11ffdc6c3f1c2dce3b16ca39"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"66f3782ee6a05e0b299f39b9c21dfaa6a8c9bfb063815f57684682109d628017"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"92bd0e9cca53e13d360777fe179dc99bd19b3bc1043780c5631e2029c038c0b4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1a8af9564ac9579bfd9952d90063de92b7d9ae2d4bc4ad3935c5f8d95cd7f43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca5a385339d69630cf29604eb5d7395a68fd9210c46cc28696ea3a31703672a6"},"properties":{"dependency":{"package":"form-data","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0b57f5995bb34ca83f5cf04dbd89f9b3a5e70ad2d4322e87b527dd1c3fe6a38"},"properties":{"dependency":{"package":"form-data","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b075c728c463aef730d8fca96ecd94675ef245427e72b19a7f88597b25b9cf0"},"properties":{"dependency":{"package":"tar","version":"6.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05d4577561dc468254af51a88ad570069bcb66116c1cb0af3128035a812567d8"},"properties":{"dependency":{"package":"form-data","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64b8331531e1d015e54e79665661216bc184d2463df8fb422eaa29c9ae1d88de"},"properties":{"dependency":{"package":"vite","version":"5.0.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"21e7b98c16d68542ae5ce93188e2b7a34e87e7c9c46b5b42760cbe3c69bc560b"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"070fa849b64be4abf287b15f4c86b287dddfabd41213bc3f6a1dc22cdc9f9c76"},"properties":{"dependency":{"package":"axios","version":"1.6.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba3d64b4f5af425827b6abf14ce7d541f16dc5f488527ac656a4f6227b86e7d9"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d32a60fe33bc17903817ccbf08e2ab880dbaac9f76ce5e63ff3b022581ac8ec1"},"properties":{"dependency":{"package":"braces","version":"3.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a7d450a4583e1882bc391edc6532a2038664071d71a5acbf76ece18170e5f79"},"properties":{"dependency":{"package":"browserslist","version":"4.22.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d49f908f18581f2437eb773c42fa43b903f262c59bff7a1d84d607e84212f36"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b01bb3563bd7c58b3489a1dc30088875ae4a1818381152c132738375c6b29c13"},"properties":{"dependency":{"package":"flatted","version":"3.2.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dad8fc115b34f6fcb4c713521c57d1d274e508ef2f018b5a855c52a2f8692299"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb3bd447be2654b96a04b9d66a4464d866e17572d5065b8a1109080684aa3a3a"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6298ee77602cde39299f38c4f065f0a35bcf9d6beafd31d6d5e1252cddcbb086"},"properties":{"dependency":{"package":"nanoid","version":"3.3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75372617491ef233ff3e247c05fbfbc704c8f870aea756c8992285134bd2a16e"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ade945760113bf62d13b98839d4ffbeaa3e96dcdf13ff622b2d6d94f4d95ba18"},"properties":{"dependency":{"package":"postcss","version":"8.4.32","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"359475a50ed6459a9450407070c5662cb0797eca8d5ae069644bb8d2ba3313a7"},"properties":{"dependency":{"package":"rollup","version":"4.9.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54955b19684a3049865160141c7a91efceea40a0ca29b28affdd1745daae8dca"},"properties":{"dependency":{"package":"source-map-js","version":"1.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca4f19e48bfe5080bea9afd73dc5b4ec1e018c131c9984d830ab7fdc98993c5e"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31835df2b3ce0e3104863be742108f326c1e08c9516b229accb46cb6c01663a3"},"properties":{"dependency":{"package":"axios","version":"1.6.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a77c1cd0789441a270054ca796070620ca3030dca4a0019c47a30d75ab9c75e"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d4d48840294c6ccb54d3d9d2c5747e550e9cf540d97c51053f018916891811d6"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"625094d5eed1c6d5deec5112ef2074f0a72a6316f1b16b0a4ede5f02b35b9674"},"properties":{"dependency":{"package":"browserslist","version":"4.22.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c0b4e133b8f7a4109edfb5713e57eda55053b6334fe8b160c245de9b212a9ab"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06a9cc3fec9a870ae624848a8cf6eab067d0c9f3ab284b69c3a7ebe1c3c08ee6"},"properties":{"dependency":{"package":"flatted","version":"3.2.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fab1683a8602857fec7524117c5f1cf882eb574973d29aeaa7f9ead381822089"},"properties":{"dependency":{"package":"glob","version":"10.3.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13d01bfa2f2664c983de9838038fb7fcd4d096e0b51b31d210239a3d7776d708"},"properties":{"dependency":{"package":"ip","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab882da5d5315e6b372aa2a3fd7497a227dd0fe9187db78e2319961e11faf750"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e57505b15f89edb9246db30eb6f4c09657404f922a1a6fe1017af3e3e6daf380"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5fa6bf8d8f3977e2f23703e3a71765b3fa72be2ceab9dbc3c460adcab7b1eb56"},"properties":{"dependency":{"package":"minimatch","version":"9.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e502b52a838205cf6443bd4d7148b6971c40b31dce2e540f247323877b76eeb0"},"properties":{"dependency":{"package":"nanoid","version":"3.3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42a4be9d6158785569fc13410a9e8eb7bd53cbc2a9dd2d86c696feda71682cda"},"properties":{"dependency":{"package":"postcss","version":"8.4.33","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9d88643413cfb09d43f9d6d1379253d689aae96482f051a2490c1ba3003cbf23"},"properties":{"dependency":{"package":"rollup","version":"4.9.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffba641990b6ab97d0cd899314f5c6b2f2b30b3ddfcfb8b7eee38c3cc1adb786"},"properties":{"dependency":{"package":"source-map-js","version":"1.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4258300332fc6b61530d1ccbac833d074cfcbe17216f628a73fc745cf620601c"},"properties":{"dependency":{"package":"@remix-run/router","version":"1.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4c5cc36f44db56baa0e15c0fe3341f5d0e87924766344c6e65500f3f5dd732ea"},"properties":{"dependency":{"package":"axios","version":"1.7.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6bea07d6b50886c7f2ac57c298fe4eb862160662f2ccd2b76fb732f5639f5a0"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b160513256058479ab56c4e6d3b857cbb78e71db9db9349e6701dc26fbb43a23"},"properties":{"dependency":{"package":"browserslist","version":"4.23.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2877458397bf6378afcfce6eb840514101632fe3327370e76c999ce3729bffd"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c9c05457f70d0536c158749aae2ea61d62c4e92c6c11ca2cdce064a3b198e90"},"properties":{"dependency":{"package":"decode-uri-component","version":"0.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8c2f6feb640e16e3d4c16d976d472217e09e772e69ed45ee24fd46e06a8ab16d"},"properties":{"dependency":{"package":"dompurify","version":"2.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a6107b101047d1fd67e54fe08f98699d6e8d7a59b519629b7a466a596078a5fc"},"properties":{"dependency":{"package":"flatted","version":"3.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d5d32ceff92849b8aa29d91a2d976966fe89766540dfc41d3d8cb7779ee0f5c"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"753fddcc6071ffd18d09eef6efc11ff661eb6fc3ad87c28feed10a9201e97ba6"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0920d6102dc62620d3f30c1afcaae93458629eb4c40e98d6b4eb41a7d01b4e7"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"80cba7703874805904dccbb287424c373e325e42d88ebbdaf5cb011bf609ed04"},"properties":{"dependency":{"package":"nanoid","version":"3.3.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c73837a150d87f1bd939536185bf167f2e4835ddec3589bc3d114b6aa3801ae"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5c947eead228999efd7c4b3c1f23948dcce1e59bbd2fe414d0125c9ae95e30dd"},"properties":{"dependency":{"package":"postcss","version":"8.4.39","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fbefa0ab788ef2ffc77d5e900f85b648b86e927fdc10ebde6926b24dfc357f7"},"properties":{"dependency":{"package":"rollup","version":"3.29.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd596640f2d16d559b519beb1fecf22a3f381d9224328161f353e802818b462e"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"08024814bb85cd6931b4664fa600858634cc8fd13a65bb22c18fa816e3b3955d"},"properties":{"dependency":{"package":"vite","version":"4.5.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c64acc23ce53f72e510bc706a85b82ecefcb1117e37b56ae069912bf27fa9b46"},"properties":{"dependency":{"package":"@babel/helpers","version":"7.23.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d6aba6da0dcb631b853f18de093a1a6ba47e56a1a69c557e122a4a54d1025e7"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.23.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c1fa3934fc8494a4d4079006e78841142aa4d71129577b9612b8fa6df29a08f"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42d30017230e12acf3d4b38097cd2a422b07d734e3a17f3758ea902cbdb10606"},"properties":{"dependency":{"package":"esbuild","version":"0.19.9","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"41b94a6650b9aade7aaa58b4acecfc0a7ab8b2254f35d79a17d785da77d0b5b8"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e7cfe5109876cadd6f7237e1b56cf4d636b97e9933e9db3e0b0367c6d46125f"},"properties":{"dependency":{"package":"micromatch","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a06abfe5b346f830fb5f2a0278ec760aaa193f7b9dfba9f3bc91d77bbb974aa7"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2e347ceb4795fa0de31254a775f37731e2a3f2f8d7fc53ce5088a86fd339a3b"},"properties":{"dependency":{"package":"react-router","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47c0dfb33445b14d1070a6a0bd1ea7a1467a5a107b01aa3a57ff38ef65ca3736"},"properties":{"dependency":{"package":"yaml","version":"2.3.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f07b7c24a008e6598f4ad2909d52577d89f975bb0741bc542f3409ae5d4b078"},"properties":{"dependency":{"package":"@babel/helpers","version":"7.23.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1374e353440db6474fad689947862360ac2c250e4e82da2012ef47aa7ba9cc3c"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.23.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17bd9c1caae52154a68a02bee743a7d31a2a936b8fb5e29924ac65ef01e9194e"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b3825d03a80e39a2fd15bae0937ff527aa8d861c29067d5a1f253c4c5b61927"},"properties":{"dependency":{"package":"esbuild","version":"0.19.12","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f107f53148e73078e64fdf32f46c23c46c0a1b92f053c2c00678fb9c2d158ba"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0c0c362a687c540751b7f998623049cbe90e396ee95263939bd1afdf12fa417"},"properties":{"dependency":{"package":"react-router","version":"6.15.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d77778499ceb8b10b2ff511e56eaebd68253e1f15697d9d714946c86d7d9b58"},"properties":{"dependency":{"package":"@babel/helpers","version":"7.24.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0202e71310ff00292168360cb49450bf732e333687b5654ab9534f85e94f9cb"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.24.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d26c0e61f211e3d18b73a31157e52e3feab699606e6a0b2bb604a1f930d6980"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9295e476a82ed8accae741d687e4f093400ebccc4aae3e418b9067409d9d099"},"properties":{"dependency":{"package":"esbuild","version":"0.18.20","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a33e1b71df964f766a548a279f6c1c4a727e8a76deaed8ed1657a9188810cc8b"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3ac44c727de80f1831073266d34db2e231d5effb42f369173840d962d7a5a06a"},"properties":{"dependency":{"package":"micromatch","version":"4.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd2ad43493e48915e2bd35549fdf799046ea0e9cb8c01f9723384f13b838c9e1"},"properties":{"dependency":{"package":"react-router","version":"6.25.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c7a8236a03ea4ad7e2041e4a613af850501fe43c46e8555ce5b60fe26c3457c"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c0ffa82f4a6d713269a38fbc7d57680edc745ef74e1828aab5c80a5435c57bb3"},"properties":{"dependency":{"package":"@babel/core","version":"7.23.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35ecbfdd522fe476a49d6fdc4d2dde9bbbe2c3e80ef131eaa98ecc5294e3baaa"},"properties":{"dependency":{"package":"@babel/core","version":"7.23.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a4bf42c40a6aedc7b75e17bd8757e34c75197774c65d56aa95875825e0c5463"},"properties":{"dependency":{"package":"@babel/core","version":"7.24.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"9105d7069be6fac6afa936942fba2d7a101c318bdc2fec6f0c8ab7ee0c598f7b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ca565619e33462b78f34cf2370b44e4a9a51000d8046b0465ab14b007099e0aa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d926655af8606f8ca1f29cb1b6fa59bbb980fbb429418239f2d6c6a6ae0f397d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8fde3c357b66eef457d9ef4062b72b0a879d8a0f56aed023d6cbeb85ee53113"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5188781553ea123b2d6eb0ce7535929f6cd81c12117c70a0a8a4a8a409a787f"},"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":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 9 of 229 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; 229 of the 451 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: src/entity/primary_key.rs, sea-orm-macros/src/strum/helpers/metadata.rs, sea-orm-macros/src/strum/enum_iter.rs, sea-orm-macros/src/derives/derive_iden.rs, sea-orm-macros/src/strum/helpers/type_props.rs, sea-orm-macros/src/strum/helpers/case_style.rs, sea-orm-macros/src/strum/helpers/variant_props.rs, sea-orm-macros/src/derives/active_enum_display.rs (and 1 more). 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":"src/entity/primary_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03363b0d9d8bd06e514b31710aa6b1d8b3345b09583c7a08c1a8e0d82614ab85"}},{"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":"sea-orm-macros/src/strum/helpers/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"211c7d950b258dc33896f1b5c9b7afc2a8ac4e9f4493023acca97136bbf4b913"}},{"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":"sea-orm-macros/src/strum/enum_iter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c82e4829abfe9246839d20806e59632e4f537942479e892878e8b66923d777"}},{"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":"sea-orm-macros/src/derives/derive_iden.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62a9a660212352be49c8cd80afb5f6edd4e158fd53e69e9086f85d2c11f1fb2"}},{"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":"sea-orm-macros/src/strum/helpers/type_props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a6a3fb8b2617a4111bcb53c3e3db9462b9efaa913417ed7b69becb55c3b569"}},{"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":"sea-orm-macros/src/strum/helpers/case_style.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3a0590737cc368a78bbd1df81e2cc563f56aff58280d771a5c89886976ffce"}},{"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":"sea-orm-macros/src/strum/helpers/variant_props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f998d33b9d41c35d087000cda59cadc396e8f84c5a2efc63d2b89e72a5bcaab7"}},{"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":"sea-orm-macros/src/derives/active_enum_display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b3648d3e538c4b6baa2bc24f1228f09f755bc0e3c7226441e7ca7413891835"}},{"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":"issues/324/src/model.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66ca6a7b1c10e406ad00b7dd1b87d2977fa4a50152f607550c3a47b1d511598"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: query.rs \u2194 transaction.rs: \u0060src/database/stream/query.rs\u0060 and \u0060src/database/stream/transaction.rs\u0060 change together 60% of the time (9 of the 15 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 \u006076e7d998\u0060 Add error variant BackendNotSupported (#2626); \u006085fc3d04\u0060 feat: Add support for async proxy connection. (#2278); \u006080d35a9d\u0060 cargo fmt \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/stream/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c671e4770a0515e4a0534b0f35f5db75d69b27f9367c37263628606dbdc41b"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","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":"1b3856dc48c94a2ef2fb1ec98294eb281aa479096b2de4ad945576786b374c23"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: content-security-policy: The live app\u0027s responses did not include content-security-policy (restricts the sources a page may load \u2014 mitigates XSS/injection). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b142e47096a32517bde0bb9b78f7e564119c7f87e22fba4dccc0d1e3645d74c5"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-embedder-policy: The live app\u0027s responses did not include cross-origin-embedder-policy (recommended by the OWASP Secure Headers Project (value: require-corp)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"153214bb9c80f7d66cba8eb6a7715e9609e84c3979c9b641cd6bedaa8be6930b"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-opener-policy: The live app\u0027s responses did not include cross-origin-opener-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8cdbe5cdec6a55c732bf9a9975c0e40f81ddfa4ad583a4a50bfb0895531607f7"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: cross-origin-resource-policy: The live app\u0027s responses did not include cross-origin-resource-policy (recommended by the OWASP Secure Headers Project (value: same-origin)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3ba35c34991db9965777a53477c2d497c4c6606f78d133bbaa3bc99c71648c2a"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: permissions-policy: The live app\u0027s responses did not include permissions-policy (restricts powerful browser features (camera, geolocation, \u2026)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac8a111f0bb913829dc090833718dca5ab8e5fba7350f9dcf68f1971010745"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: referrer-policy: The live app\u0027s responses did not include referrer-policy (limits referrer leakage to third parties). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"364ee3f006b552b8fee33710a1fbfb0c4fac59e927af9c4396e51940d9069f01"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: strict-transport-security: The live app\u0027s responses did not include strict-transport-security (forces HTTPS on subsequent requests \u2014 mitigates downgrade/MITM). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"567d3eeb50a5678c0139a1d316c614c44cd4c4fb5db6fffa7795bc73d035966f"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-content-type-options: The live app\u0027s responses did not include x-content-type-options (stops MIME-sniffing (expects \u0027nosniff\u0027)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e7f2638203ac91f5b64c739d090b339c00a90f1007c83652152b402a6eb0cdeb"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-dns-prefetch-control: The live app\u0027s responses did not include x-dns-prefetch-control (recommended by the OWASP Secure Headers Project (value: off)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"50e54b8511264dd930857e4620bda8ba4053661b439218ed047812bcab0e3a44"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-frame-options: The live app\u0027s responses did not include x-frame-options (blocks clickjacking via framing (or use CSP frame-ancestors)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0e84499d19780ca121fad65e0f3bd2fc17b1268ce3079a5f40495749c54dc87e"}},{"ruleId":"AXH1","level":"warning","message":{"text":"Runtime security header not set: x-permitted-cross-domain-policies: The live app\u0027s responses did not include x-permitted-cross-domain-policies (recommended by the OWASP Secure Headers Project (value: none)). Observed by booting the app in-sandbox \u2014 advisory evidence for AppSec / CRA / NIS2 runtime secure-defaults. Set it at your reverse proxy or in the app."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55366a3d9fb1c5952ebc54aab272eb775bf2c1b056d6d399652365c26cc2375b"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: devcontainer-app-1: \u0027devcontainer-app-1\u0027 (devcontainer-app) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e3e07275d7bb0248d61c59ff042689b6057ca5aa2a1279853ce5337c590c4c91"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: devcontainer-db-1: \u0027devcontainer-db-1\u0027 (postgres:15.3-alpine) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"89a532eb0c97da104314a87b1180a9ea7c2ba0850328d009f5b98ab1e7c5536f"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: devcontainer-mailer-1: \u0027devcontainer-mailer-1\u0027 (mailtutan/mailtutan:latest) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c3c3a7ddaa04777d5d88946d52b85bb42e4c1fcfe3bb5a3ffb76594789e65e0f"}},{"ruleId":"AXI1","level":"warning","message":{"text":"Container process runs as root: devcontainer-redis-1: \u0027devcontainer-redis-1\u0027 (redis:latest) runs as uid 0 \u2014 no user was specified, or one resolving to root was. Observed on the running container, which is the only place the answer is settled: an image\u0027s own USER, a base image\u0027s inherited one and a compose override are all invisible to a Dockerfile reader. Advisory evidence for CRA Annex I (2)(b)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f2744774ac17468cfe48c2ec1ff30290c4e1f5b01fd9aa4b779142f89a3a634"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 1.4.3 reproducibly failed in a rendered surface: axe-core rule(s) color-contrast failed on: a, h1. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f3ac60a8f513543e3616e3310eadd04e48faee367c92309e284504e755a9ea60"}},{"ruleId":"AXR1","level":"warning","message":{"text":"WCAG 3.1.1 reproducibly failed in a rendered surface: axe-core rule(s) html-has-lang failed on: html. Runtime evidence (advisory \u2014 not scored); fix and re-scan to verify it clears."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e2d0e1d2bf07ce04d82230fe7847e003479b78cd188efe60cc79686fb8ba8420"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 10/24 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060issues/1143\u0060, \u0060issues/1278\u0060, \u0060issues/1357\u0060, \u0060issues/1473\u0060, \u0060issues/249/app\u0060 and 9 more."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060examples/loco_example/frontend/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/loco_example/frontend/package.json"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"687715181ee4725946d71e8caf17450df2618725840bf5ce52c982e9b9ab6a48"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: This repository starts an HTTP server and nothing in its Rust source or committed \u0060Rocket.toml\u0060 secures the transport: no TLS served (actix-web \u0060bind_rustls\u0060/\u0060bind_openssl\u0060, axum-server \u0060bind_rustls\u0060 with a \u0060RustlsConfig\u0060, tonic \u0060ServerTlsConfig\u0060, a \u0060TlsAcceptor\u0060, Rocket\u0027s \u0060[default.tls]\u0060), no \u0060Strict-Transport-Security\u0060 header, no \u0060X-Forwarded-Proto\u0060 read from a TLS-terminating proxy \u2014 so its traffic may cross the network in clear text. (\u22122.0 on this card.) The server: \u0060Server::new(TcpListener\u0060 (issues/1599/graphql/src/main.rs:60)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8697c7a8b4c37084f15e81b8ec84d4cf62954730be74a0816d39b2127a21fd9b"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060Server::new(TcpListener\u0060 (issues/1599/graphql/src/main.rs:60)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"S1","level":"note","message":{"text":"No inbound request validation detected: No handler of this repository\u0027s Rust server answers 400, 413 or 422 (\u0060StatusCode::BAD_REQUEST\u0060, \u0060HttpResponse::BadRequest()\u0060, \u0060Status::BadRequest\u0060, tonic \u0060Status::invalid_argument\u0060), and nothing declares validation \u2014 no \u0060validator\u0060/\u0060garde\u0060 derive, no body limit (\u0060DefaultBodyLimit::max\u0060, \u0060RequestBodyLimitLayer\u0060, \u0060JsonConfig::default().limit(\u2026)\u0060, Rocket \u0060Limits\u0060) \u2014 nothing shows inbound requests being checked, and refused, before a handler acts on them. A check that answers its failure with 200 and an error body is not seen. (\u22122.0 on this card.) The server: \u0060Server::new(TcpListener\u0060 (issues/1599/graphql/src/main.rs:60)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0ffa303f3c9cef4b4c2cf028a78ce2f3c83f6078f80716eea7362fad047265eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(resource.schema.is_none() || resource.schema.as_ref().unwrap() == WILDCARD) \u0026\u0026 resource.table == WILDCARD\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/rbac/engine/mod.rs, src/rbac/engine/mod.rs. 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcd102678889ff10d6e09e205a25303828f9c3477e583e230abb324eec45b36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(self.sort_asc \u0026\u0026 !should_reverse_order) || (!self.sort_asc \u0026\u0026 should_reverse_order)\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/executor/cursor.rs, src/executor/cursor.rs. 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":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb26b76aafa41857ae00f909dabc3bdf131cefee4e925d2240b11d05d99905"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.get_name() == b.get_name() || (a.get_ref_table() == b.get_ref_table() \u0026\u0026 a.get_columns() == b.get_columns() \u0026\u0026 a.get_ref_columns() == b.ge\u2026\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/schema/builder.rs, src/schema/builder.rs. 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"5369e48499720ff7322166bb14aedbd0406203fec2bc674e7caeea5b31b01edb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060base_url_parsed.scheme() == \u0022postgres\u0022 || base_url_parsed.scheme() == \u0022postgresql\u0022\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/database/db_connection.rs, src/database/db_connection.rs. 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":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9be7a00f05f052769142d84f86f37bf2df201af522ea798deb3d255322b616"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg!(feature = \u0022sqlite-no-row-value-before-3_15\u0022) \u0026\u0026 matches!(backend, DbBackend::Sqlite)\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/query/util.rs, src/query/util.rs. 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":"sea-orm-sync/src/query/util.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c009f02c94341010363b02fc04f8658fdf50e4b16dd674cbaf92c49564904344"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060column_def.get_column_name() == index_cols[0] \u0026\u0026 column_def.get_column_spec().unique\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/schema/builder.rs, src/schema/builder.rs. 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":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5986ad52ae3ba1d9a08e607abaff26045f20c277f01f5736fd628bd540016"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060column_def.indexed \u0026\u0026 !column_def.unique\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/schema/entity.rs, src/schema/entity.rs. 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":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d67172bb41cffbacfbc8009d13f3dc084d609c95ca2cf4ac3fe5c381304d62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060db_backend == DbBackend::MySql \u0026\u0026 last_insert_id == 0\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/executor/insert.rs, src/executor/insert.rs. 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":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"72751033785b714eba76ecc0414b4fd0cc07755caf9013eeb8ed3bfaf91ca5ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060from_cols.is_empty() || to_cols.is_empty()\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/query/loader.rs, src/query/loader.rs. 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":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f29a7bb5f3a17fc0be9b027ca9707a7e0741dd9e76348b14a2a568406d70bd6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_wildcard_permission \u0026\u0026 is_wildcard_resource\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/rbac/engine/mod.rs, src/rbac/engine/mod.rs. 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e1d3a131170eaee78fc6010f3ef2e90b4b727c589cae0bd633ff122f70b5c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get_primary_key_value() \u0026\u0026 pk_item == pk\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/entity/active_model_ex.rs, src/entity/active_model_ex.rs. 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":"sea-orm-sync/src/entity/active_model_ex.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"026472fe1e42ecda8428067b5770644d52e74ac00b6332dd1c1311556d91f4cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060major \u003E 3 || (major == 3 \u0026\u0026 minor \u003E= 35)\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/driver/sqlite.rs, src/driver/sqlite.rs. 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":"sea-orm-sync/src/driver/sqlite.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"368983db507d6b24fb9e0e26e575f5173ad88b3aa60ff113c5866c63811d9103"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ping_after_idle.is_none() \u0026\u0026 user_cb.is_none()\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/driver/sqlx_common.rs, src/driver/sqlx_common.rs. 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":"sea-orm-sync/src/driver/sqlx_common.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d489cc4ae02d453b70dde03169a8d6cfb599393160d6232398bd44bf7023752"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource.schema.as_deref() == Some(WILDCARD) || resource.table == WILDCARD\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/rbac/engine/mod.rs, src/rbac/engine/mod.rs. 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae41db9c421e261b874a1531db450b3041bdf978d6434743c13d4b419e924780"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource.schema.is_none() || resource.schema.as_ref().unwrap() == WILDCARD || resource.schema == target.schema\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/rbac/engine/mod.rs, src/rbac/engine/mod.rs. 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cdc75a38a4100f26a0cecfcc85139aadf8d5271dac1ffe1769de52d221a32c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource.table == WILDCARD || resource.table == target.table\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/rbac/engine/mod.rs, src/rbac/engine/mod.rs. 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"43abde135f73d12b36916c96edfe43ac4dd77d130df326d2bee3abaf6312863a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.check_record_exists \u0026\u0026 result.rows_affected() == 0\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/executor/update.rs, src/executor/update.rs. 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":"sea-orm-sync/src/executor/update.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3add44490d4527cc1b8cda78f507d2f95ac494cb0534732ba1812f9d2a7a2175"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060string.starts_with(\u0022mysql://\u0022) \u0026\u0026 string.parse::\u003CMySqlConnectOptions\u003E().is_ok()\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/driver/sqlx_mysql.rs, src/driver/sqlx_mysql.rs. 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":"sea-orm-sync/src/driver/sqlx_mysql.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"398f00164626a437b498d3606c8484476e840f07963373a95da22537e94e6a33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060string.starts_with(\u0022postgres://\u0022) \u0026\u0026 string.parse::\u003CPgConnectOptions\u003E().is_ok()\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/driver/sqlx_postgres.rs, src/driver/sqlx_postgres.rs. 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":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c111b6b64da3335465a756614708971d79fab8bbc410848245ba2e18bad802"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060string.starts_with(\u0022sqlite:\u0022) \u0026\u0026 string.parse::\u003CSqliteConnectOptions\u003E().is_ok()\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/driver/sqlx_sqlite.rs, src/driver/sqlx_sqlite.rs. 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":"sea-orm-sync/src/driver/sqlx_sqlite.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cf0907cf9e26a15754e9e51ee1ad02f78c873ed8db0d3bbac8730253af217f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user_override.permission_id == permission.id \u0026\u0026 user_override.resource_id == resource.id\u0060 appears character-identically in 2 files \u2014 sea-orm-sync/src/rbac/engine/mod.rs, src/rbac/engine/mod.rs. 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":"sea-orm-sync/src/rbac/engine/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd054d8366f04941c8b801ab1bf360764b5b1ad60aa18fdbad848563b0257274"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0ca03239efd8c38963c215684053a97d963e5614b87bc433d83649884a20e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 47 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/registry.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8e285a861d2f40d19a0edf0793d5057909eba4de7facd89fcd40062bdfe526"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 51 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/registry.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e054ebf5622808f7d47d542fe93146fead151da5ae130dc8d9d81526607e63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/entity/registry.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98d03f3b6e65142953a1d029df095865bd597229c8139365712220696db7f70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4c084614d95c3b07032c3381dd833a139e4a5a57fe7366834eb82ecda23151"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 349 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc5ef28fa570dad628b268fbd4c177e2df9c70f59d4a0769fa2605066f509b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"8771744c5122f5c396123251b32890106163e0b614d743be4e625321a4c57a44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 391 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94771f80ab1107acd75c721326a7bc9f7abcdc308ebdb5b4b5f55af00a40982"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 417 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4dd139af6419df698a284a87901a247c71b96ed0d8a76c4755c62c9880260"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 502 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"899f431226870f90f3cac0eb46b3adba57a3a1255de3029bc383777d6affeca3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 520 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5bd67c0e094d7a06bc42ac6ceb2cf9a7d4c21021f3d321f8e9596d35745d73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 539 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68745ab0252fd2b0c56c11d7d2c0e81d9e29cdf1813ee662a0fe795a0b2ce1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b8ace265a8bca5e2b04a75a3f6b714ebfb2f8f161d8b875b9e46d312ad4d2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 589 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/rusqlite.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a65d4a0e54a902f4dc55a08d64bad8f3ae971801a785eb382f08941159d422a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 460 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/builder.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f22cc1b984a71256143efbfd9661d97b1d4d459e330355a728b3e4c3852a50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 47 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/registry.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaad40ca3c21452b72f5dd97d7efc6cf82d62f7ef788bcced7206ca0570f94e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 51 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/registry.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b3a931bc2d4580b85d5ea4b594b111b4e7bddea22f7c4c20208424dd3f325b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/entity/registry.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5dcae7a2da34a731aff792213869807a644446321f5dbb13e375833f09dc8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"61524d2ddbed808fcddc70b1651e3267a79c52cabc7ce989f278feead32ad8c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 349 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10ba0a9aeb83234e39112a68196ce0c120f089c7b455f3b4d0072d61709ada4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0926479b2327d7637aed755a708230ed75bbfb6209d4092fceca01017d5ef2e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 391 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cd3860ec3858c01bbfdbac0cffafaad107ff61d737e82ccb5fa12e54fb8298"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 417 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c05e3abbd64c7a6390f3deaf3ec8d2a1c10614de372f6d2c41515017b2dc54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 502 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61bd8795f50738f32a17f04152b27f91fba7e39560a24503d0f3442efcbbd83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 520 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"132b81573f0ee24ee0d69be9c1ee2699a2540f14c06f3e595b3884142b0e6ea9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 539 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4390525cc8dba561ccda1e4d6645c6597511c636a3e051f13a40efdd13d8ffee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"1597ead10a0075de45e86702538795331c7609a7e4ef6d7112425aa1b8fc55e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 589 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9e4810eb773277dca1e7269d795864ab7c83a6085de08ebe6d3457c2e84570"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"100faeb8d0b02ff5919e6cff6309c91a9e153b42b2c831b5c685f9a7811dcd01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b9cef051a2fbebd2558fca7fe4d3facdec6169757fe751bae888a5ad6a39e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96ef0d0373132751538e7e1fb469457166cec8936a2e031706c635e701f51fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ac3ac5bea56318dc6ffc7d353098890c18bf2760213d93d95c64044642bcbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 183 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"31264a0e989c14c863bc9406817af3e38ae355d6c1b12622b3eddd19454714e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 193 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf216b06dfab37cb9d3b92a8f06f8fc4d385ab8fa320925aca80221eb193fb17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6f15ac2c977f5622dcaf159791d1c40215820178b99d0c9224fa10ac8b4722"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3652092d5ddb266b80e11b8f8d6e5ec18ed097c60b39d06f067dd3d6767f5fde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 287 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4021a11b3ad675a2f96da01912a471d77c248c258a22836f09cc39b35213e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 293 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3544bce182840baea1688e01e4c43a0344bf5bfb4d3d2519bf0ed14bfbe4477a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 299 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8716a08a2914353fd359722a1518cdddc5b03e7956f4852426173851de3db7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0700e63b381bfb5034c818ec9da442664a4bde89f60c511fa2ad1db259833c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8c72adffe5071ae4ce92b73d8565decbaee67565512fae8f27ad86e1d46bc6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 339 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a93a08c8d6275071e5a90625567a94e3a792b847784744904f50f1cc314436f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 345 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7f437904c2efb634ca91111b2953305a9b0263a03bb5a69c58b03ab8a6f2a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 156 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/with_self.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26472e4a17cf283796098a122c3ef0ed5c23b825f2632d852d4bc2f197d6944"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27442f87157aa88166b9413a64385d40f24ebcb1a2a3b5049c06649efff973f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 331 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-codegen/src/entity/writer.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fa4966e8581a51700c4cd4ede9bd05f87d91f725401f571c8cf3cd5bd1346f"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":166,"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."]}]}