{"$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":"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":"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":"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}},{"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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"TypeInferrer::try_infer_expression_type (cyclomatic 43): TypeInferrer::try_infer_expression_type has cyclomatic complexity 43 (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":"dsl_auto_type/src/auto_type/expression_type_inference.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e2ae46d77cf2af4bea5a21aa2acce870ed29c5360f2991f4b5c88ea5c8035f"}},{"ruleId":"D1","level":"warning","message":{"text":"Config::update_config (cyclomatic 38): Config::update_config 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":"diesel_cli/src/config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9442844b1d5788763f02e77f168260cb77a968c8cd46d149b7667ff5997d1a93"}},{"ruleId":"D1","level":"warning","message":{"text":"diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema (cyclomatic 36): diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema has cyclomatic complexity 36 (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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"64008f29751d152c0457a84f039bcea8a1b725f03180fe09eeae6222ad3efbd1"}},{"ruleId":"D1","level":"warning","message":{"text":"diesel_infer_query::expression::infer_expr (cyclomatic 27): diesel_infer_query::expression::infer_expr has cyclomatic complexity 27 (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":"diesel_infer_query/src/expression.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"772d5418d66e76e572a9843199f5831f0c162da567e8f3674ba9977bd9d6c0ac"}},{"ruleId":"D1","level":"warning","message":{"text":"SqlFunctionAttribute::parse_attr (cyclomatic 24): SqlFunctionAttribute::parse_attr has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8345bda8c2d965119d05223cdae166060c38122a90c49f07c367a9b8b941b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionOptions::parse (cyclomatic 23): ConnectionOptions::parse has cyclomatic complexity 23 (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":"diesel/src/mysql_like/connection/url.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b1c5742f0aa106be1fd10ff016ebbd773e2391804a947532826756ce685e01"}},{"ruleId":"D1","level":"warning","message":{"text":"diesel::sqlite::types::json::jsonb::read_jsonb_value (cyclomatic 23): diesel::sqlite::types::json::jsonb::read_jsonb_value has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/sqlite/types/json.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cd41d813376edc9edab1a3a91d72ae472f964b0781a6d276a5ac5f8dd752d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ColumnType::for_type_path (cyclomatic 23): ColumnType::for_type_path has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/infer_schema_internals/data_structures.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4b3ed5e344435264ae5c16215c2ba0902c6e38212f732f76c92e1c380a23b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Expression::infer_nullability (cyclomatic 19): Expression::infer_nullability 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":"diesel_infer_query/src/select.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4855d2ae28385942985c22b50d5b65f68015d3a72977737f9d0fb7af56394e8"}},{"ruleId":"D1","level":"warning","message":{"text":"dsl_auto_type::auto_type::auto_type_impl (cyclomatic 18): dsl_auto_type::auto_type::auto_type_impl has cyclomatic complexity 18 (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":"dsl_auto_type/src/auto_type/mod.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab2582c47beca4a64fd4915605ccc3a3b0546e725436fb10a9e97670cb65fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"diesel_cli::infer_schema_internals::sqlite::determine_column_type (cyclomatic 17): diesel_cli::infer_schema_internals::sqlite::determine_column_type has cyclomatic complexity 17 (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":"diesel_cli/src/infer_schema_internals/sqlite.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfc59c5b47fd4156e439e3805b71a640c8b42d866cb728da6c7934992133241"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomTypesForTablesForDisplay::fmt (cyclomatic 16): CustomTypesForTablesForDisplay::fmt 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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3313d40a12c70cf0242e6e9607533f1d5321876cbed3b140f90d745e2f9bae3"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryRelationDefinition::fmt (cyclomatic 16): QueryRelationDefinition::fmt 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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a9309a39d5eb5a9462a3e983ff08cc8701af26922b7ebf1d2cb3fbcafbae62"}},{"ruleId":"D1","level":"warning","message":{"text":"diesel_derives::sql_function::expand_nonvariadic (cyclomatic 16): diesel_derives::sql_function::expand_nonvariadic 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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ab5f424dad5dd08d6b0ecdea6db82fdbd9fd98c1c9defa78fffecb267d1589"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel::sqlite::types::json::jsonb::read_jsonb_value (cognitive 75): diesel::sqlite::types::json::jsonb::read_jsonb_value has cognitive complexity 75 (threshold 15). Drivers by points: if/else 22 (57 pts), loops 4 (15 pts), boolean chains 3 (nesting depth added 46). 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":"diesel/src/sqlite/types/json.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360f779f710442826b9ecb345d9122e5590fb4045ffe345b2f4bec102094f20"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema (cognitive 71): diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema has cognitive complexity 71 (threshold 15). Drivers by points: if/else 18 (53 pts), loops 6 (8 pts), match/switch 5 (6 pts), boolean chains 4 (nesting depth added 38). 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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8393c61dc9d96e176459173834607e254f878f1f4ad44909ddeb578c1bc4b023"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::update_config (cognitive 65): Config::update_config has cognitive complexity 65 (threshold 15). Drivers by points: if/else 35 (59 pts), loops 1 (3 pts), match/switch 1 (2 pts), boolean chains 1 (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":"diesel_cli/src/config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc97623000f621c500a542680bc11e1eec3753ce942758bfc1c01b5d20229e6"}},{"ruleId":"D2","level":"warning","message":{"text":"SqlFunctionAttribute::parse_attr (cognitive 49): SqlFunctionAttribute::parse_attr has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (42 pts), match/switch 2 (4 pts), loops 1 (3 pts) (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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7af666f6d9d0663872b176eb144f662ce6ceabe8c870a0cc3c0640913c07fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomTypesForTablesForDisplay::fmt (cognitive 35): CustomTypesForTablesForDisplay::fmt has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (30 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 19). 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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"188861cacbc4c595d51dd46dba0bc0e0e3d5e68dabe1b18405329da854013ce4"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::sql_function::expand_variadic (cognitive 33): diesel_derives::sql_function::expand_variadic has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (27 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a6b05dea6ec52b2aaed05539bcf37fe38d9027de402b9c017ed941257b059f"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_cli::migrations::run_migration_command (cognitive 30): diesel_cli::migrations::run_migration_command has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 4 (12 pts), loops 1 (3 pts) (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/migrations/mod.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b88dacbc4d44b1bc2102d24938c67612899a2278a5017a66ecb230dfbd6dbed"}},{"ruleId":"D2","level":"warning","message":{"text":"ColumnType::for_type_path (cognitive 29): ColumnType::for_type_path has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (23 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/infer_schema_internals/data_structures.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80cb091cd6e18e76782187c262fccd5e01e775108bca91eb1f101bdec22893"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaCollector::visit_item_enum (cognitive 26): SchemaCollector::visit_item_enum has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/migrations/diff_schema/schema_parsing.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"947c27af77f881ec64bfbc516333a475d992a89ca9b8c34d7d355a9a30afd082"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::sql_function::expand_nonvariadic (cognitive 25): diesel_derives::sql_function::expand_nonvariadic has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), loops 3 (4 pts), match/switch 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d523ed82b59affdc3f89c415af90dd2f690203d50b0a93132c88cb815d26e34"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_infer_query::expression::infer_expr (cognitive 25): diesel_infer_query::expression::infer_expr has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (20 pts), match/switch 2 (3 pts), boolean chains 2 (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":"diesel_infer_query/src/expression.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d205b8d53b141d59ec96c5fd2dc1000bdec47e31edbb6c9c4b07f1f22e5ee12e"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRelationDefinition::fmt (cognitive 24): QueryRelationDefinition::fmt has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 3 (5 pts), match/switch 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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd5097cabebef9a242bab8b5b78446bbc23ebda407530ca2b9ee80690ab2f07"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInferrer::try_infer_expression_type (cognitive 24): TypeInferrer::try_infer_expression_type has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 5 (8 pts), boolean chains 1 (nesting depth added 10). 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":"dsl_auto_type/src/auto_type/expression_type_inference.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f501749ba8f371c6f84d4fcbd6c986fb16fe7d1c041000e1ef7809fb22557742"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_cli::infer_schema_internals::inference::load_view_data (cognitive 22): diesel_cli::infer_schema_internals::inference::load_view_data has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 1 (5 pts), match/switch 1 (2 pts) (nesting depth added 15). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/infer_schema_internals/inference.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6195ba6496cae6b48d916262b6f4891f2befd4054e968744e0f6be44e21f955d"}},{"ruleId":"D2","level":"warning","message":{"text":"DeriveEnumInput::parse (cognitive 22): DeriveEnumInput::parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (17 pts), match/switch 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/enum_.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff80f62ecea20bc22c6810b0714bdb7d2ccc7a99304121e540e1f4e69468c067"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::as_changeset::derive (cognitive 22): diesel_derives::as_changeset::derive has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (6 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/as_changeset.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7a51e4d290fab042cbc5ed71c3832ead83eb0a67f6006ea578d36717a5fed1"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryRelationDefinitions::fmt (cognitive 21): QueryRelationDefinitions::fmt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (5 pts), match/switch 3 (4 pts), boolean chains 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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a3b63ad1d6ae6a767c098b9b835a3c99644a1f3655304c95ff5dbe8674d7c"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_cli::migrations::diff_schema::generate_create_table (cognitive 21): diesel_cli::migrations::diff_schema::generate_create_table has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (4 pts), boolean chains 3 (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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25fce789ef69bce4acf93710e0862f1f818e40104189e4b09a006fa8607e003"}},{"ruleId":"D2","level":"warning","message":{"text":"SemverArgs::run_semver_checks_for (cognitive 21): SemverArgs::run_semver_checks_for has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/semver_checks.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb36c73736a33c52ee8ac025098fa16adb8a7c661061689677e99abafa344ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"dsl_auto_type::auto_type::auto_type_impl (cognitive 20): dsl_auto_type::auto_type::auto_type_impl has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 2 (5 pts), loops 3 (5 pts) (nesting depth added 9). 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":"dsl_auto_type/src/auto_type/mod.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dc183111e01c107d30e190527fd3cd1bedc12a46e77ad371347d6b95e66c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyToQuery::load (cognitive 19): CopyToQuery::load has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), match/switch 2 (6 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/pg/query_builder/copy/copy_to.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c4b76dfa45d3efa9dee694b342a37b73fe2e78cf510a041ffd4ca331e9e207"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_cli::infer_schema_internals::sqlite::determine_column_type (cognitive 19): diesel_cli::infer_schema_internals::sqlite::determine_column_type has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3 (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":"diesel_cli/src/infer_schema_internals/sqlite.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac650ed5ab8db60d885cfcf242c157545e830c505add23e6fe52f165a0056986"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::table::generate_valid_grouping_for_table_columns (cognitive 19): diesel_derives::table::generate_valid_grouping_for_table_columns has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/table.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e819aecc0c3f82e86076f65f6cf8b72cb0c9fc4d37966a795d42c68b5aa836"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionOptions::parse (cognitive 18): ConnectionOptions::parse has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 12 (14 pts), if/else 3, boolean chains 1 (nesting depth added 2). 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":"diesel/src/mysql_like/connection/url.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a82abf7208c91e0f6325b4fc15d27c7ba2cdf1bcead06b9977885f806168bb"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_cli::regenerate_schema_if_file_specified (cognitive 18): diesel_cli::regenerate_schema_if_file_specified has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/main.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"816cfd921f2e0d934541c038d8297678b14bf12c84ec1c0ce369f3dbfa96307e"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::sql_function::parse_attribute (cognitive 18): diesel_derives::sql_function::parse_attribute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9210ff21a74140254241823e6ded63899afb36a6465b69ff0d829c78904b15e0"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::table::expand (cognitive 17): diesel_derives::table::expand has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, match/switch 3 (4 pts), loops 1 (3 pts) (nesting depth added 3). 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":"diesel_derives/src/table.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"261c41b1523058fd9944f0586cc4bd3f9148df54b95556a967f00cdc0971c357"}},{"ruleId":"D2","level":"warning","message":{"text":"Expression::infer_nullability (cognitive 17): Expression::infer_nullability has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 4 (8 pts), if/else 4 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_infer_query/src/select.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d337e3893a16f45f6f33a2d4398090db31d20bf64f7448a8177b78fb72052aa"}},{"ruleId":"D2","level":"warning","message":{"text":"Config::set_filter (cognitive 16): Config::set_filter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/config.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e330be4c6d5e02c3798b7e4d517607a1d30bbc37687d12bc3e82aa15ac7d8ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiHelper::new (cognitive 16): MultiHelper::new has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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. This shape REPEATS in the file: one other method here (diesel_derives::multiconnection::generate_connection_impl) 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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e36992586d75c9da61cb22737d2328e7c63b8765adc4fd5d9166957f3bb0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"diesel_derives::multiconnection::generate_connection_impl (cognitive 16): diesel_derives::multiconnection::generate_connection_impl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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. This shape REPEATS in the file: one other method here (MultiHelper::new) 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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"08568fae8301c4edd6c5d491cdc8208d59b90e4d282426ee71f3c84434221771"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalVariablesMap::process_pat (cognitive 16): LocalVariablesMap::process_pat has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). 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":"dsl_auto_type/src/auto_type/local_variables_map.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc44f317e8c8939e7aaa6774e0d8164f44dfc685e6650c18ad0370cdb12ece7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::multiconnection::generate_connection_impl: FunctionTooLong \u2014 diesel_derives::multiconnection::generate_connection_impl runs 343 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 243 over it, 3.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9826de54df5d6889dc0689d5e90b69c73259488abaddcadca441987ee82b9d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::multiconnection::generate_bind_collector: FunctionTooLong \u2014 diesel_derives::multiconnection::generate_bind_collector runs 325 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 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c62ed633862740e21fe420b16869325d9956c9e50db162bec9658f89c58933"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::multiconnection::generate_querybuilder: FunctionTooLong \u2014 diesel_derives::multiconnection::generate_querybuilder runs 325 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 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"975db1941ff7f2ab8494753e7ff8818a4213d30e00a231caf2beb404b5f4928d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema: FunctionTooLong \u2014 diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema runs 313 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 213 over it, 3.13\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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f97ce5d32340c95697b26b98230e2b5c4a0f738b67f1388f4f45d8be3f1d61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sql_function.rs: FileTooLong \u2014 1449 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 949 over it, 2.90\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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a211c65ef50a9f8b9d699b8fcde4038c9e5ead86668f1b0fdcadefcf16b8c471"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/multiconnection.rs: FileTooLong \u2014 1399 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 899 over it, 2.80\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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f91d6af4d7f545f6ea298aaca5e6fa18ffa2e049bea6a21c0d4f26bef982251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/print_schema.rs: FileTooLong \u2014 1334 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 834 over it, 2.67\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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2699eda6617c7b6d7d840149c95d97f8ba1eacdb167486e246355d2e379480"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SqliteConnection: TooManyMethods \u2014 73 methods, declared across 2 files: connection/mod.rs (54), connection/hooks.rs (19). The bar is 30 methods; this is 43 over it, 2.43\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. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/ci.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/sqlite/connection/mod.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae862f9b833ba1f667c63a5041a23d4231169757ea8e0827dfce3ec2552745"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::sql_function::expand_nonvariadic: FunctionTooLong \u2014 diesel_derives::sql_function::expand_nonvariadic runs 233 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 133 over it, 2.33\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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c163c319051b3d638ef0449706e7be87b11ba9f5a89db059bcbabaed7135764"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TypeInferrer.try_infer_expression_type: MethodTooLong \u2014 try_infer_expression_type runs 210 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 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsl_auto_type/src/auto_type/expression_type_inference.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f4c5008bb760bd8f50430e985cf1e469a90ac7e3ad5db73c50f916662c0433"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrations/diff_schema.rs: FileTooLong \u2014 1035 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 535 over it, 2.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ff15295f8d7c581678517c2fbacc283d51506a1f35aef7967132da7376b2f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Config.update_config: MethodTooLong \u2014 update_config runs 194 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 94 over it, 1.94\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":"diesel_cli/src/config.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"740d805faf82b73f1cdf08d724ffda7c976f307867e65944581779023caa0cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_infer_query::expression::infer_expr: FunctionTooLong \u2014 diesel_infer_query::expression::infer_expr runs 175 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 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_infer_query/src/expression.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dc0c61d745e7923cc32714cd0a1a7327215766e534b9e60053b38748437879"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connection/raw.rs: FileTooLong \u2014 872 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 372 over it, 1.74\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":"diesel/src/sqlite/connection/raw.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60069b851db53af77e02d2889c95acc2bd6796a1f16e501506b9e6c0847c8bc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::as_changeset::derive: FunctionTooLong \u2014 diesel_derives::as_changeset::derive runs 170 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 70 over it, 1.70\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":"diesel_derives/src/as_changeset.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"72dcfffd53323fc42ca9a925c278c48c1512190fcbbd911927c15163d01a36da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: insert_statement/insert_with_default_for_sqlite.rs: FileTooLong \u2014 827 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 327 over it, 1.65\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":"diesel/src/query_builder/insert_statement/insert_with_default_for_sqlite.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6ba1f70b446ba1b677198cd0b9ae392ce8b734f6837d50a1bec405f6e5467"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: diesel_derives: TooManyFunctions \u2014 49 free functions. The bar is 30 free functions; this is 19 over it, 1.63\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/ci.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/lib.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ee3e8fbc9d85e74bb5a33d2f0dd530f5756bee760ee4d36595b800d585dd01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/table.rs: FileTooLong \u2014 809 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 309 over it, 1.62\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":"diesel_derives/src/table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c925de81724b2b20d2644e325e20d3e5208d030e082a45506bce3db1240c20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::multiconnection::generate_backend: FunctionTooLong \u2014 diesel_derives::multiconnection::generate_backend runs 156 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 56 over it, 1.56\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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f95fc2603b757acd524cf38b731ec0d35a4d9eb221cec7f6e70f39006edf15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthorizerContext.from_ffi: MethodTooLong \u2014 from_ffi runs 149 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 49 over it, 1.49\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":"diesel/src/sqlite/connection/authorizer.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"84156590a5478e3375ddca1272e891002e694692b240b2c8abf0b2bac39f3896"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::insertable::derive_into_single_table: FunctionTooLong \u2014 diesel_derives::insertable::derive_into_single_table runs 143 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 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/insertable.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"929daa54ac1c91f4744aeeb85303a7de7b1c6b2cc3605501b4adaf60416da1f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: select_statement/dsl_impls.rs: FileTooLong \u2014 690 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 63% of them inside a single declaration: SelectStatement (25 blocks, 131-910). The bar is 500 significant lines; this is 190 over it, 1.38\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/query_builder/select_statement/dsl_impls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27eaaa527b82f61a20ed1d5d5aa19c4440d3ada1753d8fd25187fcdb0b336e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connection/mod.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), about 69% of them inside a single declaration: SqliteConnection (8 blocks, 195-1777). The bar is 500 significant lines; this is 159 over it, 1.32\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":"diesel/src/sqlite/connection/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d79d4c081d9a2f3084cc7e7c8144e5e9a344243d95196c24c752822d6d84771"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BindData.for_output: MethodTooLong \u2014 for_output runs 130 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 30 over it, 1.30\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":"diesel/src/mysql_like/connection/bind.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b7f90b5ee91214b7c1e880d6b8109257d7afde939a266f4ee42b49a38bba76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDiff.generate_up_sql: MethodTooLong \u2014 generate_up_sql runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f587da6f26fda9a5f1d4b022c9c5cc4fc5f122f206e916f70e86c14aa6c1953"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: expression/operators.rs: FileTooLong \u2014 618 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 118 over it, 1.24\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":"diesel/src/expression/operators.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d551a94f6be2d82a30f909910aa4db8ac18ead07145183b1e914da96ef0347b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawConnection: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/sqlite/connection/raw.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb043be03050f2c01f38f824d510ef971b5a51601b5dbba84df6c851df64709"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SchemaDiff.generate_down_sql: MethodTooLong \u2014 generate_down_sql runs 122 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 22 over it, 1.22\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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"8234aefdc124df6a7eacfb6a046303b26fa530d87c2fead8740af0186e668415"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::sql_function::generate_tokens_for_non_aggregate_functions: FunctionTooLong \u2014 diesel_derives::sql_function::generate_tokens_for_non_aggregate_functions runs 120 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 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e53429c77702f75efca06bc914f4d32861f2ec6c355d686a24055b264c2e9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::sql_function::parse_attribute: FunctionTooLong \u2014 diesel_derives::sql_function::parse_attribute 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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"457fe27a27dbfc07bb64a72098e038a80408acb9428f5d082c6a2c625fc488da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SqlFunctionAttribute.parse_attr: MethodTooLong \u2014 parse_attr runs 116 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 16 over it, 1.16\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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac48e91ca5688ec24933f616776b494a3e0fe9228f84c08858cee33dcf6a7c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connection/bind.rs: FileTooLong \u2014 575 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 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/mysql_like/connection/bind.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66aba61774118f2dfa58d1440812c9aab8658f5f6ec4b6723bb4cc137889006"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: expression/expression_methods.rs: FileTooLong \u2014 575 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 75 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/pg/expression/expression_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3390199951f3f722966f8265856da3d7de08285a55b9f95a297737f1db668182"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SqliteConnection: ClassTooLong \u2014 454 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), 73 methods, 8 blocks, lines 195-1777. The bar is 400 significant lines; this is 54 over it, 1.14\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":"diesel/src/sqlite/connection/mod.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a55ad65b2f779381173bc71faaa53502cfa747d7a176b5aa15020862cd4ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomTypesForTablesForDisplay.fmt: MethodTooLong \u2014 fmt runs 111 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 11 over it, 1.11\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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4697a7057d6661344f6d0d234d797839cacdc6c5df7fcb4f77b02725e335605"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: dsl_auto_type::auto_type::auto_type_impl: FunctionTooLong \u2014 dsl_auto_type::auto_type::auto_type_impl runs 110 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 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dsl_auto_type/src/auto_type/mod.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a8c8999c11315efe5e07137d34116452d57492a45935456904fc63a20cb5b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::multiconnection::generate_row: FunctionTooLong \u2014 diesel_derives::multiconnection::generate_row runs 108 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 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde46099a65289e9d0d5da3fe62b587bc3d3b0d9f47ed5411c5b84921895bd2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::sql_function::generate_tokens_for_aggregate_functions: FunctionTooLong \u2014 diesel_derives::sql_function::generate_tokens_for_aggregate_functions runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54e4e320060614fa57b0e6e30f03820d5d29c46a9afe124515b30807f855ec1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_cli::migrations::run_migration_command: FunctionTooLong \u2014 diesel_cli::migrations::run_migration_command runs 106 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 6 over it, 1.06\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":"diesel_cli/src/migrations/mod.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f25519677726950f796dc23d0d500f9f1c1f581ec3243fee601a2b07aa33aaf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RawConnection: ClassTooLong \u2014 418 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), 37 methods, 3 blocks, lines 65-925. The bar is 400 significant lines; this is 18 over it, 1.05\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":"diesel/src/sqlite/connection/raw.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"440f59f4062a1036eaa54fa9ea1492d5d81a2e412010f457af82214c185e7f9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: diesel_derives::as_expression::derive_inner: FunctionTooLong \u2014 diesel_derives::as_expression::derive_inner 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":"diesel_derives/src/as_expression.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1878b0fa7588504eb9d33a06591d707c7e0a9fd483dec6c02cc5caedc0fe7d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): diesel_derives/src/sql_function.rs:775-798 | diesel_derives/src/sql_function.rs:872-895 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"959655fbcc6660a07cb3a3359a03f3ede06f0033799cf1e3f3e96a40f404fe74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): diesel_derives/src/sql_function.rs:807-828 | diesel_derives/src/sql_function.rs:902-923 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4295b6f821ab7acc200c01cb1016d9ec1b10db5afadc5fb85fd3511f6c86a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): diesel_cli/src/config.rs:81-100 | diesel_cli/src/config.rs:206-222 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/config.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"916819729c8c50078daca952976a88f8f2cc00b00dd37b0dea77f1ca5695616f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): diesel_table_macro_syntax/src/lib.rs:63-80 | diesel_table_macro_syntax/src/lib.rs:100-117 \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":"diesel_table_macro_syntax/src/lib.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1e6cde7cea7240ec8ed451f33e6922cdd5b9256d6b4d939ccd0ba4eb93f56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): diesel/src/connection/transaction_manager.rs:398-414 | diesel/src/connection/transaction_manager.rs:482-497 \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":"diesel/src/connection/transaction_manager.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac2717a78d73f42ee4886faad33a37ec3c9118ffee48f5614c9caa4dc31179a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): diesel/src/sqlite/types/json.rs:133-149 | diesel/src/sqlite/types/json.rs:165-181 \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":"diesel/src/sqlite/types/json.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dac340ea21444d9a373da9983dc63013ee5900035960190ccaeed286da12d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): diesel_cli/src/infer_schema_internals/mariadb.rs:60-76 | diesel_cli/src/infer_schema_internals/mysql.rs:59-75 \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":"diesel_cli/src/infer_schema_internals/mariadb.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f20e4b9bc46e98051691c276b8d46716990efd2e77776d18c4adc0c3d049d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): diesel_derives/src/multiconnection.rs:1733-1749 | diesel_derives/src/multiconnection.rs:1828-1844 \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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eaa0c12d4f31627c4dda836cbb5bfe22c88106e7148dcc596c737855e86bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): diesel_migrations/src/migration_harness.rs:186-202 | diesel_migrations/src/migration_harness.rs:217-233 \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":"diesel_migrations/src/migration_harness.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bbfb4ee7ef251c12651d39222baf74690b77ed075285c98a2f93e3382b020b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): diesel_derives/src/sql_function.rs:751-766 | diesel_derives/src/sql_function.rs:851-865 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac23a36e6cd9acf66133d68e952f214d080c73d9bc6086a2b86ea7a3eadd430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): diesel_derives/src/sql_function.rs:1033-1048 | diesel_derives/src/sql_function.rs:1100-1115 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da7be99b33b76742848aee970257a58bdf792729b783caac5142d3cad4a8dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): diesel_derives/src/as_changeset.rs:59-73 | diesel_derives/src/insertable.rs:55-69 \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":"diesel_derives/src/as_changeset.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0aff30e10e504d213a347dab73c58e4fbf68a1191769dc60fa8044f469eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): diesel/src/mysql_like/connection/mod.rs:161-174 | diesel/src/sqlite/connection/mod.rs:269-282 \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":"diesel/src/mysql_like/connection/mod.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ab239d6a6f37f9623ca57a00d4bc4a6dff65a935fc41931e7cbe01c9d057e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): diesel_cli/src/config.rs:242-255 | diesel_cli/src/config.rs:264-276 \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":"diesel_cli/src/config.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"771911301485b3e8fcb3e85d08dc5dd4c051165a3c4cb246b418e7b7fd786ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): diesel_derives/src/multiconnection.rs:1713-1725 | diesel_derives/src/multiconnection.rs:1808-1820 \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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5b100a2bf9c04b8f37b921788b75e2d68d5038da99c54e695bbdae3d3cec2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): diesel_derives/src/sql_function.rs:1161-1173 | diesel_derives/src/sql_function.rs:1261-1272 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a0869dfd67cc17696c524c170678bbd4d2714e427162e7651ffa5afb829cad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): diesel/src/query_builder/select_statement/boxed.rs:283-294 | diesel/src/query_builder/select_statement/boxed.rs:307-318 \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":"diesel/src/query_builder/select_statement/boxed.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7e50d678e8672d74cfd30680c3862a3f7748c5f96713aafb97c4a02c638d17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): diesel/src/query_builder/select_statement/boxed_clone.rs:305-316 | diesel/src/query_builder/select_statement/boxed_clone.rs:333-344 \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":"diesel/src/query_builder/select_statement/boxed_clone.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"46682da082acceb4d7608ee679d8e3d6ca727dc109ce23bc431a463717973b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): diesel_cli/src/infer_schema_internals/mariadb.rs:19-30 | diesel_cli/src/infer_schema_internals/mysql.rs:19-30 \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":"diesel_cli/src/infer_schema_internals/mariadb.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f15b6190918d3faa3f084962271d88d4e72826784baac031519cce74d163cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): diesel_derives/src/multiconnection.rs:1595-1606 | diesel_derives/src/multiconnection.rs:2009-2020 \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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a870648d246842066968ad0503e32e23bd4a6e8cf3c5b0890784121b55da2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): diesel_derives/src/sql_function.rs:1007-1017 | diesel_derives/src/sql_function.rs:1073-1084 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0db3126b4182ef33569cf6c1b78919453da73e0e1aa2c460c7581d2fe2f714e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): diesel_derives/src/sql_function.rs:1087-1098 | diesel_derives/src/sql_function.rs:1119-1130 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6bfb7b8f0a2a54f1476be88a418b2ade402dac9cd204e01c11e411d332f7f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): diesel/src/query_builder/select_statement/boxed.rs:172-182 | diesel/src/query_builder/select_statement/boxed_clone.rs:193-203 \u2014 before extracting anything, compare \u0060diesel/src/query_builder/select_statement/boxed.rs\u0060 and \u0060diesel/src/query_builder/select_statement/boxed_clone.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"diesel/src/query_builder/select_statement/boxed.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"752ac68c1777c0ba46445180760a1093709a1d7cb28cf46c56453c52f35c3f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): diesel/src/query_builder/select_statement/boxed.rs:247-257 | diesel/src/query_builder/select_statement/boxed_clone.rs:269-279 \u2014 before extracting anything, compare \u0060diesel/src/query_builder/select_statement/boxed.rs\u0060 and \u0060diesel/src/query_builder/select_statement/boxed_clone.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"diesel/src/query_builder/select_statement/boxed.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c8fcf4c9dc552a7ae55aff5c5a16e3f9a0a07434a298b513872679342e8e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): diesel/src/query_builder/insert_statement/batch_insert.rs:139-148 | diesel/src/query_builder/insert_statement/insert_with_default_for_sqlite.rs:784-793 \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":"diesel/src/query_builder/insert_statement/batch_insert.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc74261c277c5196b66ff092c070b1d5d2d86d1f435a92814a61ff5efe75bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): diesel_derives/src/table.rs:235-244 | diesel_derives/src/table.rs:262-271 \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":"diesel_derives/src/table.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd835647649d425d0259c9450efce28b0d7a3768e2cad8900f69e97c24840e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): diesel/src/sqlite/connection/raw.rs:1419-1427 | diesel/src/sqlite/connection/raw.rs:1636-1645 \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":"diesel/src/sqlite/connection/raw.rs"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2032cab12164fe3495cf6c5b6bdcfe4dd472daffe38f3c8ad50f3c695fb81e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): diesel_cli/src/config.rs:314-322 | diesel_cli/src/config.rs:325-333 \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":"diesel_cli/src/config.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f556c7506a9559a1d674e2751eb81213b05eba3dca0da3aaa9c36a3eb26899f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): diesel_derives/src/has_query.rs:73-80 | diesel_derives/src/selectable.rs:23-31 \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":"diesel_derives/src/has_query.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae11049645df66d667c84963b0aecb2f4ee0977728658ed6b6d02febab783325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): diesel_derives/src/sql_function.rs:1020-1027 | diesel_derives/src/sql_function.rs:1052-1059 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf7446acb9f2e1c6917e6728ac4ad9774cffd2ba6f65b5a28a60611c211dcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): diesel_derives/src/multiconnection.rs:1162-1168 | diesel_derives/src/multiconnection.rs:1186-1192 | diesel_derives/src/multiconnection.rs:1205-1211 \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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3c981a6613e4f4d1ab8f2acef91858dda37d3e6dc83ae866ad4b3b27b46f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:58-64 | diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:453-459 \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":"diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80edec469d438effb200716831413dea19429e438e10797b64136b0920de160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): diesel_cli/src/print_schema.rs:1019-1025 | diesel_cli/src/print_schema.rs:1174-1180 \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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"af15a1b194bc677fd63209474a7b70f80e64043ef15f06afa7acc9b0ae04b0f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): diesel_derives/src/as_changeset.rs:182-187 | diesel_derives/src/as_changeset.rs:229-235 \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":"diesel_derives/src/as_changeset.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"886596297c11948887c1efdc734efd725bbe7c5f763878b8dd3e7079cdb7f6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): diesel_derives/src/sql_type.rs:76-81 | diesel_derives/src/sql_type.rs:99-104 | diesel_derives/src/sql_type.rs:123-128 \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":"diesel_derives/src/sql_type.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"05732ae4f5da409f810f1592c15a1a4a04d031f6f7d2b25b7934c25a59eccefb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): diesel/src/pg/types/ranges.rs:162-167 | diesel/src/pg/types/ranges.rs:175-180 \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":"diesel/src/pg/types/ranges.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa28221f090096a2c9d27fe97f07ced604e7ca1d7d4348609fa7e0593e0817d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): diesel_derives/src/multiconnection.rs:1140-1144 | diesel_derives/src/multiconnection.rs:1162-1166 | diesel_derives/src/multiconnection.rs:1186-1190 | diesel_derives/src/multiconnection.rs:1205-1209 \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":"diesel_derives/src/multiconnection.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3e5ecb337fdda66bca1ba1443590a86347a4c76d2e590cb5109c1246690f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): diesel_cli/src/config.rs:102-106 | diesel_cli/src/config.rs:302-306 \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":"diesel_cli/src/config.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96d1588e016b2cd7b20a4d290bdc6a10e0df78c3ecb4804b732e155af15a26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): diesel_derives/src/insertable.rs:171-175 | diesel_derives/src/insertable.rs:197-201 \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":"diesel_derives/src/insertable.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33db92db499b54730f467d1b3e7d52547909cf975c2541f1db31b0958c9fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): diesel_derives/src/sql_function.rs:774-778 | diesel_derives/src/sql_function.rs:806-810 | diesel_derives/src/sql_function.rs:836-837 \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":"diesel_derives/src/sql_function.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00f45ccc849dd40a7dfc7c438df32361195b44e7dcf6e9c94553815e872dc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): diesel_derives/src/table.rs:981-985 | diesel_derives/src/table.rs:1005-1009 \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":"diesel_derives/src/table.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"152d19499d94c8a26dd7f261b525a763f4e98b71f638960d12bb08a5f7eb89cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): diesel/src/mysql_like/query_builder/mod.rs:44-49 | diesel/src/sqlite/query_builder/mod.rs:32-37 \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":"diesel/src/mysql_like/query_builder/mod.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f3548cce45dc53b45c90ceb4bda810d93826da1246786b590e5457b3c621f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): diesel_derives/src/as_changeset.rs:274-278 | diesel_derives/src/insertable.rs:241-245 \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":"diesel_derives/src/as_changeset.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"165f0df5da5254241b7d2bad68fcd3b4d67cb08602979399a51454a36b56ba91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): diesel/src/expression/sql_literal.rs:169-174 | diesel/src/query_builder/sql_query.rs:245-250 \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":"diesel/src/expression/sql_literal.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e147bc91ed93ad1f0d42881d7480b58ad76f07bcbd399af89c14f7b3c97919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): diesel/src/query_builder/select_statement/boxed.rs:84-96 | diesel/src/query_builder/select_statement/boxed.rs:119-131 | diesel/src/query_builder/select_statement/boxed_clone.rs:102-114 | diesel/src/query_builder/select_statement/boxed_clone.rs:138-150 \u2014 before extracting anything, compare \u0060diesel/src/query_builder/select_statement/boxed.rs\u0060 and \u0060diesel/src/query_builder/select_statement/boxed_clone.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"diesel/src/query_builder/select_statement/boxed.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe38dfa29434854b1882578338f1e628d7b379da01071b50e0b2e4ddb99e915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): diesel/src/query_builder/select_statement/boxed.rs:434-440 | diesel/src/query_builder/select_statement/boxed_clone.rs:460-466 \u2014 before extracting anything, compare \u0060diesel/src/query_builder/select_statement/boxed.rs\u0060 and \u0060diesel/src/query_builder/select_statement/boxed_clone.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"diesel/src/query_builder/select_statement/boxed.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bd7b56f119539134358f515759de46d2200c3d33fd736ea6a7340247bc181d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): diesel/src/pg/query_builder/copy/mod.rs:85-96 | diesel/src/pg/query_builder/copy/mod.rs:116-127 \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":"diesel/src/pg/query_builder/copy/mod.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"941f213e97334c3c459403e19bc901b431efe7b2d843ee55eecdc72f009e046b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): diesel/src/connection/transaction_manager.rs:326-336 | diesel/src/connection/transaction_manager.rs:359-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/connection/transaction_manager.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5057e8bab4b9c605376958d36e0972d59d2b3026dc2dba6d03d875768f15818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): diesel/src/sqlite/types/json.rs:344-353 | diesel/src/sqlite/types/json.rs:387-396 \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":"diesel/src/sqlite/types/json.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f06ac0f7340a2a332ec8aeb882db7919bfc71a86659be281e5cd56dde7c00e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): diesel_infer_query/src/expression.rs:109-115 | diesel_infer_query/src/expression.rs:124-130 | diesel_infer_query/src/expression.rs:162-171 | diesel_infer_query/src/expression.rs:182-191 \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":"diesel_infer_query/src/expression.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd56056f90b16ecef2d9c5be847c79b247f4650035046718cc5a61983ebd9483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): diesel_cli/src/database.rs:299-307 | diesel_cli/src/database.rs:327-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_cli/src/database.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"187bc40010c612c08b92f1fffdaabf2ed081b8848140532186b04b08a1a3610c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): diesel/src/mysql_like/connection/url.rs:83-89 | diesel/src/mysql_like/connection/url.rs:93-99 \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":"diesel/src/mysql_like/connection/url.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b2720da3f05fe860b68c46f15f1eee1486cc5ee977cac044ba8e67b956bf05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): diesel_cli/src/infer_schema_internals/sqlite.rs:51-57 | diesel_cli/src/infer_schema_internals/sqlite.rs:65-71 \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":"diesel_cli/src/infer_schema_internals/sqlite.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd93990238fe614d9b5e9f91d1f16b9674779f0f95febeaf82f71583609f4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): diesel_cli/src/migrations/mod.rs:459-464 | diesel_cli/src/migrations/mod.rs:472-477 \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":"diesel_cli/src/migrations/mod.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f685182e881a0f4aaf7448c5ee5ba9a03ac162abdae2d0ba21d39d7308246f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:58-63 | diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:96-101 | diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs:453-458 \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":"diesel_cli/src/migrations/diff_schema/enum_type_query_fragments.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa59d5115f880407d6f8cda50688ba0ab628c1c06538b166c7c1f6656e4a7bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): diesel_infer_query/src/expression.rs:132-136 | diesel_infer_query/src/expression.rs:138-142 \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":"diesel_infer_query/src/expression.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e80fc595238e4c8846229b98e03138da922a38cc7c1dbe4b710a2da02837851"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: diesel_table_macro_syntax: diesel_table_macro_syntax: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6232cd81dc873c6eda11c8485e6f75ddc5d1674f2ce13297fb526fa966199192"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: dsl_auto_type: dsl_auto_type: 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":"ec65c3337c4cf65dd9eb61a0737857228f21acf9d1ac201d4fcd5947a3fb2543"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: migrations_internals: migrations_internals: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"58ce8faaa98ad4388428dd39420ba7bd1cea067a5337541c6beb2454292bc529"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: diesel_attribute_parser: diesel_attribute_parser: abstractness 0.22, instability 0.00, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"36b8e3f1a48e79bd87a2204fe90e51c29c6294201a035cb09140664735c58027"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: diesel_infer_query: diesel_infer_query: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5101657881eaaa077a791c14b0776c431307277ca80524bbbccf2e07a2890eb3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: diesel/src/sqlite/types/json.rs: diesel/src/sqlite/types/json.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in diesel::sqlite::types::json::jsonb::read_jsonb_value at line 97. 5 of those changes were fix/bug commits, and the other 8 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel/src/sqlite/types/json.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":"diesel/src/sqlite/types/json.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"de76f5ba570456dd057f75d295e4c4050679ad561cfceb1860234a5a0e4285c1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: diesel_cli/src/print_schema.rs: diesel_cli/src/print_schema.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CustomTypesForTablesForDisplay::fmt at line 1007. 5 of those changes were fix/bug commits, and the other 11 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_cli/src/print_schema.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":"diesel_cli/src/print_schema.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b32a6a319a522d06e569f9da5eef15352d87b1330eb357411ecc5224a3f270"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: diesel_cli/src/migrations/diff_schema.rs: diesel_cli/src/migrations/diff_schema.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in diesel_cli::migrations::diff_schema::generate_sql_based_on_diff_schema at line 57. 1 of those changes was a fix/bug commit, and the other 4 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_cli/src/migrations/diff_schema.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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e880ec989719d0bcd10bb314cc0ce76768a92a346081ef3e73113bbb9752b357"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: diesel_cli/src/migrations/mod.rs: diesel_cli/src/migrations/mod.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in diesel_cli::migrations::run_migration_command at line 199. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_cli/src/migrations/mod.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":"diesel_cli/src/migrations/mod.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff106f841ee8c6eca9719c983bbc41f0a5415fc8cb3d98b34718d2a641d27fb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: diesel_attribute_parser/src/lib.rs: diesel_attribute_parser/src/lib.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in StructAttr::parse at line 278. 1 of those changes was a fix/bug commit, 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-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_attribute_parser/src/lib.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":"diesel_attribute_parser/src/lib.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"920eb6396d83fffd325a461406a450b843026fdf9ba931b73588521eddf657e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel_cli/src/infer_schema_internals/inference.rs: diesel_cli/src/infer_schema_internals/inference.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is diesel_cli::infer_schema_internals::inference::load_view_data at line 370), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CMerge branch \u0027main\u0027 into fix/rust_code_injections\u201D; \u201CFix code injections in diesel-cli\u201D; \u201Cfix build\u201D; \u201Cfixed mariasb on newer commits\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_cli/src/infer_schema_internals/inference.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":"diesel_cli/src/infer_schema_internals/inference.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4c83ce4ded0b975f330fb4cefcf0ab764045f66f04a5d0da232bcc376e0e61"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel_cli/src/infer_schema_internals/mariadb.rs: diesel_cli/src/infer_schema_internals/mariadb.rs changed 7 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is diesel_cli::infer_schema_internals::mariadb::load_foreign_key_constraints at line 11), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix code injections in diesel-cli\u201D; \u201Cdiesel_tests enable test for mysql for mariadb too \u002B fixed some warnings with tests\u201D; \u201Cfix build\u201D; \u201Cfixed mariasb on newer commits\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_cli/src/infer_schema_internals/mariadb.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":"diesel_cli/src/infer_schema_internals/mariadb.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71aee2a744a025f20976effd1fbeaf3eba45bad7000922a8675936996326001"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel/src/doctest_setup.rs: diesel/src/doctest_setup.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is diesel::doctest_setup::database_url_from_env at line 361), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfixed nullable \u002B cleanups\u201D; \u201Cfix mariadb windows ci\u201D; \u201Cfix tests and enable tests for mariadb backend\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel/src/doctest_setup.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":"diesel/src/doctest_setup.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67e1fef182ed8825a05e530accc8e8b77bafabba891c5dd5ee906a5be1cf538"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel/src/query_dsl/mod.rs: diesel/src/query_dsl/mod.rs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is RunQueryDsl::get_result at line 1886), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CMerge pull request #5159 from weiznich/fix/5156\u201D; \u201CDocumentation fixes\u201D; \u201Cfix tests and enable tests for mariadb backend\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel/src/query_dsl/mod.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":"diesel/src/query_dsl/mod.rs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"79240836bb647da427c61ec486401a82e8bc44fccfa1a415bba3ef83942531c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel/src/query_builder/update_statement/mod.rs: diesel/src/query_builder/update_statement/mod.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is UpdateStatement::walk_ast at line 282), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CDocumentation fixes\u201D; \u201CMinor fixes\u201D; \u201CCleanup and additional fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel/src/query_builder/update_statement/mod.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":"diesel/src/query_builder/update_statement/mod.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1efffd8b3ffb56546e9e3f581b0ad00cd316d8269335bc26c5c88decd9839fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel/src/sqlite/connection/sqlite_blob.rs: diesel/src/sqlite/connection/sqlite_blob.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is SqliteReadOnlyBlob::seek at line 148), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(sqlite): track closed blob handles with Option\u201D; \u201Cfix(sqlite): reject before-start blob seeks\u201D; \u201Cfix(sqlite): close blob handles exactly once\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel/src/sqlite/connection/sqlite_blob.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":"diesel/src/sqlite/connection/sqlite_blob.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc248d3338ae9fd6ef1ad30bd03fd3652e44751bc8a57c6a22b9a6955b5a09d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: diesel_cli/src/infer_schema_internals/information_schema.rs: diesel_cli/src/infer_schema_internals/information_schema.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 2 (its worst body is diesel_cli::infer_schema_internals::information_schema::get_primary_keys at line 120), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CMerge branch \u0027main\u0027 into fix/rust_code_injections\u201D; \u201CFix code injections in diesel-cli\u201D; \u201Cfixed mariasb on newer commits\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-06-27..2026-09-25, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-27 09:17:32 \u002B00:00\u0027 --until=\u00272026-09-25 09:17:32 \u002B00:00\u0027 --full-history --no-merges -- diesel_cli/src/infer_schema_internals/information_schema.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":"diesel_cli/src/infer_schema_internals/information_schema.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"099c0775c54f280c11935fb31fd380ab1b3b7cb710adb7e6103c7196d0a5fda3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: diesel/src/sqlite/connection/authorizer.rs, diesel_dynamic_schema/src/dynamic_value.rs, diesel/src/sqlite/auto_extension.rs, diesel/src/sqlite/connection/limits.rs, diesel/src/expression_methods/text_expression_methods.rs, diesel/src/query_builder/upsert/on_conflict_target.rs, diesel/src/collation/mod.rs, diesel_dynamic_schema/src/dynamic_select.rs (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ec3c6a1c4e075f7d1e4f4739312ce407dc5ab8d0a2c5331a5a4de4bb08f9b87c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 10 significant file(s) lose their only recent owner: diesel/src/pg/query_builder/copy/copy_to.rs, diesel/src/expression/functions/aggregate_expressions/frame_clause.rs, diesel/src/pg/types/numeric.rs, diesel_infer_query/src/expression.rs, diesel_infer_query/src/select.rs, diesel/src/query_source/aliasing/alias.rs, diesel/src/pg/query_builder/copy/mod.rs, diesel/src/pg/connection/copy.rs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ba6886932d9af31cede9c0ed19437984bdae697417218154a10be48b01803371"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: diesel/src/mysql_like/connection/bind.rs, diesel/src/mysql_like/types/date_and_time/time.rs, diesel/src/mysql_like/connection/stmt/mod.rs, diesel/src/mysql_like/query_builder/limit_offset.rs, diesel/src/mysql_like/mod.rs, diesel/src/mariadb/backend.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"13e5ae0afdf20c70e8b8a53edfb3472b8d43b2ba5409fc2482925eca3bb856a4"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (30 single-owned of 281 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; 281 of the 413 production source files in this repository met that bar). They are anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 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: Fixme Diesel 3.0, resolve this ambiguity in the macro itself \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":"diesel/src/reexport_ambiguities.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5241f93a77c17bed35de0019738409ae494cd86759a49636b72d5cb4335a4060"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This probably isn\u0027t sound. The subselect can reference columns from \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":"diesel/src/expression/subselect.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6607a5688cbdaec31b0db88df849b269c7c17ddf9e937588c23288da827ee25b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We might want to implement \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":"diesel/src/expression/functions/aggregate_expressions/frame_clause.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dc963963ef96e3f656e6121ede813612547ec50ee4fec9ad2dbfc781a4b7d7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This is documented as Nonzero if an error occurred. \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":"diesel/src/mysql_like/connection/raw.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6104da42c34e67001c725f5ec9f9a83fb08e7fabe38643a6652a84fb6bf0bda"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this attribute once false positive is resolved. \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":"diesel/src/pg/metadata_lookup.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a7a3d9d9040fd759624cc33de4756d379c93ab906b94a9deba17f369be37d1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this attribute once false positive is resolved. \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":"diesel/src/query_builder/query_id.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f7ea8a377a9c8508ba7f1b0ea29811595a29e51f419f9508e475fc6f9bdaaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: diesel 3.0 \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":"diesel/src/pg/types/numeric.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b00f638cc6a6240ebaa99b0097708bd50f77fc51b647683d11bdd1da5e6ad62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: we need to deal with IS_WINDOW_FUNCTION 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":"diesel/src/query_builder/query_id.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0688b313e2104ff5c0d05d80b0af5a6364b527f921d1c6e54d239e73a190de39"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Should we disable joining when \u0060.group_by\u0060 has been called? Are there \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":"diesel/src/query_builder/select_statement/dsl_impls.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39c919b9ae503a0e9ef055837b9f84280fdfe0cf629fe7ca288ff842bd32a9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Once we\u0027ve refactored the \u0060impl Expression\u0060 on \u0060SelectStatement\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/query_dsl/select_dsl.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"43839a54a385dd0517472d74b8aa0eab312d9ceff364770d95c85f86be1e49b0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Needs usage example and doc rewrite \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":"diesel/src/query_dsl/mod.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977ce4d9ced623c4c379ec8e1bdf91a8037bc7561a186824fd0eabe2e02a742"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: diesel 3.0 change the super trait here to \u0060QueryRelationField\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/query_source/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed4a918e4fe4c8356047f3064cf018589c4a60c863554e6e453273331e130f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: diesel 3.0 change the super trait here to \u0060QueryRelation\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/query_source/mod.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6027736ebed17f725c1b010269eb3886c0ec40e18f7184a95b8412c3c3870cf9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: diesel 3.0 drop this in favour of QueryRelation::AllColumns \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":"diesel/src/query_source/mod.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14c39a566fb837327a4ab5181ef55f79bd0af68c8324c81627cf103e92c7346"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: diesel 3.0 drop this in favour of QueryRelation::all_columns \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":"diesel/src/query_source/mod.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a47b5e1be8951ab56c7ded194e2df1ca2a09c88fbda19167b57a08a3aa4fce8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this when overlapping marker traits are stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/query_source/aliasing/joins.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9e031dd5c8620d3a73b3e81f0011f25bc4eb279b389e65301aaf6ba5771d7d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this when overlapping marker traits are stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/query_source/aliasing/aliased_field.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eb491a6c09fa6894e8447f503a2c4b998149ddf0efdf870c2d917a2ecbe7e9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this when overlapping marker traits are stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/table.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a17523e0c0875c0f1355e442983f2db4f6565de01e5350bf7fe3db6e5689ea"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove this when overlapping marker traits are stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/table.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc53c137f215492559a17dfd8a0e7813d3d4d4ce398ef7744f729de5890fad6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it seems like \u0060#[diagnostic::on_unimplemented]\u0060 doesn\u0027t work 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":"diesel/src/sql_types/mod.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc68bd325a9b52cccf56b9034f0fbb478620e722afc7886263dcb127dfa7be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: diesel 3.0 use \u0060libsqlite3-sys\u0060 declarations after raising the minimum to 0.29. \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":"diesel/src/sqlite/auto_extension.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46ae814264ded9be0664406e710238a299e18cfab8de268aeb4f4883a53e1a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Return Result in Diesel 3 so SQLite allocation failures reach callers. \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":"diesel/src/sqlite/connection/sqlite_value.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad34556a0aa88bb2ac5bb3f3849ddf104ab2ec26a501a108bc89cbef2d436e8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Return Result in Diesel 3 so SQLite allocation failures reach callers. \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":"diesel/src/sqlite/connection/sqlite_value.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a84894cbbc43fb5f793fa73a56ae888ec82e0f5e683432be0887d1206681375"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Diesel 3.0 This signature needs to change, we want to expose more options (schema name, readonly) \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":"diesel/src/sqlite/connection/mod.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff123c03a13c6294b17ceaaaf33ad843024a645806823639826fab36e9814d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this after a few releases \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":"diesel_cli/src/main.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"010d140603dc0655e80efcfcabbc2689b501d9dea56e37288d80a7c105af92a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle schema \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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d6ce691d5b39beb7508f5a0294ee0e1ae35f5be76cf6b6648ffd6214fd41bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle schema \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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2b01b9d066326da57cdbd277c30c7417ababb3de6b6f658c68b16fdea964fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle schema? \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":"diesel_cli/src/migrations/diff_schema.rs"},"region":{"startLine":1352}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0a0fdbc2c3ed1b949261f08d4002219e149aa3a95523ae978387f80c3582f4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This should not compile \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":"diesel_compile_tests/tests/fail/pg_upsert_do_update_requires_valid_update.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d8560353326c8886e433a0eddfa60520cca17b2123b4af3636819640bc8add"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: Bad error on the second one \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":"diesel_compile_tests/tests/fail/insert_cannot_reference_columns_from_other_table.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d21a253c2cf02c2b4e9867d4d77bb117c5983f80cf930bd7b42fdd954b8930"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: It\u0027d be nice if this mentioned \u0060AsExpression\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_compile_tests/tests/fail/find_requires_correct_type.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f8fdccf11f5c1578c112feb843258478aa37b90d7ffebced5bae0e709d6fa1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: It\u0027d be nice if this mentioned \u0060AsExpression\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_compile_tests/tests/fail/find_requires_correct_type.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7034cb6138cbd0495cae734073100df0ae6ce8e3ee526c0f7fa60b8e4286a21b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: It\u0027d be great if this mentioned \u0060AppearsInFromClause\u0060 instead... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_compile_tests/tests/fail/filter_cannot_take_comparison_for_columns_from_another_table.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a0a443695ef3828a349d11d762b399b43f8261da297395186e99f51d75fdb6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: It\u0027d be great if this mentioned \u0060AppearsInFromClause\u0060 instead... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_compile_tests/tests/fail/filter_cannot_take_comparison_for_columns_from_another_table.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f09c4d55a005491694dc55f217651ceea0f5cb6fae746b264bec7880b18b9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO get a better span here as soon as that\u0027s \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":"diesel_derives/src/table.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f99470b23a574cd41e9bc00bc34d47d72ff71f3f05fcd4c25daf2c87534e00c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We can always derive once trivial bounds are stable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_derives/src/sql_function.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36836b4ed2b0f95e5a973c26ec6c6468a0f800382f569e8072ef9cd7b83fac7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Test usage with renamed columns \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":"diesel_derives/tests/selectable.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68bab6afdf19eca219eb101b567f44e88505218a4f342ecadb598659da4e168"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Test usage with renamed columns \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":"diesel_derives/tests/queryable_by_name.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"219ed82b50564c03b589344043e2180909e492275e7736cbfa36481336615d7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not supported by the parser? \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":"diesel_infer_query/tests/parsing.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2379149455d58922e27d9aebc1d84bbb6c9177f977825e2ea09729e4d8508c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change the used function 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":"diesel_tests/tests/window_functions.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9349b71519e488ccb201aca49b91d7b9cbc607c4e50ed37b87af86d1048af4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Write compile fail tests for cases that should not compile as for example: \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":"diesel_tests/tests/view_testing.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea82a8d654eb8b2ead05389427c3ad879a23cc0e7a80d636a161e0ab184a1e7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: test larger parts of \u0060QueryDsl\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_tests/tests/view_testing.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a43c6f43cf82abade114b7e0a67e30744bb678e041d43f60a56fd11bf5d4902"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: lock dsl \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":"diesel_tests/tests/view_testing.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"56175afe0436752363efa5db286855e66aba5dde462c9ebb2450a59b67b4a8b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: having \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":"diesel_tests/tests/view_testing.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"281f0a207fb1fb000c1a7ebf43404598764a42d646073f6e20a86db4ca0d9a5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: double check what else is missing \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":"diesel_tests/tests/view_testing.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f086f59bdab5a2b8656f887e5b32fe630798a26852eda54d337b6db6b3db330"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Review this module to see if we can do these casts in a more backend agnostic way \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":"diesel_tests/tests/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba8a6a48bf536afec8007570a42ec4ccde840189164c8ea024d5e0b5dd3481b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This test is only valid when operating on a file and not :memory: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel_tests/tests/transactions.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cea35464356d558af14a615f7652c1acc9b56976d25a98364dfb6cda15c284d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // this test is marked for \u0022sqlite\u0022 only as this moment. FIXME. \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":"diesel_tests/tests/transactions.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62eecae353a9ca74cb10ae3875bd97b8b9e456771def2c4295d6004f0e796d5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We need to support SQL functions on SQLite. The test itself will \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":"diesel_tests/tests/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a7fe71e935212459a42888c9b6efae6a7590cb2a26e54c804e19fd30b48d52"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this test shouldn\u0027t need to modify schema each run \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":"diesel_tests/tests/filter.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"99da5b44f85a4a19057f8cc40c3a1fcf36f20a80e7bb6446454b7418c202e8d9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Does SQLite provide a way to detect overflow? \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":"diesel_tests/tests/expressions/ops.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbd6357b639ef1cb6c583ced6dba3f2ff91763d0117ab1581d3a39e27d21f1f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We need to test this on SQLite when we support these types \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":"diesel_tests/tests/expressions/mod.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b52c57e677a19bbcafefe07209d24b065fd544b7dbc213ba83ed73a4158b3dd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: We need to test this on MySQL \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":"diesel_tests/tests/expressions/mod.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbc4518774fbbc86e338f969d80cd98226df6cf7daf2b8a578fc32d2374a507"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Replace this with an actual timestamptz expression \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":"diesel_tests/tests/expressions/date_and_time.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85a333569d36e9887319e849e1802025f7053fbe06326bb329d88260d9c14c7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Replace this with an actual timestamptz expression \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":"diesel_tests/tests/expressions/date_and_time.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d76741c39284a4e195c41fbe1759469d9a0e37b7ddbbda64ac76cc056ee92a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also show an example with a recursively interpreted Record\u003CInteger,Record\u003CInteger,Integer\u003E\u003E \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/postgres/composite_types/examples/composite2rust_coordinates.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"154113c89bde57794a272afbc391d3658f8c8c65a2417b3d66b7c9e794f035b4"}},{"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 methods with identical return types and likely identical implementation logic. \u0060cast\u0060 and \u0060fallible_cast\u0060 appear to be aliases for the same operation, creating confusion about when to use which.: Remove \u0060fallible_cast\u0060 and keep \u0060cast\u0060, or rename \u0060cast\u0060 to \u0060fallible_cast\u0060 if the \u0027fallible\u0027 nature is the primary distinction, but do not expose both. (signatures: diesel.expression_methods.global_expression_methods.ExpressionMethods.fallible_cast(): Cast | diesel.expression_methods.global_expression_methods.ExpressionMethods.cast(): Cast)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4cdac41eae6243b5fee33ecbfb3161289068f2898a2e47bfddfa1543915fb169"}},{"ruleId":"D22","level":"warning","message":{"text":"Two methods on the same trait (\u0060IntoSql\u0060) with identical signatures and return types. This suggests one is a legacy alias or a mistake in trait design.: Remove \u0060as_sql\u0060 and keep \u0060into_sql\u0060, or vice versa, to provide a single canonical method for conversion. (signatures: diesel.expression.IntoSql.into_sql(): AsExprOf | diesel.expression.IntoSql.as_sql(): AsExprOf)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"757dd854d988b2e5b12fa166e8b933e08c6d6e18dbc187741bf222143df8a2be"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent naming for similar database operations across different contexts. \u0060execute_returning_id\u0060 is specific to insert statements, while \u0060execute_returning_count\u0060 is on the generic Connection trait. While domains differ, the naming convention \u0060execute_returning_*\u0060 is not unified (e.g., \u0060execute_and_return_id\u0060 vs \u0060execute_returning_count\u0060). More critically, \u0060execute_returning_id\u0060 is only available on \u0060InsertStatement\u0060 for MySQL-like connections, whereas generic connections use \u0060execute_returning_count\u0060. This creates a fragmented API for \u0027execute and get result\u0027 operations.: Standardize the naming. If \u0060execute_returning_count\u0060 is the generic pattern, consider adding \u0060execute_returning_id\u0060 to the generic \u0060Connection\u0060 trait or ensuring consistent naming across all statement types. (signatures: diesel.query_builder.insert_statement.InsertStatement.execute_returning_id(conn: MysqlLikeConnection): QueryResult | diesel.connection.Connection.execute_returning_count(source: T): QueryResult)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"173d7f3cf03d7fae6e8570e4dbe27afb2978bf6eaa0d2b5ee1c5e8e1ad547a96"}},{"ruleId":"D22","level":"warning","message":{"text":"Repetitive pattern across multiple statement types (\u0060Insert\u0060, \u0060Update\u0060, \u0060Delete\u0060) for boxing queries. While this is a common Rust pattern for trait object safety, the existence of both \u0060into_boxed\u0060 and \u0060into_boxed_clone\u0060 on every statement type suggests a potential duplication of intent if the clone variant is not strictly necessary for all use cases, or if the API could be unified via a single \u0060into_boxed\u0060 that handles cloning internally if needed. However, the more glaring issue is the duplication of \u0060internal_into_boxed\u0060 and \u0060internal_into_boxed_clone\u0060 in the DSL traits (\u0060BoxedDsl\u0060 and \u0060BoxedCloneDsl\u0060) which wrap these methods.: Review if \u0060into_boxed_clone\u0060 is necessary for all statement types. If it is, the API is consistent but verbose. If not, remove it from types that don\u0027t require it. The current surface is consistent in its redundancy, but the redundancy itself is a minor consistency issue if it can be avoided. (signatures: diesel.query_builder.insert_statement.InsertStatement.into_boxed(): IntoBoxed | diesel.query_builder.insert_statement.InsertStatement.into_boxed_clone(): IntoBoxedClone | diesel.query_builder.update_statement.UpdateStatement.into_boxed(): IntoBoxed | diesel.query_builder.update_statement.UpdateStatement.into_boxed_clone(): IntoBoxedClone | diesel.query_builder.delete_statement.DeleteStatement.into_boxed(): IntoBoxed | diesel.query_builder.delete_statement.DeleteStatement.into_boxed_clone(): IntoBoxedClone)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e9b0049eb5ba83c2017fc0c76350de0505ee198f18a58af1406d7447d3dcdeb"}},{"ruleId":"D26","level":"note","message":{"text":"Split diesel: A generic catch-all name that is huge (86k LoC) and sprawls across 50 unrelated namespaces. Suggested: "},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"52e6dcdd13060cff66ae012a781fb83292d3d8997c56b1343cb9d062d71e4f3c"}},{"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":"dd65e2f04abdf477e5d882fff12a00d1ee228e0a527014aeb9b4139224ebe812"},"taxa":[{"id":"CWE-494","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":"06daafe2709e468287b505c00bf9feb366987173d1ade4b317a3c3dfe35f4e51"},"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":"f1b966c70d2e5f6ab697ac6d268d54938c60e802d8ea58ea6ff9cb7e10a35f70"},"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":"f4c98c98541a54b0a01af4adaa864ceaab9a6f71372985da44cfe686401ae741"},"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":"739062dfa50a48f5078fb85818da7e4174d7c76056dd49e4a2d863385bd2f845"},"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":"42e066bcce742065f379945106a7a71093daaf1b3b299fa8fbfd2c4b9a4efdf4"},"taxa":[{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5771140cad32a54d4e2f97361ec8556c54a818639f00e1d895db392dc669b0e"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"053cec0ec9fe4f194227d490e021fce705c9562b5ed7e8cf93d3bac7194411d9"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b6737cc2d2e14f1f8635ffa2e3883b48697af44aebf681640a4082414c617d9"},"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":"b23492a91e4440243e4e2422c618078bc6ef839ac3891a4cdc931fb96d27fcaf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 25 of 282 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; 282 of the 413 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: diesel/src/expression/case_when.rs, diesel/src/pg/types/date_and_time/time.rs, diesel/src/pg/types/ipnet_address.rs, diesel/src/pg/expression/extensions/interval_dsl.rs, diesel/src/query_builder/where_clause.rs, dsl_auto_type/src/auto_type/local_variables_map.rs, dsl_auto_type/src/auto_type/mod.rs, diesel/src/query_source/aliasing/macros.rs (and 17 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: primitives.rs \u2194 primitives.rs: \u0060diesel/src/pg/types/primitives.rs\u0060 and \u0060diesel/src/type_impls/primitives.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060207391ce\u0060 Merge pull request #5054 from weiznich/fix_more_issues; \u0060f125e0c2\u0060 Send bpchar OID for CHAR(N) bind parameters on PostgreSQL; \u00609b2fb33c\u0060 Fix lifetimes on SqliteValue \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/pg/types/primitives.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe93a3639ee427833b37001bf78fedf1b22de392d513a4e726f057b98da007"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: array.rs \u2194 record.rs: \u0060diesel/src/pg/types/array.rs\u0060 and \u0060diesel/src/pg/types/record.rs\u0060 change together 53% of the time (8 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 8 shared commits counted here, the most recent 3 are \u0060dddc8fa6\u0060 Fix more panics in postgres deserialization code; \u0060f3df974b\u0060 Toolchain update to match that what is run on ci; \u006065410cec\u0060 Address review comments \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/pg/types/array.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65434193aa254efe5228fa850870012b47289079d6825c6b3f6c83d3dad71f84"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ranges.rs \u2194 record.rs: \u0060diesel/src/pg/types/ranges.rs\u0060 and \u0060diesel/src/pg/types/record.rs\u0060 change together 53% of the time (8 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 8 shared commits counted here, the most recent 3 are \u0060dddc8fa6\u0060 Fix more panics in postgres deserialization code; \u006065410cec\u0060 Address review comments; \u00600c67c4e6\u0060 Only receive the column type oid if requested \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"diesel/src/pg/types/ranges.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ece30fb0d09260610e4eedf91ae7b414d0ce6c58913e2ca66acb6abe13ce1b"}},{"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":"74737da7be1e08848421f0ead037b22647285a341092a657801bc24ce44139f5"}},{"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":"b3ee784c2d1a2bea9d728fb727a57d9bf93582783669c8ddf940a565a075c1e2"}},{"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":"35f64a0396611dfd8e0191313b0d7cdc759890497b52affaaa727cf6ce876cfd"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"CI formatting step cannot fail: \u0060cargo fmt --version\u0060 invokes cargo fmt in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner\u0027s throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one \u2014 it enforces nothing, and no other step in this file reads the result. \u0060--check\u0060 is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4570533cbe68dfce0ebea0973bfdd9706782e6b4690add71e8f675754a3f92"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060xtask\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"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-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-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-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":14,"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."]}]}