{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Container::from_ast (cyclomatic 64): Container::from_ast has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 9 functions over the threshold \u2014 including the worst \u2014 and 100 of the 176 points over it (57%), 3.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 32). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfbb7604f61baef9a432edcab1e79ebcceb3f6db0aed5b2437902e401c026e8"}},{"ruleId":"D1","level":"warning","message":{"text":"serde_derive::bound::with_bound (cyclomatic 47): serde_derive::bound::with_bound has cyclomatic complexity 47 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/bound.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9834ebc3f0fcb888085b4e7a8ce1119f78aead337bbd9d8f863df3eb6c8e42"}},{"ruleId":"D1","level":"warning","message":{"text":"Field::from_ast (cyclomatic 46): Field::from_ast has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 9 functions over the threshold \u2014 including the worst \u2014 and 100 of the 176 points over it (57%), 3.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 32). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"917acc726a60fe61f60033f9f1c069600d53862598083532cabed2eeaf36a3d4"}},{"ruleId":"D1","level":"warning","message":{"text":"Content::serialize (cyclomatic 34): Content::serialize has cyclomatic complexity 34 (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":"serde/src/private/ser.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c816c0b913c710ff1299f43c7d6d36ddeaf3b8c72ff8b7fae59847e69c6b6f"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayVisitor::visit_seq (cyclomatic 33): ArrayVisitor::visit_seq has cyclomatic complexity 33 (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":"serde_core/src/de/impls.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7597f6c19c9713373df98497977fc03c0c12b4a66d4821e66be7b93c2f7e69c"}},{"ruleId":"D1","level":"warning","message":{"text":"Variant::from_ast (cyclomatic 31): Variant::from_ast has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 9 functions over the threshold \u2014 including the worst \u2014 and 100 of the 176 points over it (57%), 3.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 32). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35fa2adc1323e68bcef3889e393d8eda7d5cbeab7c642e6fc7e6f7a96be249f"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplaceReceiver::visit_type_mut_impl (cyclomatic 19): ReplaceReceiver::visit_type_mut_impl 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":"serde_derive/src/internals/receiver.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68dd506d9f64a60a3686189375fb4fb62bbbf30c158ca9d0e6959343b45a546"}},{"ruleId":"D1","level":"warning","message":{"text":"serde_derive::internals::attr::collect_lifetimes (cyclomatic 19): serde_derive::internals::attr::collect_lifetimes 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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 9 functions over the threshold \u2014 including the worst \u2014 and 100 of the 176 points over it (57%), 3.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 32). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de78bc463f165d348d7573f5c362edd47aa9770c55c9423ad8e158673a3d1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"serde_derive::de::struct_::deserialize_map (cyclomatic 18): serde_derive::de::struct_::deserialize_map has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/struct_.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"808e475e0e382842f109fb6803e0a0575985b27e26017c5cd7ac882ab6e52d15"}},{"ruleId":"D2","level":"warning","message":{"text":"Container::from_ast (cognitive 151): Container::from_ast has cognitive complexity 151 (threshold 15). Drivers by points: if/else 44 (97 pts), match/switch 13 (49 pts), loops 3 (5 pts) (nesting depth added 91). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 14 functions over the threshold \u2014 including the worst \u2014 and 278 of the 387 points over it (72%), 7.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 39). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e53f2dd14b131178dce5770c3dbc3341dc6145ab85bc27b118ad594d1a12402"}},{"ruleId":"D2","level":"warning","message":{"text":"Field::from_ast (cognitive 102): Field::from_ast has cognitive complexity 102 (threshold 15). Drivers by points: if/else 43 (87 pts), loops 4 (13 pts), boolean chains 1, match/switch 1 (nesting depth added 53). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 14 functions over the threshold \u2014 including the worst \u2014 and 278 of the 387 points over it (72%), 7.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 39). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"321b07fb4e22176e027a04de050c19014291abfbecffa26ed8f2299894f33bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"Variant::from_ast (cognitive 66): Variant::from_ast has cognitive complexity 66 (threshold 15). Drivers by points: if/else 27 (51 pts), match/switch 3 (11 pts), loops 2 (4 pts) (nesting depth added 34). 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 14 functions over the threshold \u2014 including the worst \u2014 and 278 of the 387 points over it (72%), 7.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 39). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e2d823ba4b75fac34377867d061b3ba0c25a99741a586c520690fbd04d44d8"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::bound::with_bound (cognitive 54): serde_derive::bound::with_bound has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 12 (22 pts), match/switch 6 (8 pts), boolean chains 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/bound.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6972cb9e923bbad7a19104b1131cea18b510b5b9a9494152ae305160e29be58"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayVisitor::visit_seq (cognitive 32): ArrayVisitor::visit_seq has cognitive complexity 32 (threshold 15). Drivers by points: match/switch 32. 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":"serde_core/src/de/impls.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6199b23ed8daba636ab9097a2f94db2f44ed8a1e8de30bb078a9b4a80b7371"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::internals::check::check_variant_skip_attrs (cognitive 30): serde_derive::internals::check::check_variant_skip_attrs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (22 pts), loops 3 (7 pts), match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/check.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ac6828f84f8ccdfb9708253ca14d803d283bb2b7e9425d1bb7572effcedd0a"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::internals::check::check_internal_tag_field_name_conflict (cognitive 28): serde_derive::internals::check::check_internal_tag_field_name_conflict has cognitive complexity 28 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (8 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 15). 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":"serde_derive/src/internals/check.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee41d6829e9c91b5dc719bd9b4d2084215902e8c01c695843cf8cfa7fbae84d"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::internals::check::check_default_on_tuple (cognitive 23): serde_derive::internals::check::check_default_on_tuple has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (20 pts), loops 1 (3 pts) (nesting depth added 16). 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":"serde_derive/src/internals/check.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6df86a75b1dd941506b68ea97d2bc2557aebf5d8f650b1310f1b5fa20a8f01"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::de::identifier::deserialize_identifier (cognitive 22): serde_derive::de::identifier::deserialize_identifier has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/identifier.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea5fd0e33a3a5345a7cd5df08405030cd0d1035baffc0d4d6520e9c13d4926a"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::de::struct_::deserialize_map (cognitive 21): serde_derive::de::struct_::deserialize_map has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, boolean chains 6, match/switch 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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b16a9a2acab4f2af7080453a0c1a5c88d8a3068c43880a56e5f0c30f34e371e"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::internals::attr::collect_lifetimes (cognitive 19): serde_derive::internals::attr::collect_lifetimes has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (8 pts), match/switch 2 (6 pts), if/else 2 (5 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident. This file is where this pass\u0027s cognitive complexity CONCENTRATES: serde_derive/src/internals/attr.rs holds 4 of the 14 functions over the threshold \u2014 including the worst \u2014 and 278 of the 387 points over it (72%), 7.1\u00D7 the next-largest file (serde_derive/src/bound.rs at 39). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"181cd2e3556e183d5e73f7be218c982183625d12947e6650dc81144a4aa8d725"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::ser::serialize_struct_visitor (cognitive 17): serde_derive::ser::serialize_struct_visitor has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d582418746adacd4553d13d4eb1b3c6d385d257f711eea6423abef4ed9634201"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplaceReceiver::visit_generics_mut (cognitive 16): ReplaceReceiver::visit_generics_mut has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 2 (5 pts), if/else 1 (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/receiver.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1bc3a6dd4c1854e6bb355579e92247972491f3eb6a88cab1f68d0b45378ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"serde_derive::deprecated::contains_deprecated (cognitive 16): serde_derive::deprecated::contains_deprecated has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (15 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":"serde_derive/src/deprecated.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47cb3bc727ea3e8d6c8918d57961c4a146ca659e7d25e1c60f3d281f673ba2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: private/de.rs: FileTooLong \u2014 2169 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 1669 over it, 4.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fddc4481fa7e50648445f0d9533f810eacda34d00cc437166f1b17b2b00440d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: de/impls.rs: FileTooLong \u2014 1887 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 1387 over it, 3.77\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":"serde_core/src/de/impls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6e99c9952cc20883dd921f01f4a92f551d3f1bc8ae930677626defd2875541"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internals/attr.rs: FileTooLong \u2014 1146 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 646 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a9372287091f39a6123fe1df792869b997bdb5f9a7ce628fb05aaf945680d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: de/value.rs: FileTooLong \u2014 1125 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 625 over it, 2.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcebc1c77fdd8583f7aa962d52db7aad62052d03f681b661db11a765bcaf580"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Container.from_ast: MethodTooLong \u2014 from_ast runs 208 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fdbb361feab100c96171cf9cd8f2d6f98b75ba84e93bcf8d6fa1046ef9092d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serde_derive::de::identifier::deserialize_identifier: FunctionTooLong \u2014 serde_derive::de::identifier::deserialize_identifier runs 190 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 90 over it, 1.90\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":"serde_derive/src/de/identifier.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26a657471562bd1f6a3f7f9a2d249adef3045f777743fb9865a0e8fbb6ae256"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/ser.rs: FileTooLong \u2014 936 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 436 over it, 1.87\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":"serde_derive/src/ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"472a7f7eb30b666201598f2f3dd627c101b104b10780bedbfb578428482195e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serde_derive::de::enum_adjacently::deserialize: FunctionTooLong \u2014 serde_derive::de::enum_adjacently::deserialize runs 185 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 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_adjacently.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"449d68b3fb5c8853f3aaf7663db0b52795890a8b1b753c67a437d10e4dc0c72c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: private/ser.rs: FileTooLong \u2014 924 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 424 over it, 1.85\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":"serde/src/private/ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06973174bde130a24976a1a733e5ba782d917149ef1086e6cd9e2f5eb0996d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Field.from_ast: MethodTooLong \u2014 from_ast runs 169 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 69 over it, 1.69\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":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"df37caff21f42541c1cae1e1e48ad84fbb0c2c84a2ba8a499f5174d53ea0b3be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serde_derive::bound::with_bound: FunctionTooLong \u2014 serde_derive::bound::with_bound runs 141 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 41 over it, 1.41\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":"serde_derive/src/bound.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b5e454f18f335a9a46cd10b08e5d24fb99dcb8f1f70f6a8117d7f79bb97f3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serde_derive::de::struct_::deserialize_map: FunctionTooLong \u2014 serde_derive::de::struct_::deserialize_map runs 141 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 41 over it, 1.41\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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"102b6f4bede87911d00a6a80f5b0b2b9a5b9a278329d07564fedf88d5955e150"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: de/mod.rs: FileTooLong \u2014 645 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 145 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd0426e84c0691b87c8baecb04dfc85b2127acd38b9c477942b7d960c93d6b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ser/impls.rs: FileTooLong \u2014 637 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 137 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/ser/impls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7299cc1758b881024d1e07a39a3339da2d5d8b72d4ed47b3538c135ed9ece9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/de.rs: FileTooLong \u2014 606 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 106 over it, 1.21\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":"serde_derive/src/de.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c188d9c37a8bce6b724f0d2c6449cf4d7a3d4a9f0e9f3878ea2257353656875b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Variant.from_ast: MethodTooLong \u2014 from_ast runs 119 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 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9168cc5504ba42a1bfa9a20cd97373fd9a067ff2849c9d777c434afda9f2be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: serde_derive::de::struct_::deserialize: FunctionTooLong \u2014 serde_derive::de::struct_::deserialize 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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d12543759daa50ca2dd42bdfb85d9dd6575bc01273edd3903a245544c5a338"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): serde_derive/src/internals/attr.rs:748-915 | serde_derive/src/internals/attr.rs:1022-1262 \u2014 These two members are variants of one another: 63 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa905724812d2188640f4150d51b6271cc130c0bcd9e05b9c27963d6ac1122d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): serde/src/private/de.rs:1058-1070 | serde/src/private/de.rs:1075-1089 | serde/src/private/de.rs:1129-1154 | serde/src/private/de.rs:2009-2021 | serde/src/private/de.rs:2026-2040 | serde/src/private/de.rs:2083-2110 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a712a0aaeacd99ac827ba5f466ee72db2a0fad6d34f2c0585c640fadc0738e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): serde_derive/src/ser.rs:507-573 | serde_derive/src/ser.rs:580-639 | serde_derive/src/ser.rs:648-763 | serde_derive/src/ser.rs:769-802 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"5923a8665100bb59e6f672e7df64408c1cae032df5ade209fbd1510ca4a97798"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): serde/src/private/de.rs:68-135 | serde/src/private/de.rs:142-199 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a80cb70178a75e8a821a945a69bad7edce1e3f02626d565cf7b7e46095805f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): serde_derive/src/de.rs:25-82 | serde_derive/src/ser.rs:13-64 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"683336b0e82c0d247b354d87bfc8861d8cba1cd1f2c5ccb5471db0178a83ae06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): serde_derive/src/de/enum_internally.rs:71-106 | serde_derive/src/de/enum_untagged.rs:66-109 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_internally.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eead4f1abaf60f7f51765bc5d8fd789e0aacfb1a6958a47692d1c4ae2cd399"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): serde_derive/src/ser.rs:261-294 | serde_derive/src/ser.rs:332-367 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39506c9c6e9f7071b9e34162ab997704e8952b6dbd6121115d1af29b36a8278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): serde_core/src/de/impls.rs:2484-2521 | serde_core/src/de/impls.rs:2642-2677 | serde_core/src/de/impls.rs:2781-2816 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2484}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedfecdd172fe34da97e4ea8cba67ad248b0f0d5a50f2ea5a8e70864f5618127"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): serde/src/private/de.rs:1428-1460 | serde/src/private/de.rs:2373-2409 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9bbe84bdc52c16c6b7bf32f0929b9babb9385e1fbd24319fb3d8a458515f56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): serde_derive/src/internals/attr.rs:1609-1631 | serde_derive/src/internals/attr.rs:1633-1655 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f4363f903d94850fa2e182af3da882fefb6427cde7057c33e92dfe145e7036"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): serde_core/src/de/impls.rs:2711-2728 | serde_core/src/de/impls.rs:2850-2867 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2711}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f967349af22bd24c1885f242cfc054c58b7546d3761c1678b18de0cdfc49eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): serde_derive/src/pretend.rs:79-92 | serde_derive/src/pretend.rs:94-111 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/pretend.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e6384c49db60ac68a7b6bb7cd06c1e315d905f6318cf71ba6f3045dac321d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): serde/src/private/de.rs:1794-1805 | serde/src/private/de.rs:2740-2751 | serde_core/src/de/value.rs:1501-1512 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bd9468628c45ab12910610029ff816b1bb1fd622212241210c4a9ec751391f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): serde_derive/src/internals/attr.rs:925-938 | serde_derive/src/internals/attr.rs:1272-1284 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f081a5745fce5823834eea22031be292c2dddcad7fd976d4b3290dcbbefea72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): serde_derive/src/internals/attr.rs:1459-1474 | serde_derive/src/internals/attr.rs:1480-1495 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddade196aca17574f1b6b98be21a8c1aa4f29c7b577e73243a21e4166626216"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): serde/src/private/de.rs:1278-1287 | serde/src/private/de.rs:1465-1475 | serde/src/private/de.rs:2207-2215 | serde/src/private/de.rs:2227-2236 | serde/src/private/de.rs:2414-2424 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f47114dd9d5c0d0a03b947af57b74ddb939118a0b052e2f1a605796d64c45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): serde_derive/src/this.rs:4-16 | serde_derive/src/this.rs:18-32 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/this.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b438b08ec5d470e1e64daa0da498c56854b772b2468b290d7f117140b48bf046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): serde_core/src/de/mod.rs:1407-1415 | serde_core/src/de/mod.rs:1469-1477 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/mod.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fd5f1191971c7c14535980b0604b941248355cf931d4e3d7ab68200e1a440a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): serde/src/private/de.rs:1728-1737 | serde/src/private/de.rs:2674-2683 | serde_core/src/de/value.rs:1395-1404 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f2d157160952eb5a0ba6d015766ee716c78d9e3479438b414b7fdba4227d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): serde/src/private/de.rs:1948-1962 | serde/src/private/de.rs:1971-1988 | serde/src/private/de.rs:2908-2926 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc4bb90ef3e222d4615ab39b89cb9248cbe937bb5dbd376c190b7d7ca529b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): serde/src/private/de.rs:479-486 | serde/src/private/de.rs:491-502 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365266d17da63d479b36fe614f99f391817fc8b7884e22dd6c15ea6b12c4164"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): serde/src/private/de.rs:1833-1841 | serde/src/private/de.rs:2783-2791 | serde_core/src/de/value.rs:1541-1549 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1833}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b023680475eca65f5c9931fd09fae29a3029881023841c98ed0d0e7b94935f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): serde/src/private/ser.rs:271-280 | serde/src/private/ser.rs:318-327 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/ser.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca8b3890d7f1318df0f99d1fd1d10a3c3241bf0d1a851b537c335cf69a86039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): serde/src/private/de.rs:1239-1246 | serde/src/private/de.rs:2195-2202 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"227476952d7aef79e6cf692fa52d03bd7aec3c3b622082cd7f9ade37787d5552"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): serde_derive/src/de.rs:236-245 | serde_derive/src/ser.rs:160-169 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7de5954d2a0871a8c10ad5b76f457322048e6bd5c734e81a0398c2e74bfa133"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): serde/src/private/de.rs:1699-1707 | serde_core/src/de/value.rs:1366-1374 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71c358ca361109172dd9d083e1d47c31d74917b17a11362038d63c389ea8106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): serde/src/private/de.rs:1572-1580 | serde_core/src/de/value.rs:1093-1101 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a65a9fd81bfe46be66066348884e314c137befdc83b327bbc5f28c393160bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): serde/src/private/de.rs:1712-1718 | serde_core/src/de/value.rs:1379-1385 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa909fbfebe338f4960ebb85730646ae99c8eab796f94e2d3475dfc7d94f68eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): serde_derive/src/de/struct_.rs:286-314 | serde_derive/src/de/struct_.rs:581-610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de/struct_.rs:286\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/struct_.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedce0ea61b0409e88abec935386239b05469935c5facf691d3a1f7ffb733ddb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): serde_derive/src/internals/attr.rs:764-789 | serde_derive/src/internals/attr.rs:1063-1088 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:764\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"9379d37cf0d48bc2f44ee2057700e6ed1c56f951857fb58bdef20f21f696ece2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): serde_derive/src/de.rs:614-636 | serde_derive/src/de/struct_.rs:635-658 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de.rs:614\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda8c8129c9f3bc22bb16e597f64fc212edd9759687f9a0b1389c4231e332b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): serde_derive/src/internals/attr.rs:282-302 | serde_derive/src/internals/attr.rs:790-810 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f732f8a01e50fc0adf03f476dfc8ffcbaa16483af5e66770dfcd03d1db6be6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): serde/src/private/de.rs:1432-1449 | serde/src/private/de.rs:2377-2394 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde/src/private/de.rs:1432\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a23a7d6c9adf0f1343891f1a72ee25f3c036e7a7b05bb7226cc5f9c90a2cf5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): serde_derive/src/de/enum_internally.rs:72-89 | serde_derive/src/de/enum_untagged.rs:67-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de/enum_internally.rs:72\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_internally.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f43da3d943b8adffe6258c25c97cf574fd52b09679626e4afc4ab81a6bbe221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): serde_derive/src/de/tuple.rs:116-133 | serde_derive/src/de/tuple.rs:266-283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de/tuple.rs:116\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/tuple.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"49550bba543c62cce691438e7e369d19b5469270b8fb078b60a3c34966d7cfd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): serde_derive/src/de/struct_.rs:23-39 | serde_derive/src/de/tuple.rs:29-45 \u2014 before extracting anything, compare \u0060serde_derive/src/de/struct_.rs\u0060 and \u0060serde_derive/src/de/tuple.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de/struct_.rs:23\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/struct_.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8634bf5ab00de8e07b8874f38a97ffa23eb173754f6666899dfcd26261dd2f2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): serde_derive/src/de.rs:530-545 | serde_derive/src/de/struct_.rs:376-391 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3054b9eee383258f0e4f7205fb15172b591bec7cf16fba0a3f871aaaee12ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): serde_derive/src/internals/attr.rs:830-845 | serde_derive/src/internals/attr.rs:1124-1139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:830\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bafa62430c06c3e4a609d7e6ede624fbb7c754b939e9e74501485b4bf8221d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): serde_derive/src/internals/attr.rs:1610-1624 | serde_derive/src/internals/attr.rs:1634-1648 \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":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb678d2be32e6edf1f2ceee81ce64538b54f847424d1dc2210e626235bc6814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): serde_derive/src/internals/attr.rs:1461-1474 | serde_derive/src/internals/attr.rs:1482-1495 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:1461\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1461}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf11d17852fa31023a6352994ac19e5d2c800831c1b879f771a5b0fcf449590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): serde_derive/src/de/enum_adjacently.rs:207-219 | serde_derive/src/de/enum_externally.rs:82-94 | serde_derive/src/de/struct_.rs:166-178 | serde_derive/src/de/tuple.rs:106-118 | serde_derive/src/de/unit.rs:20-32 \u2014 before extracting anything, compare \u0060serde_derive/src/de/struct_.rs\u0060 and \u0060serde_derive/src/de/tuple.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de/enum_adjacently.rs:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_adjacently.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa82df79963f16f82e0ef2db6f98c9e2ef8711ed8627c1e484a3f1119143f7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): serde_derive/src/de.rs:461-472 | serde_derive/src/de.rs:561-572 \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":"serde_derive/src/de.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4687b01dee82a342b35ec9b86f9c3016f202b97f14616463e03683ea9ef912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): serde_derive/src/internals/attr.rs:844-855 | serde_derive/src/internals/attr.rs:1112-1123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:844\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"31877dc755a2ee9424f0a864d092423702d79e81f69f95e6229958cac21766cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): serde_derive/src/ser.rs:267-278 | serde_derive/src/ser.rs:825-836 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/ser.rs:267\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d225173bb0c90827bf9199a91686d014b39ed3079502b6c0cbe9ad8edadc0013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): serde_derive/src/internals/attr.rs:266-276 | serde_derive/src/internals/attr.rs:766-776 | serde_derive/src/internals/attr.rs:1065-1075 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:266\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060serde_derive/src/internals/attr.rs:265\u0060 calls \u0060Path\u0060 and \u0060serde_derive/src/internals/attr.rs:765\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9716c2e899b0ea609b8da0abcfeff7f99e1cbbcbfa3fd7b46817b137153595c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): serde/src/private/de.rs:1796-1805 | serde/src/private/de.rs:2742-2751 | serde_core/src/de/value.rs:1503-1512 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde/src/private/de.rs:1796\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1170738857580b45fabf8dbb708add5801f22fddd718c4e0fe93d02315dafeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): serde_core/src/de/impls.rs:2501-2510 | serde_core/src/de/impls.rs:2658-2667 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_core/src/de/impls.rs:2501\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"194a5866bf1e40c6ea9ab7d0647655b718e1082f29b2e07178cb13a99b8b0ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): serde_core/src/de/impls.rs:2572-2581 | serde_core/src/de/impls.rs:2854-2863 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_core/src/de/impls.rs:2572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2572}}}],"partialFingerprints":{"codehealthFindingId/v1":"526a68a76df0a188f8901571a9110d0995640942ede77ca92ed0ef90774f2c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): serde_derive/src/ser.rs:1082-1091 | serde_derive/src/ser.rs:1127-1136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/ser.rs:1082\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e130a6e885ccf650f65f6cb7ae1ef6eb4acdbfb2cbf5f93e8af21ae0eaf189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): serde_derive/src/internals/attr.rs:1460-1468 | serde_derive/src/internals/attr.rs:1481-1489 | serde_derive/src/internals/attr.rs:1523-1531 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:1460\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37532bac2466560908eff7f248795e59bd467b4da0e2aa7ecb944efccf6290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 3): serde_derive/src/ser.rs:532-540 | serde_derive/src/ser.rs:611-616 | serde_derive/src/ser.rs:783-788 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/ser.rs:532\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d9eafad5e1ea5ebd3e257679ec45c91a9d7c3c8bea2c7fb5d16e3694380353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serde_core/src/de/impls.rs:2563-2571 | serde_core/src/de/impls.rs:2712-2720 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_core/src/de/impls.rs:2563\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda5004fad8b208d3cde1d6f4c7dbfa184dc33ee2a60be4655164935b51d098f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serde_derive/src/de.rs:41-49 | serde_derive/src/ser.rs:27-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de.rs:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d0386ed7b3039fa4c36d1b319a073b93153fe9aae4224c04aff1b5ce1ef51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serde_derive/src/de.rs:863-871 | serde_derive/src/de.rs:898-906 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de.rs:863\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9719c83528dbd58b1e6f1a3069e616a39119603d111bfb9fefe1773f7dc1463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serde_derive/src/de/enum_externally.rs:37-45 | serde_derive/src/de/enum_internally.rs:27-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de/enum_externally.rs:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_externally.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a7fb8bbc34d4ff4648195f85aad03296412c88ac15c6bdce8ec8fd7ffc5d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serde_derive/src/de/struct_.rs:207-215 | serde_derive/src/de/struct_.rs:524-533 \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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ec6a650a907ed2a5c7dd976e7ed0908865fa1c08b19bec6ad2006f95df657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): serde_derive/src/ser.rs:535-542 | serde_derive/src/ser.rs:611-618 | serde_derive/src/ser.rs:676-683 | serde_derive/src/ser.rs:783-790 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/ser.rs:535\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e9e7fb7868f3de86d1c1ad19199c59d998e338b29d71a757b7289d61253035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serde_derive/src/ser.rs:339-346 | serde_derive/src/ser.rs:378-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060serde_derive/src/ser.rs:336\u0060 calls \u0060name\u0060, \u0060serialize_name\u0060 and \u0060serde_derive/src/ser.rs:375\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c881b2a250d2fbc92b17eb448efd729f520efb4b445cdde005cb385e8c3f77d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serde_derive/src/ser.rs:723-730 | serde_derive/src/ser.rs:1214-1221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d758d3790e4c18b6aedb226a2383afc43a0f9bf65fd427d1e8a1d8f23ae198"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serde_derive/src/ser.rs:901-908 | serde_derive/src/ser.rs:975-982 \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":"serde_derive/src/ser.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"166c6e4a86ba5162bf21cb658499225dea8ba75e9d7e5474951d672f62d35dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): serde_derive/src/de.rs:30-37 | serde_derive/src/ser.rs:18-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/de.rs:30\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f373acf3a7333b86eb83adce365dacdd0ca6400d8f2147e9fa7b1809bc62b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): serde_derive/src/internals/attr.rs:1207-1222 | serde_derive/src/internals/attr.rs:1224-1240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:1224\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d450ce1671b012cb780b72430b23786e1400be358c52ef6dc86526d2da99d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 6): serde/src/private/de.rs:1065-1070 | serde/src/private/de.rs:1084-1089 | serde/src/private/de.rs:1134-1137 | serde/src/private/de.rs:2016-2021 | serde/src/private/de.rs:2035-2040 | serde/src/private/de.rs:2088-2091 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde/src/private/de.rs:1065\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060serde/src/private/de.rs:1063\u0060 calls \u0060U64\u0060, \u0060visit_u64\u0060, \u0060I8\u0060 and \u0060serde/src/private/de.rs:1134\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"3887936a762f9c4bd6931f381b8680b01776361dac00ebaa17d0936f5fec9c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): serde/src/private/de.rs:1470-1475 | serde/src/private/de.rs:2419-2424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde/src/private/de.rs:1470\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a52745922de82f9e6598ed4ac6b6b1dea6a391bebdd7505268afd5856a5953"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): serde/src/private/de.rs:1524-1536 | serde/src/private/de.rs:2482-2494 | serde_core/src/de/value.rs:1030-1042 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b864bbc5dfaa5eb360c0402bf05f43fa544752dcb32ced3906afe11bc2cf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): serde/src/private/de.rs:1549-1553 | serde/src/private/de.rs:1668-1672 | serde/src/private/de.rs:2507-2511 | serde/src/private/de.rs:2614-2618 | serde_core/src/de/value.rs:1056-1060 | serde_core/src/de/value.rs:1317-1321 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5d72ac9349983909221b52cb0797156e0fac89c95f29db4f98b5cb7ee08467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): serde/src/private/de.rs:1591-1597 | serde_core/src/de/value.rs:1111-1117 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e208e8c001cae13671d8e98135276852c7b6af4e23f21e6a776957c1e37a709"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): serde/src/private/de.rs:1622-1634 | serde/src/private/de.rs:2568-2580 | serde_core/src/de/value.rs:1264-1276 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb91cbec33b9bcf5c52a93d70820de9414a4ad7909da9db9488af88be1528b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): serde/src/private/de.rs:1659-1663 | serde/src/private/de.rs:2605-2609 | serde_core/src/de/value.rs:1308-1312 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"da63e8911ea634a2094fc463fb40f21ea1cea4184af3ba6e0fa9f563399bbc64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serde/src/private/de.rs:1754-1762 | serde_core/src/de/value.rs:1424-1432 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0dd424a445fbd65c8abe40765eae16ce72be4c79d1b57bc47d6d6a9af90ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): serde/src/private/de.rs:1810-1818 | serde/src/private/de.rs:2756-2764 | serde_core/src/de/value.rs:1517-1525 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1810}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abfe3a6dc57b38c5f70eb67c42de7a7448051df6c2ac4911aa3f1932376eb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): serde/src/private/de.rs:1843-1851 | serde/src/private/de.rs:2793-2801 | serde_core/src/de/value.rs:1551-1559 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7a83ae4c7247c3e1a680ac01fe879e7d568eec509fa7a6200f119db3cf6ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): serde/src/private/de.rs:1858-1864 | serde_core/src/de/value.rs:1565-1571 \u2014 before extracting anything, compare \u0060serde/src/private/de.rs\u0060 and \u0060serde_core/src/de/value.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b91cdf2e9735ee7426a2ec6a09d546ca57d20a90b1ce48f1fa7ffe958c2c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): serde_derive/src/de.rs:841-846 | serde_derive/src/ser.rs:1308-1313 \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":"serde_derive/src/de.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e80c2bdd73c0aac7f75116e8e8b6f9e4a163453f12447b3b1aee0450c135eaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): serde_derive/src/internals/attr.rs:493-503 | serde_derive/src/internals/attr.rs:882-892 | serde_derive/src/internals/attr.rs:1176-1186 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_derive/src/internals/attr.rs:493\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"576cdb0b79b6b6ced8cccc1127acff01aeffa54e7bc6a5316362243e34329a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): serde_core/src/de/impls.rs:2488-2497 | serde_core/src/de/impls.rs:2646-2655 | serde_core/src/de/impls.rs:2785-2794 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_core/src/de/impls.rs:2488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060serde_core/src/de/impls.rs:2500\u0060 calls \u0060Ok\u0060 and \u0060serde_core/src/de/impls.rs:2658\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0453bca1045f7ff4f9cf0f533a43197fd9ad4b40ba03ccb22b95d9431ef1c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): serde_core/src/de/impls.rs:2500-2509 | serde_core/src/de/impls.rs:2796-2805 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_core/src/de/impls.rs:2500\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a5794e44aa887ccb78c8ac540e2b6280e81e4d23516cf63690e031847229bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serde/src/private/de.rs:1951-1958 | serde/src/private/de.rs:1977-1984 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde/src/private/de.rs:1951\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"388646a97b2f9df5023e606bcda6c869c7418928f5fd9d90e43cd5a00a709da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): serde/src/private/de.rs:75-82 | serde/src/private/de.rs:149-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde/src/private/de.rs:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/de.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c066bafa4106c2e22e7686af65d499ef02cf852fc71eb4b632e45467023565a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): serde_derive/src/de/struct_.rs:435-440 | serde_derive/src/de/tuple.rs:202-207 \u2014 before extracting anything, compare \u0060serde_derive/src/de/struct_.rs\u0060 and \u0060serde_derive/src/de/tuple.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"515dfb5d0ac1e75c62e669703ba62eaf88fc9ce6c1db41232f005583251f95b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): serde_core/src/de/mod.rs:1410-1415 | serde_core/src/de/mod.rs:1472-1477 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serde_core/src/de/mod.rs:1410\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/mod.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a1ba2e71e6b0f36ed67744986214d3c8e92de94a3142bdb768241328aac28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): serde/src/private/de.rs:1077-1081 | serde/src/private/de.rs:2028-2032 \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":"serde/src/private/de.rs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"9341cd4d503f93ef773f7c8781ff39c60add8028b1785e09714e981db91b80db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ArrayVisitor (LCOM4 32): ArrayVisitor\u0027s methods fall into 32 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 32 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/impls.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea66c1738d3813aebc7e4f4249ac7c9fb03c3a7c0b371e10bcf26db7e399b55"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde/src/private/ser.rs: 42.6% line coverage (320/752)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde/src/private/ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e8795c4676a75acbb4bd85c99554c24d56175e6e72f9b2be1e4e2e455f973b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_core/src/de/value.rs: 30.4% line coverage (206/678)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/de/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0f7142fa270de9c40fdf13d3a016a31fc75bffeb03a6683209df83e54c543a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_core/src/macros.rs: 40.0% line coverage (12/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3bca058fded0d2d1796aeb44c9fb9734421823049005229942d810b94dae6f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_core/src/private/doc.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/private/doc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b1996cdd7b785f364f77fb56e954376b6deee76cdfc52dfca883290893aca8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_core/src/ser/fmt.rs: 2.1% line coverage (2/95)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/ser/fmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"981a7f152ad669c90706c24c81d37093e728d660025c1f2c2860169ab26fb8c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_core/src/ser/impossible.rs: 28.6% line coverage (2/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/ser/impossible.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ec5fafe1b13331bdf696af98d79912b8a33abbeedf1fd7428946ebc41fc178"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_core/src/ser/mod.rs: 28.7% line coverage (139/485)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/ser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c15a82bad75858bf28a68288931c3df6e07af4e1a4cd1b3ccea840c37daa76"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/bound.rs: 0.0% line coverage (0/305)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/bound.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee6ae213bb4a73c8fb7994986016303262787f3f57314d8d558f1abe62787b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de.rs: 0.0% line coverage (0/500)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf675cd9145ca845c28107429d5267053ae6dd70b8d44916a3dc12004433239"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/enum_.rs: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aef949a255cee7f0141ce6d338269614a0457da03b7598d724e21dd14e27d30"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/enum_adjacently.rs: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_adjacently.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da089a2adf39a42d7c05201f8f51deebd8c21069750a2e466deb09ecca24da86"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/enum_externally.rs: 0.0% line coverage (0/93)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_externally.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"114f1bf824c019eb786ec29c47a09ef8a041c0ba0fefc878209b57f8aba523df"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/enum_internally.rs: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_internally.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aa0760ccc8d14531d1b7e5c8d67c10f9d4d0218e4fed5cfd7cd7a1a74d005d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/enum_untagged.rs: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_untagged.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb789a99b5eb92e5a2aeae5ae686655de6857a986e43e3a6a6f6e22dbc0f90e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/identifier.rs: 0.0% line coverage (0/167)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/identifier.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e84432fecd96b38cf7f42b192dfaad184966f7838469eedc4286f4d691be42d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/struct_.rs: 0.0% line coverage (0/335)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/struct_.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de8a64d705009cee66b7a9699b804a9478ba3cef29d0c60947e0d7085a98124"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/tuple.rs: 0.0% line coverage (0/120)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/tuple.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53ea2af5b8765524c4052753aeec29e5c951f1f3326d15ba612baa0e2a4f4e9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/de/unit.rs: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/unit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b889d0b9563336f85b39734c4e11d93ce832ed319c909bfc83c2a9e75796bd6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/deprecated.rs: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/deprecated.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebc47a2e3c32cb9d5893882b665b84be9f671b218bf34eab17146b60ad625e2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/dummy.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/dummy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6140fd2dfc79a177e70720e5ba2f76a3b6ce0c5150cfc25f752c6b3b235d2634"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/fragment.rs: 0.0% line coverage (0/25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/fragment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"324f7b42f73a5904ffe17f2ffa02899363fc9b57dc904f8d5d9cc77098c9ce70"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/ast.rs: 0.0% line coverage (0/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/ast.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea903d9f7e2f2a0c7adc5a3e3f31c4e463b6a62e28d2a41fccb5d161d654a8a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/attr.rs: 0.0% line coverage (0/1262)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/attr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6899846f630f228d95a4252824179d311e436d73bb1c3d20d06d2e8c43b108cf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/check.rs: 0.0% line coverage (0/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66e3ce500c26fcfa0ae7ef5bec82d4bcad31f38cf6cc02e3aa208528e7d3381"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/ctxt.rs: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/ctxt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd669306270b8c8849b92166326e6a97deb5aedf4a203fe39b6470f2b47018a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/mod.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5428e91f29dfe92393dfb8be0a04384d7179701ed1499346e743a1771462a72"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/name.rs: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/name.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"948fd82e80e66c201d4c80e20f994b081cd7018fd5b973b4bc4c80615935547b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/receiver.rs: 0.0% line coverage (0/210)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/receiver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66353c93e57517fde3b4931ff906f76cf27f6d8455c1e810bf619aa8b9f74f4d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/respan.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/respan.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"382dc5b2c1bf5d9a5df87e8b015cc6c78a345db7fac8608cce5c8baf9a782475"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/internals/symbol.rs: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/internals/symbol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53daca23e56f4ac8f0f66857beed2279e4450f95ab61fcfb9fc94e4315abf8f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/lib.rs: 4.8% line coverage (1/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94ec7bd3199d2d09ccfdd531a7e3af1e10fed967122a453d327140b4afe19e6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/pretend.rs: 0.0% line coverage (0/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/pretend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61da32b57d2cc39e2b9608de3d929d6d75af302cf1eceaa12e2dc375deae95a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/ser.rs: 0.0% line coverage (0/681)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/ser.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9595b6612f9bd7eabc3ebd9e02e9aabbb49b975f319153e06c6ffefff119928b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive/src/this.rs: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/this.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25edf3af4b7cd862b5820f855c253227fb9d0c639c2ed85bcc67c1e2b99892a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/ast.rs: 0.0% line coverage (0/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/ast.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"970c90dc9868bcf80e862fb9068a3582dc88a5a751178606bbbdfa3f043a659c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/attr.rs: 0.0% line coverage (0/1257)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/attr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a52bb95c9e803321827058084782f8c0c853912a48e96859e6ef25fc477a35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/check.rs: 0.0% line coverage (0/334)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33296606fd0c62b95cf4955e5d10558d38fc0210807410e9d5054836d5f4a4e2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/ctxt.rs: 0.0% line coverage (0/29)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/ctxt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb6454501ce9eba0d721f93e9e1e3f7a0f06910cd47b934c7309969643119f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/mod.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8152c32d6aaf9a1fc3c8a018030074e65133c89247077d0a2475d5bb114136ad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/name.rs: 0.0% line coverage (0/58)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/name.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f729e30cd7dffe12b0a32120033ccd22103b769353da6d8f0758f580dc1def"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/receiver.rs: 0.0% line coverage (0/210)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/receiver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e78af530cb3947c715ce35534ca71bfece6b692cecc0168a5fa68e84f0ca5c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/respan.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/respan.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"898961023773bc8a56ea43701660c9fc5007ce3bb40200005eb8d2456ca9105b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: serde_derive_internals/src/symbol.rs: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive_internals/src/symbol.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedc87e06b2a16363f1a0132d5db813408af81982b7386c1695d93b2be7cedc1"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: serde/src/lib.rs, serde_derive/src/internals/receiver.rs, serde_core/src/lib.rs, serde_derive/src/lib.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"181e0f5b9973b866ae95d07ed9ec731ad39942b2053cf5d36107b525f5f257ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test error output \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":"test_suite/tests/test_annotations.rs"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea04c5dcfd4f1b92a0a150a4dde285ccfdcc35b213f709b41ab1cf983864b14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO test error output \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":"test_suite/tests/test_enum_adjacently_tagged.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"030841d4951a2b4647a5db666750ab70eed740b38e6b43740434c3fbc73ff00a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Once feature(exhaustive_patterns) is 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":"serde_derive/src/de/enum_externally.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f67ad19d13451e2147f48e9969ff9e4948448bfce8e5befa4bb5f6ee08c923a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Once feature(exhaustive_patterns) is 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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523c9fa8f8222fc74eef776e495da6341482908ae159d2081eb9964c0183495"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Once feature(exhaustive_patterns) is 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":"serde_derive/src/de/struct_.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"947dc75d6e6a008241bb975d9d0de30ea595e1541a7ce447b4cb47df7b8a2d1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO this message could be better by saving the errors from the failed \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":"serde_derive/src/de/enum_untagged.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7126c7b3b89e9ac3321b703049298d49f6da05a0a01cb9d7b9e166df873b1c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: #[cfg(doctest)] once https://github.com/rust-lang/rust/issues/67295 is fixed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_core/src/private/mod.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8363226e7634564d0751680f630c2510b0e0644a201a0b49161c8a252a96992b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: investigate whether branching on the old value being Some to \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":"serde_core/src/de/impls.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"7832fd646a3b080f238d8dedb9552ae67781206e168bf5b770b98bdf838f3c15"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: try to overwrite old values here? (Vec, VecDeque, LinkedList) \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":"serde_core/src/de/impls.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"1432ad6a9da871a46b0f2f1e982916fc1f2701a343885b7c37a87196fcfd0ee5"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060test_suite/no_std/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test_suite/no_std/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d79927141c9df8ef16605503069057bca5ce9ee3aa5ebaf2d627cf0d459db5"}},{"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":"a1f31e3fc38e806c632551480508ae27b2701acddad0a9d80c648ba1fc9463b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7292b75f28bcc1b9f07a3e99ab581be9081f033913f06c5f356aba1e2b565c1e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dcfa4da9215284db6a6355a359d46e54ece6d33a8e6548e02570fa88e565fa20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1bb7814097052b3b9e49cf20adb5ffa3c94da3abc00863955683dc4725b2e91"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b61680871f540084ab96f6c4b2cc94e6ba50ad68cf1176fdafce94f15dbc942"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae4b19a624088a80ae967fa19fc6e2d3b4d86bf95f6afb9918729adad8224e32"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91a9a07de525ab8ad2fcc8a0d030e63b249791ca7a01a8c961bcb33d20857531"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82a1893f62fe8dee3fcdaad2e3da3e94b86729172346ee8d336b86cb9d8780c6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9324c48c6eeff5c5bd74a0e077d1ef1833f39d2ad138d917467b544b0fd7263"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b562a86ba4fad32d6ccdcd6ca2d4c34c2236a59e5d8276adbfb83a1790cdee0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"544c4a2303e57e60958ebdb6fd0080ef710d74b76fe4c14761c1aedd5f552ab7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab979ab2dc46515c14a5a4f004fc991e04e40404eedb88f91aeaa5242f0df4a2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c732cf09e02bf835aeff316aafc9e631dc23649bd4904642dacb1d0c84bf7182"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4014e7719155abad9ee780737c6a29d8c31bcf1e70b94286734d74edc799576"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"feb8db37fd718c962425db20dd496747b3b9e66c08ebb84451d361dea96a4e96"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ba1bd8cd7cc00ffea37dae7b5e07643f624b23874e3cb0759fc3e4878f73406"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"970fda604978a8c05bc7495510ceabe7524e2c794d53af5b58de8897fe4c3e11"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcd545010c5b8774b80aedc5b6090d84aa8e0a687cecc069fdd136db0e7ba101"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fe915542e9ef9e0e2030d13e5e967c9edc93ad44e0043112709e63c307bce8b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d3536a5e97adc5441000c6103285b88baa1df75af683454d965634a8b8fa453"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7e9323362030c11a89ee75d7211b2720333c55d8869ae68ed4aebea060c08384"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"252e103fa7147a960b8287e08ed81cb340cd81ba6b0b312db0e63def752ec9ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fbb3016e08588da0295feed2d3c1aabf07e14aa98db895f7d8608ac6dac5e7fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ac8eb79dfa01848c9591d4d3d4639a6823be4bbb96d16a40df23728da77d6f08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e4fa082e58fc349041afc03daf76b3a61103f7171ececba5da0f1b2e0a67255"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 35 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 35 of the 54 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: serde_derive/src/de/enum_externally.rs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serde_derive/src/de/enum_externally.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b419da42b022899532d454dda057d371037a2c606e9c7fba80ea69b84962fce"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}}],"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-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-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":26,"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."]}]}