{"$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":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"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":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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 87): sea_orm_macros::derives::entity_model::expand_derive_entity_model has cyclomatic complexity 87 (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":59}}}],"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":"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":"EntityTransformer::transform (cyclomatic 42): EntityTransformer::transform has cyclomatic complexity 42 (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":"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":1210}}}],"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":1221}}}],"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":"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 279): sea_orm_macros::derives::entity_model::expand_derive_entity_model has cognitive complexity 279 (threshold 15). Drivers by points: if/else 100 (254 pts), loops 3 (14 pts), match/switch 2 (6 pts), boolean chains 5 (nesting depth added 169). 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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce691953aa930130a516f793e2920188e8e54d5ef5434a654499d52d4d0ebc"}},{"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":"EntityTransformer::transform (cognitive 116): EntityTransformer::transform has cognitive complexity 116 (threshold 15). Drivers by points: if/else 26 (77 pts), loops 12 (31 pts), boolean chains 4, match/switch 2 (4 pts) (nesting depth added 72). 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":"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":1210}}}],"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":1221}}}],"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":"DeriveIntoActiveModel::new (cognitive 42): DeriveIntoActiveModel::new has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (30 pts), loops 4 (11 pts), match/switch 1 (nesting depth added 29). 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/into_active_model.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90970b98245fc420ea11466705b1b465249e10ccfddb1d8ddcfadbf41ac6e0f"}},{"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_macros::derives::into_active_model::parse_field (cognitive 33): sea_orm_macros::derives::into_active_model::parse_field has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/into_active_model.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c3fcddd842f431b0ddae06ffcd44a50a77db476d60b00b5c4ec6e1013c535d"}},{"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":"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":67}}}],"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":67}}}],"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":"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":"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":561}}}],"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":569}}}],"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_macros::derives::entity_model::expand_derive_entity_model: FunctionTooLong \u2014 sea_orm_macros::derives::entity_model::expand_derive_entity_model runs 415 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 315 over it, 4.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-macros/src/derives/entity_model.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800f3e6635a5f3acf24ccdafc1bb4746702fcfdcb4280f36c2f1d54d53ae9a5"}},{"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 380 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 280 over it, 3.80\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":411}}}],"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 380 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 280 over it, 3.80\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":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e486e7e6dfb4e1e6eb8eab83e2bcef968dd224a292d07b2174e7ba823b4ad291"}},{"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: executor/query.rs: FileTooLong \u2014 1168 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 668 over it, 2.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/executor/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a58d1e7b74b0bd0f79014efdeda2ce15d611756122d80c337fc39d8c55250"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: executor/query.rs: FileTooLong \u2014 1168 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 668 over it, 2.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":"src/executor/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffa32a6080d1a26184338035d5fc33382b26d270b0d79d48f775a2bd24b1fde"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/loader.rs: FileTooLong \u2014 1154 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 654 over it, 2.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"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":"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 1072 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 572 over it, 2.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0a48cf0251cb3d444ab58bb2ad0547549f7477ae91d850de9b5d5bc852f5b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/active_model_ex.rs: FileTooLong \u2014 1010 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 510 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":"FunctionTooLong: sea_orm_macros::derives::entity_loader::expand_entity_loader: FunctionTooLong \u2014 sea_orm_macros::derives::entity_loader::expand_entity_loader runs 191 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 91 over it, 1.91\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":"MethodTooLong: EntityTransformer.transform: MethodTooLong \u2014 transform runs 186 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 86 over it, 1.86\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":"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":"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":"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":"ClassTooLong: DatabaseTransaction: ClassTooLong \u2014 537 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 33-782. The bar is 400 significant lines; this is 137 over it, 1.34\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":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8bce68115515ca6916d5482b17819ec1ba900b31730d5784004338c1d976f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/entity_loader.rs: FileTooLong \u2014 663 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 60% of them inside a single declaration: EntityLoaderField (2 blocks, 24-655). The bar is 500 significant lines; this is 163 over it, 1.33\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/entity_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08fb3a28b7319b8cc6d1c059093cd6962a58edea423044e66c0fbdd55fd9255"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/sqlx_postgres.rs: FileTooLong \u2014 659 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 159 over it, 1.32\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":"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":"FileTooLong: driver/sqlx_postgres.rs: FileTooLong \u2014 647 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 147 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/sqlx_postgres.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca00c042ece3f3db579f801d0566c3df27d49dd80544f331d5a988489ac842f9"}},{"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":"ClassTooLong: DatabaseTransaction: ClassTooLong \u2014 489 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 33-730. The bar is 400 significant lines; this is 89 over it, 1.22\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":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e98a386b11a4da8957f0bb62f25e139fd75c7c193d8f3d0b8a5cf02f70fdff"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DatabaseConnection: ClassTooLong \u2014 486 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), 20 methods, 11 blocks, lines 33-860. The bar is 400 significant lines; this is 86 over it, 1.22\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":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4493ac8d19989ae49608a3b3cd0ed584e210e78ccd75a5943e603ece364e75f"}},{"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":"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 121 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 21 over it, 1.21\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":375}}}],"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 121 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 21 over it, 1.21\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":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7db91b493c18202e06ef9afd99bb7b6e5ea3681d0bcb7b9701a0766d19f1998"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/transaction.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 90% of them inside a single declaration: DatabaseTransaction (8 blocks, 33-782). 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":"src/database/transaction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f83d03912e0d999a83f8c6ade5f3f5160a6ec426fb63187317ecf08bb08e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: entity/active_model.rs: FileTooLong \u2014 594 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-1036). The bar is 500 significant lines; this is 94 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":"FileTooLong: database/db_connection.rs: FileTooLong \u2014 593 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 82% of them inside a single declaration: DatabaseConnection (11 blocks, 33-860). The bar is 500 significant lines; this is 93 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/database/db_connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25feab37a471aef8c3888a2d1a267ebed0f41af1edee7e55b6598b3e1ff42c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ActiveEnum: ClassTooLong \u2014 473 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-824. The bar is 400 significant lines; this is 73 over it, 1.18\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: 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 583 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-1026). The bar is 500 significant lines; this is 83 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":"ClassTooLong: DatabaseConnection: 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), 20 methods, 11 blocks, lines 33-811. 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/database/db_connection.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8bd19d2035902a5ff05bad697cb9ad283165ec7ad691a850a9e29eda588837"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: derives/active_enum.rs: FileTooLong \u2014 552 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 86% of them inside a single declaration: ActiveEnum (2 blocks, 8-824). The bar is 500 significant lines; this is 52 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6819889fc3cc7d46d686289efd9e16bbf835d5f090478bf8f4381e2c15c9423"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/db_connection.rs: FileTooLong \u2014 551 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 81% of them inside a single declaration: DatabaseConnection (11 blocks, 33-811). The bar is 500 significant lines; this is 51 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/db_connection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240f18ca2bc94af770b98407d031b20c9a980a5a6b0fe0cbf7f04c0ef6956ef8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: database/transaction.rs: FileTooLong \u2014 540 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, 33-730). The bar is 500 significant lines; this is 40 over it, 1.08\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":"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 (4 members, 16 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 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 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":"87cd5943c7347839b72fa92e9e7bc0baad4a30d7b426100e314ecf45ad855bd6"}},{"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 (131 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: 131 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":"c657406e9e9c686022a79026fa39ea5ecd0c4a26c1c7f49bdfed196d48d74697"}},{"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/query/loader.rs:1139-1234 | src/query/loader.rs:1226-1322 \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/query/loader.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"953d5dfd5c06906e954eafd2919e1c3b0ad1f92567ba31ab1fc33b5798de093f"}},{"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 (42 shared lines): sea-orm-sync/src/schema/json.rs:63-109 | src/schema/json.rs:63-109 \u2014 These two members are variants of one another: 42 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/json.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f7c4cf355c90a4a66edb0e3efadc05f62ff77c6039e9b5f57a5d55d7c19523"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): sea-orm-sync/src/executor/cursor.rs:120-195 | src/executor/cursor.rs:120-195 \u2014 These two members are variants of one another: 38 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/executor/cursor.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a2a0bfa80b6d4d27956e11a1c7dde6c2ac59a28ad8b7980a52ee01a744b4f7"}},{"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":"3ecc5403acae8a82dafeffc55f6407dccbe285f10dec333b872a468a077f6cb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (28 shared lines): sea-orm-sync/src/executor/cursor.rs:85-115 | src/executor/cursor.rs:85-115 \u2014 These two members are variants of one another: 28 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/cursor.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"49926ecd61ecafce0b8163abf30cc98a62c143a9df9a5a1a37cbad693326f62e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (528 corresponding lines): sea-orm-sync/src/driver/sqlx_postgres.rs:411-938 | src/driver/sqlx_postgres.rs:424-951 \u2014 These two members are one piece of code written twice and then edited apart: 528 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":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce6a194e73e5b07ec493960939ff824ff4750bbcba72fbd02689b09e2e92ffc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (169 corresponding lines): sea-orm-sync/src/driver/sqlx_mysql.rs:375-543 | src/driver/sqlx_mysql.rs:383-551 \u2014 These two members are one piece of code written twice and then edited apart: 169 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_mysql.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9ba2932cfb4fe548635d6540f0cb22e8010620ac80730588f2948a56e00890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): sea-orm-sync/src/dynamic/model.rs:70-154 | src/dynamic/model.rs:70-154 \u2014 These two members are one piece of code written twice and then edited apart: 85 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/model.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b1dd56479763a2403c078cd4386589bf69d75b7d462d4a2ff9e40d95835741"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): sea-orm-sync/src/driver/sqlx_sqlite.rs:401-505 | src/driver/sqlx_sqlite.rs:410-514 \u2014 These two members are one piece of code written twice and then edited apart: 105 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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8b7a8c5b9298c709ee31d07b38f532c4dad8cf3e30063ba11cd48d146ea1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): sea-orm-sync/src/executor/query.rs:1491-1538 | src/executor/query.rs:1493-1540 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/query.rs"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"36621eb7f32b2c5f588d2b35447d1c0d6b4212a0cdb639ed712385ffd47e1250"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): sea-orm-sync/src/schema/entity.rs:241-290 | src/schema/entity.rs:241-290 \u2014 These two members are one piece of code written twice and then edited apart: 50 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/schema/entity.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49a4936418bd216b128877f09899e46f432129f872b19b43041a9e5a4c5eb22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): sea-orm-sync/src/executor/consolidate.rs:298-346 | src/executor/consolidate.rs:298-346 \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-sync/src/executor/consolidate.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9378d6bebcc2164e08e2184765876d191e29e4277831789082832fca9ae510e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): sea-orm-sync/src/rbac/engine/mod.rs:227-259 | src/rbac/engine/mod.rs:227-259 \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/rbac/engine/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad32146116b573cb41e1341325bad4a41217bba7b449c352726c483d1d91ed9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): sea-orm-sync/src/query/combine.rs:46-80 | src/query/combine.rs:46-80 \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/query/combine.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafc9844731484c3fc5da8c2fa02d492e3ae767033dff09984081f31336341c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): sea-orm-sync/src/query/loader.rs:1277-1295 | src/query/loader.rs:1365-1383 \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-sync/src/query/loader.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865274f300a4b3c38882a2601766245c2bddb62b652fa5100faa1b24cbd78a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): sea-orm-sync/src/schema/builder.rs:620-640 | src/schema/builder.rs:629-649 \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/schema/builder.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcf416ce897e5d76e54d9d63a4fea90b9f0fcdf75d597837888eb88a47d7933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): sea-orm-sync/src/entity/active_model.rs:992-1025 | src/entity/active_model.rs:1001-1035 \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":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c253c232d2c4c8117698c9df69fb98dcc83a80bdf2ac3c2c16fe519113fc549"}},{"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:216-265 | sea-orm-sync/src/database/transaction.rs:270-319 | sea-orm-sync/src/database/transaction.rs:387-440 | sea-orm-sync/src/database/transaction.rs:444-499 | sea-orm-sync/src/database/transaction.rs:503-559 | sea-orm-sync/src/database/transaction.rs:563-622 | src/database/transaction.rs:238-290 | src/database/transaction.rs:295-347 | src/database/transaction.rs:417-470 | src/database/transaction.rs:474-532 | src/database/transaction.rs:536-592 | src/database/transaction.rs:596-658 \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":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b54ddab988d3e737519343b008092218cff42f288a8f19254df7ab4d6e1346e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): sea-orm-sync/src/driver/rusqlite.rs:365-386 | sea-orm-sync/src/driver/rusqlite.rs:390-411 | sea-orm-sync/src/driver/rusqlite.rs:538-558 | sea-orm-sync/src/driver/rusqlite.rs:565-585 | src/driver/rusqlite.rs:365-386 | src/driver/rusqlite.rs:390-411 | src/driver/rusqlite.rs:538-558 | src/driver/rusqlite.rs:565-585 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/rusqlite.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4850ab416e8e886bf494ed5593512834ba8293716645e48d1a2f5e743185be"}},{"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:67-124 | sea-orm-sync/src/driver/sqlx_postgres.rs:67-159 | sea-orm-sync/src/driver/sqlx_sqlite.rs:68-143 | src/driver/sqlx_mysql.rs:67-125 | src/driver/sqlx_postgres.rs:67-164 | src/driver/sqlx_sqlite.rs:68-144 \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":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8431b6e2791c244863226d705b1491e1f06d5b0cbeb1cd3b9aafbaf5798f53af"}},{"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:679-695 | sea-orm-sync/src/entity/active_model.rs:771-783 | sea-orm-sync/src/entity/active_model.rs:805-817 | src/entity/active_model.rs:687-703 | src/entity/active_model.rs:779-791 | src/entity/active_model.rs:813-825 \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":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8661f8582b4d8b211a070fc7d8b6cba21bde3642442ecfdf051a515e497968"}},{"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:1126-1180 | sea-orm-macros/src/derives/active_model_ex.rs:1182-1199 | sea-orm-macros/src/derives/active_model_ex.rs:1359-1396 | sea-orm-macros/src/derives/active_model_ex.rs:1398-1414 \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":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"807d5e54687a0db941bb34c3f4f59f19f9445755eeea916435b097863ecf6196"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-macros/src/derives/from_query_result.rs:122-209 | sea-orm-macros/src/derives/into_active_model.rs:54-124 | sea-orm-macros/src/derives/into_active_model.rs:218-270 | sea-orm-macros/src/derives/partial_model.rs:58-229 \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/from_query_result.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a9d495045f8485fd944f0c402964127f1de5b22f84033ca39b3920d6c65ad1"}},{"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:166-185 | src/database/mock.rs:232-251 | src/database/proxy.rs:167-186 \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":"3c2fd664eb04a165705f5fb2cc9f4b6b422a9309b2922fc0177362bdec5e3430"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): 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 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/stream/query.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"776d14c704e8db6eeea40e84f127f48fc5455819749754eaf000c84fd1ff39c6"}},{"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:312-333 | sea-orm-sync/src/driver/sqlx_postgres.rs:347-365 | src/driver/sqlx_mysql.rs:319-340 | src/driver/sqlx_postgres.rs:358-377 \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":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d767594c3f055189511b5da369b33256f95c9ffa0088c012c3dea25aea7d2e35"}},{"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/executor/cursor.rs:305-319 | sea-orm-sync/src/executor/cursor.rs:332-346 | src/executor/cursor.rs:305-319 | src/executor/cursor.rs:332-346 \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":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cecaacfc561b3fcb4447e99c4039c49aaab10b3f20c0e5318331147706001e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): sea-orm-sync/src/executor/cursor.rs:430-446 | sea-orm-sync/src/executor/cursor.rs:485-514 | src/executor/cursor.rs:430-446 | src/executor/cursor.rs:485-514 \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":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"65383fb830dc6768136d52edf2ed919533ef8c493bde90200db240934fd9e5d4"}},{"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:900-915 | sea-orm-sync/src/executor/select.rs:1185-1200 | src/executor/select.rs:913-928 | src/executor/select.rs:1207-1222 \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":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a711c461bc06b01651a23d6b76848b1a66795e43cd2d54461a876f992d52072"}},{"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":"Duplicated block (96 lines \u00D7 2): sea-orm-sync/src/error.rs:253-348 | src/error.rs:253-348 \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/error.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80188a35a64daf0c65f789b128eedd28c7b5c2e22d3c4933b4ff8b9f59082e9"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/util.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a86977e8ea61262f1af6dbd2418a369a784eb77dd7cd897bb0049bba6074ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:323-382 | src/query/insert.rs:323-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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"02935d205faddda140349aeae33f0ea977c9ffd6f610b30834e888a1389de02c"}},{"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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c75513e675572f9a7184521895443385aaac798e8a3afa0050bded78ae2a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_sqlite.rs:69-119 | src/driver/sqlx_sqlite.rs:69-119 \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 6 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_sqlite.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"231677a29a248d7eed78cef4d3765057088d37438f229ccc0f998dbdd234f25d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:494-544 | src/entity/active_model.rs:502-552 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606e6f01885042da7379dd42dd3fbff7dec3aff2dfed1ff90e5d60cf10a976a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:562-611 | src/entity/active_model.rs:570-619 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":562}}}],"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"2472ffa11422ee953be50c2f8d682e7f98701c466d8323493dce3d59607e323d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:247-290 | src/schema/entity.rs:247-290 \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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4658ad223cad001eaf921be3280c647fa3b30ddf79888f5b6ec1781dd8443a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): sea-orm-sync/src/database/mod.rs:246-286 | src/database/mod.rs:262-302 \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 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/mod.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fdb4382915b8ad9d35b3d10b55455b08f1a464df57e6b23bc982884e5c41fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:68-107 | src/driver/sqlx_mysql.rs:68-107 \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 8 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_mysql.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f76c4b06858f5b26dab6def6e10ff14c4f3537064529ba0deb6fa647efa67d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:1252-1291 | src/entity/active_model.rs:1264-1303 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad9da2511c7edee2d57de1b0d45018dd5537c897ae7a0db2fa21d2d7d5d9de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:92-131 | src/rbac/engine/mod.rs:92-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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"43730b2d9269becfad12c85b62ae18fe2c7d1b9bfaa9118cfda31d0ebce425ef"}},{"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."},"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."},"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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a90064434649ad251e009acd6e0cc43411f8eb4ec938afb59b47763d993374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:326-360 | src/database/transaction.rs:354-388 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7945bb674105a30ddeebadf66cc6264721bee9595e1e36407b154b532e8d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:68-102 | src/driver/sqlx_postgres.rs:68-102 \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 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_postgres.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25f0a793ba7bdad5866067356e17b79af6ad5ecbabd264194c7a8a54e9e1fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:630-664 | src/entity/active_model.rs:638-672 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2d296133e3d583bb78ab889b486d6f72eff6cc321e45724faa866982dbced0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:246-280 | src/executor/consolidate.rs:246-280 \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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a02174234a64dbfb9d3b6270fecfc8bf5403cdb73bb267f8a4d6af5246d17a"}},{"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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9656f31511d9a2b62d785c3daf7922d2c6e7d39b1c151a9aca6dd0421b14fc"}},{"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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."},"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf7cc8f726ec32a68f042951b90349a0eeab00016d6d07d33e4dac0006100ba"}},{"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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 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/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 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/link.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a896dd3b6ba162151c7befb6bbbd13f5d2ac5ed79ecad07738df7de4c5d4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:1508-1538 | src/executor/query.rs:1510-1540 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4147dc8fe2a80a0bac5933fd613eba49071c085a299df6781cbeeb7c59a9be87"}},{"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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd42d37d352644d2bb25ecc50d8087d40ca56a5298ccd11d0014aa70ca7322f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1330-1359 | src/query/loader.rs:1418-1447 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"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."},"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 (29 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:486-514 | src/executor/cursor.rs:486-514 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"97186c2477135b98070a5cf2ec382108a9e9406474eafba009bab4f822e66829"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:228-256 | src/rbac/engine/mod.rs:228-256 \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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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:490-517 | src/database/restricted_connection.rs:531-558 \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":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a317f7b2fb4700f85496d26083e542389e3b2de44a24bb66bab80cb809c30"}},{"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 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/link.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"39084d7c1d0c26ed1c12ad93134c01516425a9698c1a0bf024abafe259458bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:215-242 | src/schema/builder.rs:219-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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5269aeb7f1439d4eaba69aebb6050dc4377a5d2b8b5f2929e4fe57ad060cf553"}},{"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 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/driver/sqlite.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2761ae612331c30658e2c6002bd6865b6f7ae5f4c1fc01f1ab307a119ab1edc5"}},{"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 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."},"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 (27 lines \u00D7 2): sea-orm-sync/src/query/util.rs:125-151 | src/query/util.rs:125-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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/util.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7aacf0a800ff079a780c0815b4d67503b49d13d48799df452aad0ebefa1016"}},{"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 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/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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcc3e7655101fe9879197084c6f775163b789e3327b7988f53a3e38ab960025"}},{"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 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/sea_schema_rusqlite.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a479114980f0cacf53952a26c2412842c41d0dd3480630388cf346b1e664160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:107-131 | src/driver/sqlx_postgres.rs:107-131 \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 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_postgres.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d747d5ef2cba348af2d498e7c9cc68186c4571a0105cff73b4c7cd6f70ffc33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:1226-1249 | src/entity/active_model.rs:1237-1261 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"627acea1ca2c33dabb56c9ef17b2f1c849b57beefaccd8399275421dbe15a02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:427-451 | src/executor/consolidate.rs:427-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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ebc14a9d69f25b5bfd747ea6b4cbdbe31aacc939e5e6331f480cd5811adcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:100-124 | src/schema/topology.rs:100-124 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b517fa24f8ba38471938a1d73ead1b0f7fc231e6342b08620a3cced8249effaf"}},{"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."},"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/database/proxy.rs:67-90 | src/database/proxy.rs:68-91 \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 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/database/proxy.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e35765df7af19315a92b574c5b4367b1a02f02fcb9b15e4322de66666cbc4aa"}},{"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 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae8e0df7df4d2c276e5872a3b80bd819f311223b232f8bd646d2b2c2267ba4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:161-184 | src/executor/consolidate.rs:161-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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"299bd4e5167c05f08b256e27c279dbc9faf6ec187051a3f6756244f26bcfc709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:323-346 | src/executor/consolidate.rs:323-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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ccfcf7a029cc53575ac6d0ed674f4a5f3ff6709be22634cbee3066b53a8b5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): sea-orm-sync/src/executor/consolidate.rs:378-401 | src/executor/consolidate.rs:378-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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4789a654fab6e06b9de93b15872a184c96887b47662d9285eca2b71da8cbe193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:104-126 | src/executor/query.rs:104-126 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"4c55e1e2f210e180318098f0a80d91138f45fe7e01225a909867b535959ad013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:191-213 | src/schema/builder.rs:195-217 \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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b735e2c331fdd165d318b7cb422ee2a866579dc6646a1544dfd049467eb8d1fe"}},{"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."},"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/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."},"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/entity/active_model.rs:994-1015 | src/entity/active_model.rs:1003-1024 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"746e0144f683a8b07cc2992bc451937e51e951b3654ddd746eb3553782f397f4"}},{"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."},"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:208-228 | src/database/mod.rs:224-244 \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 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/mod.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed45370bb53772838a3406003d3b2554d74a8ac84abe165e28bd4ce5f90819f"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"207acc8479be1c746cb2b1477c76db40526a18e9d4cf32138176c3caf3e6d268"}},{"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/json.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6f708c1962663bb3617e28ed357e59f06a31bf93d2243e42213745cc4dcdfb"}},{"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."},"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:132-151 | src/database/db_connection.rs:132-151 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"46875bc545ba3f36a2fd99bcc4d27333579a87f72bf807cf04e3efe627f9ff41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:700-719 | src/database/db_connection.rs:749-768 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a00bbcdde8fa1275f47e592fc1bb5fa3e52b8d1817d46659d1a4225e6744d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:840-859 | src/entity/active_model.rs:848-867 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f63eeb9d30492a3c063130e954023450468f926f5df8088663c5018dbf601e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:71-90 | src/rbac/engine/mod.rs:71-90 \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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4575efa98bd562125c17e85c8ab54274c6fd45359be5cf813942466dcfc7ddb"}},{"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."},"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 (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."},"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/database/sea_schema_shim.rs:75-94 | src/database/sea_schema_shim.rs:84-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/sea_schema_shim.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff08a516e21470f6fe007b14ca3d6ab3401b646be9122d68a42952af2bd1b96"}},{"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."},"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."},"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/executor/consolidate.rs:299-317 | src/executor/consolidate.rs:299-317 \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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbfa27596c167550004aadb0e00c2e8b7d7a4541b781e24486f16d24d48b5e2"}},{"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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"589b23f70d9d783453f1a34ffed85d54a0148d5168c1481b8acc462484ef3451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:212-230 | src/schema/topology.rs:212-230 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e9917f307a45d60e9f961c80db2c6e52cb46f9b02783fb9752bffb1e756326"}},{"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 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/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 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."},"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7269f7cbde94a6199945c7069f5ab96937016576735f32a19b30ce8c682af4c3"}},{"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."},"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 (18 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1217-1234 | src/query/loader.rs:1305-1322 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54041dc231a905b98e481105f4cdfcfb651d15c9ec2ba0f042f6740ef720d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1247-1264 | src/query/loader.rs:1335-1352 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d890fa1ffb8104a3b20e4fb6254679a8bf15887c0eac5079405dc924e5e805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/query/util.rs:69-86 | src/query/util.rs:69-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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/util.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bbba9ebe063c15477e43355df04452bbad069516350b73be0c0f436be10789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:623-640 | src/schema/builder.rs:632-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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":623}}}],"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 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/json.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d2ab57e9db2efacaf6131fb38280487e152a6ba0f1cd8143eb21dc9b5bd418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): sea-orm-sync/src/schema/json.rs:92-109 | src/schema/json.rs:92-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 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/json.rs"},"region":{"startLine":92}}}],"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."},"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-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."},"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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"675ae705f100d00c753a6a13816a608501949cc16f426c3d53384b923138db05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:196-212 | src/executor/query.rs:196-212 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fec3394df68a8de981a755f9b508e9d699cca1b405a2afa3db43f41f792b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:213-229 | src/executor/query.rs:213-229 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aa3f09ba21571f824a0721df078ef05f49e172adc66634d43440f1a814cb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:285-301 | src/executor/query.rs:285-301 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":285}}}],"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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/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:497-513 | src/database/db_connection.rs:552-568 \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":"src/database/db_connection.rs"},"region":{"startLine":497}}}],"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:167-182 | src/database/mock.rs:233-248 | src/database/proxy.rs:168-183 \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":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."},"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 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-macros/src/derives/case_style.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"185515885fdd09a79f7e539bee68de19cb8396411908a1180ed14c8f58142ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:642-657 | src/database/db_connection.rs:691-706 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"363640755b4ce442feb5f9a5650fc90ca491f7fdab134b6a1396e2bc36421a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:665-680 | src/database/db_connection.rs:714-729 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"51210d7d155a48c13caa28b322037b07acbf2c6a428cb4c07527c6c72dc3f174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:477-492 | src/database/transaction.rs:510-524 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"472c21f0d91579036cd4427840c958e53b2d4348fb4e051f90d19da73c24ceea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:138-153 | src/driver/rusqlite.rs:138-153 \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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fa8cdb66538cb69225b609ae3551c60fdce706122a3c6a60b93b7c69e16cee"}},{"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."},"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."},"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:180-195 | src/executor/cursor.rs:180-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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbd3cbb04eb2a29fdc941977de38a65502bb8dc4a4fcf00329b14531a2989e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:453-468 | src/executor/cursor.rs:453-468 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9594f81988e4f78409e1e8dce1b581b086e6443e1ace91e61349c75f0dfc21c4"}},{"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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:1444-1458 | 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":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e186305941691ff4060a839195c364eac871c4969c081ee57861293f7c5259c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:209-223 | src/database/db_connection.rs:218-231 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a99df14ab1d13c5c48d4c958b57347b47c35f3be127c4d6e479b24579cf2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:462-476 | sea-orm-sync/src/database/db_connection.rs:508-522 \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-sync/src/database/db_connection.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a725fd71baff57b18c50491a24e66769e8eb4f56a1648dcdea9f693838e36537"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:755-769 | src/database/db_connection.rs:804-818 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc92f675aa27d989a82f33a2d9d442041bbac8ea93d2f2e50aed747345fd1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:594-608 | src/driver/rusqlite.rs:594-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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1220be52d2e9a530b70244c6d289f1b9a8e997a746649aa6deef01e70173d0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:315-329 | src/driver/sqlx_mysql.rs:322-336 \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 8 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_mysql.rs"},"region":{"startLine":315}}}],"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."},"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."},"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:432-446 | src/executor/cursor.rs:432-446 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"98df6b0de36efa016681218f47754e19051b0e0aa02bfed2d411556e8b452698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:331-345 | src/executor/paginator.rs:338-352 \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 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4428bc3679418bd07030e6e65214e804183e1725fb666ef395a875ebb34414"}},{"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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad319da57137859e20027c2690154bd3340ddbcb2f8b6c65a25e963d6e1dcae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/driver/sqlx_mysql.rs:96-110 | src/driver/sqlx_sqlite.rs:106-122 \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 12 separate duplicated blocks between them, totalling at least 104 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":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70f8605a2a87984245ca68d2b5f8395051feb0875e501571e914bd3cf5c1f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): sea-orm-sync/src/executor/cursor.rs:306-319 | sea-orm-sync/src/executor/cursor.rs:333-346 | src/executor/cursor.rs:306-319 | src/executor/cursor.rs:333-346 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":306}}}],"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."},"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."},"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."},"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 (14 lines \u00D7 2): sea-orm-sync/src/database/proxy.rs:146-159 | src/database/proxy.rs:147-160 \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 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/database/proxy.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"85146e727c85196331836215c8e43c8e601b6a6f9ddfe6c351289820512569e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:925-938 | src/driver/sqlx_postgres.rs:938-951 \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 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_postgres.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80edc28348bc454fa6de0e48e60495ed2e207325df2865618e93591fb2dcc81"}},{"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 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/dynamic/execute.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4734795ce6088c52c2974bc88cb69109be61183b9231a510525ff07d3d8f6007"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:682-695 | src/entity/active_model.rs:690-703 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"d881176b58ff271e301b2a49ae23d2b577b13ad8a1804be6a62d21b4961c3c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:969-982 | src/entity/active_model.rs:977-990 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":969}}}],"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."},"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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"160cfac34083ad288db2ac423c6c12d631a8dc297b13c935a5f2d04434cbe059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:72-84 | sea-orm-sync/src/driver/sqlx_postgres.rs:72-84 | src/driver/sqlx_mysql.rs:72-84 | src/driver/sqlx_postgres.rs:72-84 \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 15 separate duplicated blocks between them, totalling at least 135 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":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"286d04769002da3aed28db8c62445f3a3579bf51d5dfeb0e933cadafa2ec194d"}},{"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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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:346-358 | 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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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."},"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 (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."},"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"6879a35bb6a0e80fa8a925181984ba47607ec39d6e6a0a7a88d56f1f38e21839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:94-106 | src/executor/cursor.rs:94-106 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ee5737b97574c39a2f88acfdd40e478740d4b608893662df61bf8a6546284b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:1542-1554 | src/executor/query.rs:1544-1556 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e5d85e951c9b4198babd630227b2bcc03fb80daff3ad2b93c74f0da6bdc0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): sea-orm-sync/src/schema/json.rs:64-76 | src/schema/json.rs:64-76 \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 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/json.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1c7fcda618b0f0723b499a9053d88764dd6ff1dc0292181ecd8625a292f4b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/rbac/context.rs:91-103 | src/rbac/context.rs:143-155 \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":"src/rbac/context.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"973417e05653bb026584a5b8c6e5408ebca912650a991ed33587e307fa6927df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:73-84 | sea-orm-sync/src/driver/sqlx_postgres.rs:73-84 | sea-orm-sync/src/driver/sqlx_sqlite.rs:78-89 | src/driver/sqlx_mysql.rs:73-84 | src/driver/sqlx_postgres.rs:73-84 | src/driver/sqlx_sqlite.rs:78-89 \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 15 separate duplicated blocks between them, totalling at least 135 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":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db6c4a5f5d74a8ebaab3e2b07ce81bca13c07225849cdb1da2819af5c020e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): sea-orm-sync/src/database/transaction.rs:392-403 | sea-orm-sync/src/database/transaction.rs:508-519 | sea-orm-sync/src/database/transaction.rs:568-579 \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-sync/src/database/transaction.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afd75f48a37b49a52f6fa4f4ee91c6cf19b68978e81d71d8c5ff7d44cec18f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/database/transaction.rs:422-433 | src/database/transaction.rs:541-552 | src/database/transaction.rs:601-612 \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":"src/database/transaction.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde0e397ff3178bc841256db356c4485c05903a246b122b750a0aa6f78c6d7d"}},{"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 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-macros/src/derives/case_style.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3291952cac52175cc431c81b0408b3341afc70a4def9ef13e42d0a960ecf4232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:95-105 | src/database/transaction.rs:102-113 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"770705ea16a5fd20e3be863a93790ccb2a05277b2b247f0122185ce4efa30377"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"703bab98de50120a2933b7aac8ea3263047127b692221c2a467c198075655be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_postgres.rs:350-361 | src/driver/sqlx_postgres.rs:361-372 \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 9 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_postgres.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"db74cd3c2d3d56400e78d58d91ea69270b10ed3eb80d4f00205b485a6d73d052"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_sqlite.rs:494-505 | src/driver/sqlx_sqlite.rs:503-514 \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 6 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_sqlite.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"103cfb65fbd631a1563f77378d89bbe20f627138846d2fe005a24ac217ba8c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:707-718 | src/entity/active_model.rs:715-726 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46a1e7a5bd2f7c496967fab6c471ce70781696badf8b4877b5c996a3b97cb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:752-763 | src/entity/active_model.rs:760-771 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32529224b154194db447f062a12339a193fd62b725c73679a264fe0a160f6c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:870-881 | src/entity/active_model.rs:878-889 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":870}}}],"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."},"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."},"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"f844e78d7fd6651d4495c8b44c9d6b97d4d828174a4080b36683133fb8cbcd8b"}},{"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c947931929e1c70dcb121b3279018696c15bbeac2174df62a94eded2ada350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:74-85 | src/executor/paginator.rs:76-87 \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 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d5fab40b25e1e49bcd851c09fc6dc5d9149b4101b183577dc2eedfdb640e37"}},{"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 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/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 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/executor/update.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"110254048d3a6adbda9bcb6addce7776e3f00908bf2167002e6b821d52efc17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/query/combine.rs:69-80 | src/query/combine.rs:69-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 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/combine.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5836aab3dbf125b6e263aebcd1d00102a84bc2836025b8606f2793f15abdf4e"}},{"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 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"962d25e2b16bf960d804b7455a76a3bbb76911f2776283eb7fffadfdd0f1a21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/rbac/engine/mod.rs:136-147 | src/rbac/engine/mod.rs:136-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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":136}}}],"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."},"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 4): sea-orm-sync/src/driver/rusqlite.rs:376-386 | sea-orm-sync/src/driver/rusqlite.rs:548-558 | src/driver/rusqlite.rs:376-386 | src/driver/rusqlite.rs:548-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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"af30cf76e2363b75d3c114b36c4c79247fe9c0762b1c1b6c9550bb6b146f8e01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:401-411 | sea-orm-sync/src/driver/rusqlite.rs:575-585 | src/driver/rusqlite.rs:401-411 | src/driver/rusqlite.rs:575-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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"239b79179cac5619bbd58c0ce25fbbbff32b99e9a4aa70873cf34811bd44b33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): sea-orm-sync/src/driver/sqlx_mysql.rs:313-323 | sea-orm-sync/src/driver/sqlx_postgres.rs:348-358 | src/driver/sqlx_mysql.rs:320-330 | src/driver/sqlx_postgres.rs:359-369 \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 15 separate duplicated blocks between them, totalling at least 135 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":313}}}],"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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:1184-1194 | sea-orm-macros/src/derives/active_model_ex.rs:1368-1377 | sea-orm-macros/src/derives/active_model_ex.rs:1400-1409 \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/active_model_ex.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"da917b7902be95e7aa5a09d9bda465cabda5682c3d356c4e6a93ef8b847ed386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): sea-orm-sync/src/database/db_connection.rs:352-362 | sea-orm-sync/src/database/db_connection.rs:387-397 | sea-orm-sync/src/database/db_connection.rs:425-435 \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-sync/src/database/db_connection.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10dbfcbcf01efb229419e4a6e6fff67fb5488d972558ae7424455b539cf27b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:143-153 | sea-orm-sync/src/driver/sqlx_postgres.rs:178-188 | sea-orm-sync/src/driver/sqlx_sqlite.rs:162-172 \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 15 separate duplicated blocks between them, totalling at least 135 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":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"81510c3c19bb60580b6476762329da3b4eec220fea21700ec51a83efb81de944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/database/db_connection.rs:382-392 | src/database/db_connection.rs:417-427 | src/database/db_connection.rs:456-466 \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":"src/database/db_connection.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc1dc06f0c02cd1ea519cb03f30d0e5f9e752e0f65ea71795cd9d3d89afc3b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/driver/sqlx_mysql.rs:144-154 | src/driver/sqlx_postgres.rs:183-193 | src/driver/sqlx_sqlite.rs:163-173 \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 15 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. 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":144}}}],"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."},"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."},"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-cli/src/commands/generate.rs:226-236 | sea-orm-cli/src/commands/generate.rs:306-316 \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-cli/src/commands/generate.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e8cbde454dd45c9a8e7e3fa996c00093fb24273560d88745a96e91b44cf4ce"}},{"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."},"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."},"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:165-175 | src/database/mod.rs:181-191 \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 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/mod.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d037465b205f10162589e015fb737b81f124d4035a7b6a2b89283f1eade9789"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:45-55 | src/database/stream/metric.rs:47-57 \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 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9a0dd7c60ec8c1f61a6eb74e11a11d93a15625322e2ac39b9b556b47f7b825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:128-138 | src/database/transaction.rs:140-150 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3039e09340a1508d6a911b77e816c377debcb7aef382399a3dd6c8c54233b68c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:139-149 | src/database/transaction.rs:152-162 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5a3291d25ace4a24864d119054a678b1fedd6148e65d665227b4b46bc1c286"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:242-252 | src/database/transaction.rs:267-277 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc926bde6c85a1b8ab5f7cfe52f0aabac0e739dfb531065ea1269f7836061cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:296-306 | src/database/transaction.rs:324-334 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a2fb10602ed2db521c08545506be27a09370f4ec4957991711e4828db9df7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:585-595 | src/database/transaction.rs:619-629 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8e0e8da831432ca5abfc1f15a2405d985ff4179e817b6d7ba6881194ad075a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:596-606 | src/database/transaction.rs:631-641 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e726b06ddcbfa99f67f54e7cd932322f8e948bf5e530fc9d06660331c61ac"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfb7b391afff2e8530511642c823924c6e5f1058edc7522d97e19a1284cd3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:533-543 | src/driver/sqlx_mysql.rs:541-551 \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 8 separate duplicated blocks between them, totalling at least 119 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_mysql.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c9e2798bd20688b32ade4b22b2fe848ecf6124307bca1f7c968255598f549f"}},{"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 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":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."},"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 (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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2dd83eb648f175a0fedf1e0b34722d01e94898e76c18526dcf2d489f318211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1374-1384 | src/query/loader.rs:1462-1472 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1374}}}],"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."},"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1f46971d2119303800067ff4f552bd417bc74abd524caf5c88a80aeee7d8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:165-175 | src/schema/topology.rs:165-175 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a827ae2560b65de64b6030986b52135e08b94c09074eb6d530882932138885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_common.rs:59-69 | src/driver/sqlx_common.rs:61-71 \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 4 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":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99ddc26ff7216f266b977c688bffb04cf08fce5d05e71b93c5b20741839a0d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_common.rs:70-80 | src/driver/sqlx_common.rs:72-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 4 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":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d92e9f43579a6e70b47112af94ef707f7f909b954e167c1bdcd67d74d5e32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/schema/json.rs:78-88 | src/schema/json.rs:78-88 \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 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/json.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69908f853e907486b81ff6bbb16c272f25972fbd8f47a5334f4f7da1b3fcad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:378-387 | sea-orm-sync/src/driver/sqlx_postgres.rs:414-423 | sea-orm-sync/src/driver/sqlx_sqlite.rs:404-413 | src/driver/sqlx_mysql.rs:386-395 | src/driver/sqlx_postgres.rs:427-436 | src/driver/sqlx_sqlite.rs:413-422 \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 15 separate duplicated blocks between them, totalling at least 135 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":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a564844cd8cd08fa9f30b783c1fd6dc7ef6fee4968fd43abfa34c45c685188d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): sea-orm-sync/src/database/stream/query.rs:105-114 | sea-orm-sync/src/database/stream/transaction.rs:98-107 | src/database/stream/query.rs:107-116 | src/database/stream/transaction.rs:99-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/query.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"983e593f2c19e3030325c13023a49c0d5b22f13a6300e20b82e307477e1b00fd"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/insert.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad51b5c963e4ec5b52195889b8b0d65e59b198af371522d9a667b324b17613c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): sea-orm-sync/src/executor/select.rs:906-915 | sea-orm-sync/src/executor/select.rs:1191-1200 | src/executor/select.rs:919-928 | src/executor/select.rs:1213-1222 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b03c7b942f9eb0f9e2507e84ace4a4472d18a34b38591e49dbf4fe886ae08"}},{"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."},"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."},"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/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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06c6b488ac1c0f0f58ec90f2bb5095464f1a57902eb1fade849f72722bb218e"}},{"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":"e310eeab833765c83080ed586084e9df484d3021e925663766527e33e3747855"}},{"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa25bde49ac2eb1f9e6c816be2cfb899d860a2c981537a8e88752119903e1bb"}},{"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."},"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:474-483 | src/database/restricted_connection.rs:515-524 \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":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f02f5ebcc241a3d543bc019244162556be38b409d16656136d49dbb554c598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:63-72 | src/database/stream/metric.rs:65-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 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4652f407a3c0462350ec77ad105841f185a96917e3ea5c08c6705b8d48a3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:349-358 | src/driver/rusqlite.rs:349-358 \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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aecdd7a2e495742c2c93baf7565849c3f195485a9ce62cb2e423f0e13a98623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:774-783 | src/entity/active_model.rs:782-791 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7e377010469654f5fa455253be534c76dd81b67197136a9888949836f9136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:808-817 | src/entity/active_model.rs:816-825 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":808}}}],"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."},"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:1446-1455 | src/query/loader.rs:1534-1543 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea253f3b5a1fbc5aaf95a9991b844aaeb1e54fecd403dbaa92868baa950aba97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:224-233 | src/rbac/context.rs:235-244 \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 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8b296a4cbc4e980402fd73a561f001cd1399999287de118da3d4daed7700d2"}},{"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9660b6b8ee4442291582ca516568073251e0fa58425e724b12ec0a72690d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/schema/builder.rs:114-123 | sea-orm-sync/src/schema/builder.rs:153-162 \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-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/builder.rs:180-189 | src/schema/builder.rs:184-193 \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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"44af62483c63a413685ec33e8085e591d1820ab80fa2947a6ab1b50f517b052d"}},{"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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a3de4a43e39836a5c35951d6c80f2f44efa3c6ba937075bd0462fadfa6e2fa"}},{"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 4 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":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9fb46e89db21aeaec4b189d2b060fed186a966065e9e58f48e11abe2b0dcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/database/restricted_connection.rs:475-484 | src/database/transaction.rs:188-197 \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":"src/database/restricted_connection.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc59eec2b2fbb387935b68b0ed72fb0d8d915080ddf62dfd9df53871e494fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/schema/builder.rs:117-126 | src/schema/builder.rs:157-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/schema/builder.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f34e6ebd4998b1331dcace77b96e5042c3748702b6240e328015844d7efbd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): sea-orm-sync/src/entity/active_model.rs:680-688 | sea-orm-sync/src/entity/active_model.rs:772-780 | sea-orm-sync/src/entity/active_model.rs:806-814 | src/entity/active_model.rs:688-696 | src/entity/active_model.rs:780-788 | src/entity/active_model.rs:814-822 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":680}}}],"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5176fbc96488f80835bc9b5faa400644e10d0e74a3d239b318f8ad8bc10f21"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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."},"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 (9 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:175-183 | sea-orm-sync/src/driver/sqlx_postgres.rs:210-218 | sea-orm-sync/src/driver/sqlx_sqlite.rs:194-202 \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 15 separate duplicated blocks between them, totalling at least 135 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":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52ce4f7de9aa6a3a15c14fa12d839a5ef41c51cecd83ad7965baefbfdce65b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/driver/sqlx_mysql.rs:176-184 | src/driver/sqlx_postgres.rs:215-223 | src/driver/sqlx_sqlite.rs:195-203 \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 15 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. 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":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e0a206c81cae829617db14d3031011772db754160790f426edf842c40177a8"}},{"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."},"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."},"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."},"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 (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."},"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 (9 lines \u00D7 2): sea-orm-macros/src/derives/into_active_model.rs:65-78 | sea-orm-macros/src/derives/partial_model.rs:76-84 \u2014 before extracting anything, compare \u0060sea-orm-macros/src/derives/into_active_model.rs\u0060 and \u0060sea-orm-macros/src/derives/partial_model.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. 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-macros/src/derives/into_active_model.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1122013845a7a32e263349d4d63a9423a65109238d28255448c2b841ec998ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/database/stream/metric.rs:77-85 | src/database/stream/metric.rs:79-87 \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 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/metric.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3730173a80bcfa7bf6dbe43677bba2b915c67ee17d218840aac894cf8faec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:607-615 | src/database/transaction.rs:643-651 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":607}}}],"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 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."},"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 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/dynamic/model.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bd3fd1789d083d9802cfe2da4ab4c922b6940e7946fdae740f38f51cc39166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/identity.rs:76-84 | src/entity/identity.rs:76-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 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f019fc6b7191989cce612136ffa37c3a9eb9685b7e32ade6174f3a905e549e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:124-132 | src/executor/cursor.rs:124-132 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1647320b1b7f094ef7cad69281532c65e6e5c25fe067fb042fff122f516cce68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1266-1274 | src/query/loader.rs:1354-1362 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3208871d033e1da22b1249cb6f09356384819cc205d3e5ee8b00e677283043bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/util.rs:47-55 | src/query/util.rs:47-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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/util.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a8945fce562004f5634fcee3b015fbd355c2f9284f7b67e9b5d64ffa3233f8"}},{"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."},"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c6d5d19d79bbeb0a38304af51d998c98a74977d2c1c414abbae9e3eaf9ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): sea-orm-sync/src/database/transaction.rs:398-405 | sea-orm-sync/src/database/transaction.rs:514-521 | sea-orm-sync/src/database/transaction.rs:574-581 | src/database/transaction.rs:428-435 | src/database/transaction.rs:547-554 | src/database/transaction.rs:607-614 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8b65ca74b36c092010e7280c5a7bc5200b35430b28f09cfd7dc127b6590890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): sea-orm-macros/src/derives/active_model_ex.rs:1133-1140 | sea-orm-macros/src/derives/active_model_ex.rs:1185-1192 | sea-orm-macros/src/derives/active_model_ex.rs:1369-1376 | sea-orm-macros/src/derives/active_model_ex.rs:1401-1408 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_model_ex.rs"},"region":{"startLine":1133}}}],"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."},"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:431-438 | sea-orm-sync/src/executor/cursor.rs:492-499 | src/executor/cursor.rs:431-438 | src/executor/cursor.rs:492-499 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":431}}}],"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."},"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-macros/src/derives/into_active_model.rs:65-77 | sea-orm-macros/src/derives/partial_model.rs:76-83 | sea-orm-macros/src/derives/partial_model.rs:121-129 \u2014 before extracting anything, compare \u0060sea-orm-macros/src/derives/into_active_model.rs\u0060 and \u0060sea-orm-macros/src/derives/partial_model.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. 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-macros/src/derives/into_active_model.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae8024c5b988afb91e6dd9f2c7b4894d8071cfebe398b0e047bab17ac797bab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:158-165 | sea-orm-sync/src/driver/sqlx_postgres.rs:193-200 | sea-orm-sync/src/driver/sqlx_sqlite.rs:177-184 \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 15 separate duplicated blocks between them, totalling at least 135 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":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f22ce555745e79cb89a21b81b1ff744363c05c5b069a3c24287258cca1a5728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/database/transaction.rs:615-622 | src/database/transaction.rs:627-634 | src/database/transaction.rs:639-646 \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":"src/database/transaction.rs"},"region":{"startLine":615}}}],"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."},"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."},"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 (8 lines \u00D7 2): sea-orm-codegen/src/util.rs:6-13 | sea-orm-macros/src/derives/util.rs:319-326 \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-codegen/src/util.rs"},"region":{"startLine":6}}}],"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."},"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."},"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 (8 lines \u00D7 2): sea-orm-macros/src/derives/entity_loader.rs:817-824 | sea-orm-macros/src/derives/entity_loader.rs:833-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":817}}}],"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-sync/src/database/db_connection.rs:328-335 | src/database/db_connection.rs:353-360 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"737b8642f3a907a51bcf4c9b099c946bc4027600b9aef48b44cd41cfbe7536bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/stream/query.rs:41-48 | src/database/stream/query.rs:43-50 \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/stream/query.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa944d66a92595e2a54c6c918c204085511e2ed11327b70ba3ac390d1b783b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/stream/transaction.rs:45-52 | src/database/stream/transaction.rs:46-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/stream/transaction.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a618785f0fae9d74f19ca45940136ce2803f0049cfc6e1e354bf3d279f425ff5"}},{"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."},"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:426-433 | src/database/transaction.rs:456-463 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32ecfd5021d5e04f18278e1f55ee1f87dc039c7c02028717fc03dcd84862484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:455-462 | src/database/transaction.rs:485-492 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c5f0e352898c7258a61cba30c2591c8b76ff250ccc8a4e699ee2d51e8f6f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:545-552 | src/database/transaction.rs:578-585 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff424d47d30f6e576d13c850e8b390540f325d954d8c3af2854e6657bda01a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:158-165 | src/driver/rusqlite.rs:158-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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aebd352332b009d9f136c258306da23f9ef3b48dfabe88a06712818a76ee1fc"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8c7792d6f09595c33c1e5da9ff130c52d215a02a07b11cc6959a4aa1abebae"}},{"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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"93306e600f355004aa6c3aa5ec368fd087e86e7a21c39b5e0ad265e361094497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:108-115 | src/executor/cursor.rs:108-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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39d632a3b36d2b663b9fd15da8a2e59ccd3863870ab63e064764d95ea25a4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:287-294 | src/executor/paginator.rs:294-301 \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 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d1662747711b6fb97cb40856ffbeafc909808bfa105cbfecc607ea528d915a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/combine.rs:202-209 | src/query/combine.rs:202-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 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/combine.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ccef209acd6469c7c3381bd75b395b8ee15c2ec1ee871841dd175352e29eb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/query/select.rs:359-366 | src/query/select.rs:359-366 \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/query/select.rs"},"region":{"startLine":359}}}],"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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c0b9444bdd0b2bcd0d15cbc15aa303d38c578147b30071bad0575373beeeb2"}},{"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."},"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."},"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ac641fa3f800a10bd32dfca539aec2340d2f10f3d07023fba280b30d5e51e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-macros/src/derives/from_query_result.rs:142-148 | sea-orm-macros/src/derives/into_active_model.rs:223-230 | sea-orm-macros/src/derives/partial_model.rs:123-130 \u2014 before extracting anything, compare \u0060sea-orm-macros/src/derives/into_active_model.rs\u0060 and \u0060sea-orm-macros/src/derives/partial_model.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. 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-macros/src/derives/from_query_result.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46ec8a9de3b1834fa32c064f0023e0a834073845e73cb56c28ad658152e6602"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-sync/src/database/transaction.rs:582-588 | sea-orm-sync/src/database/transaction.rs:593-599 | sea-orm-sync/src/database/transaction.rs:604-610 \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-sync/src/database/transaction.rs"},"region":{"startLine":582}}}],"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd518d7f8a27d007fdb53573edeeacef50c8bc0d9c512543feb40bc64618333"}},{"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/entity_loader.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349eee89a4e12d323938ee8b742db67e5180686d9f4fcea0d5044ab47c45da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:458-464 | src/database/db_connection.rs:493-499 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"318cb7c43a966b1ebca938c75c8bb83e6da28ce00c2675e6017fb544d7e94b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:504-510 | src/database/db_connection.rs:548-554 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04f407b77f73ed3145948290a7f9282ead3b83d5c3e735340c94f1acbaf1869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:408-414 | src/database/transaction.rs:438-444 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d80249c1eec149974aff428176ecb197d7dab9f3c690bfdaefcaae1f13e020c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:417-423 | src/database/transaction.rs:447-453 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"38da77405f77d290e98afd5639963d5c0e528e8439ce2c92bdfc5c37c2c6f4a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:463-469 | src/database/transaction.rs:494-500 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"92298ca88490d4dc0fe31bb6cf77211f656c5e118d6cc785a29a16dd3a1574a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/transaction.rs:470-476 | src/database/transaction.rs:502-508 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1f5d3ba90ad756f5792d00e27a14c29d5a4e77fcd6f2cb4407d752778213c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/dynamic/model.rs:148-154 | src/dynamic/model.rs:148-154 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/dynamic/model.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f72a849e83ceeb31ba880e6e76066ffc5740e05265a0276801eb66a3dfe950e"}},{"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."},"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/cursor.rs:86-92 | src/executor/cursor.rs:86-92 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae11016fbccd8f51462b02a287b4ab91e157b273187bf7d3c801a7b26a8012e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:167-173 | src/executor/cursor.rs:167-173 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a076272ba09e6b71dbed42bdd4d823b1d49eef0c6e659147c7b3194787ad1e3"}},{"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 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/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/query/loader.rs:1289-1295 | src/query/loader.rs:1377-1383 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfd6484d5521e4dafff76430fbdf4f953dd77fd0a291550a6e07a7a1ebae469"}},{"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 (7 lines \u00D7 2): sea-orm-sync/src/database/sea_schema_shim.rs:67-73 | src/database/sea_schema_shim.rs:76-82 \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/sea_schema_shim.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c8115f3c6859be6ed5d806ecb42895345a0e6cd5a88fef115ae7bdbf794263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): sea-orm-sync/src/database/transaction.rs:224-229 | sea-orm-sync/src/database/transaction.rs:278-283 | sea-orm-sync/src/database/transaction.rs:397-402 | sea-orm-sync/src/database/transaction.rs:454-459 | sea-orm-sync/src/database/transaction.rs:513-518 | sea-orm-sync/src/database/transaction.rs:573-578 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/transaction.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a794b22ebc03bb328136ca3a9effe0c1f089ed386772ba3955d022ef93f42051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): src/database/transaction.rs:246-251 | src/database/transaction.rs:303-308 | src/database/transaction.rs:427-432 | src/database/transaction.rs:484-489 | src/database/transaction.rs:546-551 | src/database/transaction.rs:606-611 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/database/transaction.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53d11d5b0875235d87815e284b43c6b04ea63e2fd7fe4480f21584b1b3b1ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/database/transaction.rs:225-230 | sea-orm-sync/src/database/transaction.rs:279-284 | src/database/transaction.rs:247-252 | src/database/transaction.rs:304-309 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c295d22fe38d4a0361e5880af60ef8e87642c22b386b0b1c25f0b8344266282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/database/transaction.rs:526-531 | sea-orm-sync/src/database/transaction.rs:587-592 | src/database/transaction.rs:559-564 | src/database/transaction.rs:621-626 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fac759b09a88bfc447ab4808aaba19db567dc0e251ed25630a34b5b3216eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/database/transaction.rs:536-541 | sea-orm-sync/src/database/transaction.rs:598-603 | src/database/transaction.rs:569-574 | src/database/transaction.rs:633-638 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c13bb5dfb6362c1e56615fc2c379d7e107078cbce3c81ab7ccf31cc95c2645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:366-371 | sea-orm-sync/src/driver/rusqlite.rs:391-396 | src/driver/rusqlite.rs:366-371 | src/driver/rusqlite.rs:391-396 \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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82216e9e179f25a12927b1e4a75442b457e404a7cbd3a39523b93149777db81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:193-198 | sea-orm-sync/src/driver/sqlx_postgres.rs:228-233 | sea-orm-sync/src/driver/sqlx_sqlite.rs:212-217 \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 15 separate duplicated blocks between them, totalling at least 135 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":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6386193cf88eace32668c6a9aa2e72477e4017cd359ac96fd0b56d06e431cf80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/driver/sqlx_mysql.rs:194-199 | src/driver/sqlx_postgres.rs:233-238 | src/driver/sqlx_sqlite.rs:213-218 \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 15 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. 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":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"929e7925599e0674acfecb02e5c5507267fb5b03b5ea935a5e023f5bbaf953c8"}},{"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."},"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:186-191 | src/database/mod.rs:202-207 \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 4 separate duplicated blocks between them, totalling at least 79 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/mod.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"280e9773a17e6726ab93d11c141f236e6a6899712fa82a5e1c6b47fcff3c1732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/driver/mock.rs:192-197 | src/driver/mock.rs:193-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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/driver/mock.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af2d5612ec8aa1a953913a95181af636698441adebbbe0b027c559531480fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/entity/active_value.rs:623-628 | src/entity/active_value.rs:623-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 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/entity/active_value.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"66943bed47a27e5fa48c5577c57f5ca62ad36322c96d33e2227ed02a1825687f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/cursor.rs:140-145 | src/executor/cursor.rs:140-145 \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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d142f23ebf442170f4e6e5a5fae581970788dd7ccc94832841ebcea175aa3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/combine.rs:47-52 | src/query/combine.rs:47-52 \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 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/query/combine.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d11338206be2e1468763a1c72affa55865af32c8926363af1b6ad44846d70d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:902-907 | src/query/helper.rs:902-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 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/query/helper.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06be89d2189d8757779d2a7a82ff83ac7bac2c4de390a5b5d6619ff09f3ce7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/helper.rs:917-922 | src/query/helper.rs:917-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 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/query/helper.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9608afc63d2b9b1dbd9b220917e3fd4f0daa8277fbe6b634d3f7e52d1b261c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/query/insert.rs:316-321 | src/query/insert.rs:316-321 \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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36283970f445eb556ce1016ae08f7cacd5a6847ecd552d4f2b7951aedb9873b"}},{"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 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/value/text_uuid.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7781131913b128f518a204eec89efb696766fe76381b115c72d2d39674b7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:372-376 | sea-orm-sync/src/driver/rusqlite.rs:397-401 | src/driver/rusqlite.rs:372-376 | src/driver/rusqlite.rs:397-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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ea17b14f57f4503da4b3b23f143bcaf19bdeb5c57f0af4cdf97947ec582ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:539-543 | sea-orm-sync/src/driver/rusqlite.rs:566-570 | src/driver/rusqlite.rs:539-543 | src/driver/rusqlite.rs:566-570 \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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"923809bcb1e3177563b40e3b6b16885b063534af6ad6c810c25ea953b82c639d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): sea-orm-sync/src/driver/rusqlite.rs:544-548 | sea-orm-sync/src/driver/rusqlite.rs:571-575 | src/driver/rusqlite.rs:544-548 | src/driver/rusqlite.rs:571-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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"380baeaaaec87876c2bcdc3bcc25571ad3f353cee6327ea6672242df6a9e1cd1"}},{"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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"d883036dabe26ebc6277c9a52cd50563854909bf451a6776273d02940a593cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:170-174 | sea-orm-sync/src/driver/sqlx_postgres.rs:205-209 | sea-orm-sync/src/driver/sqlx_sqlite.rs:189-193 \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 15 separate duplicated blocks between them, totalling at least 135 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":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8a7bd3244470ddbcc67e8bb24ae3e3215c86f25874999ceef87abcb129f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:188-192 | sea-orm-sync/src/driver/sqlx_postgres.rs:223-227 | sea-orm-sync/src/driver/sqlx_sqlite.rs:207-211 \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 15 separate duplicated blocks between them, totalling at least 135 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":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"469cad7607ccf2b533c5acc56653eb7cec2ee23d34c3cf20ffaa2d604acacd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/driver/sqlx_mysql.rs:162-166 | src/driver/sqlx_postgres.rs:201-205 | src/driver/sqlx_sqlite.rs:181-185 \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 15 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. 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":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d4a11294669bd6b1dc9048e51ed7af2b51810e79be3c9c992781dcda6a525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/driver/sqlx_mysql.rs:171-175 | src/driver/sqlx_postgres.rs:210-214 | src/driver/sqlx_sqlite.rs:190-194 \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 15 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. 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":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"937034393dd3b35b3178756938624a0e04b0cf05f407aff3af4da1925d847700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/driver/sqlx_mysql.rs:189-193 | src/driver/sqlx_postgres.rs:228-232 | src/driver/sqlx_sqlite.rs:208-212 \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 15 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. 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":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4e9319e8ff2ada7486a49f1d273d1085976f649b0110dbd6df6997f36faba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-macros/src/derives/column.rs:21-25 | sea-orm-macros/src/derives/primary_key.rs:25-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/column.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c58b0300dce7c6e0c4b9fab81e7b0dbd715961afe3e7e5c0b03aa0622cb964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:175-179 | src/database/db_connection.rs:182-186 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8a59aef1e93c9a15fd5eefa90fb035e97e6aaa230638ea4d5b6fe76a226f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:249-253 | src/database/db_connection.rs:262-266 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca2b3f202e9574f5445f4107f855a5ed16ef25ecf9ac6f21d545a9ee95c9232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:279-283 | src/database/db_connection.rs:298-302 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfdbd7fad0af278ff5a521bbd8ca71d03d73bebfaaf6e65286ca16386da5654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:730-734 | src/database/db_connection.rs:779-783 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c1bc5bcb91716685a6114b17874f3d1b5aeefca48195674c08c5e416c7a498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/driver/rusqlite.rs:589-593 | src/driver/rusqlite.rs:589-593 \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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e69a47a86e436714154e59adfee45aaaae0f4ec23173871d6372c455099298"}},{"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."},"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."},"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 (5 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:444-448 | src/entity/column.rs:444-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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29ed9376b16d98a1616c4943e220fba540bf6ce3a11e6d873138b479fa44b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/entity/column.rs:481-485 | src/entity/column.rs:481-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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":481}}}],"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 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/executor/update.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e77e2354e3b1209f97f01e7032bacb5b154378fce024965a433a6f76d145b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/executor/update.rs:215-219 | src/executor/update.rs:222-226 \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/executor/update.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"682b4e7642108a3da38bcef3879b726729714b79ef25abf5de967b7a5cf996e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/query/util.rs:42-46 | src/query/util.rs:42-46 \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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/util.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75173cc17d66329b2f6d7e46f89aa6a2e294ca88bd0fe6dff47f9f498b0cb53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/query/util.rs:64-68 | src/query/util.rs:64-68 \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 9 separate duplicated blocks between them, totalling at least 179 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/util.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7811f977178bfbc9f962c9d526b40691ead418ec5b84eb21f24c319976bbfa00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/schema/entity.rs:115-119 | src/schema/entity.rs:115-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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":115}}}],"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 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"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 (17 lines \u00D7 2): sea-orm-sync/src/entity/active_enum.rs:132-148 | src/entity/active_enum.rs:132-148 \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/active_enum.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c93be010f5a796d6f214f8c4588f67110a573e3d83f47850a74cae5edcdb5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (247 lines \u00D7 2): sea-orm-sync/src/entity/column/types.rs:95-341 | src/entity/column/types.rs:95-341 \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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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:99-106 | src/database/connection.rs:111-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/database/connection.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd73e19e9c9bbb78cc39f6bcb9a85a0fe559f3c8fcb074b5646b75d6b0eb38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/database/connection.rs:119-124 | src/database/connection.rs:131-136 \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/connection.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2ae62ac876f9b2f7d6733e1a07e7b06b4e77048c26a7b82006d3acbd4aac47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:544-551 | src/database/db_connection.rs:590-597 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3dc940500bba4c21e36cf1c3edb5b8f73a4fb673d72c613ee23679bcbef09d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/database/db_connection.rs:594-603 | src/database/db_connection.rs:640-649 \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 15 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b359aa2eaa7c118f9da425c17417ac135ded02929c97a4c53228670b4a9f800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/executor.rs:42-48 | src/database/executor.rs:43-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/database/executor.rs"},"region":{"startLine":42}}}],"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":"32ca0e03e9edbd3bbe6327fdc2d877e08e43db385d2e235be40d5aa43044cd2c"}},{"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 (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 (9 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:435-443 | sea-orm-sync/src/database/transaction.rs:170-178 \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":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"38decca49d97907855896174346575fa372cca24223a46916a35639d316bba68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:519-525 | src/database/restricted_connection.rs:560-566 \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":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe76a2737f1a5c505bbb7654da8b42c505264458048195a47f110ceb5f4db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:527-533 | src/database/restricted_connection.rs:568-574 \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":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f749e889c06fb8d7faa61b4f9adabffc8d30a1e9f568dc53366607dd9b74af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:535-539 | src/database/restricted_connection.rs:576-580 \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":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c65de9c0dbf385982f7e07323423c7a8a0d50570e3f4f69a35af827aa5600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:541-545 | src/database/restricted_connection.rs:582-586 \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":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"c412c383850aa4251b92844dffb65809a19f35f305e19278dea59d93020621a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/database/restricted_connection.rs:550-556 | src/database/restricted_connection.rs:591-597 \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":550}}}],"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."},"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:747-752 | src/database/transaction.rs:799-804 \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 22 separate duplicated blocks between them, totalling at least 222 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":747}}}],"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 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."},"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 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."},"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 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."},"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 (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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"7b1802361964e3570c7b47a686ee81c9b79c30b5db8f2ba6e521c9d8908c7539"}},{"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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 (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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 30 separate duplicated blocks between them, totalling at least 358 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"b91d43aed6d2f73b5568c1ac8b1ac140db546e31f19fc7ba47d4289f20767599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:203-212 | sea-orm-sync/src/driver/sqlx_postgres.rs:238-247 | sea-orm-sync/src/driver/sqlx_sqlite.rs:222-231 \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 15 separate duplicated blocks between them, totalling at least 135 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":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42f93a1d322bf175cf81f0f6b7a371dbb7c4b904d01a3b89fe77f94d4f17f20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-sync/src/driver/sqlx_mysql.rs:263-269 | sea-orm-sync/src/driver/sqlx_postgres.rs:298-304 | sea-orm-sync/src/driver/sqlx_sqlite.rs:285-291 \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 15 separate duplicated blocks between them, totalling at least 135 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":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"77962600d4ef379bd432a254860d7f54b0612200af4c22342ce96579127f7a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): sea-orm-sync/src/driver/sqlx_mysql.rs:300-306 | sea-orm-sync/src/driver/sqlx_postgres.rs:335-341 | sea-orm-sync/src/driver/sqlx_sqlite.rs:322-328 | src/driver/sqlx_mysql.rs:307-313 | src/driver/sqlx_postgres.rs:346-352 | src/driver/sqlx_sqlite.rs:329-335 \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 15 separate duplicated blocks between them, totalling at least 135 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":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1944e6a843963b502a19732741c2e68d68c352bf2195b7cd85fc44ec7b0dbc36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_sqlite.rs:334-342 | src/driver/sqlx_sqlite.rs:341-349 \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 6 separate duplicated blocks between them, totalling at least 101 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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_sqlite.rs"},"region":{"startLine":334}}}],"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 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/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 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/dynamic/model.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1181e4795646a80bd564e53ca8164891340af22dc2cff49177310db3658f1c0"}},{"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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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:729-741 | src/entity/active_model.rs:737-749 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d7754fe15845af05615a27d1490d041faf75ab6fe555c953e971bef09ff1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:789-797 | src/entity/active_model.rs:797-805 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"543f3908ec1986ef056ec53b44852c18a36fd25c7632cc530e8ef0b5cde64e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/entity/active_model.rs:824-832 | src/entity/active_model.rs:832-840 \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 431 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":824}}}],"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":"221896aabfcaad3c34afb4d4f6ddbc2b02e1c48acd978ed3d26cf6ff8bdeeeb6"}},{"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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 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/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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 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":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:101-109 \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:163-168 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"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 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"29561996c0715ff6b0d7702f611de95e79f6e361a55d65c0dc30fbd8e5574385"}},{"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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 16 separate duplicated blocks between them, totalling at least 217 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"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 (7 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:384-390 | src/executor/paginator.rs:391-397 \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 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7edadc72d58bb41d58faba07a0ef848417cdcbfbaff0c15775660bdb902a3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/executor/paginator.rs:310-319 | src/executor/paginator.rs:317-326 \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 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded77c8120a78771273ffc7bf58ce48b135fe50ba0e486e36ac3d02556205fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:78-85 | src/executor/query.rs:78-85 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"094926d3a609adf3e4cceabab689e1400ce70b3f4113eaa53b25c737265b90b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:233-239 | src/executor/query.rs:233-239 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d103d4c7017f2e8f627c45fa8e36e5edecf744f1763a870eacb747ce625bd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:243-249 | src/executor/query.rs:243-249 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd8069372d55b3663b982509dd7cb197039334a00155db2eefe74d1a2a900c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:253-259 | src/executor/query.rs:253-259 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"774061bf6af9a9ea0d1c9b2f048a4bac340cb706256b6a5ca67c0ff64e9103c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:263-269 | src/executor/query.rs:263-269 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eba22e4a44ccfd8adaaebe3da38fefb47f197b1ed216a8d95710725b1afa15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:273-279 | src/executor/query.rs:273-279 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"52568e66169d9637170d13a7225ef390c1febcef256b6f1aa4c6aca020bce09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:63-69 | src/executor/query.rs:63-69 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2535cfa672c21636a0637b0dd7d1acac7889cbdffdc96cc1e22738e41a26e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): sea-orm-sync/src/executor/query.rs:1449-1460 | src/executor/query.rs:1451-1462 \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 14 separate duplicated blocks between them, totalling at least 180 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"834d21ec0bd36f791382af5c3e752c356aa4173ae08fbb951786ce0d4349634b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/returning.rs:42-47 | sea-orm-sync/src/executor/select.rs:887-892 \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/executor/returning.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a185bd8b9fa3caf60d16033603eb99d377700a738869bccc732633d6057fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/select.rs:235-240 | src/executor/select.rs:237-242 \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/executor/select.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c674be61a465d95d441394c62472cd59c89bd5a962399a1109b9ac5f2e42ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): sea-orm-sync/src/executor/select.rs:250-255 | src/executor/select.rs:252-257 \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/executor/select.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9de96980aa86c3870d5673973ed7d231a74a4f1806d5897a2fd6ed5f00f5121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/executor/select.rs:643-648 | sea-orm-sync/src/executor/select.rs:779-784 | src/executor/select.rs:654-659 | src/executor/select.rs:790-795 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-sync/src/executor/select.rs"},"region":{"startLine":643}}}],"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 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/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 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"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 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/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 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/query/helper.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"752e38cea2f6c79770c7625c0044759c3b1289465e1f9c3a7e0b3cc7492071f3"}},{"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 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/query/helper.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be7f5046941d65b7345c8e167fcab2d597010687ac9d924a90e4ffdd1dc7286"}},{"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 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/query/helper.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a556de0b8b83f4ddd76ec683f56e8b9537a6b62053d3f9d6b8c81f236e382410"}},{"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 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/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 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/query/helper.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca46fcd846e5df2de2e56a3136f9c27253f467fbae6a78b4b95b29f5a61f4f1"}},{"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 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/query/helper.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0fcf60ad6bc2e474757fa1cd1fa9b110f5079b5e463d32a403b990a1286537"}},{"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 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/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 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/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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"996d5654a6c7eeff238b9f2388b037498d65471905406c063a55ac80f6596a32"}},{"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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"eb3ecc64d6f44af67f716026bc894df7031c9374a6e024aff2ab7a5fe47454f3"}},{"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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"003426857778facaf3ac90ff8785996a8aec92863508a804aeea5b5b9d630990"}},{"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 9 separate duplicated blocks between them, totalling at least 162 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 (7 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1313-1319 | src/query/loader.rs:1401-1407 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2962a1422b4d403ef69954c4766b341ff1b9411359919d433d105c1d9b05fdbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1386-1394 | src/query/loader.rs:1474-1482 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"0544c075bdd9c2ac6b81884739618272913c8929f4d62d78548a8d67de421a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1396-1404 | src/query/loader.rs:1484-1492 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc554a233903def042ea486b25554574534f9dca01219a3be96df80387b9f66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/query/loader.rs:1426-1430 | src/query/loader.rs:1514-1518 \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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfc163175f3098c82ff62e59d81b259f038ac044d628bb97b5e70dc2cc339d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): sea-orm-sync/src/query/loader.rs:1437-1442 | sea-orm-sync/src/query/util.rs:247-252 | src/query/loader.rs:1525-1530 | 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 254 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d598e7deef79e234c39c9192c53c65c25da3be4f276480181ce09a51f616b6"}},{"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 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/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 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 10 separate duplicated blocks between them, totalling at least 246 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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":"3bca75cef930037bc2090c113281231d5bc056a25f0d557b6da0eec862c6c728"}},{"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":"c1983fd3da9925e71ef366a6a6387118a9612f1e35c7a0bfaed27c2cb6ce3302"}},{"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":"89b90e15a32c57d0a24a8c10144d7095fedecb9832d91eaf645e232bc2d35e6b"}},{"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 (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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 (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 24 separate duplicated blocks between them, totalling at least 428 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 (10 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:139-148 | src/schema/topology.rs:139-148 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3411b04a8ebab04689a8804dcc6a5f85d553e08e34e41b62e29132af74e820e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:154-158 | src/schema/topology.rs:154-158 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6a748ac7e9b68ab22e89940dc236a91977953f090341075314584009f8c1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:179-185 | src/schema/topology.rs:179-185 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe24b95683d1a09fcf7f05555f43261a6f61204d7e78e4613a72c626fc2039e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:189-195 | src/schema/topology.rs:189-195 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"601303cf0a38a47f731d1f122baed7a71b37b84ec206a063eab90b550918cde5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): sea-orm-sync/src/schema/topology.rs:197-207 | src/schema/topology.rs:197-207 \u2014 before extracting anything, compare \u0060sea-orm-sync/src/schema/topology.rs\u0060 and \u0060src/schema/topology.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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/topology.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb4c75eeac94ab05b7fca103203cddc1aa497da25b53bc0cd8fba9084dc6ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): sea-orm-sync/src/value/text_uuid.rs:58-66 | src/value/text_uuid.rs:58-66 \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/value/text_uuid.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9346392ea109a757cd15f3674f38b4814c478974618d50eb1bc06d711f8f3534"}},{"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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"f4df29dbcfd07ad9e98ca6771b17dfb9115e8573141716023b65d43dfcbcd060"}},{"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 153 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 (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 4 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 (7 lines \u00D7 5): src/database/db_connection.rs:681-687 | src/database/executor.rs:237-243 | src/database/restricted_connection.rs:174-180 | src/database/restricted_connection.rs:263-269 | src/database/transaction.rs:227-233 \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":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"902590f52c36818909008b377fdb62956c23cda27e96415bd68fae7094bd01df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/database/restricted_connection.rs:360-366 | src/database/restricted_connection.rs:442-448 | src/database/transaction.rs:775-781 \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":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa426e41daedecd6c83feafda23ad0dfe7f51e5eaa0c4af9d22fbcc5912560b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/driver/sqlx_mysql.rs:204-213 | src/driver/sqlx_postgres.rs:243-252 | src/driver/sqlx_sqlite.rs:223-232 \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 15 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. 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":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6ed76616b84176d4863332eaa4428cd91ed1b45145ca2efa87d086978accc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/driver/sqlx_mysql.rs:270-276 | src/driver/sqlx_postgres.rs:309-315 | src/driver/sqlx_sqlite.rs:292-298 \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 15 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. 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":270}}}],"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:103-111 \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:166-171 \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 (7 lines \u00D7 2): src/executor/returning.rs:42-48 | src/executor/select.rs:898-904 \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":"src/executor/returning.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a348f532d6eef631126e8e50d2ecd84876bcf0003971b7a026aa67d22e834b72"}},{"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."},"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 (11 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:361-371 | sea-orm-sync/src/driver/sqlx_postgres.rs:397-407 \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 15 separate duplicated blocks between them, totalling at least 135 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":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"407a1f3260431ff3eaa25f50b45a89fd7229b9675aa6421560114a43b696f45d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): sea-orm-sync/src/driver/sqlx_mysql.rs:220-229 | sea-orm-sync/src/driver/sqlx_postgres.rs:255-264 \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 15 separate duplicated blocks between them, totalling at least 135 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":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"abad1a8f33465e1732b1c6f5dc920f16d3c421668bfc9c3d09350cd9d4c76e1c"}},{"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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/driver/mock.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef824ec52d1718a11d3ead4f96f634596772d6fbde158f6871a9932adc24ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/driver/sqlx_mysql.rs:368-379 | src/driver/sqlx_postgres.rs:409-420 \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 15 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. 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":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac45f91d0410374e4ee94b8ceaaddda70477dcb84287bfb6e8f5072d856df81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/driver/sqlx_mysql.rs:221-231 | src/driver/sqlx_postgres.rs:260-270 \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 15 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. 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":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e537796971b604f664d7de026f0c89af8e1bfc112f97c657fc7ca833d8f4fefc"}},{"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."},"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."},"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:261-271 | sea-orm-migration/src/migrator/exec.rs:307-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-migration/src/migrator/exec.rs"},"region":{"startLine":261}}}],"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."},"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 (7 lines \u00D7 2): sea-orm-macros/src/derives/active_model.rs:42-48 | sea-orm-macros/src/derives/derive_iden.rs:112-118 \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.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"24644ba67cba966a147e67cc881031c3b9c357e98ad843b0c1bb55004e018708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): sea-orm-macros/src/derives/active_enum.rs:138-144 | sea-orm-macros/src/derives/active_model.rs:42-48 | sea-orm-macros/src/derives/derive_iden.rs:112-118 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sea-orm-macros/src/derives/active_enum.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64b7d66467ff5390d7b9e88d14a991ff2193b124a890d2f53dcca4fd211b2fc"}},{"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."},"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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":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 18 separate duplicated blocks between them, totalling at least 244 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b466464da9b73fd1e8a56773cd71b8333a50877083542eb6fcfc053e991856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:264-268 | src/rbac/context.rs:276-280 \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 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a876aef7b232ce8bf2315b8768b22b910be65d1c5b276bf8ebf689bbbc4c430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): sea-orm-sync/src/rbac/context.rs:290-294 | src/rbac/context.rs:303-307 \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 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb3779d555627353af80c7436d86490113bc597886297010aff303a3d1a399c"}},{"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."},"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."},"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 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/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 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/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 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/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 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/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":"D15","level":"warning","message":{"text":"Hotspot: src/schema/builder.rs: src/schema/builder.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in EntitySchemaInfo::sync at line 394. 2 of those changes were fix/bug commits, and the other 2 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 16:54:53 \u002B01:00\u0027 --until=\u00272026-09-27 16:54:53 \u002B01:00\u0027 --full-history --no-merges -- src/schema/builder.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":"src/schema/builder.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e3840d2138a02976be84adad990be825a6b1775975d881dfcec6726b9e1cf5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sea-orm-macros/src/derives/active_model_ex.rs: sea-orm-macros/src/derives/active_model_ex.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RelationAttr::from_attr at line 34. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 16:54:53 \u002B01:00\u0027 --until=\u00272026-09-27 16:54:53 \u002B01:00\u0027 --full-history --no-merges -- sea-orm-macros/src/derives/active_model_ex.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/active_model_ex.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4fc3d602c01e0ffac4201a681df15d9a3bfa0f4930b4151ef37a9572cde22f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sea-orm-macros/src/derives/model_ex.rs: sea-orm-macros/src/derives/model_ex.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in sea_orm_macros::derives::model_ex::expand_sea_orm_model at line 21. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 16:54:53 \u002B01:00\u0027 --until=\u00272026-09-27 16:54:53 \u002B01:00\u0027 --full-history --no-merges -- sea-orm-macros/src/derives/model_ex.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/model_ex.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c745fd102cf748791e448c10e3ed237d93dd0e47a81921ba764f888f814a30"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sea-orm-sync/src/schema/builder.rs: sea-orm-sync/src/schema/builder.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in EntitySchemaInfo::sync at line 390. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 16:54:53 \u002B01:00\u0027 --until=\u00272026-09-27 16:54:53 \u002B01:00\u0027 --full-history --no-merges -- sea-orm-sync/src/schema/builder.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-sync/src/schema/builder.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"07044992b89f0be550bfe76d7e1f55a9ba35af13782cfc1fc0493e46696eb216"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: sea-orm-cli/src/commands/generate.rs: sea-orm-cli/src/commands/generate.rs changed 4 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-06-29..2026-09-27, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-29 16:54:53 \u002B01:00\u0027 --until=\u00272026-09-27 16:54:53 \u002B01: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, 30 significant file(s) lose their only recent owner: sea-orm-arrow/src/lib.rs, src/executor/consolidate.rs, sea-orm-sync/src/executor/consolidate.rs, src/entity/base_entity.rs, src/rbac/engine/mod.rs, src/lib.rs, src/database/restricted_connection.rs, sea-orm-sync/src/schema/entity.rs (\u002B22 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"04ef52c6e681b6e223ff47531b38bba5b3b83504862032ad063fb048f51612b8"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (32 single-owned of 226 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 226 of the 446 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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":"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: 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/react_admin/backend/src/workers/downloader.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25a4800437d8e14656bc4c7aca454aacda9234763df5f083d44967323a8631f"}},{"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":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"084ec8d16108fb23fc3e4352afa81bd38ebe78befd7c9923626f20e625cd88b8"}},{"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":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d071abfd2058026ea17d496173ad59cde945b4aab8e809ca89bd45c1280c7ecf"}},{"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 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: 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: 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 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 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":"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":"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":"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: 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":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Redundant/Confusingly named operations: \u0060arrow_array_to_value\u0060 and \u0060arrow_array_to_value_alt\u0060 have identical signatures and likely perform the same core conversion, with \u0060alt\u0060 being a fallback or variant. This creates ambiguity for users on which to use.: Merge into a single function or clearly document distinct use cases (e.g., one for strict typing, one for loose) and rename to reflect the difference (e.g., \u0060arrow_array_to_value_strict\u0060 vs \u0060arrow_array_to_value_loose\u0060). (signatures: sea_orm_arrow.arrow_array_to_value(array: \u0026dyn Array, col_type: ColumnType, row: usize): Result | sea_orm_arrow.arrow_array_to_value_alt(array: \u0026dyn Array, col_type: ColumnType, row: usize): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0246251eb2e2675e0ff15ede0aa4512ad7ade87efe26690d3b13a9ba96ec7c38"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent: \u0060execute\u0060 and \u0060exec_stmt\u0060 appear to be synonyms for executing a SQL statement. Having two methods with different names for the same action is confusing.: Remove \u0060exec_stmt\u0060 and keep \u0060execute\u0060, or vice versa, depending on naming conventions used elsewhere in the codebase. (signatures: SchemaManager.execute(stmt: S): Result | SchemaManager.exec_stmt(stmt: S): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d896070eee75a5da0407d00173cecb6d8eb523fab28f05e176be5a4d6c49121c"}},{"ruleId":"D22","level":"warning","message":{"text":"Type duplication: \u0060MigratorTraitSelf\u0060 and \u0060MigratorTrait\u0060 expose identical method signatures for querying migration status (\u0060get_migration_with_status\u0060, \u0060get_pending_migrations\u0060, \u0060get_applied_migrations\u0060). This suggests one trait is redundant or they are meant to be implemented together but are exposed as separate public types causing confusion.: Consolidate into a single \u0060MigratorTrait\u0060 or clearly distinguish their responsibilities (e.g., one for internal use, one for public API) and hide the redundant one. (signatures: MigratorTraitSelf.get_migration_with_status(db: C): Result | MigratorTrait.get_migration_with_status(db: C): Result | MigratorTraitSelf.get_pending_migrations(db: C): Result | MigratorTrait.get_pending_migrations(db: C): Result | MigratorTraitSelf.get_applied_migrations(db: C): Result | MigratorTrait.get_applied_migrations(db: C): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4ade785fabe8cea1a4c670c8f3d6ebcd2e7d19b538bf8fdb20a4e2cabcd0fc0"}},{"ruleId":"D22","level":"warning","message":{"text":"Confusingly named operations: \u0060from_json\u0060 and \u0060set_from_json\u0060 likely perform similar JSON deserialization into the model. The distinction is unclear from the signature alone.: Clarify the difference (e.g., \u0060from_json\u0060 creates a new instance, \u0060set_from_json\u0060 updates an existing one) and rename to reflect this (e.g., \u0060new_from_json\u0060 vs \u0060update_from_json\u0060). (signatures: ActiveModelTrait.from_json(json: Value): Result | ActiveModelTrait.set_from_json(json: Value): Result)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a78cfddf01463c1d13e368f1aede2cb7b209cb809611afa447ae6281fe30e12a"}},{"ruleId":"D26","level":"note","message":{"text":"Split sea-orm-sync: The sea-orm-sync project is identical to the root and is also a massive catch-all that is spread over many namespaces. Suggested: "},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"92bb75de093c9f61bb7ad369cfe8b8d2ec7683003f1cee26c55f3c834334f17a"}},{"ruleId":"D28","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":"5767371514a262eb367a81323a4394bd255ad7b8a7e336c800a571557b30ff93"},"properties":{"commitSha":"9fd5523d654c0afd6680d46ce21c764fe478cbd8"}},{"ruleId":"D28","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":"86466bf6af2936d3b74343669b3b0b242daf28ef5f3c1e85bd164cb555f73abe"},"properties":{"commitSha":"b63223d78d397a7c869b830a97cbcb1530af2b43"}},{"ruleId":"D28","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":"837c5c924d7514017d7d26758967d58dc1e6b43d6636e28e9f9fe4240610bdca"},"properties":{"commitSha":"c2fc62a903498c63a5b536fc186084af18c0e5aa"}},{"ruleId":"D28","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":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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":"548b98f384e08c3b6a688f5a7cfb842da285e08b297e6e605609430fb1cd7794"},"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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":"1e745d2e39abed7f9ebbd19d9509571b174d305e107288dce991844ebc07c193"},"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"}}]},{"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":"92cb6ce759e443f23c0da7262b63e4608bb5078ef72ead6e5a50ffc1d369b3f4"},"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"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"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 9 of 226 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 and example/demo trees and test files identified by path convention, largest first; 226 of the 446 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":"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"}},{"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"}}],"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":"CWE-353","shortDescription":{"text":"CWE-353"},"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":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"CWE-522","shortDescription":{"text":"CWE-522"},"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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":81,"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."]}]}