{"$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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"GraphicsPipelineCreateInfo::validate (cyclomatic 186): GraphicsPipelineCreateInfo::validate has cyclomatic complexity 186 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e585121ade9854aff8cbf6889d08c864fbc6d9f3503a231aa1275d093249c8"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageCreateInfo::validate (cyclomatic 149): ImageCreateInfo::validate has cyclomatic complexity 149 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"4914473f29ca3d94d205ac55a7463284cfdb95509686555877c6ad999f2fa9cd"}},{"ruleId":"D1","level":"warning","message":{"text":"WriteDescriptorSet::validate (cyclomatic 125): WriteDescriptorSet::validate has cyclomatic complexity 125 (threshold 15). Of this number, 121 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a427a184287397ec68f40ffe0c2ecd731119f62c54c41585719e456a90bd975"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyImageInfo::validate (cyclomatic 124): CopyImageInfo::validate has cyclomatic complexity 124 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb5c90e98ec8e83ea92cd81d763800b4b5dd346e5bd190ef9fe12a75e11c1a3"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeValidator::validate_global_variables (cyclomatic 124): RuntimeValidator::validate_global_variables has cyclomatic complexity 124 (threshold 15). Of this number, 118 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ce0fad6685d5088a7e9943289d5028ac73b4ade6776d5bc3775c5fea05790e"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeValidator::validate_function (cyclomatic 110): RuntimeValidator::validate_function has cyclomatic complexity 110 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa715c19c252bf0d1ae41749b8fad2b1661083b3af69ca2b0c320eaa10a06dde"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageMemoryBarrier::validate (cyclomatic 106): ImageMemoryBarrier::validate has cyclomatic complexity 106 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"998dbdc80dbf82b30f7deb91b964ad1690437872bbcbc32b8c01d55136c367f9"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeValidator::validate_execution_modes (cyclomatic 99): RuntimeValidator::validate_execution_modes has cyclomatic complexity 99 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8e98e04765c19b5bc72256fe46b05c797c64674ca2b6ab9e1efade418b6c89"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStages::from (cyclomatic 99): PipelineStages::from has cyclomatic complexity 99 (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. This shape REPEATS in the file: one other method here (AccessFlags::from) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26f0d2b2bda667ce82379b6393a93e2a58a7e9f074b889c5f43ed154e4d4172"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessFlags::from (cyclomatic 99): AccessFlags::from has cyclomatic complexity 99 (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. This shape REPEATS in the file: one other method here (PipelineStages::from) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96b81767f20879035097ef4eeeb4ef92f907e9a3cade37c031457da8863df08"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_pipeline_graphics_dynamic_state (cyclomatic 93): AutoCommandBufferBuilder::validate_pipeline_graphics_dynamic_state has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ee02caab9dbe58d6f811b83e1e19755e6993212042e10cd32c697b0c7c046c"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatFeatures::fmt (cyclomatic 86): FormatFeatures::fmt has cyclomatic complexity 86 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e06654a7fba11ab15d96801638df89e413015f2944b10bf8223bcf836b9b877"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessFlags::fmt (cyclomatic 84): AccessFlags::fmt has cyclomatic complexity 84 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0000470a4d4a14a25bcd969ac03ff2fb30e8993fd161fce248d2769596a49326"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStages::fmt (cyclomatic 82): PipelineStages::fmt has cyclomatic complexity 82 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c79c7ef1385094ef1737af5075ea6bb8b2d1b5e8bc08ea0d76f10c9156c011e"}},{"ruleId":"D1","level":"warning","message":{"text":"BlitImageInfo::validate (cyclomatic 68): BlitImageInfo::validate has cyclomatic complexity 68 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fad66352cf5ff640be9489fec3fdad5a545115fe4def53da5fb07016199c771"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageView::validate_new (cyclomatic 67): ImageView::validate_new has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/view.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a76419922024a5f6286fd56a4ce6636fd87a21f54d246cdb328ffef4f78a84"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::shader::reflect::inspect_entry_point (cyclomatic 66): vulkano::shader::reflect::inspect_entry_point has cyclomatic complexity 66 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7be2eec1650f922ddc52477d0202909f2c98d97854434a3d1d8329f54c67fb"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderPassCreateInfo::validate (cyclomatic 63): RenderPassCreateInfo::validate has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa2dd3cc18af83e8bd46f3374ce4a68509bb4380095ff742c1c0c8d335c86fd"}},{"ruleId":"D1","level":"warning","message":{"text":"BufferMemoryBarrier::validate (cyclomatic 62): BufferMemoryBarrier::validate has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee65b8321560d3bcc4c18f13cb16d258ec9ba734cca9c2a6fdb198dd29dfc46"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatFeatures::validate_device_raw (cyclomatic 59): FormatFeatures::validate_device_raw has cyclomatic complexity 59 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (FormatFeatures::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac522257131e7c6314f18e539568dc7716a1f2bb2ff963370e68926675ec540"}},{"ruleId":"D1","level":"warning","message":{"text":"FormatFeatures::validate_instance_raw (cyclomatic 59): FormatFeatures::validate_instance_raw has cyclomatic complexity 59 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (FormatFeatures::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0445fe9af8fefe4231a33d197d04975a9b0b18fdaa51ed649339792c15410a93"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_pipeline_descriptor_sets (cyclomatic 58): AutoCommandBufferBuilder::validate_pipeline_descriptor_sets has cyclomatic complexity 58 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef97fa12a2d68724748497abca257e1c8195f3ea3e5f010d3177d26b231b3d8e"}},{"ruleId":"D1","level":"warning","message":{"text":"SubpassDescription::validate (cyclomatic 58): SubpassDescription::validate has cyclomatic complexity 58 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"d406032255ecb1505ab3368a25af0c16fc77473c06928ce6731d811581b42241"}},{"ruleId":"D1","level":"warning","message":{"text":"autogen::formats::formats_members (cyclomatic 56): autogen::formats::formats_members has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/formats.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"e648f2ddd3c9d29a0184e13f8b7fe7e0135183b36c485a9b6c72539c5dd0281b"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderingInfo::validate (cyclomatic 54): RenderingInfo::validate has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aadaa7211bf8069b354c1c229a09aa8ae28b141690026ec70b254d65999c6fc"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineShaderStageCreateInfo::validate (cyclomatic 53): PipelineShaderStageCreateInfo::validate has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"95202298fb1106b61ce60d6bb9014bc51e654d07c15fc7dc8516460b86421888"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyBufferToImageInfo::validate (cyclomatic 51): CopyBufferToImageInfo::validate has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CopyImageToBufferInfo::validate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0f54cf1db5cfd2c14effb5d110247f329a8eab4f78209d6716fbd026cc2fea"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyImageToBufferInfo::validate (cyclomatic 51): CopyImageToBufferInfo::validate has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (CopyBufferToImageInfo::validate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"3792065b4e73430e9a4f02055e4fc1065c9221c0526fa3d2811e812b20702cda"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessFlags::validate_device_raw (cyclomatic 49): AccessFlags::validate_device_raw has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (AccessFlags::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef80b7544fd071bd3c740fc440bc72efa3b2c333b57ca8f55127a3c4e552c31"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessFlags::validate_instance_raw (cyclomatic 49): AccessFlags::validate_instance_raw has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (AccessFlags::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d2cc97f12882caccf9c19d4edac8ddb6f2ee8f78ea79f4f358e0718c75f09a"}},{"ruleId":"D1","level":"warning","message":{"text":"ResolveImageInfo::validate (cyclomatic 47): ResolveImageInfo::validate has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":6059}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0750d46e519131bc5b93dc9445c43983aa5e0f389bbe079470b00b48c1bfe4b"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicState::validate_device_raw (cyclomatic 47): DynamicState::validate_device_raw has cyclomatic complexity 47 (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 shape REPEATS in the file: one other method here (DynamicState::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674d7f69dcf9278d9a7d02d4d08060c0a050c2ea3e171ad61ac325c82a13735"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicState::validate_instance_raw (cyclomatic 47): DynamicState::validate_instance_raw has cyclomatic complexity 47 (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 shape REPEATS in the file: one other method here (DynamicState::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aa1da135dc5754ffbcb7ff8ac7d8c3ac88c18caa91c840b6a85303899e865b"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStages::validate_device_raw (cyclomatic 47): PipelineStages::validate_device_raw has cyclomatic complexity 47 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (PipelineStages::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebade1d7bf96462bde0f21635771fcb00cbc5870893bb0770bdca0fadff8657"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStages::validate_instance_raw (cyclomatic 47): PipelineStages::validate_instance_raw has cyclomatic complexity 47 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (PipelineStages::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4795d92225a064fb2e937b09a3c57558b15613e1f9224e78afb846b07111ab7"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStage::validate_device_raw (cyclomatic 47): PipelineStage::validate_device_raw has cyclomatic complexity 47 (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 shape REPEATS in the file: one other method here (PipelineStage::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eb5ec5dbecf62f060d4b6b236380eb1c08aa2ebcdfbeee3d7673e87264c471"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineStage::validate_instance_raw (cyclomatic 47): PipelineStage::validate_instance_raw has cyclomatic complexity 47 (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 shape REPEATS in the file: one other method here (PipelineStage::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b4c09771407705b4088d5fbab37a0e0f16598e93117c0318d3337005a72123"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryBarrier::validate (cyclomatic 43): MemoryBarrier::validate has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"007f7a84f05c789337436589b034ebea94334a4b2c6493cb9ab34933dc659dea"}},{"ruleId":"D1","level":"warning","message":{"text":"DescriptorSetLayoutBinding::validate (cyclomatic 42): DescriptorSetLayoutBinding::validate has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"55edee37e73dba31ab1377f73cfdea01ce0db7124412330cdaf497661e8ed564"}},{"ruleId":"D1","level":"warning","message":{"text":"SamplerYcbcrConversionCreateInfo::validate (cyclomatic 39): SamplerYcbcrConversionCreateInfo::validate has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"075a92e9686a2a883cd4a4e7e4a990335a69f19af035f4fa9fa4cb14993f816e"}},{"ruleId":"D1","level":"warning","message":{"text":"Swapchain::validate_new_inner (cyclomatic 39): Swapchain::validate_new_inner has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e10fadda9c2c451e419e312533f41e8082680e18aa6cba326ad37ade51095e"}},{"ruleId":"D1","level":"warning","message":{"text":"Spirv::new (cyclomatic 37): Spirv::new has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c57af7e754ae983ff24045aac95f616b46756dcaa4dbbec9039cdb011ab1624"}},{"ruleId":"D1","level":"warning","message":{"text":"AttachmentDescription::validate (cyclomatic 36): AttachmentDescription::validate has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a121bf690b1811ad410309a6b69a2572036f5aae10c81b565a38f540e260d1"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::shader::reflect::descriptor_binding_requirements_of (cyclomatic 36): vulkano::shader::reflect::descriptor_binding_requirements_of has cyclomatic complexity 36 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f0b018d2a2560f2993e2659d9c7bbde4d1c34fdabab5bd9b38a19fab64faf4"}},{"ruleId":"D1","level":"warning","message":{"text":"SamplerCreateInfo::validate (cyclomatic 35): SamplerCreateInfo::validate has cyclomatic complexity 35 (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":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93665eee2bd97709ad3f70d9085fd93858ffbe29f994377eb7b1639f8822dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskGraph::compile (cyclomatic 35): TaskGraph::compile has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4337e44f5856d49cdddfddf5dd0662d097a94bbb179b10a05d34afce2881e0d5"}},{"ruleId":"D1","level":"warning","message":{"text":"SwapchainCreateInfo::validate (cyclomatic 33): SwapchainCreateInfo::validate has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f2ef2b313002348e9e76acdfbc40fccf00183e2c0881087710e7335c74c9c"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderStages::fmt (cyclomatic 32): ShaderStages::fmt has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c938d38cc77a38a39e8bef4dd246404cdebce7ea71cd232c6814b5044d636c1"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_execute_commands (cyclomatic 31): AutoCommandBufferBuilder::validate_execute_commands has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/secondary.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcee9508bd682a7f4901d792eaa8cd97a334edf6f657f5eaac2d72d53780d92"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorSpace::validate_device_raw (cyclomatic 31): ColorSpace::validate_device_raw 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 shape REPEATS in the file: one other method here (ColorSpace::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e462dc3d4518cac93045001ce4b38b2b82aad0f7cbfcbf9b62dae156090d5c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorSpace::validate_instance_raw (cyclomatic 31): ColorSpace::validate_instance_raw 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 shape REPEATS in the file: one other method here (ColorSpace::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"310917d106d83f0596fb4b904a4114e7677a47ac57253cfe4bd13ade50ddd944"}},{"ruleId":"D1","level":"warning","message":{"text":"RawImage::validate_bind_memory (cyclomatic 30): RawImage::validate_bind_memory has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04906d60b3d13e132ed9faf8d78462dc0fb5f07dcf0a0948e4584a98157f764"}},{"ruleId":"D1","level":"warning","message":{"text":"SemaphoreSubmitInfo::validate (cyclomatic 29): SemaphoreSubmitInfo::validate has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa1aef363561546011f6eccff7f116784d200f222e98898562a410dbc4e5679"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_write_timestamp (cyclomatic 29): RecordingCommandBuffer::validate_write_timestamp has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1dfca74857c893c2269997645a26f5fb946a13a8f40ce56e62803476463f82"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_reset_event (cyclomatic 29): RecordingCommandBuffer::validate_reset_event has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8723a1f3cb5cbb83c0328e675feff3f0ebb2719fe0582fce701aa327d584b6"}},{"ruleId":"D1","level":"warning","message":{"text":"DeviceCreateInfo::validate (cyclomatic 29): DeviceCreateInfo::validate has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"d701d03fe5200ceae13fc9f5dfdb97e3a754c132de3fa99c8666a168c9840029"}},{"ruleId":"D1","level":"warning","message":{"text":"SparseImageMemoryBindInfo::validate (cyclomatic 29): SparseImageMemoryBindInfo::validate has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5c370703576bc4f5bf561dfea21f166943274374d47bf723ce49e7c50a7732"}},{"ruleId":"D1","level":"warning","message":{"text":"BufferUsage::fmt (cyclomatic 28): BufferUsage::fmt has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/usage.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8235d81044912baa259bdcf8c02c2fb4e38bfc8c0e6fe9c71bbfdc7e013fa4"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_build_acceleration_structure (cyclomatic 28): RecordingCommandBuffer::validate_build_acceleration_structure has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6631a3b6677dd558e8b049127ea8c12438b66c81b4338ad71d77a386bb983dc"}},{"ruleId":"D1","level":"warning","message":{"text":"ExternalMemoryHandleTypes::fmt (cyclomatic 28): ExternalMemoryHandleTypes::fmt has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be99dc25fe992bf9204de5fc3c06e911613a86e63745c124c2a4898dcd687a4"}},{"ruleId":"D1","level":"warning","message":{"text":"QueryPipelineStatisticFlags::fmt (cyclomatic 28): QueryPipelineStatisticFlags::fmt has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/query.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"83222ea1bda78c8935b3b14a796cbcd79cfcc0fe3b425a504061b3a320de4a5a"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::shader::spirv::specialization::replace_specialization_instructions (cyclomatic 28): vulkano::shader::spirv::specialization::replace_specialization_instructions has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: vulkano::shader::spirv::specialization::evaluate_spec_constant_calculation_op (cyclomatic 38) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cf5f7fefe07299fc89e3c8f044e77266c19ddbc1673456d85d083fea4ce3e9"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_begin_render_pass (cyclomatic 27): RecordingCommandBuffer::validate_begin_render_pass has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f16757f06d3c0f5d96e7cc6058d8fbac5595257100810715b0ba0827f9feb62"}},{"ruleId":"D1","level":"warning","message":{"text":"RawImage::validate_subresource_layout (cyclomatic 27): RawImage::validate_subresource_layout has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"452eff216b6d3d35cdd4b91f186b55368d9fe4d245962792b60f25b3c839ca86"}},{"ruleId":"D1","level":"warning","message":{"text":"ColorBlendState::validate_required_fragment_outputs (cyclomatic 27): ColorBlendState::validate_required_fragment_outputs has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4eeb2da90bc7a3e28048b4551bdb0c680a83bdee29a620bbd43b0d98c8e7590"}},{"ruleId":"D1","level":"warning","message":{"text":"RasterizationState::validate (cyclomatic 27): RasterizationState::validate has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/rasterization.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2f4af9687e82635f975c5c6bc9068e98a21fb8190e1ecf4063e6bad6331a11"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::sync::future::queue_submit (cyclomatic 27): vulkano::sync::future::queue_submit has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bee8701e60e159b43eccd3d77537e226a3909d10f03aef265a81915a62cdefa"}},{"ruleId":"D1","level":"warning","message":{"text":"Sampler::check_can_sample (cyclomatic 26): Sampler::check_can_sample has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2a372f92824680e6f78934c027a9ee2e3932f9bf0f6066b05e97cc1172627a"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineLayoutCreateInfo::validate (cyclomatic 25): PipelineLayoutCreateInfo::validate has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec334a662293292291bae5b2bc9fef8afd4b7817cfbc37d388ec7971a4a90295"}},{"ruleId":"D1","level":"warning","message":{"text":"BufferView::validate_new (cyclomatic 24): BufferView::validate_new has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/view.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f052840c794a0d540eb11f662f898d39d015511ac5628a080ff2689caa481c14"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_copy_image (cyclomatic 24): RecordingCommandBuffer::validate_copy_image has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4e599d626bc8bf4487e80eca4d425b13cb7d8d61bbb59524a9c3ca536533aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageAspects::fmt (cyclomatic 24): ImageAspects::fmt has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/aspect.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d2fbe4483b951d3371aa52452cf9ff459d321a628249e9386f9be100b15886"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryAllocateInfo::validate (cyclomatic 24): MemoryAllocateInfo::validate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8055b0eaa94757d9b7a3527856fd04a003a7317c2bc6df7e569db5e0b87ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"RenderPass::is_compatible_with (cyclomatic 24): RenderPass::is_compatible_with has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5941fb9b74ac39417cf1b3fda5930d8e59af3120c5d88ab2d0d2492a147a9b16"}},{"ruleId":"D1","level":"warning","message":{"text":"SubpassDependency::validate (cyclomatic 24): SubpassDependency::validate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2754ed79e6087834b547195773cecf6bb6d9e28bf901887ad618894ee0e4497a"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessFlags::from (cyclomatic 24): AccessFlags::from has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: PipelineStages::from (cyclomatic 99) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb0e3e02296882855dbabe1f61028ebe7f674b85103d9d2ebd93b972f69f663"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoSyncState::add_image (cyclomatic 23): AutoSyncState::add_image has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: CommandBufferBuilderState::reset_dynamic_states (cyclomatic 33) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"14efb9f1705283e93e0b02c4522760df95e9ecb0d0d03e5b540cea8ffb3d1179"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_build_acceleration_structure_indirect (cyclomatic 23): RecordingCommandBuffer::validate_build_acceleration_structure_indirect has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b111a9d3ffa464acba3db2cf676fa0636061d4d624f714e323fb7cab732c8cc"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageFormatInfo::validate (cyclomatic 23): ImageFormatInfo::validate has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c153b68523876c5ad53451140ccc1d080508a2a79faac05315a0c6b7a89fd8"}},{"ruleId":"D1","level":"warning","message":{"text":"RawBuffer::validate_bind_memory (cyclomatic 22): RawBuffer::validate_bind_memory has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee81b2bc51f4692704518f4a51c83f954f6973d2b6443e1b7aa1bb912dd4401d"}},{"ruleId":"D1","level":"warning","message":{"text":"BufferCreateInfo::validate (cyclomatic 22): BufferCreateInfo::validate has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a0d7da59fcb532bba8ac0c02d319bc27fe97deeae66e72002f4cb2468c9ccd"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageCreateFlags::fmt (cyclomatic 22): ImageCreateFlags::fmt has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e8895cf1173e3467a0addb475f607c4bfd4262f8f4948236f71c3b43f9e7e4"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryMapInfo::validate (cyclomatic 22): MemoryMapInfo::validate has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e95863efb21d64f2dce2b29279115df555015bbeb5f75751413fd08b790406"}},{"ruleId":"D1","level":"warning","message":{"text":"StateGuard::drop (cyclomatic 22): StateGuard::drop has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf174324b521f9ca7fa208f02035d8911a1dee931097dc91f9500b405b5ef4c8"}},{"ruleId":"D1","level":"warning","message":{"text":"autogen::spirv_parse::instruction_output (cyclomatic 21): autogen::spirv_parse::instruction_output has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/spirv_parse.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f55c1c04f4d56f05525c0d3cebc162c5d5a5548823592258649a2fe1d4ad82"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::pipeline::shader::inout_interface::input_output_map (cyclomatic 21): vulkano::pipeline::shader::inout_interface::input_output_map has cyclomatic complexity 21 (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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f31db14410fced9068cb8eb923149a53a8672eadb39e434b463e2f2a08cad0"}},{"ruleId":"D1","level":"warning","message":{"text":"autogen::spirv_parse::instruction_members (cyclomatic 20): autogen::spirv_parse::instruction_members has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/spirv_parse.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d8ec445204a6ef269a426a5e5289400cec7bf7538fa34588c76ea6c780b186"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoCommandBufferBuilder::add_descriptor_sets_resources (cyclomatic 20): AutoCommandBufferBuilder::add_descriptor_sets_resources has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28de796c789e96e248e46f05b8e9802323768ee73076254d98ab80474a0c0f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ClearDepthStencilImageInfo::validate (cyclomatic 20): ClearDepthStencilImageInfo::validate has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f893b374441fd2493c0bfbc7b23a5fdd9936183fb3af2085fafd6acd82414e0e"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_copy_buffer_to_image (cyclomatic 20): RecordingCommandBuffer::validate_copy_buffer_to_image has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdea73c132ebfbce2309966941581b3b3b9fa501a5eb11c0d8b7a2d50d4d66d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SubgroupFeatures::fmt (cyclomatic 20): SubgroupFeatures::fmt has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: DriverId::try_from (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16934c881e266a4f53e05e93494f1b53427710faf3540ed09b9a933350311c4"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryPropertyFlags::fmt (cyclomatic 20): MemoryPropertyFlags::fmt has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c72348a57744e62315559e1c3b2511c22247fedc7db8940dea802445150e7bb"}},{"ruleId":"D1","level":"warning","message":{"text":"SparseImageOpaqueMemoryBindInfo::validate (cyclomatic 20): SparseImageOpaqueMemoryBindInfo::validate has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"277c2927e39fae1a81d3f540d04cc530e186acc3e78bc33ba4970c2d90ecb6b3"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphicsPipeline::from_handle (cyclomatic 20): GraphicsPipeline::from_handle has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b038555b4aac2f6e1e455341d8175742b39b6598cbc8f87729d0827cb74585d"}},{"ruleId":"D1","level":"warning","message":{"text":"SurfaceTransforms::fmt (cyclomatic 20): SurfaceTransforms::fmt has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"50700185ec49c5f663e356e139a1d2b667fe46d5191bf70f43ba20fd6c4e136c"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::shader::reflect::specialization_constants (cyclomatic 20): vulkano::shader::reflect::specialization_constants has cyclomatic complexity 20 (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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"efadd001a510351d7991e651610216cf69a5085914e149c1292c00c581b1d062"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeStruct::new (cyclomatic 20): TypeStruct::new has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/structs.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e8f8689a0c15af72f027c4e7e6a730823158c2eb6fe6d0538360643cae6011"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_clear_attachments (cyclomatic 19): AutoCommandBufferBuilder::validate_clear_attachments has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bb110525e6ef3b1efd906ea481b1c5823f31ecb9bafc783ac25838dc7f7c4f"}},{"ruleId":"D1","level":"warning","message":{"text":"Framebuffer::validate_new (cyclomatic 19): Framebuffer::validate_new has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76359c0a3fbe03e2704dcfb03a79a73923b5d60420f4a2166da28b47591d90a"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderStages::validate_device_raw (cyclomatic 19): ShaderStages::validate_device_raw has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (ShaderStages::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36903d04fa5c4eda9d272e96015a81af14ff6acc75dc6f6fb069977cbecc5af"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderStages::validate_instance_raw (cyclomatic 19): ShaderStages::validate_instance_raw has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (ShaderStages::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de83cbeb8e12f49e6ee07c01f55e29bed1c38cdba5f801e3877f21a4390057"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderStage::validate_device_raw (cyclomatic 19): ShaderStage::validate_device_raw has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ShaderStage::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c33f4134477f64dff98c6c12b0c51c7a57a6f0b81027b0445318b94ff6f57"}},{"ruleId":"D1","level":"warning","message":{"text":"ShaderStage::validate_instance_raw (cyclomatic 19): ShaderStage::validate_instance_raw has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ShaderStage::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8384ffbfe0be4d31170128965ea1e096965740b9aea59ca91ab52eb01bd7094"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecuteState2::convert_initial_barriers (cyclomatic 19): ExecuteState2::convert_initial_barriers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ExecuteState::convert_initial_barriers) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"29328f33d0f2838e37f1851943406fc88fbeef50c977dbc45d58dc6ca2b3a32d"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecuteState::convert_initial_barriers (cyclomatic 19): ExecuteState::convert_initial_barriers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ExecuteState2::convert_initial_barriers) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22e14fb9f170a5558fedd43b6591881da65df595a5d9df572293caf4a698d41"}},{"ruleId":"D1","level":"warning","message":{"text":"RecordingCommandBuffer::validate_copy_image_to_buffer (cyclomatic 18): RecordingCommandBuffer::validate_copy_image_to_buffer has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"6705eda9f3c6dca7da9d92bdd5e34decd0e9346e8b485a4254ceb01f94d88f68"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyDescriptorSet::validate (cyclomatic 18): CopyDescriptorSet::validate 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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a26e01f0a6ee78e4ff459b9462a100a8e87135facff095168a1b441fdd1bd61"}},{"ruleId":"D1","level":"warning","message":{"text":"QueueFlags::fmt (cyclomatic 18): QueueFlags::fmt has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec19fe2ef9a657b0e66c7c08793f82c8149f657fd9255c9a788b38a5dc122c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ImageUsage::fmt (cyclomatic 18): ImageUsage::fmt has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/usage.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90eda564569dd1454a39920c854f63d9a0975fc4bc3cd189da1a3805f781d5"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano_taskgraph::graph::compile::create_render_pass (cyclomatic 18): vulkano_taskgraph::graph::compile::create_render_pass has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7922bbdadd874916e19123b63cf7d59057d9d8e4d049ad16678e02a9a9b18ae"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_bind_descriptor_sets (cyclomatic 17): AutoCommandBufferBuilder::validate_bind_descriptor_sets has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d4e2e86e1b80c24ab8c1a2809b9f2c9774357b60793b743ec7ccca75df6e45"}},{"ruleId":"D1","level":"warning","message":{"text":"ClearColorImageInfo::validate (cyclomatic 17): ClearColorImageInfo::validate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a660c3176642af518c32ff1b09a5486b84f92c50e3e949909fbbdd1f5205fc1a"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandBufferInheritanceRenderingInfo::validate (cyclomatic 17): CommandBufferInheritanceRenderingInfo::validate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3f2f0bb6b4caf34585fe86fda1cb75bedeb4c36ef81e2e7523262c91251d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"PipelineRenderingCreateInfo::validate (cyclomatic 17): PipelineRenderingCreateInfo::validate has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/subpass.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1655133582351f1621843f8ebe36f33a681b9285a935c57be935d6254a063a"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::pipeline::shader::inout_interface::are_interface_types_compatible (cyclomatic 17): vulkano::pipeline::shader::inout_interface::are_interface_types_compatible has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d090a1917fd8651fb34ac3a71c19394b30f33454f69de3e52da8e6bcc2c7ff98"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano::shader::spirv::specialization::evaluate_spec_constant_op (cyclomatic 17): vulkano::shader::spirv::specialization::evaluate_spec_constant_op has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: vulkano::shader::spirv::specialization::evaluate_spec_constant_calculation_op (cyclomatic 38) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22c71bbfec6d6b182501660102408fbc45b0c185c3787a07f71998fe49ffea0"}},{"ruleId":"D1","level":"warning","message":{"text":"vulkano_shaders::shaders::parse_deps_file (cyclomatic 17): vulkano_shaders::shaders::parse_deps_file has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/shaders.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08a14f1f6edc77f0edcf529a37b479ee4562fe3562c00edac994e602dc60123"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolPurposes::fmt (cyclomatic 16): ToolPurposes::fmt has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: DriverId::try_from (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"450c7339cab46bf333cf5856c39a5fb1f8df81a67f65f92566f2bfc7681f4304"}},{"ruleId":"D1","level":"warning","message":{"text":"SampleCounts::fmt (cyclomatic 16): SampleCounts::fmt has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b638c8b86c384d9dbc7826382ef012352cd5b738694eac833c9ad442a61f3"}},{"ruleId":"D1","level":"warning","message":{"text":"Viewport::validate (cyclomatic 16): Viewport::validate has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/viewport.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0981ddc29c3d5b7c4ba8bf483c657521187afad666048973391eed46cf5901b1"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeValidator::validate_function (cognitive 317): RuntimeValidator::validate_function has cognitive complexity 317 (threshold 15). Drivers by points: if/else 64 (246 pts), match/switch 11 (42 pts), loops 5 (22 pts), boolean chains 7 (nesting depth added 230). 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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedd404cee43a010febea11c380de42978c7e7f5485fe34f613d68795dbcb9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"WriteDescriptorSet::validate (cognitive 296): WriteDescriptorSet::validate has cognitive complexity 296 (threshold 15). Drivers by points: if/else 109 (261 pts), loops 12 (28 pts), match/switch 3 (5 pts), boolean chains 2 (nesting depth added 170). Of this number, 295 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff27c7bb8a2be369fb9ce9cb9b67148e2db81fc59b0642a74f3be47ec7db288"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsPipelineCreateInfo::validate (cognitive 283): GraphicsPipelineCreateInfo::validate has cognitive complexity 283 (threshold 15). Drivers by points: if/else 96 (187 pts), match/switch 29 (52 pts), boolean chains 31, loops 7 (13 pts) (nesting depth added 120). 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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"996bfa1f31a41bb891139dea9da5030081a9d3b5456243d928ca5bb550162730"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeValidator::validate_global_variables (cognitive 246): RuntimeValidator::validate_global_variables has cognitive complexity 246 (threshold 15). Drivers by points: if/else 59 (163 pts), match/switch 16 (50 pts), loops 6 (18 pts), boolean chains 15 (nesting depth added 150). Of this number, 238 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c560db8deefc6be562091d4f752b9d2944b49fc1d817b3fd5e0c81aee1389a55"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCreateInfo::validate (cognitive 225): ImageCreateInfo::validate has cognitive complexity 225 (threshold 15). Drivers by points: if/else 105 (182 pts), boolean chains 25, loops 5 (10 pts), match/switch 6 (8 pts) (nesting depth added 84). 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":"vulkano/src/image/sys.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c78f65fdc4d0a0601fbdc8bb13d1b62b343b0ad230de958a98bc7c327240d7"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_pipeline_graphics_dynamic_state (cognitive 208): AutoCommandBufferBuilder::validate_pipeline_graphics_dynamic_state has cognitive complexity 208 (threshold 15). Drivers by points: if/else 62 (188 pts), loops 4 (10 pts), match/switch 2 (6 pts), boolean chains 4 (nesting depth added 136). 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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbec758a24810c35c2d6802ddf2dffb1b6cdf6e7419aca830aa8a41faa8de1f"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyImageInfo::validate (cognitive 201): CopyImageInfo::validate has cognitive complexity 201 (threshold 15). Drivers by points: if/else 80 (156 pts), match/switch 9 (23 pts), boolean chains 18, loops 2 (4 pts) (nesting depth added 92). 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdabc35e2126d4a3c5c4c5f0841663e6e9f955f6e7d2846c5c81c43314d02ea2"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeValidator::validate_execution_modes (cognitive 172): RuntimeValidator::validate_execution_modes has cognitive complexity 172 (threshold 15). Drivers by points: if/else 45 (134 pts), match/switch 13 (33 pts), boolean chains 4, loops 1 (nesting depth added 109). 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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bb009d19cc6a8fbceecf2e0247810a1f0957560549f86705b8b63d78d41be1"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageMemoryBarrier::validate (cognitive 158): ImageMemoryBarrier::validate has cognitive complexity 158 (threshold 15). Drivers by points: if/else 79 (145 pts), boolean chains 7, match/switch 3 (6 pts) (nesting depth added 69). 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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"84078df4945d43fd4d5cc11dfc91d057d468a55484bc9db54c7371fc490629e2"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPassCreateInfo::validate (cognitive 136): RenderPassCreateInfo::validate has cognitive complexity 136 (threshold 15). Drivers by points: if/else 44 (112 pts), boolean chains 12, loops 6 (9 pts), match/switch 1 (3 pts) (nesting depth added 73). 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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"825276acc58b001994d2e82ac0418b349d767cb04aeff0863bece7e699951284"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatFeatures::fmt (cognitive 127): FormatFeatures::fmt has cognitive complexity 127 (threshold 15). Drivers by points: if/else 85 (127 pts) (nesting depth added 42). 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":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"780590c6d0ec2a0ac1138f2a77ab779fb7bb74e8a9e943fe11ecaa678cc483ca"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessFlags::fmt (cognitive 124): AccessFlags::fmt has cognitive complexity 124 (threshold 15). Drivers by points: if/else 83 (124 pts) (nesting depth added 41). 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":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c4429c8c006dd2101d75c4f0882225e42aaef724c6f6ac841b94b3343c96a7"}},{"ruleId":"D2","level":"warning","message":{"text":"SubpassDescription::validate (cognitive 122): SubpassDescription::validate has cognitive complexity 122 (threshold 15). Drivers by points: if/else 44 (99 pts), match/switch 6 (17 pts), boolean chains 4, loops 2 (nesting depth added 66). 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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"affa0d84f32e3710bd499de7c38f8862014f5266ae677d6fb63f1f7c58fd56ec"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStages::fmt (cognitive 121): PipelineStages::fmt has cognitive complexity 121 (threshold 15). Drivers by points: if/else 81 (121 pts) (nesting depth added 40). 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":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c7b6bf11dff87282f7bcd914c9185286a252fc71a5cdb42c2f3df8a5588cb"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::shader::reflect::inspect_entry_point (cognitive 120): vulkano::shader::reflect::inspect_entry_point has cognitive complexity 120 (threshold 15). Drivers by points: if/else 30 (97 pts), loops 4 (8 pts), match/switch 5 (8 pts), boolean chains 7 (nesting depth added 74). Of this number, 117 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. 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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50ca5ade7151532139858370f949b8bce33ad918af2b35731bb6b796f01ad78"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_pipeline_descriptor_sets (cognitive 117): AutoCommandBufferBuilder::validate_pipeline_descriptor_sets has cognitive complexity 117 (threshold 15). Drivers by points: if/else 36 (88 pts), loops 7 (13 pts), boolean chains 11, match/switch 2 (5 pts) (nesting depth added 61). Of this number, 112 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf8acdff73f4f22b479495d17e0758919b5cae469c00a5b4dc4ac1b6598a375"}},{"ruleId":"D2","level":"warning","message":{"text":"autogen::formats::formats_members (cognitive 115): autogen::formats::formats_members has cognitive complexity 115 (threshold 15). Drivers by points: if/else 26 (68 pts), match/switch 8 (30 pts), loops 7 (15 pts), boolean chains 2 (nesting depth added 72). 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":"autogen/src/formats.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"7155c1f79cda222366f209fd65cdab61011f7b0d414128913abb7bc613742d95"}},{"ruleId":"D2","level":"warning","message":{"text":"BlitImageInfo::validate (cognitive 111): BlitImageInfo::validate has cognitive complexity 111 (threshold 15). Drivers by points: if/else 54 (96 pts), boolean chains 6, match/switch 3 (5 pts), loops 2 (4 pts) (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"574902793ddbfdca3bfc29f3b6bb46a17cde9e54072cc2b043fbc1a063561269"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageView::validate_new (cognitive 110): ImageView::validate_new has cognitive complexity 110 (threshold 15). Drivers by points: if/else 52 (92 pts), boolean chains 14, match/switch 2 (4 pts) (nesting depth added 42). 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":"vulkano/src/image/view.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0e04f91afefe7fb04e1937fc11e5aa9377a28c0ed7c204bc77cb23ca4153d8"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStages::from (cognitive 98): PipelineStages::from has cognitive complexity 98 (threshold 15). Drivers by points: if/else 98. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (AccessFlags::from) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5dc6b2e1132a2786557a1ac139ff3c879168999ebb79ce0009433f29c16a51"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessFlags::from (cognitive 98): AccessFlags::from has cognitive complexity 98 (threshold 15). Drivers by points: if/else 98. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (PipelineStages::from) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eb22fbf5bb778db95711376e98bccb26d5a3772f76fec1a908593a8b08263f"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_execute_commands (cognitive 95): AutoCommandBufferBuilder::validate_execute_commands has cognitive complexity 95 (threshold 15). Drivers by points: if/else 22 (81 pts), loops 3 (7 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 67). 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":"vulkano/src/command_buffer/auto/commands/secondary.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"70750a43b948e0b878622cfc63265fe4e4b39505c4fbab6adc529dd991936884"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferMemoryBarrier::validate (cognitive 94): BufferMemoryBarrier::validate has cognitive complexity 94 (threshold 15). Drivers by points: if/else 54 (90 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 37). 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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdd5df77ba09995fd8a19a2e10999b483ef10f3d9cb700cabcf36f00830a54c"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_copy_image (cognitive 94): RecordingCommandBuffer::validate_copy_image has cognitive complexity 94 (threshold 15). Drivers by points: if/else 19 (70 pts), loops 5 (22 pts), boolean chains 2 (nesting depth added 68). 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f843fdc6653f66cb81049fcfaf447a54d569d6e816bf32c1cb7c04a8a0d70f"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::sync::future::queue_submit (cognitive 93): vulkano::sync::future::queue_submit has cognitive complexity 93 (threshold 15). Drivers by points: if/else 12 (46 pts), loops 12 (34 pts), match/switch 3 (13 pts) (nesting depth added 66). 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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad95603d62547d5289c4e0110cfe316b54024b07504b4b5e244fa6c3c56de2d"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderingInfo::validate (cognitive 87): RenderingInfo::validate has cognitive complexity 87 (threshold 15). Drivers by points: if/else 43 (75 pts), match/switch 3 (6 pts), boolean chains 5, loops 1 (nesting depth added 35). 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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"7713db956bd5dd9c54bda02c28d3a89fc1c464f63596aea0ecf626c49720aa9c"}},{"ruleId":"D2","level":"warning","message":{"text":"Swapchain::validate_new_inner (cognitive 82): Swapchain::validate_new_inner has cognitive complexity 82 (threshold 15). Drivers by points: if/else 32 (67 pts), loops 3 (10 pts), boolean chains 5 (nesting depth added 42). 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":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c19d7857e49eacd283cc09b662d58906d9224ce07321f85407756b06ce03fbd"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineShaderStageCreateInfo::validate (cognitive 80): PipelineShaderStageCreateInfo::validate has cognitive complexity 80 (threshold 15). Drivers by points: if/else 23 (54 pts), match/switch 11 (23 pts), loops 2, boolean chains 1 (nesting depth added 43). 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":"vulkano/src/pipeline/shader/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f516a6bf00ae0b8285325b1b3e34a5c4b7fb3a148eb2ed26d266e0c585045ad"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyBufferToImageInfo::validate (cognitive 77): CopyBufferToImageInfo::validate has cognitive complexity 77 (threshold 15). Drivers by points: if/else 38 (63 pts), match/switch 3 (8 pts), boolean chains 5, loops 1 (nesting depth added 30). 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 shape REPEATS in the file: one other method here (CopyImageToBufferInfo::validate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"15af361e8ed491a5b39a623d6fe6242118ef1e49bc3741443315fcbda23ccbf1"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyImageToBufferInfo::validate (cognitive 77): CopyImageToBufferInfo::validate has cognitive complexity 77 (threshold 15). Drivers by points: if/else 38 (63 pts), match/switch 3 (8 pts), boolean chains 5, loops 1 (nesting depth added 30). 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 shape REPEATS in the file: one other method here (CopyBufferToImageInfo::validate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"369733b698107a5e2fbaee11948fadc6ad4e5ce4434f61af9a70b65b4a519a09"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraph::compile (cognitive 77): TaskGraph::compile has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (47 pts), loops 11 (24 pts), match/switch 5, boolean chains 1 (nesting depth added 42). 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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8534374d05a4c7e7648bf59db5d6e398224a57050542fa15f2a9d5c2cf40f3f4"}},{"ruleId":"D2","level":"warning","message":{"text":"ResolveImageInfo::validate (cognitive 73): ResolveImageInfo::validate has cognitive complexity 73 (threshold 15). Drivers by points: if/else 38 (65 pts), match/switch 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":6059}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf3b16f20814c531c3aefe680ba7e780a55c5d2afc6e9bd819518d42c2ef34e"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSyncState::add_image (cognitive 70): AutoSyncState::add_image has cognitive complexity 70 (threshold 15). Drivers by points: if/else 16 (52 pts), match/switch 3 (10 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 44). 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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c82e3490aa08561b6026d89d15f6ba084fd6e6f135e1aa4d5977ada67a2be"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_build_acceleration_structure (cognitive 70): RecordingCommandBuffer::validate_build_acceleration_structure has cognitive complexity 70 (threshold 15). Drivers by points: if/else 25 (66 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 42). 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":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f8ed2a19dccf86cf2306d04495c1f466a3d875c0df80b7ec24498e1616954d"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_copy_buffer_to_image (cognitive 66): RecordingCommandBuffer::validate_copy_buffer_to_image has cognitive complexity 66 (threshold 15). Drivers by points: if/else 15 (51 pts), loops 3 (12 pts), boolean chains 3 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"6997f381ce9c2aee1ccc6fb776e73500c33e12623abe40e89f1acee40b6ddfd4"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryBarrier::validate (cognitive 65): MemoryBarrier::validate has cognitive complexity 65 (threshold 15). Drivers by points: if/else 40 (63 pts), boolean chains 2 (nesting depth added 23). 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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e484bd15bd20a1fdbe1304aaf42a9ec732f2d6305c3e898f363d14544407e047"}},{"ruleId":"D2","level":"warning","message":{"text":"RawImage::validate_bind_memory (cognitive 64): RawImage::validate_bind_memory has cognitive complexity 64 (threshold 15). Drivers by points: if/else 25 (52 pts), match/switch 3 (7 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 33). 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":"vulkano/src/image/sys.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"517976a865dc3fbae042dc2a7a3dc79598d6b2f210289c944f60c9663c01a886"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptorSetLayoutBinding::validate (cognitive 63): DescriptorSetLayoutBinding::validate has cognitive complexity 63 (threshold 15). Drivers by points: if/else 27 (53 pts), boolean chains 6, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 28). 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":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"f043b9abe1d3c79bcad4dc519504adb65bff04d874cb001964625eb0f9e8b751"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineLayoutCreateInfo::validate (cognitive 61): PipelineLayoutCreateInfo::validate has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (41 pts), loops 8 (17 pts), match/switch 2 (3 pts) (nesting depth added 37). 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":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6985280cb7832cf6c96f98fbdda0f62c2573f28df7410a0362c9042556852dbc"}},{"ruleId":"D2","level":"warning","message":{"text":"AttachmentDescription::validate (cognitive 59): AttachmentDescription::validate has cognitive complexity 59 (threshold 15). Drivers by points: if/else 31 (55 pts), boolean chains 4 (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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf145f369673f692a38869db8ea24d5764c1662787493d6914f47299df29b0"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_copy_image_to_buffer (cognitive 58): RecordingCommandBuffer::validate_copy_image_to_buffer has cognitive complexity 58 (threshold 15). Drivers by points: if/else 13 (43 pts), loops 3 (12 pts), boolean chains 3 (nesting depth added 39). 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87bade0f90480c42d4dcf50d2ea63c8efd7082c0b6867b32a845274e88248e5"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatFeatures::validate_device_raw (cognitive 58): FormatFeatures::validate_device_raw has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 29, if/else 29. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (FormatFeatures::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5219d89df2140862dc38c12c34a040cf762cbba5b42d6f274529a6701c5963"}},{"ruleId":"D2","level":"warning","message":{"text":"FormatFeatures::validate_instance_raw (cognitive 58): FormatFeatures::validate_instance_raw has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 29, if/else 29. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (FormatFeatures::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"226625e5778680b2ec7ef7c71ce569d9196c76df3df0f891d05147fc129391ad"}},{"ruleId":"D2","level":"warning","message":{"text":"autogen::spirv_parse::instruction_output (cognitive 55): autogen::spirv_parse::instruction_output has cognitive complexity 55 (threshold 15). Drivers by points: if/else 40 (55 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":"autogen/src/spirv_parse.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de9e470240d3b50cff69dc80ed36e7bdb1eda6459fad4724e2923bf42516038"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::add_descriptor_sets_resources (cognitive 55): AutoCommandBufferBuilder::add_descriptor_sets_resources has cognitive complexity 55 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 6 (18 pts), match/switch 2 (3 pts) (nesting depth added 37). 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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd86d3e186b0ea6a7e6611b6dafa62175202b2d34d2046b9f205da0f718d8611"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_begin_render_pass (cognitive 54): RecordingCommandBuffer::validate_begin_render_pass has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (42 pts), loops 4 (6 pts), match/switch 2 (6 pts) (nesting depth added 36). 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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8978d6959192021ed37a71eb7cb06adf48a0ed6cea5068b099fd0aa4d630be83"}},{"ruleId":"D2","level":"warning","message":{"text":"SparseImageOpaqueMemoryBindInfo::validate (cognitive 51): SparseImageOpaqueMemoryBindInfo::validate has cognitive complexity 51 (threshold 15). Drivers by points: if/else 18 (48 pts), boolean chains 2, loops 1 (nesting depth added 30). 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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeb7a9427aa64f633c3fd6e9d217ab4d051f8c6c9e5e2d7c6b5435a477fd60b"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapchainCreateInfo::validate (cognitive 50): SwapchainCreateInfo::validate has cognitive complexity 50 (threshold 15). Drivers by points: if/else 23 (37 pts), loops 4 (8 pts), boolean chains 4, match/switch 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef5e617c1dd5c1fe3b4f0ccaa3ec4b9c8e898d90224d597238804d7ce4f9a4b"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_bind_descriptor_sets (cognitive 49): AutoCommandBufferBuilder::validate_bind_descriptor_sets has cognitive complexity 49 (threshold 15). Drivers by points: if/else 9 (34 pts), match/switch 3 (8 pts), loops 3 (7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b275dfa514f1a80a82eae5904d647ded8662f3e70504f401e45278265b49e1"}},{"ruleId":"D2","level":"warning","message":{"text":"SamplerYcbcrConversionCreateInfo::validate (cognitive 49): SamplerYcbcrConversionCreateInfo::validate has cognitive complexity 49 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 8, match/switch 3 (5 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"1228075fdcf6cac26771ae9d7c6d4bb06304d306461e3375a9aed49470b5fdbf"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferView::validate_new (cognitive 48): BufferView::validate_new has cognitive complexity 48 (threshold 15). Drivers by points: if/else 24 (45 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/view.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ba554dab612a0890ddec79d2d7fc145f6176a56eb5ac631b874197f9fe26fa"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessFlags::validate_device_raw (cognitive 48): AccessFlags::validate_device_raw has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 24, if/else 24. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (AccessFlags::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7bd05a44caa43807e01bcbcff7844d75277fbf5429d65411159fe9bc842583"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessFlags::validate_instance_raw (cognitive 48): AccessFlags::validate_instance_raw has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 24, if/else 24. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (AccessFlags::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bce950f2ab8464123d3d0c80bc4aef3abd44008b0f0d0e705940ffe8c2be3a9"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::shader::reflect::descriptor_binding_requirements_of (cognitive 48): vulkano::shader::reflect::descriptor_binding_requirements_of has cognitive complexity 48 (threshold 15). Drivers by points: match/switch 10 (23 pts), if/else 8 (22 pts), boolean chains 2, loops 1 (nesting depth added 27). 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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"628174cf7ffba1acfb30dc792e4ba7dd2eb993fab41d617061d1756fa8258c0d"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicState::validate_device_raw (cognitive 47): DynamicState::validate_device_raw has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (46 pts), match/switch 1 (nesting depth added 23). 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 shape REPEATS in the file: one other method here (DynamicState::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"725269dfa347418f2a78d27ebf375d77594177be69022e84b92614feda39f85f"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicState::validate_instance_raw (cognitive 47): DynamicState::validate_instance_raw has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (46 pts), match/switch 1 (nesting depth added 23). 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 shape REPEATS in the file: one other method here (DynamicState::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97a1b44f289e696ae1810956bb1e6785faaa6458a5ef38c3ea00e156ad8a529"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStage::validate_device_raw (cognitive 47): PipelineStage::validate_device_raw has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (46 pts), match/switch 1 (nesting depth added 23). 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 shape REPEATS in the file: one other method here (PipelineStage::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b77ad7a50fd3a0f1c84b15c1245f3d6920ae62cafb92d6e5a82fcc33073aa0"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStage::validate_instance_raw (cognitive 47): PipelineStage::validate_instance_raw has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (46 pts), match/switch 1 (nesting depth added 23). 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 shape REPEATS in the file: one other method here (PipelineStage::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5403284975da60518159a2409b88499501841c89cd1915c36825a2ae0dbb52"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_build_acceleration_structure_indirect (cognitive 46): RecordingCommandBuffer::validate_build_acceleration_structure_indirect has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (42 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 23). 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":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"528933b5a081d4459b40c5c9ee52307bd5b44a65cff58c1a5bc1828053f52e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"SparseImageMemoryBindInfo::validate (cognitive 46): SparseImageMemoryBindInfo::validate has cognitive complexity 46 (threshold 15). Drivers by points: if/else 23 (41 pts), boolean chains 4, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3e0c3f7977cec39da041fa8c1787b4c462ce45a79fa1124f562b7a06948156"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderStages::fmt (cognitive 46): ShaderStages::fmt has cognitive complexity 46 (threshold 15). Drivers by points: if/else 31 (46 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":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c135db9320f4cbdf737a8be157f2cc39ea87623297dede45f8736dad269517"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStages::validate_device_raw (cognitive 46): PipelineStages::validate_device_raw has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 23, if/else 23. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (PipelineStages::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc377597f0f08a5dab6d74a56ea837e37662271085ca3570a46f97419385761b"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineStages::validate_instance_raw (cognitive 46): PipelineStages::validate_instance_raw has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 23, if/else 23. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (PipelineStages::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b48bfc94cbfc02b3afb1258d09e388c711581603a5352d5c67e629a712c1007"}},{"ruleId":"D2","level":"warning","message":{"text":"Sampler::check_can_sample (cognitive 44): Sampler::check_can_sample has cognitive complexity 44 (threshold 15). Drivers by points: if/else 22 (38 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"22caadaa487be2d2a46837e9a9e3062625495a885eebcf00058b4a0c595bce00"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorBlendState::validate_required_fragment_outputs (cognitive 44): ColorBlendState::validate_required_fragment_outputs has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 5 (10 pts), match/switch 3 (7 pts), boolean chains 5 (nesting depth added 16). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e79dc36d2e098afe5221c23679717e799d9bb4df926676b756d83105b8cd12"}},{"ruleId":"D2","level":"warning","message":{"text":"RasterizationState::validate (cognitive 43): RasterizationState::validate has cognitive complexity 43 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 2 (4 pts), boolean chains 3 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/rasterization.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c08fd27bbacf3c2dbacdd15d4c3d7e40aab9d8410543bb167bcf648ff7472b"}},{"ruleId":"D2","level":"warning","message":{"text":"Spirv::new (cognitive 43): Spirv::new has cognitive complexity 43 (threshold 15). Drivers by points: if/else 16 (30 pts), match/switch 6 (12 pts), loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2dad57b492999f574d58fd9c91b6c564ae14b72e9c74e37f676cc063c140e8"}},{"ruleId":"D2","level":"warning","message":{"text":"RawImage::validate_subresource_layout (cognitive 41): RawImage::validate_subresource_layout has cognitive complexity 41 (threshold 15). Drivers by points: if/else 21 (38 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf544822c192c171a051927410a8878e5420201f10a4820066c10f9cfaf0921"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeStruct::new (cognitive 41): TypeStruct::new has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (26 pts), match/switch 5 (11 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 23). 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":"vulkano-shaders/src/structs.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a5484f2884c505158d27b483d184283483aaef0e423205ddf196db1963de49"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferUsage::fmt (cognitive 40): BufferUsage::fmt has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27 (40 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/usage.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f33d3269ec3e2cd2fca5f3f8574ff1fdba9186f208ba8d5b9b48c7abad23d6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_reset_event (cognitive 40): RecordingCommandBuffer::validate_reset_event has cognitive complexity 40 (threshold 15). Drivers by points: if/else 26 (38 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7728cb723d0f39cb96c30972e084b0eb56c6c7e9af5c2f3ae6f05e1c8adaf3d"}},{"ruleId":"D2","level":"warning","message":{"text":"SamplerCreateInfo::validate (cognitive 40): SamplerCreateInfo::validate has cognitive complexity 40 (threshold 15). Drivers by points: if/else 28 (34 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1f5364ae714137ec7b2862639e8bc5afd8778452dee69b8926040f1b37d469"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalMemoryHandleTypes::fmt (cognitive 40): ExternalMemoryHandleTypes::fmt has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27 (40 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bdd1595964e9a5aa616bf1829863f2e6c1e3bc491b28ebdf2f64276344f31d"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryPipelineStatisticFlags::fmt (cognitive 40): QueryPipelineStatisticFlags::fmt has cognitive complexity 40 (threshold 15). Drivers by points: if/else 27 (40 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/query.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"58607bafca0cee92c15112401c494d7017814a2d11872397f3f9ddb870b0d9d5"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_clear_attachments (cognitive 39): AutoCommandBufferBuilder::validate_clear_attachments has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"978f20a1edd58f2bee86abaa218f0eb99b2aa2620b631e8b8e7732c75a580481"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceCreateInfo::validate (cognitive 38): DeviceCreateInfo::validate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d898b9f61babac3f36ed37412de48333fd9d576e12f8d5f1bffdd0fbcc2a906"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryMapInfo::validate (cognitive 38): MemoryMapInfo::validate has cognitive complexity 38 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e9fdd5d0df455a22fc967d2f66423266b8cbfe56467e57236655101d6f15e"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano_taskgraph::graph::compile::create_render_pass (cognitive 38): vulkano_taskgraph::graph::compile::create_render_pass has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 5 (9 pts), boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ab1a3cd5801a289449d1b2ca9474e383d45fd2085a2fbb59ebbf034ff8ca1c"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryAllocateInfo::validate (cognitive 37): MemoryAllocateInfo::validate has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 7, match/switch 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a1593e126115cecc279209871cec011ecc2c48262328fcdf121e55ae7b424c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageAspects::fmt (cognitive 34): ImageAspects::fmt has cognitive complexity 34 (threshold 15). Drivers by points: if/else 23 (34 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/aspect.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbae87bbe7b027a7355dfa625359ff2dd6dc78c24c8b33cef3f5f0b8d754e00e"}},{"ruleId":"D2","level":"warning","message":{"text":"SubpassDependency::validate (cognitive 34): SubpassDependency::validate has cognitive complexity 34 (threshold 15). Drivers by points: if/else 20 (30 pts), boolean chains 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36a057d83e7d7186fd8dc03ff11ce4bca8208edd434d3df261fe1d8814d6832"}},{"ruleId":"D2","level":"warning","message":{"text":"StateGuard::drop (cognitive 34): StateGuard::drop has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 4 (7 pts), match/switch 3 (7 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3e6e5684fe51895824d49163b1bd8a466a151b0327930de766117e20f815b3"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferCreateInfo::validate (cognitive 33): BufferCreateInfo::validate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (29 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f321f783b4057b499b5ad5779207bf3d05f53e845ed4624217639f3ec6e654b"}},{"ruleId":"D2","level":"warning","message":{"text":"RawBuffer::validate_bind_memory (cognitive 32): RawBuffer::validate_bind_memory has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d7daef5cd2f288597aa0d4252fceb82c251b1b3cc360b7ca5b78a52354901d"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageFormatInfo::validate (cognitive 32): ImageFormatInfo::validate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd6043d319b62902f0d8f33ff5acda9ece785ee971addb003987440d0aba3d0"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::shader::spirv::specialization::replace_specialization_instructions (cognitive 32): vulkano::shader::spirv::specialization::replace_specialization_instructions has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (16 pts), match/switch 6 (15 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffec545784c3078b87bde4f326d1427be8fc891c048bba2de21163a2b454b421"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecuteState2::convert_initial_barriers (cognitive 32): ExecuteState2::convert_initial_barriers has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ExecuteState::convert_initial_barriers) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4253ac92c3c135c8ddb2af2b30bc4cb8e5c3b91193542dc9d126e9802b45f"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecuteState::convert_initial_barriers (cognitive 32): ExecuteState::convert_initial_barriers has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ExecuteState2::convert_initial_barriers) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dcb13bc7b002df05c75d6e70600736d93c50bfb5269ffb1e66a8cc335743db"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageCreateFlags::fmt (cognitive 31): ImageCreateFlags::fmt has cognitive complexity 31 (threshold 15). Drivers by points: if/else 21 (31 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73045b45ac51ea7eabd49eff1d1c9ec2282f608e35d2c15384052a3438d515a"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphicsPipeline::from_handle (cognitive 31): GraphicsPipeline::from_handle has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 3 (10 pts), loops 3 (6 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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0737b5dbf4dd48b570319964ab36a0d2017262f849d388dbf3c39bacdd0b966"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorSpace::validate_device_raw (cognitive 31): ColorSpace::validate_device_raw has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (30 pts), match/switch 1 (nesting depth added 15). 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 shape REPEATS in the file: one other method here (ColorSpace::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71853e5ac10cb68b9e2f19f2ab6fee59530009ba0e4acc247ef3fee2015f790"}},{"ruleId":"D2","level":"warning","message":{"text":"ColorSpace::validate_instance_raw (cognitive 31): ColorSpace::validate_instance_raw has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (30 pts), match/switch 1 (nesting depth added 15). 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 shape REPEATS in the file: one other method here (ColorSpace::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"122a5cd20b5017a4863d9d69c52302f27fa11d92b69de9db3062234c131e6cef"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMemoryAllocator::try_allocate (cognitive 30): GenericMemoryAllocator::try_allocate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (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. This shape REPEATS in the file: one other method here (GenericMemoryAllocator::allocate_unchecked) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b2abf44300c4d3bcb83de9e91bc10fbe03c46ad82c64814e77d9de8720cd43"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMemoryAllocator::allocate_unchecked (cognitive 30): GenericMemoryAllocator::allocate_unchecked has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (23 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (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. This shape REPEATS in the file: one other method here (GenericMemoryAllocator::try_allocate) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"8449c4bac03538e0f2d644900608b4f464e2896e9fe002489d53717f06abbc8e"}},{"ruleId":"D2","level":"warning","message":{"text":"SparseBufferMemoryBindInfo::validate (cognitive 30): SparseBufferMemoryBindInfo::validate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 1, loops 1 (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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c988fc5e90b255e56ea5e36ea52dd343e9aa1911ef5a097cc60fd11117bf048"}},{"ruleId":"D2","level":"warning","message":{"text":"SemaphoreSubmitInfo::validate (cognitive 29): SemaphoreSubmitInfo::validate has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 14, if/else 13 (14 pts), match/switch 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12732cbeaabb5ca2d0310b50ee1e1bbc85b4cb0a737221b42f4d2ea4dba257c"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_write_timestamp (cognitive 29): RecordingCommandBuffer::validate_write_timestamp has cognitive complexity 29 (threshold 15). Drivers by points: if/else 16 (26 pts), boolean chains 2, match/switch 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":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"934595e635d7f2d643d55f75ce06ace3cb2ac9b9c3d4c7fc411378257b798844"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano_shaders::shaders::parse_deps_file (cognitive 29): vulkano_shaders::shaders::parse_deps_file has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 1, loops 1 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. 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":"vulkano-shaders/src/shaders.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c516f2a2a26f53a2ab783a7b287eb008d98edfa92ae84e24fd7df51a299d0ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ClearDepthStencilImageInfo::validate (cognitive 28): ClearDepthStencilImageInfo::validate has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d1c1e03c179f6aa9e716c4ff356cc930fc56f0b4666b9285991c042fe637da"}},{"ruleId":"D2","level":"warning","message":{"text":"SubgroupFeatures::fmt (cognitive 28): SubgroupFeatures::fmt has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (28 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe506d9681a711fa6e8fe9e706defc1294d8053780e40207f1e2540e48fc90a5"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryPropertyFlags::fmt (cognitive 28): MemoryPropertyFlags::fmt has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (28 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1afc89ec7e655b6dc96003c278e3676a356bc730722f9beef7560314b5cac05"}},{"ruleId":"D2","level":"warning","message":{"text":"SurfaceTransforms::fmt (cognitive 28): SurfaceTransforms::fmt has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19 (28 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":2439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e640ab375d19f567b1811582a1c4d532f29e8f75761b711e081e90b2815465f"}},{"ruleId":"D2","level":"warning","message":{"text":"VkRegistryData::get_header_version (cognitive 27): VkRegistryData::get_header_version has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (23 pts), loops 2 (4 pts) (nesting depth added 19). 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":"autogen/src/main.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c516d7fc22a56fa26d136fd3a4d0ef5f9d609bcc48777b5862897c8db0c5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"autogen::spirv_parse::instruction_members (cognitive 27): autogen::spirv_parse::instruction_members has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, loops 2 (3 pts), match/switch 2 (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":"autogen/src/spirv_parse.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65ed169ec47d1aada87bde5026ea26afa156ac68c2a96f6a9412b979b14272c"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptorSetLayoutCreateInfo::validate (cognitive 27): DescriptorSetLayoutCreateInfo::validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab6251cc0aa1bd88d7e571b58bbfdc4cde2044d2877e6b7762fff9da611939d"}},{"ruleId":"D2","level":"warning","message":{"text":"FreeListAllocator::allocate_inner (cognitive 27): FreeListAllocator::allocate_inner has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 2, loops 1 (2 pts), match/switch 1 (nesting depth added 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a0fc468c2da3ee8f95ffd60adc9900653e5420626fc60d66e490a928b19a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::pipeline::shader::inout_interface::input_output_map (cognitive 27): vulkano::pipeline::shader::inout_interface::input_output_map has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 5 (8 pts), loops 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f1ec0ede07f154ca9c2a0dcac655fba143205bb0eeae9a9bdcea8fc5d0847e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClearColorImageInfo::validate (cognitive 26): ClearColorImageInfo::validate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 1, 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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"590a74b4669424190b9d704723e7893e3a8530d23778f5379202ffe916567a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_bind_descriptor_sets (cognitive 26): RecordingCommandBuffer::validate_bind_descriptor_sets has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 3 (7 pts), match/switch 2 (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":"vulkano/src/command_buffer/commands/bind_push.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f09b3e73d288e302de36bf271110ac2da6e3ad2a5c21e2c5ddef23d6df97d94"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_wait_events (cognitive 26): RecordingCommandBuffer::validate_wait_events has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (7 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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc05d3429ee50c69de20a9ffd4788a475805563d60c3bbeb9497726ebce398e3"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::shader::spirv::specialization::evaluate_spec_constant_op (cognitive 26): vulkano::shader::spirv::specialization::evaluate_spec_constant_op has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), match/switch 5 (8 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b302b1ccd4ee9ba0cc31202651a5e95e6e5ff224ca656c4bc007291eb34b9295"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_pipeline_graphics_render_pass (cognitive 25): AutoCommandBufferBuilder::validate_pipeline_graphics_render_pass has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3375}}}],"partialFingerprints":{"codehealthFindingId/v1":"c318879e8fc89f7652c0cda75456654b7362b534e4fcee6bc13895988ce21ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandBufferInheritanceRenderingInfo::validate (cognitive 25): CommandBufferInheritanceRenderingInfo::validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"320e63a168cd02da18d621b2d0661dc4f1f56b417df365754aa0b3d501712687"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueFlags::fmt (cognitive 25): QueueFlags::fmt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (25 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f90b70353ec3b1184c45239a0f14bfe202eaa14930f95866176089c8b5d50e"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageUsage::fmt (cognitive 25): ImageUsage::fmt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 17 (25 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/usage.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b4dbd2df02c7fcb57a7f410aba330ac170e0c935414b95405bc73df5b99285"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineRenderingCreateInfo::validate (cognitive 25): PipelineRenderingCreateInfo::validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/subpass.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"defe0657d31e6a8dbd6163bfa8a1595c133feee2c001894efb4e989b8dc8fdd4"}},{"ruleId":"D2","level":"warning","message":{"text":"RayTracingShaderGroupCreateInfo::validate (cognitive 25): RayTracingShaderGroupCreateInfo::validate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 2 (3 pts) (nesting depth added 14). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"7036c9e3eccc3a30edc45ce775c378df4633ac926e1e9809544f21a7d80963d6"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderingInfo::set_auto_extent_layers (cognitive 24): RenderingInfo::set_auto_extent_layers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (5 pts), boolean chains 3 (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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6229ec624ba6505d8e7e49e19752c22653b146171de2b5619ea36bccae0b4e5a"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderingInfo::set_auto_extent_layers (cognitive 24): RenderingInfo::set_auto_extent_layers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (5 pts), boolean chains 3 (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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b269ec29a95651040c7de7eafe3d89d8607331f4ae10bdbc27765bd32120452"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskGraph::lower (cognitive 24): TaskGraph::lower has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 4 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2c35aefd84e4a7f6f79a510252a55146b457d271d514cbd206d4bf503dd99d"}},{"ruleId":"D2","level":"warning","message":{"text":"VertexInputState::validate_required_vertex_inputs (cognitive 23): VertexInputState::validate_required_vertex_inputs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/mod.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa1d2b39f6515b98e7f695068ad1a3b8d2e23239229df6e5e6b372fcb420767"}},{"ruleId":"D2","level":"warning","message":{"text":"Framebuffer::validate_new (cognitive 23): Framebuffer::validate_new has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 6, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20ffa6b5a7dba77a9b221aa75a443b210bdcde62137c6ea3e21d0c53c272857"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPass::is_compatible_with (cognitive 23): RenderPass::is_compatible_with has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 3, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c9fa53501ea214c04f3b42026f7e3028fdd635521225279505ef6fe053d07f"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessFlags::from (cognitive 23): AccessFlags::from has cognitive complexity 23 (threshold 15). Drivers by points: if/else 23. 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":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeb2bbaf32eecfe453f02a94de11f8d2ebf4c56dbc2173cecb9b38894a2d7ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolPurposes::fmt (cognitive 22): ToolPurposes::fmt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (22 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1e0c80ff6f25602ce8ac697f998fdd058cb6cd05350cb0aa64cae11dc599d2"}},{"ruleId":"D2","level":"warning","message":{"text":"SampleCounts::fmt (cognitive 22): SampleCounts::fmt has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (22 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc7785d68b36fb45d74691736b5b1844b66e08333ab73940c283da68686a649"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceCreateInfo::validate (cognitive 22): InstanceCreateInfo::validate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/mod.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"955f3500c36bc78d672765b961aeef2c83b1842bba43ba34d7b0648835ef792d"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapchainState::collect (cognitive 22): SwapchainState::collect has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (7 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ce52cb372aa01529c1eee957ca8c5860712d2b6941dd21da6b6c421321349f"}},{"ruleId":"D2","level":"warning","message":{"text":"AccelerationStructureBuildGeometryInfo::validate (cognitive 21): AccelerationStructureBuildGeometryInfo::validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts), match/switch 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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3e47d922e8237d3edfea392b1ded93765b32e2f8fc64259dd8357afdb58c6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandBufferExecFuture::signal_finished (cognitive 21): CommandBufferExecFuture::signal_finished has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3aeec93208b6b10586ac7a2120fc0ba7f28c287a29b4ff0347bd33446bfa5db"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapchainState::handle_recreation (cognitive 21): SwapchainState::handle_recreation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e04e3763dedb32d1d9eed3d97ab9072295372b01149cc9738dce35652e8a177"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_bind_vertex_buffers (cognitive 20): RecordingCommandBuffer::validate_bind_vertex_buffers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/bind_push.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7371cc0629cd189ec04ff769c46ca3ff0b66484c9045c855e2d2dab34e2e78a7"}},{"ruleId":"D2","level":"warning","message":{"text":"FenceSignalFuture::flush_impl (cognitive 20): FenceSignalFuture::flush_impl has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 3 (7 pts), loops 1 (3 pts) (nesting depth added 11). 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":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf22fb5d556462775e17d116a3001ba46825dca8dac1a29a24a532a014b6000"}},{"ruleId":"D2","level":"warning","message":{"text":"IntermediateRepresentationBuilder::resource_access (cognitive 20): IntermediateRepresentationBuilder::resource_access has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"690a8998bc330a778c2d537090eafabee52e71c5a09c863f71012e32247c99ae"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_draw (cognitive 19): AutoCommandBufferBuilder::validate_draw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9873bb58bad73a1917408de042f261ca47867a4cb979d2387a40816f26dae80"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCommandBufferBuilder::validate_draw_indexed (cognitive 19): AutoCommandBufferBuilder::validate_draw_indexed has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (3 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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"1071f6b8659a4d40acb1ab219763f2296225a8d91b1aa39727b8ffb184250bfa"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericMemoryAllocator::new (cognitive 19): GenericMemoryAllocator::new has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed953911a255cecad6c8136bbd42959e788de2922274deec4e5784ec12e8880b"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderPassCreateInfo::to_vk_fields1 (cognitive 19): RenderPassCreateInfo::to_vk_fields1 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0d30f27cad519e0822a5f027c6d7521be2eb41d25e9922cbbfa3233c568656"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderStage::validate_device_raw (cognitive 19): ShaderStage::validate_device_raw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (nesting depth added 9). 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 shape REPEATS in the file: one other method here (ShaderStage::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"f105bf693c8b8cd7a062696f2e4e3e301cf5689b0fa16c77e0d1e937e1577cbc"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderStage::validate_instance_raw (cognitive 19): ShaderStage::validate_instance_raw has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (nesting depth added 9). 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 shape REPEATS in the file: one other method here (ShaderStage::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbbceecb0184aa53380ea736f10b0bcc8cc0f96c4dd0322e64f6d06fd65bd3b"}},{"ruleId":"D2","level":"warning","message":{"text":"ExternalSemaphoreHandleTypes::fmt (cognitive 19): ExternalSemaphoreHandleTypes::fmt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f0573f27292e7de5aa263158866c936b2d3ce6453ee420e4081f19ab575dbc"}},{"ruleId":"D2","level":"warning","message":{"text":"IntermediateRepresentationBuilder::subpass (cognitive 19): IntermediateRepresentationBuilder::subpass has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"649931df6a107cf86b67f3859e89f549d9b3509e39728a852b8f0836ad6d737d"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyBufferInfo::validate (cognitive 18): CopyBufferInfo::validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"045cb66b193b43e1b7ceeebfaa15a4e586857743ecc995464e99604f67fc0642"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_begin_query (cognitive 18): RecordingCommandBuffer::validate_begin_query has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8779d00a97c6f4b10a80d7e49261b29e4e4fcca2e1fdf6cf407c7785b85ed31"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyDescriptorSet::validate (cognitive 18): CopyDescriptorSet::validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14 (15 pts), match/switch 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"accde6790dcd9cada4909d3b19adc7bdce216bdc1757396af6addce96b8031cd"}},{"ruleId":"D2","level":"warning","message":{"text":"Device::validate_image_memory_requirements (cognitive 18): Device::validate_image_memory_requirements has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5340dfe349f46d92caf4f07297a12af591e5284963f0cf3c7043e010e41e400f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImageViewCreateInfo::validate (cognitive 18): ImageViewCreateInfo::validate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/view.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa60c3ec87384147f8ab87e3ea32c4e71c14ec2865cf333dc85510bcc91311ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderStages::validate_device_raw (cognitive 18): ShaderStages::validate_device_raw has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (ShaderStages::validate_instance_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6902d5aa1441b16a45e39eb19dc7bb2a6d679021a125d98ca3c6239d95102b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ShaderStages::validate_instance_raw (cognitive 18): ShaderStages::validate_instance_raw has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 9. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (ShaderStages::validate_device_raw) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc8afcb6e3bf74f3984c3ae1996e6e7f6a4f2369f453d32777d72ab776e4eb1"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::shader::reflect::specialization_constants (cognitive 18): vulkano::shader::reflect::specialization_constants has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (8 pts) (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2267ead532d8aa26d7461eff921df2b2ddf2b2a71181eb274358705ebf8b0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"autogen::properties::c_type_to_vulkano_type (cognitive 17): autogen::properties::c_type_to_vulkano_type has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/properties.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"635c9c935590b4e8ea749932dce65bac6ec7bf61d0dd35b2e5d49046d7b8ef10"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_set_event (cognitive 17): RecordingCommandBuffer::validate_set_event has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"99426ee884f46bb5a7ed475c326e1210b8962c09dc64dce6e2096f21272e92c1"}},{"ruleId":"D2","level":"warning","message":{"text":"QueueGuard::validate_submit (cognitive 17): QueueGuard::validate_submit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f9e7f58ef19a432843f445239ab24681974d576946b5324b3c40ed004f3f6"}},{"ruleId":"D2","level":"warning","message":{"text":"InputAssemblyState::validate (cognitive 17): InputAssemblyState::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/input_assembly.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8b8f58ed97514f863c698c42f30711b21269081900c72c57f9c7e4b133a3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"Viewport::validate (cognitive 17): Viewport::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/viewport.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c86c09d539bad50b0089bdb1cef575138ca0d96cb27c96a7db312c5c7ff740"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineLayout::from_handle (cognitive 17): PipelineLayout::from_handle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2899abea6ad2fed1be93a9779e5157e06fc70579e0c88bb527461adfb94ec4"}},{"ruleId":"D2","level":"warning","message":{"text":"FramebufferCreateInfo::validate (cognitive 17): FramebufferCreateInfo::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3dee5e733b0000b30aa8db04af12c5bf2e5df5fb71b6682da1aed8ff410e31"}},{"ruleId":"D2","level":"warning","message":{"text":"SwapchainPresentInfo::validate (cognitive 17): SwapchainPresentInfo::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, loops 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f01d7cf2e484c331e323f49fd867755647d335936ddd60c8e22ad83dc51e0"}},{"ruleId":"D2","level":"warning","message":{"text":"SemaphoreCreateInfo::validate (cognitive 17): SemaphoreCreateInfo::validate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b3079a2fb036818d623bed2ac2efa48f3d4b97016ae27b2118c0d2b39751cc"}},{"ruleId":"D2","level":"warning","message":{"text":"VulkanoWindows::create_window (cognitive 17): VulkanoWindows::create_window has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-util/src/window.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcb9c06da937e8b791cf17ca8a37c16580d73fe812dcef28a7c5f819f755272"}},{"ruleId":"D2","level":"warning","message":{"text":"DeviceFeatures::new (cognitive 16): DeviceFeatures::new has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/features.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a60bb271ab390e5870ae5d5f0881c6e6fef7b5763c17c1da18cebfd6bcfdfa9"}},{"ruleId":"D2","level":"warning","message":{"text":"Property::new (cognitive 16): Property::new has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 6 (7 pts), boolean chains 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/properties.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b698e8b1a452c05dbdf4375ba031a09d25ce4908d64dd14d620b642e44582"}},{"ruleId":"D2","level":"warning","message":{"text":"BuildAccelerationStructureFlags::fmt (cognitive 16): BuildAccelerationStructureFlags::fmt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d28e7ff6bebc1e4e2fea3af6c1145eacfed12e8f0a56e6c6097415b8b4c465"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoSyncState::add_buffer (cognitive 16): AutoSyncState::add_buffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7819ac4677d584e1c1b837651e6c341449def07ace44ce4f7d93e926036ba6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordingCommandBuffer::validate_pipeline_barrier (cognitive 16): RecordingCommandBuffer::validate_pipeline_barrier has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b185e1ad5f168b19f5d7085e9151ffe085e9de28838091010d0823611efb2c94"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptorBindingResources::write (cognitive 16): DescriptorBindingResources::write has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 2 (4 pts), boolean chains 1 (nesting depth added 7). 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":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a0000ee0f2c412d5e162629a0d5e30debe9706e875294af0676f4ad0f22fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"PipelineCreateFlags::fmt (cognitive 16): PipelineCreateFlags::fmt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dae95a575f51567878b87614f49b95d5fcd58721530f8b0f8e59380204adf8"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::pipeline::shader::inout_interface::shader_interface_analyze_type (cognitive 16): vulkano::pipeline::shader::inout_interface::shader_interface_analyze_type has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 4 (7 pts), match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1afaddd099d4756c0da3069586da6eb851a5a62736cb71325e244d492e43c60"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano::shader::reflect::push_constant_requirements::find_variables_used (cognitive 16): vulkano::shader::reflect::push_constant_requirements::find_variables_used has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fd7b33dba64783898547c3f591c38c38ed4cb1cfced06d9bff9d78f7803f46"}},{"ruleId":"D2","level":"warning","message":{"text":"vulkano_macros::derive_vertex::derive_vertex (cognitive 16): vulkano_macros::derive_vertex::derive_vertex has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), match/switch 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":"vulkano-macros/src/derive_vertex.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"44892346055a5c9c31d9a65d6def8be7c3bc27bebc8ed240c82436821af6872f"}},{"ruleId":"D2","level":"warning","message":{"text":"MacroInputParser::parse_shader_entries (cognitive 16): MacroInputParser::parse_shader_entries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), match/switch 2 (5 pts), loops 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f40ce5aae3bc8ac8ab78c2fa0e13ba7079047a0f4a4fc4635d5b0c00d7264c"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutableTaskGraph::create_framebuffers (cognitive 16): ExecutableTaskGraph::create_framebuffers has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 3 (6 pts), match/switch 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8461d8e844ceeec6a547854bb9e55cb413943f6327389591de3018bfc840bb8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordingCommandBuffer: TooManyMethods \u2014 364 methods, declared across 13 files: commands/dynamic_state.rs (126), commands/pipeline.rs (52), commands/bind_push.rs (29), commands/acceleration_structure.rs (24), \u002B9 more file(s). The bar is 30 methods; this is 334 over it, 12.13\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/sys.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f262a66fa38b6f38062b45a8990c89f631b317ad14f722a02f7a4899c8090682"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GraphicsPipelineCreateInfo.validate: MethodTooLong \u2014 validate runs 1073 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 973 over it, 10.73\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b20c910ddd0a4d7747dbae10e49f093fe2ec35ffab5bc3a7632047635232f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/copy.rs: FileTooLong \u2014 4694 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 4194 over it, 9.39\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"913a669a1d64b8a85bf88efba8cd4ccf522eb92b8fbb341de2e80a652db4a922"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageCreateInfo.validate: MethodTooLong \u2014 validate runs 920 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 820 over it, 9.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4deadacb64681c86f335d72c28c00f1c9a367743170f88333d6493929a7010"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CopyImageInfo.validate: MethodTooLong \u2014 validate runs 906 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 806 over it, 9.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06f6f2f04d3c9b7617266683299e602190f10f345cacca8a915f9e37c3ab916"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AutoCommandBufferBuilder: TooManyMethods \u2014 265 methods, declared across 11 files: commands/dynamic_state.rs (97), commands/pipeline.rs (48), commands/bind_push.rs (23), commands/copy.rs (18), \u002B7 more file(s). The bar is 30 methods; this is 235 over it, 8.83\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaf60aa9ab0fd1aff0c82793fb4402dc8b1934bae2d8b18e6f3130ad7f7fde8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WriteDescriptorSet.validate: MethodTooLong \u2014 validate runs 861 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 761 over it, 8.61\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"19562f07f0f5bf3f8966924571639c6641781f9b450968939d421dc1ca32641e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageMemoryBarrier.validate: MethodTooLong \u2014 validate runs 712 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 612 over it, 7.12\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"4504d09cc039227f7fce1ad9e69da76053bdef6094b6e8c11988ff5ea58183e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeValidator.validate_function: MethodTooLong \u2014 validate_function runs 669 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 569 over it, 6.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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1946}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2f38b86060084dacb0d1e678d2f47e69a8582e3866b8aaba36cf7288e2e827"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordingCommandBuffer: TooManyMethods \u2014 193 methods, declared across 8 files: commands/dynamic_state.rs (96), commands/pipeline.rs (39), commands/copy.rs (18), commands/bind_push.rs (16), \u002B4 more file(s). The bar is 30 methods; this is 163 over it, 6.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/mod.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecfd3993bd31562336b594f30686b6745436ee36b773cd21d4962077c528760"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.validate_pipeline_graphics_dynamic_state: MethodTooLong \u2014 validate_pipeline_graphics_dynamic_state runs 622 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 522 over it, 6.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1d1e32bd53d7302ff9e15457280d8c43857c391f1f1d0b5e8f12d5708c3a34"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeValidator.validate_global_variables: MethodTooLong \u2014 validate_global_variables runs 617 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 517 over it, 6.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"9779608771516fbbb3d26216be0699db82b523c2c28338e86ebc2ee383f1f607"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: render_pass/mod.rs: FileTooLong \u2014 3077 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 2577 over it, 6.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51b47bb5056e2e2a59abfaf4b1e2c4e1571d7fcb21ea399686edcb6151898de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RuntimeValidator.validate_execution_modes: MethodTooLong \u2014 validate_execution_modes runs 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) in one body. The bar is 100 significant lines; this is 506 over it, 6.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37b86c32aa2faad20fc2fc63fb2d6fdafa03e77f3f7dbaa7354fc2c8bb3419d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderPassCreateInfo.validate: MethodTooLong \u2014 validate runs 586 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 486 over it, 5.86\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"0512f94171f8fdb02ff9d0b2a1d444d251d642ba0fcc8cf192b63af90433d117"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlitImageInfo.validate: MethodTooLong \u2014 validate runs 538 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 438 over it, 5.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16ed7bd1659bae21ee121bab41b24f36e6d3195bf655c274e79a411890f7391"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/sync.rs: FileTooLong \u2014 2584 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 2084 over it, 5.17\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a688ecf20d245b9420c6aa7bc3975c8f1e18b5bd79580dccfe2f613ea65a5e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/pipeline.rs: FileTooLong \u2014 2545 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: AutoCommandBufferBuilder (57-3797). The bar is 500 significant lines; this is 2045 over it, 5.09\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95ea6655f75a1e811654076d8caf6a5e4983f1eb472732856071e279a78b2ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhysicalDevice: ClassTooLong \u2014 2035 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), 109 methods, 5 blocks, lines 61-3522. The bar is 400 significant lines; this is 1635 over it, 5.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"015eb7e1f6ac45014b611d5a87c53d4b65d23c41720dc511654cedc2362585a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RuntimeValidator: ClassTooLong \u2014 1984 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), 7 methods, 2 blocks, lines 61-2913. The bar is 400 significant lines; this is 1584 over it, 4.96\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd781b3bdf7d8bb1c04764e39333c3b09f2495f8c955f2e2af83b00e4a12b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubpassDescription.validate: MethodTooLong \u2014 validate runs 468 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 368 over it, 4.68\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f076b09f4a3826bd4b1b212118244146a8be817cf7e718f2c4a043bd7a0984"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/physical.rs: FileTooLong \u2014 2283 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: PhysicalDevice (5 blocks, 61-3522). The bar is 500 significant lines; this is 1783 over it, 4.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73942997cfef4c5299afcb0c1ee6015e0e9bd21a47809436ee17037fb44f37d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderingInfo.validate: MethodTooLong \u2014 validate runs 436 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 336 over it, 4.36\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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acbd288be6300293f67b4d58a6f0417f93cdda3c3ca2ec935d5e3eaf4829a65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BufferMemoryBarrier.validate: MethodTooLong \u2014 validate runs 434 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 334 over it, 4.34\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"615c0e0badc5f84747179c62b526af4568a432aeea369b345fb0f81521c5e839"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.validate_pipeline_descriptor_sets: MethodTooLong \u2014 validate_pipeline_descriptor_sets runs 417 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 317 over it, 4.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acda862619167775c52a2d84939c6dbc8e9016d53b11000ffbbb4a295f8c909"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: image/sys.rs: FileTooLong \u2014 2080 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 1580 over it, 4.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fabfc9326b29979fdb18b85b5e5671dbd43dd668d2506e5e3934fe1f42c5935"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shader/validate_runtime.rs: FileTooLong \u2014 2028 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: RuntimeValidator (2 blocks, 61-2913). The bar is 500 significant lines; this is 1528 over it, 4.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62236a34d50fd21888fa43d5688dfb65228a61735cef3fb9e8d12955bb87b88f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CopyBufferToImageInfo.validate: MethodTooLong \u2014 validate runs 402 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 302 over it, 4.02\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c5e53fc0b7b7f029f662e3781233b5e279e586bec4245d7233ad518bbeade"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CopyImageToBufferInfo.validate: MethodTooLong \u2014 validate runs 402 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 302 over it, 4.02\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff3600ace2e027d8586db7d86b444e3c981fa1f8155996eb61a3c6e9b3e1a2a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graph/execute.rs: FileTooLong \u2014 1954 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 1454 over it, 3.91\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe62aa8d6acf831d3941c612eb694f1e7158d8def3932b420e3e499804bae994"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ResolveImageInfo.validate: MethodTooLong \u2014 validate runs 388 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 288 over it, 3.88\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":6059}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a1d8ebdc4dfb654790077ec2f4623b1aaf1160a8689474020dd91ccced0c30"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageView.validate_new: MethodTooLong \u2014 validate_new runs 384 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 284 over it, 3.84\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":"vulkano/src/image/view.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c528280580c660d35aca4e4ac1eca8ca073790294c7f5ef30d9144a67131849"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graphics/mod.rs: FileTooLong \u2014 1826 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: GraphicsPipelineCreateInfo (2 blocks, 652-2726). The bar is 500 significant lines; this is 1326 over it, 3.65\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"534c50833e0c6972f5ea2df58d536571c09ef4acc6414d4210854ba4363e3503"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PhysicalDevice: TooManyMethods \u2014 109 methods. The bar is 30 methods; this is 79 over it, 3.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd1e7e2e34883cc14730b777c3a079e1b2295b2a069b660ab7a9da0d5f8f73"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineLayoutCreateInfo.validate: MethodTooLong \u2014 validate runs 354 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 254 over it, 3.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dc81b794a133cfb24593f236e9dafb5b361e3e7b6394017daea30bf1f16e31"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GraphicsPipelineCreateInfo: ClassTooLong \u2014 1388 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), 8 methods, 2 blocks, lines 652-2726. The bar is 400 significant lines; this is 988 over it, 3.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0015de98407bc2d337a7a8bd3ecefc6f3ce0aa291a8a6ba2279be38f87e4983"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/dynamic_state.rs: FileTooLong \u2014 1734 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: RecordingCommandBuffer (18-2504). The bar is 500 significant lines; this is 1234 over it, 3.47\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8351b1efd4323a487d0f65c37e73a309c557bb58ebb9c00064d15f3d9e0aed6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swapchain/surface.rs: FileTooLong \u2014 1718 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: Surface (6 blocks, 38-2063). The bar is 500 significant lines; this is 1218 over it, 3.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"666cd72437c9397db88f04253962d906dd61628f1e34f71108584b036c629957"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autogen::formats::formats_output: FunctionTooLong \u2014 autogen::formats::formats_output runs 331 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 231 over it, 3.31\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":"autogen/src/formats.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a89cf04555aae7c2b7b60d15557e90a3d6529b9404239e56f4eef8e6daca60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryBarrier.validate: MethodTooLong \u2014 validate runs 329 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 229 over it, 3.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72a23fb1c702d91f6a2149d89b855f97202b1f1d31ebcf54595bf5a80c78291"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: image/mod.rs: FileTooLong \u2014 1634 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 1134 over it, 3.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":"vulkano/src/image/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f945f2b5ab3bb699895d6a50d5915ccee2f23022f51666cf699a5ddf1c9878"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/render_pass.rs: FileTooLong \u2014 1607 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 1107 over it, 3.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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8980ac4dc1d428dfcb2e6b564e5ffc41004bde6d911d8db8f8a11b7d2f681886"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Swapchain.validate_new_inner: MethodTooLong \u2014 validate_new_inner runs 310 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 210 over it, 3.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa6f18165a99817b9616c7d2652646c33708e4ae4c3de9e56fd4f3c1ee4c1a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::shader::reflect::inspect_entry_point: FunctionTooLong \u2014 vulkano::shader::reflect::inspect_entry_point runs 305 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 205 over it, 3.05\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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aef89441665479a04e51ac97519ca813b122ad8f3a9efcd2b9ecd196e9e548f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/mod.rs: FileTooLong \u2014 1504 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: Device (6 blocks, 171-1847). The bar is 500 significant lines; this is 1004 over it, 3.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08646a95a36b7705fd33e5bbeea587b107549d48ec826b382c086ef15495e0c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AttachmentDescription.validate: MethodTooLong \u2014 validate runs 299 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 199 over it, 2.99\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e017279b69b87c0e8dbdae3e7fc2fd55a94b989b8aa1c4c1e3c486512ce1250e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineShaderStageCreateInfo.validate: MethodTooLong \u2014 validate runs 290 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 190 over it, 2.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":"vulkano/src/pipeline/shader/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"20498b394a420baf57070327439ab3179489cc3b04a406a4a15d6d05f977daa4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Spirv.new: MethodTooLong \u2014 new runs 288 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 188 over it, 2.88\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":"vulkano/src/shader/spirv/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8142b3bc2faa1cade9fe4e0d4ab2c3ee3ec474afa24a751ae9018e250254ff86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swapchain/mod.rs: FileTooLong \u2014 1436 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: Swapchain (5 blocks, 378-2060). The bar is 500 significant lines; this is 936 over it, 2.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8736a6adcfde15902818e618d9e74f1f33cb25e7c15531eade0c885d01e86b9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: descriptor_set/update.rs: FileTooLong \u2014 1428 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: WriteDescriptorSet (2 blocks, 35-1577). The bar is 500 significant lines; this is 928 over it, 2.86\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef002f70005da665f1a604a12e07bcc7ca3d19933bc29a7839a8ef3052787c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/device_memory.rs: FileTooLong \u2014 1415 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 915 over it, 2.83\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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8793955aaa654241dcfd5a97ee4be0a50131ae67dccaba2659bc7ff5363d2157"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Surface: ClassTooLong \u2014 1117 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), 78 methods, 6 blocks, lines 38-2063. The bar is 400 significant lines; this is 717 over it, 2.79\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf24bb9e1a47589f5525e86241da560916d6def8e69495c4ecf30e4e6d0ac80"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_build_acceleration_structure: MethodTooLong \u2014 validate_build_acceleration_structure runs 268 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 168 over it, 2.68\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":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfa269b08abe7935fa55b5069b2905dbbfa827a6799c06bc774254d7b555797"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SamplerYcbcrConversionCreateInfo.validate: MethodTooLong \u2014 validate runs 268 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 168 over it, 2.68\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":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a86f5284a09d459d17b34ec8bc70f98fc185951876a55c7571208b6e291d119"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageCreateInfo: ClassTooLong \u2014 1068 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), 5 methods, 3 blocks, lines 1608-3239. The bar is 400 significant lines; this is 668 over it, 2.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f354edfb6ad593e75fc49fd87623aae0106e02c2e797d75b610dfb2fec4917af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/semaphore.rs: FileTooLong \u2014 1325 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 825 over it, 2.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67b16fad082e2ebef850121ab6239f3e37f5bdc791bbf262b56578babf76c58"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Surface: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50a3c6b37db296f1c5260d2da008d613e9f7f20ddf17efa3e1fbe8a3172e60d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/pipeline.rs: FileTooLong \u2014 1300 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: RecordingCommandBuffer (13-1779). The bar is 500 significant lines; this is 800 over it, 2.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"796c09b8e0df0b4e722809ee7d16a77679f233d7a3f31bc23d394914caa06371"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WriteDescriptorSet: ClassTooLong \u2014 1034 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), 17 methods, 2 blocks, lines 35-1577. The bar is 400 significant lines; this is 634 over it, 2.59\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec54dd3cc195b47e009361fe305768d7b33624768b91fff3f3f403463eef7cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autogen::formats::formats_members: FunctionTooLong \u2014 autogen::formats::formats_members runs 257 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 157 over it, 2.57\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":"autogen/src/formats.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20b0ca2252def5560005e1914a59520ab3aa24793331f41e50c11f8a98606da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auto/builder.rs: FileTooLong \u2014 1277 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 777 over it, 2.55\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57bf09caeb6c50eb2df02a949117165d0b86dcc4796b5cd2b7f6bbf2c41d6c3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DescriptorSetLayoutBinding.validate: MethodTooLong \u2014 validate runs 255 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 155 over it, 2.55\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":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"90face0e9fe98a4e54e70f919e8411bbcddf926bc1c89669399f47ff96e61c0e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CopyImageInfo: ClassTooLong \u2014 1007 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), 6 methods, 2 blocks, lines 1511-2968. The bar is 400 significant lines; this is 607 over it, 2.52\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bca80edc9df87f31a47da023b7c9eb51cf15dae3403ac174468345a9d8df13a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_begin_render_pass: MethodTooLong \u2014 validate_begin_render_pass runs 249 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 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d88631685931659c3210b36d8918e2c672ac1b655e4eca54fa451b16c9c3c40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autogen::spirv_parse::instruction_output: FunctionTooLong \u2014 autogen::spirv_parse::instruction_output runs 245 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 145 over it, 2.45\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":"autogen/src/spirv_parse.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0d2121f8b74e64dd44287f67dba7eb53bd087187852518541fa6b8bdcecafd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RawImage.validate_bind_memory: MethodTooLong \u2014 validate_bind_memory runs 245 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 145 over it, 2.45\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":"vulkano/src/image/sys.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"f846e51f1b1474c042c7d8e54d87532680451846960942178dff97cb044a9b06"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RawImage: ClassTooLong \u2014 975 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), 45 methods, 5 blocks, lines 50-1602. The bar is 400 significant lines; this is 575 over it, 2.44\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52b04ce586024e5bdbf0a6151103522a4b21850e5ba29e5b70674ab7109de4c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Device: ClassTooLong \u2014 968 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), 59 methods, 6 blocks, lines 171-1847. The bar is 400 significant lines; this is 568 over it, 2.42\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"382b51bdd7f5c0ae95c441a7819bc7410455aa52a48d53815e8f9766a7d53e71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SparseImageMemoryBindInfo.validate: MethodTooLong \u2014 validate runs 241 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 141 over it, 2.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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d8c9a355f7d10cc3429d98f54038be13af5a2ba2f1e7195931c5c4ddd77605"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SwapchainCreateInfo.validate: MethodTooLong \u2014 validate runs 238 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa8525a12e4fa8353e7cde2997b4683c5665315bd67a2d6e1d8278153d91a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graph/compile.rs: FileTooLong \u2014 1163 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 663 over it, 2.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"918cff2042951883d9a8b2a52ab83d41a30173be41415c0a02b95f72e82ad38f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/pipeline.rs: FileTooLong \u2014 1157 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 657 over it, 2.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c82eb689d75894320f31ff76d4f1ad4bd081677bcbb762c8b3ffca0f426d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Swapchain: ClassTooLong \u2014 916 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), 56 methods, 5 blocks, lines 378-2060. The bar is 400 significant lines; this is 516 over it, 2.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a383dae19edbe8d37c35d2cd9e34591944847518fdffa8572af14c54f6899dec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SamplerCreateInfo.validate: MethodTooLong \u2014 validate runs 227 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 127 over it, 2.27\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":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cea1ff3d54387bb0bc1055c46c00bb7bc2b841443798159cf5467e775c197d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resource/mod.rs: FileTooLong \u2014 1122 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 622 over it, 2.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7bef63da266000fa91ab9790574bb47fc12e7162eaba8bf52712519b4f4edc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RenderPassCreateInfo: ClassTooLong \u2014 868 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), 11 methods, 3 blocks, lines 923-2117. The bar is 400 significant lines; this is 468 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bd65047b90f2e5f7c1cef1c14946de8f3f3627baee22b6a1ee13aae924c119"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/sparse.rs: FileTooLong \u2014 1050 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 550 over it, 2.10\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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"734404d6bee09875f556ac4285db4bd7bb897123401d1feb6763fd5fdb95ac7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/copy.rs: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: RecordingCommandBuffer (17-1148). The bar is 500 significant lines; this is 518 over it, 2.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dd0e8ce366826b35661a8d73494e8b326b5ee8a8b257bd322704bf789f8753"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_build_acceleration_structure_indirect: MethodTooLong \u2014 validate_build_acceleration_structure_indirect runs 203 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 103 over it, 2.03\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":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2159ca83edb7f47933faeac7292a5ba898ef566a17860421f82b79ccceef763c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: allocator/mod.rs: FileTooLong \u2014 1006 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 506 over it, 2.01\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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa753c54e4f8311a5006a74cbd505e61583ba6bc74006e3ccffe0dff2bc579b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: command_buffer/mod.rs: FileTooLong \u2014 993 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 493 over it, 1.99\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":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c8c38e011f76b6bfe94c5cd13ded6f09ba8cbd2a3f54f0652053a0af16575"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageMemoryBarrier: ClassTooLong \u2014 791 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), 4 methods, 2 blocks, lines 2584-3727. The bar is 400 significant lines; this is 391 over it, 1.98\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c9c50ff33a27b8b4a81b83c18d45b19ada4b24b8549b3bdc48cf1cf44bc23f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Device: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ea377bb5a3bd1a2510278e3eb55f9a2c65954c3406f4c980e63686634f49bf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_copy_image: MethodTooLong \u2014 validate_copy_image runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64f79053cb3391acaf218b6262cd298bdc89821f63dda7cb9da9d0a401aa8aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderPass.is_compatible_with: MethodTooLong \u2014 is_compatible_with runs 194 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae28edc436ed166ebb337839fc4af8dd223d0a8bd95b87885836e551b305a68a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/copy.rs: FileTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 62% of them inside a single declaration: AutoCommandBufferBuilder (18-847). The bar is 500 significant lines; this is 462 over it, 1.92\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2c8a2c97fd4517b01bf7e60ae076c73586715318d8824204d679bbe0923c4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceProperties.to_output: MethodTooLong \u2014 to_output runs 189 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 89 over it, 1.89\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":"autogen/src/properties.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4f1ab92ca089e928962c72a633049accfd459d10eee6a6ba64b19673b1c5f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DeviceCreateInfo.validate: MethodTooLong \u2014 validate runs 189 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 89 over it, 1.89\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":"vulkano/src/device/mod.rs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f2b735bbaa563650c590fa79664935d2e21d40a1341ff52c8490ff66975109"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/render_pass.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), about 70% of them inside a single declaration: AutoCommandBufferBuilder (26-978). The bar is 500 significant lines; this is 436 over it, 1.87\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cc6193f3d23072207c2d6ad8c77426f96d2fbdef40749c4bea3b1ad01d92c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Swapchain: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"091415678506928abe7c3ab0b480ef0f5777b34eb06b0ed1a071444553d15d39"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubpassDescription: ClassTooLong \u2014 744 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), 8 methods, 3 blocks, lines 2839-3966. The bar is 400 significant lines; this is 344 over it, 1.86\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b36e7d071433e7711e56225a8e68768865043dc40a5a8feb1f2c90f3efe9866"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SparseImageOpaqueMemoryBindInfo.validate: MethodTooLong \u2014 validate 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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f662554501d836f409ff631cce9e1efdbd7ae2979fd909d9d0e6f20904f5c484"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/acceleration_structure.rs: FileTooLong \u2014 923 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 423 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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed60e5c14c8b23bdceb82659c68065092de26b655c42236fd0232227f9381c74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.pipeline_barrier_unchecked: MethodTooLong \u2014 pipeline_barrier_unchecked runs 182 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 82 over it, 1.82\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":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fef43e0841b739546aefa7f569f28a45296abc6c18f48528c7d9d6e714af47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/features.rs: FileTooLong \u2014 895 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 395 over it, 1.79\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":"autogen/src/features.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d1385b98d9819771099091816e8028bfca571973f44fa4a6f682fae70d40d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shader/reflect.rs: FileTooLong \u2014 895 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 395 over it, 1.79\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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"737a881a47a1f65676f81a334c9eb0f0a966e9ddf8f74c93b25820f23c7c2b75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graph/mod.rs: FileTooLong \u2014 890 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 390 over it, 1.78\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":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8817ce71b579cde629ae358c65ce01108b3163fe62b58fa31f7fb90088055c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Resources: TooManyMethods \u2014 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae3fb56f784e3a1bbfe8cef00a3fdb4764bfbe8b19d4a5f51926b8698c12850"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageFormatInfo.validate: MethodTooLong \u2014 validate runs 176 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 76 over it, 1.76\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":"vulkano/src/image/mod.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"88361603b1f4100452d3acc83eb4746f28eb35d61f450eac216c29e522705b7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::sync::future::queue_submit: FunctionTooLong \u2014 vulkano::sync::future::queue_submit runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c0fe983dc3ef02620f618d1f388b96e1d90f3739b99c89957c5bce6fad7b69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/format.rs: FileTooLong \u2014 868 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 368 over it, 1.74\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a8ddc83bef812e857439206548abf49367e924bc60ca0681d8ece76f0a6e14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::shader::spirv::specialization::replace_specialization_instructions: FunctionTooLong \u2014 vulkano::shader::spirv::specialization::replace_specialization_instructions runs 173 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 73 over it, 1.73\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":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3b805b3300c8972d8772d2f3b7b9bcd95b38399973509e8af5f883b1f40b2c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Semaphore: ClassTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 50 methods, 5 blocks, lines 85-1362. The bar is 400 significant lines; this is 290 over it, 1.73\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93a7f5fd54bed67ace13b6dd8d41f4a35aa538e23889c93e83c68caed27e083"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BufferView.validate_new: MethodTooLong \u2014 validate_new runs 172 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 72 over it, 1.72\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":"vulkano/src/buffer/view.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d58f0daf824aba0e08a616331b2c16dbff34fc689d6928327edd679fcc4f3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/dynamic_state.rs: FileTooLong \u2014 859 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: AutoCommandBufferBuilder (26-1341). The bar is 500 significant lines; this is 359 over it, 1.72\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce11a1534eadd4ecae1e06ed60edc075c752f457aedd28ba81b5dcd0d24a3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.begin_rendering_unchecked: MethodTooLong \u2014 begin_rendering_unchecked runs 171 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 71 over it, 1.71\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a838812aeda2a053eda1d896e561c5adc7fdf7b8f74692a8eaa13d511414ec1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/bind_push.rs: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: RecordingCommandBuffer (18-1196). The bar is 500 significant lines; this is 353 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/bind_push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8003d1d3cb501ae6e80bc291d78f46acae37c05a28af697269f26be3d72775"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: descriptor_set/layout.rs: FileTooLong \u2014 853 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 353 over it, 1.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa24dbf26a74adb7b9b792ae0a978cc98c9e5ddbcf9e1df889b1979f4af58e7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/properties.rs: FileTooLong \u2014 838 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 338 over it, 1.68\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":"autogen/src/properties.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5a46350887913e034ea7aa5551f496f4d760aa7b072fbc6a031e1ca10ccd31"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Semaphore: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b29ba88abb0e8561812def0fc27dd3bf1f18eff564a1d5fb83f8c79cb86306"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: image/view.rs: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 66% of them inside a single declaration: ImageView (5 blocks, 33-856). The bar is 500 significant lines; this is 331 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04985a0ed8c5485365cd9dbde4a227b04a93a09db0e4aa96709af33efc93c324"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: swapchain/acquire_present.rs: FileTooLong \u2014 831 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 331 over it, 1.66\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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc34396e5b63befe6fd513515da57d14f9c6c6f5dcbf3e3871d238c1975724a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::shader::reflect::descriptor_binding_requirements_of: FunctionTooLong \u2014 vulkano::shader::reflect::descriptor_binding_requirements_of runs 166 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 66 over it, 1.66\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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"46db004ab76988e7cd9f146bd0deda4f49354eb5d4f1ba9a6f763c2e4cc5dbe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 818 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 318 over it, 1.64\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":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6825eabfbca14b2bbab0fb124abb93f1b1b705ad0de03c7dbd752dda48057cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/acceleration_structure.rs: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: RecordingCommandBuffer (19-1210). The bar is 500 significant lines; this is 313 over it, 1.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fdce8985c727bc5d8c771b29de170ae303d0c77ec473866b6414cf021b6c57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sampler/mod.rs: FileTooLong \u2014 806 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 306 over it, 1.61\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":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"712a6b57dc2a7e5a1dd12f3c58411c74348830e2dccb36815efb56f2e355eae1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/fence.rs: FileTooLong \u2014 806 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 60% of them inside a single declaration: Fence (6 blocks, 52-1019). The bar is 500 significant lines; this is 306 over it, 1.61\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8e9e4fddbced558a87dbae852174c1b67e015038d6e611af62d9145003857e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ColorBlendState.validate_required_fragment_outputs: MethodTooLong \u2014 validate_required_fragment_outputs runs 161 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 61 over it, 1.61\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":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ac257a2b2f768c2ba3e6bdbe132a5f8074950d3d574ecd39aedd6d599c9832"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::shader::spirv::specialization::evaluate_spec_constant_op: FunctionTooLong \u2014 vulkano::shader::spirv::specialization::evaluate_spec_constant_op runs 161 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 61 over it, 1.61\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":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc00a8b8f7125c23239faf878206600906735e7f0d7c364cf6f642ca6937f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RawBuffer.validate_bind_memory: MethodTooLong \u2014 validate_bind_memory runs 160 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 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce0c69c991f2d82653cfa1f7db896506970d3bdbf7399df56b2b31ca0c4367"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RasterizationState.validate: MethodTooLong \u2014 validate runs 160 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 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/rasterization.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1cda6454842faf2d40898aaf0246fbe5fbc0bc57e3cca1688b866fe23a7444"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BlitImageInfo: ClassTooLong \u2014 633 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), 6 methods, 2 blocks, lines 4865-5807. The bar is 400 significant lines; this is 233 over it, 1.58\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":4865}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d32f7bf7e6ba4ec4fd19bf817bcca679654de70023d6eed0152026866963adb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Fence: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f831e369357c1c331084203d7cacd5c607a1aa4aa1782bdd059aaf9fb02dc33e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.validate_clear_attachments: MethodTooLong \u2014 validate_clear_attachments runs 155 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 55 over it, 1.55\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d94848e3aeb5b94220e5a09435aaab19260b2ca83426335fe75576cacefb9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RenderPass.from_handle: MethodTooLong \u2014 from_handle runs 155 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 55 over it, 1.55\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f434a7d1758a1e8ddb5d96b76273d841e990e079a0b78055e56b043db1dc25a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: instance/mod.rs: FileTooLong \u2014 768 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 268 over it, 1.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3b4305f14a443f9156be8e58ea7d6d2b6644b6294b051f1ace7914d427a11a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeviceMemory: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2263782f594419e9187756ffa7b63313fac17e8ca425e799c91f420e714a6f11"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TaskGraph.compile: MethodTooLong \u2014 compile runs 153 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 53 over it, 1.53\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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"708cb71ea2ec11de711796af00369c4c12e6e8c670ff914ff3b526413bc3ed68"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shader/inout_interface.rs: FileTooLong \u2014 762 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 262 over it, 1.52\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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5f5f5e769ca48f52a39027e52326c99c925669bddba3e5fbb9603deef83f33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano_taskgraph::graph::compile::create_render_pass: FunctionTooLong \u2014 vulkano_taskgraph::graph::compile::create_render_pass runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c63387f2a83d9d3aca2b6d68756f774741f79fac8c2cc3012772b195a427ca7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pipeline/layout.rs: FileTooLong \u2014 758 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 258 over it, 1.52\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":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9a705df12893c2acd3cc196ea25082e013eb19941b62394e0dc85794f6e191"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_copy_buffer_to_image: MethodTooLong \u2014 validate_copy_buffer_to_image runs 151 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 51 over it, 1.51\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae7eb215d2b80b204010d1ee085abca3069f4d43ce9ea301de00eb4de006b16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/descriptor_set.rs: FileTooLong \u2014 754 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 254 over it, 1.51\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":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bd1a544650e38bb276df8b52c1d6b400a5e25532a85257176ac63aa78a97b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RawImage: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d3d4caf4d74d5d91da4785a06993b8713570e00d3d03b0f423ecd462612155"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.end_unchecked: MethodTooLong \u2014 end_unchecked runs 150 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 50 over it, 1.50\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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d51c78d4f6c2fdcde734d466d73a6d147af883c63fbd488da935976e19e70b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pipeline/ray_tracing.rs: FileTooLong \u2014 743 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 243 over it, 1.49\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":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07d85cccf1b6b5418d265aa383d7022dc9e1138d00de533c0d37ff417e6eb41"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/structs.rs: FileTooLong \u2014 735 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 235 over it, 1.47\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":"vulkano-shaders/src/structs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0e17d70853e00ba263555980ed90c44b7164635a7b9933b9273d7bb54bff0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_write_timestamp: MethodTooLong \u2014 validate_write_timestamp runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e76ca5bc7f2d65bda7baaed96aa3611853b35f44a063b420b20a7467ef62f4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoSyncState.add_image: MethodTooLong \u2014 add_image runs 144 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 44 over it, 1.44\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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe976fb026a794c0afc65a9f3fe3b27e9a299d2353dbf3a107718a02380d38c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CopyDescriptorSet.validate: MethodTooLong \u2014 validate runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"436e2a6a9b2f2bd8aaa2f1bdbd8849ed51992fa8860c8505df0d89dc47e6b093"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GraphicsPipeline.from_handle: MethodTooLong \u2014 from_handle runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"af10407733993c3323d9561da2092f5147383bce28f41fc7bf49504b92302480"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RenderingInfo: ClassTooLong \u2014 571 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), 5 methods, 3 blocks, lines 1184-2038. The bar is 400 significant lines; this is 171 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"def12e659c1275b06e7dd353dcefa44196836e3a59ccfbc2ef0367f119121049"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RawImage.validate_subresource_layout: MethodTooLong \u2014 validate_subresource_layout runs 142 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 42 over it, 1.42\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":"vulkano/src/image/sys.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6214035e870a15061d3c9f2a29973734b0f1b45422f360e79a4217f98e0729cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: resource/state.rs: FileTooLong \u2014 709 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 209 over it, 1.42\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":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa33d48640c0adab117c9b7f39b020d6a36a9875f39a7cc903c29c5a36f79b2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CommandBufferBuilderState: TooManyFields \u2014 42 stored fields beside 3 methods. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0641afb51a239df94197dea4e50dc6447ec5b1debec848897f843cac81c4c15"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/spirv_parse.rs: FileTooLong \u2014 698 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 198 over it, 1.40\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":"autogen/src/spirv_parse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b130fcb00ffe07227631f74aa1a72ab6895008bcce09f4e4b82ae493fd3a6159"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BufferCreateInfo.validate: MethodTooLong \u2014 validate runs 139 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 39 over it, 1.39\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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7713ad736956005556bf76160ecd530798bf4b3fdb565e6c2943316244bd9d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::shader::spirv::specialization::evaluate_spec_constant_calculation_op: FunctionTooLong \u2014 vulkano::shader::spirv::specialization::evaluate_spec_constant_calculation_op runs 138 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 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1072de1e601d916fa16026356a9715540b94207d8e2b22f8bb85901b332278"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ImageView: ClassTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 5 blocks, lines 33-856. The bar is 400 significant lines; this is 147 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/view.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aed0a471aa3a536a78ad865197d72e9e43f1cc17fc99b04cc1d1022749f2943"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_copy_image_to_buffer: MethodTooLong \u2014 validate_copy_image_to_buffer runs 136 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 36 over it, 1.36\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cd03a97f3a986989c1a59e6558ae583a0c8d34218fc8bb0db9ae2b63c26722"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryMapInfo.validate: MethodTooLong \u2014 validate runs 136 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 36 over it, 1.36\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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"668e53a6c68b298cecae476a1560149955a75b6c55dac6c1c4a5ee7488b934ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shader/mod.rs: FileTooLong \u2014 679 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 179 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5ac7baaa20446af5cb6c0a17a4ba074bd51bbc4bfd2c7c15990cd6ee38e11f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_set_event: MethodTooLong \u2014 validate_set_event runs 135 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 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe1e23b9c9c76a033c691d5c79cf8adfabd1595c64953db33df6a8bc074416c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/dynamic_state.rs: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: RecordingCommandBuffer (23-1338). The bar is 500 significant lines; this is 174 over it, 1.35\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6258eccca17d5dfc397dfd11dea77ee1451b503ec4d6969c377b464716c47a2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.copy_image_unchecked: MethodTooLong \u2014 copy_image_unchecked runs 134 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 34 over it, 1.34\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a6017786f45586e9d755947c42a613243766207310e4e6524a16b0fb693381"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.resolve_image_unchecked: MethodTooLong \u2014 resolve_image_unchecked runs 134 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 34 over it, 1.34\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa3f8154e7f042bc3dcbb43e6c776d1252e4d56d290164a0d5715d89c4490b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Image: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5724dfc3ee4a8f75cba87a96108289a49f3c1c20109f6533fede8c6f6156a737"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/extensions.rs: FileTooLong \u2014 666 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 166 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae64414fe722c55e0654683a98ea9f826f3f64ce5cfa0a953c25cb492092202"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_reset_event: MethodTooLong \u2014 validate_reset_event runs 133 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 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"b032e790bb759d702746f7aa2804897c9f685af310204bc98fa8d6713d23acef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubpassDependency.validate: MethodTooLong \u2014 validate runs 133 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 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6373bc356dbc41a0829361284a0e4e6e3dd695ba76c0945f23f49285f0d534"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/clear.rs: FileTooLong \u2014 658 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 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77261c79c6d50f4b72b1e8ec34cf2c738738e7e379265e96e5b920f3a25d16c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: graphics/color_blend.rs: FileTooLong \u2014 657 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 157 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa8c177a1162e51c26e2cb5669a00dff5b92269d100d4dd2205830214f8926a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemoryAllocateInfo.validate: MethodTooLong \u2014 validate runs 131 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 31 over it, 1.31\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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ee8100462cdd0b8dcef822ea99c989bbb2e4a46962afd704b3481fad6b202"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_wait_events: MethodTooLong \u2014 validate_wait_events runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c8d0ab1060151b01eb89ed3dc28994b5e6cee92662fc6d2c1c8bbc46171d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Sampler.check_can_sample: MethodTooLong \u2014 check_can_sample runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8e5fe33f5cbc5122e8656266997f332b3c21e279d25a167677786bbfbdc8c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AutoSyncState: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 9 methods, 2 blocks, lines 542-1344. The bar is 400 significant lines; this is 119 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"07fff7bad7e87456c239205452135f6514c79d5ee7275f58ae7071562ff5654a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: device/queue.rs: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 68% of them inside a single declaration: QueueGuard (3 blocks, 308-1214). The bar is 500 significant lines; this is 146 over it, 1.29\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5e153f449dee74e781cd239c684c8c80f1a6aae4c65f82e8aa8c319ff8cb92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DescriptorSetLayoutCreateInfo.validate: MethodTooLong \u2014 validate runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a606a2d4f5ccc529cf5a985b64d20369367503938b499b2a772bcc77a58952"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenericMemoryAllocator: ClassTooLong \u2014 514 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), 4 methods, 4 blocks, lines 1026-2152. The bar is 400 significant lines; this is 114 over it, 1.29\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"76147172d8cbf0cfd90f4e17764d0779b70f122156d670a1a4e7fdfae7f6c71f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DeviceMemory: ClassTooLong \u2014 513 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), 46 methods, 5 blocks, lines 47-1032. The bar is 400 significant lines; this is 113 over it, 1.28\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"58860637159961171c6881a172061750fede26261fcbdf35c516c4a503dd55b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_pipeline_barrier: MethodTooLong \u2014 validate_pipeline_barrier runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b282314cee7d605c44f6f6f72d1f800a5867bdc7fa85e34540613fcea9c1029a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Framebuffer.validate_new: MethodTooLong \u2014 validate_new runs 127 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 27 over it, 1.27\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":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42c20c45e8ffcf23e3692a2bea2c6d71d77a5f768cf2074e4ccc3c5cf5424f9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BufferMemoryBarrier: ClassTooLong \u2014 507 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), 4 methods, 2 blocks, lines 1848-2580. The bar is 400 significant lines; this is 107 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d01547ced47875ad2f01603691b246f4db969a68893c6ca7bafba8be033bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/formats.rs: FileTooLong \u2014 632 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 132 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/formats.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa477fe9e4a01938d6a7596f191f237e2e4cc1848fe387348290ac8d389f45c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClearDepthStencilImageInfo.validate: MethodTooLong \u2014 validate runs 126 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 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b2ff60cc22a2f813e2578157c63200980f0c4ced59cf39706a9df8fa442523"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::pipeline::shader::inout_interface::validate_interfaces_compatible: FunctionTooLong \u2014 vulkano::pipeline::shader::inout_interface::validate_interfaces_compatible runs 126 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 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"486d82a468f055134dd8ef8d7c778d0c24918bb86e69fabfc0b1f1fb49d621ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.validate_pipeline_graphics_render_pass: MethodTooLong \u2014 validate_pipeline_graphics_render_pass runs 124 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 24 over it, 1.24\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3375}}}],"partialFingerprints":{"codehealthFindingId/v1":"55418246c1680d5c8006d4c8b0ec98d6ab1b44d98c4e38dcaef78182073ff90a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.add_descriptor_sets_resources: MethodTooLong \u2014 add_descriptor_sets_resources runs 124 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 24 over it, 1.24\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c29cb77a04bf569873490674984fd0617aabb02c6f597b34ca7a514f33f88f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/query.rs: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: RecordingCommandBuffer (12-862). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c523f0aba676fa91ddc81587fbcec2c10a706b2f0b8c8aa94673daafb0755066"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: autogen::spirv_reqs::spirv_reqs_output: FunctionTooLong \u2014 autogen::spirv_reqs::spirv_reqs_output runs 123 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 23 over it, 1.23\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":"autogen/src/spirv_reqs.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1070c0bf390d0549aed6685770db474d35f4abb0a3207bec510c55fc6ac931e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.blit_image_unchecked: MethodTooLong \u2014 blit_image_unchecked runs 123 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 23 over it, 1.23\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b7b0a7651d046f717fd54400b5b2fb4edd51c7fbd95c5e8c27173effe90cba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResolveImageInfo: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 2 blocks, lines 6006-6733. The bar is 400 significant lines; this is 89 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":6006}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ae0c745f772673d5864e44dd1990e0f7dc79da45f6fe586d4182faa0d4bad9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RenderPass: ClassTooLong \u2014 488 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), 17 methods, 5 blocks, lines 105-819. The bar is 400 significant lines; this is 88 over it, 1.22\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae777f65c11d88bdef8abc20b56b19c689719e0ffd3f10298f1012adac205bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CommandBufferInheritanceRenderingInfo.validate: MethodTooLong \u2014 validate runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40519c3a265540a3e2641fdcafbc6d4ed84ea0e7f7d785fbede0e56a4ea0460"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SemaphoreSubmitInfo.validate: MethodTooLong \u2014 validate runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f4bca3774d5c12a9186920d966d2b5a42fab31c36a925f02a3e095f18108f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: buffer/sys.rs: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: RawBuffer (5 blocks, 30-684). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69101b647f38fe8c220ef4d8a7a5c1ac8e358853f1cf7caca3ee1eb1a2c504a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano::pipeline::shader::inout_interface::are_interface_types_compatible: FunctionTooLong \u2014 vulkano::pipeline::shader::inout_interface::are_interface_types_compatible runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0edc000915de5297866106ab7094795b81844e76b7d011d31c8b61f8de22325"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Fence: ClassTooLong \u2014 483 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), 47 methods, 6 blocks, lines 52-1019. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0909578f3cbbbd0c090243b77d094cf895e09325852a0d79827e32d9db189c57"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CopyBufferToImageInfo: ClassTooLong \u2014 483 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), 6 methods, 2 blocks, lines 3184-3892. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b43e5c95b672d118706c3734295138abb435ff6c50d7a3f7ea900efbcce23d0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CopyImageToBufferInfo: ClassTooLong \u2014 483 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), 6 methods, 2 blocks, lines 3902-4607. The bar is 400 significant lines; this is 83 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7c31446b953babe77467cbcf8c6a28131420417f995a44ed74dc1757fdb5c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AutoCommandBufferBuilder.validate_bind_descriptor_sets: MethodTooLong \u2014 validate_bind_descriptor_sets runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff3479905153c8a35aae38d964bd641b4ece4c9d3098f3b889e0b6b569ca0b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: buffer/mod.rs: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 98 over it, 1.20\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7075310fda267e247e675fe640be3162b05719d564cb3cf942245ddbcd1fd938"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: spirv/mod.rs: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: Spirv (2 blocks, 25-565). The bar is 500 significant lines; this is 94 over it, 1.19\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"681acfe74d0ae684bc4d9a935d9ffc00b3c6aa3d57e532b9a0e6a4c3bdbdb837"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineRenderingCreateInfo.validate: MethodTooLong \u2014 validate runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/subpass.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99be381826c30a95aae91342b603e0c5acf38b882c79c1f49ebf8e155c1698d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.copy_buffer_to_image_unchecked: MethodTooLong \u2014 copy_buffer_to_image_unchecked 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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef780ca94b13e909d3d3fedecb7f687246e48a122d36e30ac84288c93e4cc23"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.copy_image_to_buffer_unchecked: MethodTooLong \u2014 copy_image_to_buffer_unchecked 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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3b2703181812fbb45f755d07382855700bd794e221f6f903e306c8017a6c12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AttachmentBlend.validate: MethodTooLong \u2014 validate runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"59346cb313f31f86d3b76b2a7e9eacc9ffdb8aa4c83fed2dff5ae1a74ff9a2c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExecuteState: ClassTooLong \u2014 451 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 1524-2157. The bar is 400 significant lines; this is 51 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e121bb6f8297fbbd1151e8e4caa341d971b38bfb4fcabda732b3b3475587aa6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ImageViewCreateInfo.validate: MethodTooLong \u2014 validate runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/view.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cae277d26843ffea17097738e62855bf2d98b56a42e9ddf4a401b554b2561da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Resources: ClassTooLong \u2014 439 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), 53 methods, 4 blocks, lines 46-1169. The bar is 400 significant lines; this is 39 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"947182f3181738b4b257c5d9fffd5ddd526de8280e516c6b57115998e03cd1f0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: QueueGuard: ClassTooLong \u2014 437 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), 26 methods, 3 blocks, lines 308-1214. The bar is 400 significant lines; this is 37 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbf052f94816dd5a344937660fb5b74034ae6160ab7366639ab8f68e6f4bcc1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StateGuard.drop: MethodTooLong \u2014 drop runs 109 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 9 over it, 1.09\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a39b046a64fa6ed6a0d8551d08b959c270b774307885a2f4d21f6ad0ddfc118"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExecuteState2: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 907-1522. The bar is 400 significant lines; this is 35 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d951cc936a2436e700690ac122425966e52f4c15abad9ffa7797c91462e110f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/bind_push.rs: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: AutoCommandBufferBuilder (26-752). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d971f8b030e6b1c8989d5205cb0dcb6c93c2eeadc05edbecbee520cc944ff21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suballocator/tlsf.rs: FileTooLong \u2014 538 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 38 over it, 1.08\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":"vulkano/src/memory/allocator/suballocator/tlsf.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"758a30e9069c26540d09953f342c729c610e6cc8323d11d584465ebfbb86a4db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClearColorImageInfo.validate: MethodTooLong \u2014 validate runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"112850ac474f392599e813c93b3456a8201ec71d3a6001a0afbcf22ee275ff99"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecordingCommandBuffer.validate_begin_query: MethodTooLong \u2014 validate_begin_query runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f01116fc76b69e82dad7be78d47927ce5ba940e225f9438b07336e999c8e68"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Subbuffer: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b816fbdd31e7a5da352c2f476fd3a39ffa12a677a9c0b9037533d0bbcd4aa49"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SparseBufferMemoryBindInfo.validate: MethodTooLong \u2014 validate runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cd39e073f09d5f15ea7b608697dc683a80a9ab35ede93795737dbcaff97b8c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AttachmentDescription: ClassTooLong \u2014 422 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), 7 methods, 3 blocks, lines 2175-2809. The bar is 400 significant lines; this is 22 over it, 1.06\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7dfea0623cebed86217f3f386a3a366757d5835b12bf2b79d2fe7083c1d3a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: vulkano_macros::derive_buffer_contents::derive_buffer_contents: FunctionTooLong \u2014 vulkano_macros::derive_buffer_contents::derive_buffer_contents runs 105 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 5 over it, 1.05\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":"vulkano-macros/src/derive_buffer_contents.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"48249116a88afa52679bd710feed3e27605555665f79b615a9be325223eed14a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VertexInputState.validate: MethodTooLong \u2014 validate runs 105 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 5 over it, 1.05\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":"vulkano/src/pipeline/graphics/vertex_input/mod.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c279fed5eec00577c1025ebc45d70e2ebe3fce2fef571e45fddb9598f1edc860"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vertex_input/mod.rs: FileTooLong \u2014 523 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 23 over it, 1.05\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":"vulkano/src/pipeline/graphics/vertex_input/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"145d127dcc5d3fb9b8f54c9f48f15f87a38ac7b25254ae919013767531732aa3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TypeStruct.new: MethodTooLong \u2014 new runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/structs.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e83582bc1a60b34119c54f7a12020bdad96202122bf5e421bcd2970079007"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SwapchainCreateInfo: ClassTooLong \u2014 415 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 3 blocks, lines 2070-2766. The bar is 400 significant lines; this is 15 over it, 1.04\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54d5903fc5da10f42ab1bf586884ed0384d245d0d977adbdd4f49558d87827d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: spirv/specialization.rs: FileTooLong \u2014 517 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 17 over it, 1.03\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":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0e9a4ce64b259025fb227142cb75d590baee8baaec7330e8b53476ba22fcff"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GlobalDescriptorSet: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c6832a89d5d3ca04b7a2d94f4179f3714174e5c5bc5bfac63b8e0d4eb06ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RayTracingPipelineCreateInfo.validate: MethodTooLong \u2014 validate runs 103 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 3 over it, 1.03\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":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ffb2b36ef4ba7b95d2d094315c037a225e9ef14732abcf37e005d765d27a34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: suballocator/buddy.rs: FileTooLong \u2014 512 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 12 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/buddy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c7d6775d12223ccb6757a1a86c3eea9d819b5b2cfa60cfc65f74fa0b590ef3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pipeline/mod.rs: FileTooLong \u2014 511 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 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f081dff52b44d6ad615dc3ead4e6c4a779a1fa2837164f355001b89adda280"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstanceCreateInfo.validate: MethodTooLong \u2014 validate runs 102 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 2 over it, 1.02\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":"vulkano/src/instance/mod.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"832f833004aaadd919a2e154f0b96283308d577de6199d215498fff3fbfaf2d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 509 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 9 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dac24629cda858d3deb6db501d5efb9dfc56794988733b4695c6a73be42015"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: commands/pipeline.rs: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: RecordingCommandBuffer (18-1317). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"522440301cd5ecc83236fe0ad82cc34d47ceda1e72c4c61f5b6397343def376f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/display.rs: FileTooLong \u2014 507 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 7 over it, 1.01\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":"vulkano/src/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad83ee522a44a1bdc78174670cd5f87d0a53cc84a5a1a32bd88f3dda7f62926"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PipelineLayoutCreateInfo: ClassTooLong \u2014 403 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), 4 methods, 3 blocks, lines 557-1107. The bar is 400 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a953293795a9c2b54dcffe6cc35098d0595f7803b93ec5b7fb8bf208fe4041"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: memory/mod.rs: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2 over it, 1.00\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":"vulkano/src/memory/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3834f042545a7fbe943e0c15b73670db86371ccc20236b63070a14af056ea0cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 19 shared lines): vulkano/src/sync/fence.rs:584-622 | vulkano/src/sync/fence.rs:714-752 | vulkano/src/sync/semaphore.rs:668-716 | vulkano/src/sync/semaphore.rs:812-857 | vulkano/src/sync/semaphore.rs:940-982 \u2014 These 5 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae30942c443bb91e679fb838734cc3dd7891e675694a63ac37a496c87ccd01e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 252 shared lines): vulkano/src/command_buffer/commands/sync.rs:1349-1813 | vulkano/src/command_buffer/commands/sync.rs:1903-2519 | vulkano/src/command_buffer/commands/sync.rs:2655-3662 \u2014 These 3 members are variants of one another: a block of 252 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1349}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc81f039fdbfe58ff3f0e585d84822fad8a6b65e8a6a2812d508db3ef62a637"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 68 shared lines): vulkano/src/command_buffer/commands/copy.rs:121-411 | vulkano/src/command_buffer/commands/copy.rs:479-689 | vulkano/src/command_buffer/commands/copy.rs:764-953 \u2014 These 3 members are variants of one another: a block of 68 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4afb6c7a051fc1e9ba1d00220889495373fb982f1be313e692ff0a1714b78b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 47 shared lines): vulkano/src/command_buffer/commands/sync.rs:36-199 | vulkano/src/command_buffer/commands/sync.rs:289-463 | vulkano/src/command_buffer/commands/sync.rs:529-698 \u2014 These 3 members are variants of one another: a block of 47 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"eace84126ad2b58027d1a5c4aee6f60c7ae1cef814724ab5002f53fce7c828cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (92 shared lines): vulkano-taskgraph/src/graph/execute.rs:990-1121 | vulkano-taskgraph/src/graph/execute.rs:1605-1739 \u2014 These two members are variants of one another: 92 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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f70d0d3386475d6224623a8747aba426dfc4207fdcfb9f001ad6923856b618f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (74 shared lines): vulkano/src/command_buffer/commands/sync.rs:809-1013 | vulkano/src/command_buffer/mod.rs:1399-1590 \u2014 These two members are variants of one another: 74 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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"964614dc945147948d5af8a92e219e5f4010308096583ce601310f44b7f7dd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): vulkano/src/command_buffer/commands/clear.rs:419-578 | vulkano/src/command_buffer/commands/clear.rs:661-847 \u2014 These two members are variants of one another: 51 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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e36e3fded08bde112b44063983f306887002d06b2409e3cce9886a4c08af46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): vulkano-taskgraph/src/graph/execute.rs:1463-1508 | vulkano-taskgraph/src/graph/execute.rs:2097-2143 \u2014 These two members are variants of one another: 40 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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"da88e5b0e7b7da585b9031c1c5f956dc919943e0a0072b1f02e287759f220aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (22 shared lines): vulkano-taskgraph/src/graph/execute.rs:1192-1255 | vulkano-taskgraph/src/graph/execute.rs:1812-1878 \u2014 These two members are variants of one another: 22 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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0e0cd82e9533d0897c8f6917d09a37ab582648aa4806ad4bdc34c6722096ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): vulkano/src/swapchain/surface.rs:398-426 | vulkano/src/swapchain/surface.rs:576-599 | vulkano/src/swapchain/surface.rs:669-698 | vulkano/src/swapchain/surface.rs:777-807 | vulkano/src/swapchain/surface.rs:881-911 | vulkano/src/swapchain/surface.rs:984-1014 | vulkano/src/swapchain/surface.rs:1089-1118 | vulkano/src/swapchain/surface.rs:1193-1222 | vulkano/src/swapchain/surface.rs:1302-1331 | vulkano/src/swapchain/surface.rs:1410-1442 | vulkano/src/swapchain/surface.rs:1512-1541 | vulkano/src/swapchain/surface.rs:1624-1654 | vulkano/src/swapchain/surface.rs:1737-1767 | vulkano/src/swapchain/surface.rs:1850-1880 | vulkano/src/swapchain/surface.rs:1963-1993 \u2014 These 15 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 15 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 15 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"20eb7e9668d54c21347aedc1db52124df06fc3030b8a319372c644d158b0d05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): vulkano/src/acceleration_structure.rs:201-222 | vulkano/src/buffer/sys.rs:110-131 | vulkano/src/buffer/view.rs:341-362 | vulkano/src/command_buffer/pool.rs:87-107 | vulkano/src/descriptor_set/layout.rs:125-149 | vulkano/src/descriptor_set/pool.rs:84-107 | vulkano/src/image/sampler/mod.rs:162-183 | vulkano/src/image/sampler/ycbcr.rs:208-235 | vulkano/src/pipeline/cache.rs:128-148 | vulkano/src/pipeline/layout.rs:139-160 | vulkano/src/query.rs:83-103 | vulkano/src/render_pass/mod.rs:185-250 | vulkano/src/sync/event.rs:111-131 | vulkano/src/sync/semaphore.rs:144-165 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee4714c5c6139abcbb49649531d24c621902ea4572e12053ce6c9c7db5f7f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): vulkano/src/device/physical.rs:617-718 | vulkano/src/device/physical.rs:812-905 | vulkano/src/device/physical.rs:989-1040 | vulkano/src/device/physical.rs:2200-2318 | vulkano/src/device/physical.rs:2444-2545 | vulkano/src/display.rs:137-247 | vulkano/src/instance/mod.rs:673-710 | vulkano/src/instance/mod.rs:789-853 | vulkano/src/library.rs:288-321 | vulkano/src/pipeline/mod.rs:168-213 | vulkano/src/pipeline/mod.rs:298-345 | vulkano/src/swapchain/mod.rs:1055-1115 \u2014 These 12 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e3686be2ff8335f2a0c21c64578d698299bbac84d83640eac2974047300fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): vulkano/src/command_buffer/auto/commands/pipeline.rs:241-357 | vulkano/src/command_buffer/auto/commands/pipeline.rs:428-464 | vulkano/src/command_buffer/auto/commands/pipeline.rs:557-595 | vulkano/src/command_buffer/auto/commands/pipeline.rs:702-833 | vulkano/src/command_buffer/auto/commands/pipeline.rs:919-963 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1063-1109 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1173-1309 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1370-1416 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1507-1555 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa147b7d38c25ae4cf00b05d52e2e41edc795227cced0087cb2532336695506"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): vulkano/src/format.rs:833-855 | vulkano/src/image/mod.rs:2243-2294 | vulkano/src/image/sys.rs:3101-3176 | vulkano/src/memory/device_memory.rs:1304-1345 | vulkano/src/pipeline/graphics/mod.rs:2387-2498 | vulkano/src/swapchain/acquire_present.rs:552-597 | vulkano/src/swapchain/mod.rs:2607-2684 | vulkano/src/swapchain/surface.rs:2836-2858 | vulkano/src/swapchain/surface.rs:3000-3027 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2adc5794996fcccfd2e04990e6a0e5a86b07ebb39e458734f8ed5ff710e7db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): vulkano/src/device/physical.rs:2603-2624 | vulkano/src/device/physical.rs:2969-2995 | vulkano/src/device/physical.rs:3048-3071 | vulkano/src/device/physical.rs:3137-3163 | vulkano/src/device/physical.rs:3235-3261 | vulkano/src/device/physical.rs:3329-3355 | vulkano/src/device/physical.rs:3420-3446 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a9db2e01b21a0f157cb027cf464a88d9f53a651471051a090a73dd56dd681"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): vulkano-taskgraph/src/command_buffer/commands/copy.rs:43-153 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:208-376 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:406-548 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:578-720 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:797-952 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:979-1147 \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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca02d5f101b7c2858bab40367af5cccf25c5dac292e13cede1bcdfdcef38bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): vulkano/src/command_buffer/commands/copy.rs:62-100 | vulkano/src/command_buffer/commands/copy.rs:417-456 | vulkano/src/command_buffer/commands/copy.rs:695-740 | vulkano/src/command_buffer/commands/copy.rs:959-1004 | vulkano/src/command_buffer/commands/copy.rs:1051-1092 | vulkano/src/command_buffer/commands/copy.rs:1139-1181 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66c863abc8d7c708745e58e756d9332e67eb0a48e1cd8d4ea724abba4dd424d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): vulkano/src/command_buffer/commands/copy.rs:1564-2863 | vulkano/src/command_buffer/commands/copy.rs:3227-3807 | vulkano/src/command_buffer/commands/copy.rs:3945-4522 | vulkano/src/command_buffer/commands/copy.rs:4926-5712 | vulkano/src/command_buffer/commands/copy.rs:6059-6628 \u2014 These 5 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 5 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 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae1f5bdd22f128155592ed21f2936d2b945cead5cd85a0061d13a0fa32ed534"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano-taskgraph/src/resource/mod.rs:973-989 | vulkano-taskgraph/src/resource/mod.rs:1015-1027 | vulkano-taskgraph/src/resource/mod.rs:1053-1065 | vulkano-taskgraph/src/resource/mod.rs:1091-1103 \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":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"870a02b1101ea9f210a3779800b3db0d8054a851ca949a04bc58c3f66360a29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/buffer/mod.rs:869-880 | vulkano/src/buffer/mod.rs:896-915 | vulkano/src/image/mod.rs:897-908 | vulkano/src/image/mod.rs:939-965 \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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24a1195e066c6c4b404c8c6213f754c30170930f8e31c59939f212a3b9cd86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/buffer/sys.rs:750-958 | vulkano/src/image/mod.rs:2458-2511 | vulkano/src/image/sys.rs:1788-3096 | vulkano/src/swapchain/mod.rs:2254-2600 \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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"87486ef8d8befb8cd921baf2f5123b3e90a662fad589c9180029e7e116924daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/command_buffer/commands/copy.rs:2886-2916 | vulkano/src/command_buffer/commands/copy.rs:2936-2967 | vulkano/src/command_buffer/commands/copy.rs:6651-6681 | vulkano/src/command_buffer/commands/copy.rs:6701-6732 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba9ef4c1a09ade31f319f5ab4c6d4cfe986b0c86fbbec2f8b815fd5a1bb18c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/command_buffer/commands/copy.rs:3102-3139 | vulkano/src/command_buffer/commands/copy.rs:3141-3179 | vulkano/src/command_buffer/commands/copy.rs:6845-6882 | vulkano/src/command_buffer/commands/copy.rs:6884-6922 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68761f91563f811cabfcf13af5f1c2de44e801cd8b694ca46d1db23cf851676"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/command_buffer/commands/copy.rs:3141-3179 | vulkano/src/command_buffer/commands/copy.rs:4831-4860 | vulkano/src/command_buffer/commands/copy.rs:6884-6922 | vulkano/src/memory/sparse.rs:1611-1648 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2efa89a42fd214a7944e0ea9b2c8c7506033a6120fd1e0d0d22459728af40b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/command_buffer/commands/render_pass.rs:1360-1962 | vulkano/src/command_buffer/mod.rs:716-896 | vulkano/src/pipeline/graphics/subpass.rs:142-312 | vulkano/src/render_pass/mod.rs:2969-3639 \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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3142b8970ec32d1242c6c812852135021cf48e73e003cbfe6d2fe97f1cc676e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/descriptor_set/allocator.rs:415-467 | vulkano/src/descriptor_set/allocator.rs:472-514 | vulkano/src/descriptor_set/allocator.rs:571-598 | vulkano/src/descriptor_set/allocator.rs:604-634 \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":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e689bc47a0bc6963f0bbbfc7691eeceb8d9c8ae45a4a70c7834d6502c7c72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): vulkano/src/swapchain/acquire_present.rs:76-122 | vulkano/src/swapchain/mod.rs:1756-1786 | vulkano/src/sync/semaphore.rs:448-473 | vulkano/src/sync/semaphore.rs:550-571 \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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e255b97ccca42271a3bdabe10843e7f0e24bbd93da038f92dedf3f811232d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/pipeline/mod.rs:996-996 | vulkano/src/sync/pipeline.rs:15-15 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"af85ff2dae657bb06d52dfb6fcc4f40812d3db04beb59f4787da3cc1b86b6886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): vulkano/src/format.rs:1144-1144 | vulkano/src/sync/pipeline.rs:15-15 | vulkano/src/sync/pipeline.rs:508-508 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7144b74d053cc5e94021578c22de42d8dcbd64886d1146bc5244e23a73bb7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): vulkano/src/pipeline/mod.rs:996-996 | vulkano/src/sync/pipeline.rs:15-15 | vulkano/src/sync/pipeline.rs:508-508 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df8542a06c2c750445b91fffe8b221aff864cd25057b8daab8d3a2ace434314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/format.rs:1144-1144 | vulkano/src/sync/pipeline.rs:15-15 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/format.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2dca77a795a2a3dd411d3f53c92e71d6a166fb0b4bf180193b3ac73e2639d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): vulkano/src/image/aspect.rs:3-3 | vulkano/src/image/layout.rs:4-4 | vulkano/src/image/mod.rs:1134-1134 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"vulkano/src/image/aspect.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"36efdc0edf4bd0124fdec7cfc00c369e866e5d214b221a89113527e43fd04ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): vulkano/src/image/aspect.rs:3-3 | vulkano/src/image/layout.rs:4-4 | vulkano/src/shader/mod.rs:1416-1416 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"vulkano/src/image/aspect.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae50cb266e14a9e134c695bee25b51f6ae991163131850b54f1569d15dc9b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/image/aspect.rs:3-3 | vulkano/src/image/mod.rs:1134-1134 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/image/aspect.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fd351a194f7aef767c3145b613aa98039e8bca43ea50cce42ac79c56e06764"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): autogen/src/extensions.rs:111-219 | autogen/src/features.rs:156-236 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"autogen/src/extensions.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0241565688842ada93833bf22d85546fad5b58b986fb86edd57a26cff2885b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/memory/device_memory.rs:1605-1605 | vulkano/src/query.rs:632-632 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1605}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d5e5f968bb5e31cef093af00748283be8617c4ea0f8814a1f9d0bf7a225fdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/device/queue.rs:1274-1274 | vulkano/src/memory/mod.rs:661-661 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/device/queue.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa027c82a8072a9498f9ef38bed6dd2c80894bfc210c3da2f8340b088425ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (125 corresponding lines): vulkano/src/memory/allocator/mod.rs:1603-1727 | vulkano/src/memory/allocator/mod.rs:1807-1953 \u2014 These two members are one piece of code written twice and then edited apart: 125 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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afe9b86a3ed5fdb1992969f37d4a4ea26c5a75da5b115f93de1502a5304a15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): vulkano/src/memory/allocator/mod.rs:1328-1408 | vulkano/src/memory/allocator/mod.rs:1463-1541 \u2014 These two members are one piece of code written twice and then edited apart: 79 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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddee453f98cdf9aa625a5f01aadf5b4718f37346f9658be1ce1b21611f6704c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): vulkano/src/device/queue.rs:1274-1274 | vulkano/src/image/mod.rs:1134-1134 | vulkano/src/memory/mod.rs:661-661 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"vulkano/src/device/queue.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeaf5f65a4d20460fb92fa75a302dfa027cc5c8f16beab529f4fe14a5ea255e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): vulkano/src/command_buffer/auto/commands/render_pass.rs:1214-1287 | vulkano/src/command_buffer/commands/render_pass.rs:1285-1358 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"547c6f62c546836c3660fc87e4af5855d57bf384882e5cc696c2650e2d806f49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): vulkano/src/device/physical.rs:1726-1842 | vulkano/src/image/sys.rs:400-490 \u2014 These two members are one piece of code written twice and then edited apart: 91 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":"vulkano/src/device/physical.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22c151ecc8eec7224a562243708a3acf9c28936e5ffabf86706f618b27a7766"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): vulkano/src/buffer/subbuffer.rs:306-369 | vulkano/src/buffer/subbuffer.rs:400-457 \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":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"935562d3375f260fe50f369d2749a9f4680b062f0799a103ce85c1bcf3796ee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): vulkano/src/command_buffer/commands/clear.rs:253-331 | vulkano/src/command_buffer/commands/clear.rs:929-997 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"318d78440723a6db966d0096d54354b7183347f482654817ebfa1b4d8ea79b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:368-432 | vulkano/src/memory/allocator/suballocator/tlsf.rs:475-546 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"56040f6155a8421abe1211d3c2e2ee4aabc67f141e746eb507ce492413602bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): vulkano/src/command_buffer/commands/copy.rs:3029-3100 | vulkano/src/command_buffer/commands/copy.rs:4727-4799 \u2014 These two members are one piece of code written twice and then edited apart: 72 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea305656e6163db7a6b1bb66abe331e0dd098e10ca3897e5e32ccc4352c7383"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 69\u002B corresponding lines): vulkano/src/image/mod.rs:1562-1636 | vulkano/src/image/mod.rs:1731-1804 | vulkano/src/memory/sparse.rs:1541-1609 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 69 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":"vulkano/src/image/mod.rs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f566fab8e87c8c587c09ddccc5ae841fee8624d43dcbc34393862f2b9a823f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): autogen/src/features.rs:1042-1084 | autogen/src/properties.rs:1052-1097 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/features.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b915140c9c7868db3798560e19501e7468b0bfc6a1ee90d48dea276c7f7b91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): vulkano/src/memory/sparse.rs:498-552 | vulkano/src/memory/sparse.rs:967-1022 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef7dc7e2814e20481b31e0890c40787605f62951e1eb04fceacb94d6e405d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): vulkano-taskgraph/src/lib.rs:469-509 | vulkano-taskgraph/src/lib.rs:611-651 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f7775438ccd3b793dd74bfd3bad54189974d9e58350d1fbdc0d268d696cb03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:457-515 | vulkano/src/memory/allocator/suballocator/tlsf.rs:612-669 \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":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d91941d3b5021fb946096237f01e377dcb48a064e8297012c9c46d0a19617b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): vulkano-taskgraph/src/graph/execute.rs:278-324 | vulkano-taskgraph/src/graph/execute.rs:607-653 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99ef15f0653f5147b7981ef530e73fa30aa4d7a3b0c919496a3f6b475aca016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): vulkano-taskgraph/src/graph/mod.rs:890-963 | vulkano-taskgraph/src/graph/mod.rs:986-1048 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b50a3c795b35b21b1d8c867fb3ee7fb7749f66b4432d9a8209c9423ea91c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): autogen/src/spirv_parse.rs:715-779 | autogen/src/spirv_parse.rs:881-933 \u2014 These two members are one piece of code written twice and then edited apart: 53 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":"autogen/src/spirv_parse.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"51479fe7f823c18e4d9cf5c0d8b1d6fffa11b6ed574edb3000a86159b4983c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): vulkano/src/command_buffer/allocator.rs:490-547 | vulkano/src/command_buffer/allocator.rs:554-612 \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":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d5ddae41774f0f73f8f345e2529579dcb4e26943182f143058ad08e3625d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): vulkano-taskgraph/src/graph/execute.rs:1147-1184 | vulkano-taskgraph/src/graph/execute.rs:1767-1804 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1205636c7acd475d15ac283c7d821644161158e082e3fca4906621e9d1820c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): vulkano/src/command_buffer/auto/commands/render_pass.rs:192-244 | vulkano/src/command_buffer/auto/commands/render_pass.rs:306-353 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2ea27f7a4ff7e1c10bd694d8eefff8f84025817e4b74ef60eb6b97b019f890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:317-353 | vulkano/src/memory/allocator/suballocator/tlsf.rs:288-332 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"880d3c3f22c98708efd0cfd2cb4c3b6de464e1136801a54f4c48cd1e8752e761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): vulkano-taskgraph/src/command_buffer/commands/clear.rs:44-91 | vulkano-taskgraph/src/command_buffer/commands/clear.rs:121-168 \u2014 These two members are one piece of code written twice and then edited apart: 48 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5eb7095e74a36715927972c2c45d2f4978fade7db5767972f5792eca344d32c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): vulkano/src/command_buffer/auto/commands/copy.rs:1332-1376 | vulkano/src/command_buffer/commands/copy.rs:4679-4725 \u2014 These two members are one piece of code written twice and then edited apart: 45 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06b52495488998c1448ed4c4542b27b91c4f14af926c04f32bc38bb6a529ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/sync/fence.rs:1180-1180 | vulkano/src/sync/semaphore.rs:1588-1588 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/sync/fence.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f298ef9075448d3c9424363c62c2ead7971edabce73429be40da86eb6e1e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 75\u002B corresponding lines): vulkano/src/command_buffer/auto/commands/copy.rs:218-292 | vulkano/src/command_buffer/auto/commands/copy.rs:350-427 | vulkano/src/command_buffer/auto/commands/copy.rs:485-562 | vulkano/src/command_buffer/auto/commands/copy.rs:641-715 | vulkano/src/command_buffer/auto/commands/copy.rs:772-846 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 75 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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d7866816e4a245cf735e2c3cbfd777e42d08cf70ebcd4bcad675d13b13363"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): vulkano/src/buffer/mod.rs:445-484 | vulkano/src/buffer/mod.rs:508-547 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6ba2fa2816217c516726948bd82d42ceaaa60a94fb755495415952a28aeae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/display.rs:829-829 | vulkano/src/swapchain/surface.rs:2485-2485 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/display.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28fafde945af81a7f947dee578ffe291a94b3aec75b4da23ec0e51095fd907a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): vulkano/src/device/mod.rs:352-384 | vulkano/src/instance/mod.rs:423-455 \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":"vulkano/src/device/mod.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd62321ee7b28f26d1e221ded93b036734b76ab7092fdd0d3a963c6ee09a4cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): vulkano/src/command_buffer/auto/commands/copy.rs:307-344 | vulkano/src/command_buffer/auto/commands/copy.rs:442-479 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"394ece809e42a3a211e6e35c34de44f7e8dc2b519b393b0f1c6b37fd3bd3cdc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 44\u002B corresponding lines): vulkano/src/sync/fence.rs:1281-1327 | vulkano/src/sync/fence.rs:1385-1431 | vulkano/src/sync/semaphore.rs:1987-2035 | vulkano/src/sync/semaphore.rs:2208-2251 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaa5dc2b6140f8db1f21b19416f41fae77441f4de2d7057e5de07e53f8a9150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): vulkano/src/command_buffer/commands/sync.rs:1113-1146 | vulkano/src/memory/sparse.rs:78-115 \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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d278a9bc53f45366c5e9312be31e6274fa47b18c956c423fc9a2984c3899508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): vulkano/src/device/physical.rs:174-209 | vulkano/src/library.rs:188-225 \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":"vulkano/src/device/physical.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d15ce92353133acf6225216fa75d1ea675fa748636ff1ac34fc04366e2e26aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): vulkano/src/command_buffer/auto/commands/copy.rs:183-215 | vulkano/src/command_buffer/auto/commands/copy.rs:606-638 | vulkano/src/command_buffer/auto/commands/copy.rs:734-766 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"375892bdf9f9003af92721575ac3862af0186e8b1c64834f7027a93748c23ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): vulkano/src/command_buffer/allocator.rs:647-678 | vulkano/src/command_buffer/allocator.rs:685-717 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"691cb5ee09af705055a476a52f07eeb5510784d7d6444f64a6d8fa8019f852ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/descriptor_set/pool.rs:810-810 | vulkano/src/image/sampler/mod.rs:1422-1422 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/descriptor_set/pool.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8762d7a19e6a7f6e12153ffdd425235bb9089a27436691dddfccda5baa0f706"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): vulkano/src/pipeline/graphics/mod.rs:232-276 | vulkano/src/pipeline/ray_tracing.rs:156-186 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"19498796b259be892f901552e4afebf249ecd17afa364ca5102ea878ceceef58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): vulkano/src/command_buffer/auto/commands/clear.rs:55-95 | vulkano/src/command_buffer/auto/commands/clear.rs:136-176 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"vulkano/src/command_buffer/auto/commands/clear.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe81e075ca0a1325eee97a0827b501fe14f404bcd72e19c8e1dd7766fca5f89e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): vulkano/src/command_buffer/traits.rs:385-412 | vulkano/src/command_buffer/traits.rs:421-460 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9993cedcacf4b8b36a97500274997daf11126cdbe4cb1c48c056aaada838dd87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): vulkano/src/command_buffer/commands/copy.rs:5869-5906 | vulkano/src/command_buffer/commands/copy.rs:6794-6839 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5869}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92b113ea2db8a9e4f19963fa2da7fa2932f73535509fc9a7df02d0f6bc28388"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): vulkano/src/descriptor_set/allocator.rs:263-287 | vulkano/src/descriptor_set/allocator.rs:294-324 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20bf41bd404ca7f448a70672d000c74c89ddd0e478fa5ff75b6807ddb09f7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): vulkano/src/sync/future/join.rs:165-189 | vulkano/src/sync/future/join.rs:198-221 | vulkano/src/sync/future/join.rs:229-247 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 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":"vulkano/src/sync/future/join.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7107552442d3e4b48a62e81e181cba90b4e774ddddd22606a233a0ff05aa92bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/buffer/mod.rs:945-945 | vulkano/src/command_buffer/pool.rs:550-550 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"973af7d102b39a2621bf31f63e5999074772c85af93baaf6200d08ff8c2397e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): vulkano/src/image/mod.rs:187-214 | vulkano/src/image/mod.rs:231-258 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"87204021609fb46788281eeef3162c595a39a71cd3b55c3d87873904f29dc595"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/render_pass/mod.rs:4780-4780 | vulkano/src/swapchain/mod.rs:2865-2865 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":4780}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e21218367cb7751d69dbec09c36aee07cbe30cb07c79dee13106a856bb4977a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): vulkano/src/render_pass/mod.rs:3645-3694 | vulkano/src/render_pass/mod.rs:3866-3912 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3645}}}],"partialFingerprints":{"codehealthFindingId/v1":"283cbc1be2e6330a339ccaa2207c2983b37d5e404b4dcb728e52b3775797fdaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): vulkano/src/command_buffer/auto/commands/pipeline.rs:76-104 | vulkano/src/command_buffer/auto/commands/pipeline.rs:148-177 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34d793a2596f27a36250e7bdbca6983bfed37c0159ea8274e1cac45087ed5bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): vulkano/src/memory/sparse.rs:140-190 | vulkano/src/render_pass/mod.rs:1817-1857 \u2014 These two members are one piece of code written twice and then edited apart: 41 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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb85bd9c0781bed30e17c3a1b5f4152c50230c2d6e5d899484e59bb8ec73e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): vulkano/src/sync/semaphore.rs:480-508 | vulkano/src/sync/semaphore.rs:577-611 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8938bd8fe655de91d70cb5ed92006b8486965678f4367b666e667888d184a21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/image/sampler/mod.rs:1379-1379 | vulkano/src/pipeline/mod.rs:741-741 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431f7550b2789916bf733843708a4c12d4677a3668461caea068d830f559913"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): vulkano-taskgraph/src/graph/execute.rs:2629-2660 | vulkano-taskgraph/src/graph/execute.rs:2708-2741 | vulkano-taskgraph/src/graph/execute.rs:2784-2815 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b560f8e5a53749f25ba387ec62e81474ae31fdf858a9f83612725f63abd7e462"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): vulkano/src/device/mod.rs:1012-1049 | vulkano/src/device/mod.rs:1116-1159 \u2014 These two members are one piece of code written twice and then edited apart: 38 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1c39663991a3c29835c0ef04c39fca8e1c6e6fc40c8693e3d8e12ba743e42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): vulkano/src/command_buffer/commands/copy.rs:5737-5760 | vulkano/src/command_buffer/commands/copy.rs:5782-5806 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5737}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc017711e540b65511d9e513cf37a7389f5da6c2eb5c11e03cffa592d96c5923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): vulkano/src/command_buffer/commands/render_pass.rs:380-422 | vulkano/src/command_buffer/commands/render_pass.rs:488-522 | vulkano/src/command_buffer/commands/render_pass.rs:577-602 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"1115723d29344b4be6ff5d3e3e912f7d664406d9591261cc464344b2a70c0513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): vulkano/src/device/mod.rs:270-302 | vulkano/src/instance/mod.rs:348-373 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"002c10fcd8f25ab460ccda9d4fa1adec04db07f976edbe21367dcdfa986a21a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): vulkano-taskgraph/src/graph/execute.rs:948-984 | vulkano-taskgraph/src/graph/execute.rs:1568-1599 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"0314d8d2796e62f2265a29610ce25791cec02008af5934ea9a3afd604f921ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 30\u002B corresponding lines): vulkano/src/command_buffer/auto/commands/pipeline.rs:472-502 | vulkano/src/command_buffer/auto/commands/pipeline.rs:604-637 | vulkano/src/command_buffer/auto/commands/pipeline.rs:971-1002 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1118-1152 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1424-1453 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1564-1596 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2e9134ba37752a9ebe0ed71ced4d242af27fd293c8b3a055f3edea0c7628d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): vulkano/src/sync/event.rs:140-170 | vulkano/src/sync/fence.rs:142-173 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/event.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"44df6168adfa3368cd3ac6ad25a2954b7fc0a08465ce188b9abd0f8778d37056"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): vulkano/src/buffer/mod.rs:945-945 | vulkano/src/command_buffer/pool.rs:550-550 | vulkano/src/device/mod.rs:2503-2503 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ede9bf37aa9f561b115d85631236cf0f4edfb6e5c93ee81899dad30ec2f75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): vulkano/src/command_buffer/auto/builder.rs:823-856 | vulkano/src/command_buffer/auto/builder.rs:865-907 \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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8d0c2669eb67ad758dcd4730675f5ae0785ee89687961364a8617161106bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): vulkano-util/src/window.rs:243-269 | vulkano-util/src/window.rs:271-287 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-util/src/window.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3426be42ad1688ead1527c6f43ff99ea30a40ba4f083f7369009a8d8c005aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): vulkano/src/buffer/allocator.rs:58-92 | vulkano/src/buffer/allocator.rs:487-524 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/allocator.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc7e4565034ba5961b437153c081c6305db2b94da8ab8b13e8c546a20eba362"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): vulkano/src/cache.rs:135-159 | vulkano/src/cache.rs:168-192 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/cache.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f15d61a57ae9078ad210482749cb87ceca60840ea3ffb13ac8008751de1a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): vulkano/src/lib.rs:567-591 | vulkano/src/lib.rs:595-621 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/lib.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1246319c4c4e9564f9a0798419701a46d641eca9f0aa45d7cadf5cdf7db560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): vulkano/src/command_buffer/commands/render_pass.rs:449-481 | vulkano/src/command_buffer/commands/render_pass.rs:543-571 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14b878c9bbb95da60e61218fb9d88fcc86e09470789e2a34126edb4f06f38d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): vulkano/src/command_buffer/commands/sync.rs:470-508 | vulkano/src/command_buffer/commands/sync.rs:1020-1042 \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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"195f1c5230a67e04584e56fd16171bbb7f61f8ff91a02e9968f611a8307ceb8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): vulkano/src/shader/reflect.rs:1182-1199 | vulkano/src/shader/reflect.rs:1201-1218 \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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4c580e8156ba0961738d47e23aa4a41d66cfa2647b6c6e2b817545a0f8a0b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano-shaders/src/lib.rs:1153-1173 | vulkano-shaders/src/lib.rs:1531-1550 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5d49c73d0a77f10fa58c244a9e5b0390e891c14de08d01861ae76dd6e92230"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): vulkano/src/command_buffer/auto/commands/pipeline.rs:366-390 | vulkano/src/command_buffer/auto/commands/pipeline.rs:843-874 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabd82780fd00e1438fbf65905c25151c960a152dbdf2615aaba717ef0c6dcee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): vulkano/src/pipeline/mod.rs:266-292 | vulkano/src/pipeline/mod.rs:407-437 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a9d9c32d3b1eeab906436105700545709822e4f9b94a0af7f1024c7aa03157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): vulkano/src/pipeline/shader/inout_interface.rs:592-614 | vulkano/src/pipeline/shader/inout_interface.rs:616-639 \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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2614b840d2074393788e4c6f6308ddcad12fb95fd59587f8d6b23b15301e933"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): vulkano/src/sync/semaphore.rs:1068-1103 | vulkano/src/sync/semaphore.rs:1178-1217 | vulkano/src/sync/semaphore.rs:1291-1314 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 24 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":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f23abde5604e37f3de78b699bcd6fdb7f9a0db2019ddce39f831fab85a277a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 40\u002B corresponding lines): vulkano/src/device/physical.rs:1118-1157 | vulkano/src/device/physical.rs:1236-1275 | vulkano/src/device/physical.rs:1354-1394 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 40 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":"vulkano/src/device/physical.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebd790346eba19a4237bbff950ccdc8ffbc9eb67e932cd27376897bd41e4068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano/src/command_buffer/allocator.rs:293-314 | vulkano/src/command_buffer/allocator.rs:321-346 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a412c564ebfba8fadd8dee47bd143cff7ad45b9f15567e9d3dac8ea77771d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): vulkano/src/device/private_data.rs:201-227 | vulkano/src/device/private_data.rs:232-259 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/private_data.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f7c7cafa0c8a6c399f7ac7bf136a0733b25ec455a648645de9246ecdf2cd76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano/src/acceleration_structure.rs:169-195 | vulkano/src/device/mod.rs:888-909 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9757fcebb2c47f22272e150decb7e7d0867777e296994673caa3fc0e31890f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): vulkano/src/buffer/mod.rs:800-817 | vulkano/src/image/mod.rs:815-832 \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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"813bf7817101645f9474ba13004ae35d8d54c9e55a7d166cc7fb9f6e1e2aaf60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): vulkano/src/image/sys.rs:132-154 | vulkano/src/pipeline/compute.rs:108-134 | vulkano/src/sync/fence.rs:111-133 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e0cad4e0e41f4ec875ecc5bab503e28c6adf796a6feb6fe4cb863648f862d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): vulkano/src/display.rs:402-426 | vulkano/src/render_pass/framebuffer.rs:268-292 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/display.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb8f35eeea54b709b5ea8ce8cc47c9d0f928b5510ab2d6bf913362d438a5637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:107-132 | vulkano/src/memory/allocator/suballocator/tlsf.rs:138-160 \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":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f695ac95843ebdc710a40dce5cbc5a962e39bdd7b21f9484101134289706fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): vulkano/src/command_buffer/commands/sync.rs:2521-2550 | vulkano/src/command_buffer/commands/sync.rs:2552-2579 | vulkano/src/command_buffer/commands/sync.rs:3664-3695 | vulkano/src/command_buffer/commands/sync.rs:3697-3726 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fbb1f4d742eb4348faf6d6ab3150ffb9195fc111472afc946bc81e145fca03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): vulkano-taskgraph/src/collector.rs:302-328 | vulkano-taskgraph/src/collector.rs:352-378 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/collector.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fc6d8df3a73b7a1037ad2e0da20b78794eb8cbf9716955409bf7f06ecb12de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano/src/command_buffer/auto/commands/render_pass.rs:1428-1447 | vulkano/src/format.rs:447-466 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62f2ba2bc2cefbb5d3a82145d7f45da5f7138b7edaba5599d4dae47882e6e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): vulkano-shaders/src/lib.rs:1367-1389 | vulkano-shaders/src/lib.rs:1391-1413 \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":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d03f2e83dc4aff136fd36c0e6dbed0e8e8058e049950c4f4796ee8c916172e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): vulkano/src/shader/reflect.rs:1251-1277 | vulkano/src/shader/reflect.rs:1282-1305 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"318228d9f128ffe45b7bfa89f1dbe753f6acc4517ad769d91cecfd4aad71873f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano/src/buffer/mod.rs:917-936 | vulkano/src/image/mod.rs:967-986 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"454be10d555d5b891e2c4ad4619c330160497876d99f1f2afa628ef3182e7449"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): vulkano/src/command_buffer/commands/render_pass.rs:1057-1082 | vulkano/src/command_buffer/commands/render_pass.rs:1967-2002 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"5526155ee37b80f5fcc7b862a7716296b64e13f09b6524cfa9ad0ac8f297169c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): vulkano/src/device/mod.rs:1771-1807 | vulkano/src/device/physical.rs:3469-3505 | vulkano/src/instance/mod.rs:927-957 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 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":"vulkano/src/device/mod.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"a071c5590601f66df9a4c6f668589b7dc1e61c8ec3587ecf2b4c89c9e0900205"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano/src/command_buffer/auto/commands/clear.rs:30-49 | vulkano/src/command_buffer/auto/commands/clear.rs:110-130 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/clear.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0146b7d99a03ec6526f0eb7b4a0a4c956cc75eddb4753f5e0bcf363c97d63218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): vulkano/src/acceleration_structure.rs:1678-1709 | vulkano/src/acceleration_structure.rs:1763-1797 | vulkano/src/pipeline/graphics/discard_rectangle.rs:56-83 | vulkano/src/pipeline/graphics/rasterization.rs:708-736 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"959d2fe5f84dcc0d8623b95e902dfa0c8d2b582ea69dd493be50edb6005b66fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): vulkano/src/instance/debug.rs:120-144 | vulkano/src/shader/mod.rs:535-555 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/debug.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea331b214deaca2a50cec1f86bebe65eba274e78ad82fb6595a7d8b9c7f2a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): vulkano/src/memory/mod.rs:1089-1105 | vulkano/src/memory/mod.rs:1111-1129 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e5db0189b1013ce74872f3eb3b128e7b4fd3833d6a739285f398901fef992a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano-shaders/src/lib.rs:1465-1487 | vulkano-shaders/src/lib.rs:1508-1529 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c82335802ff84029b10e655517ff6abf0da07e45f438a9d12d6cf3b5515149d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 22\u002B corresponding lines): vulkano/src/memory/device_memory.rs:984-1006 | vulkano/src/sync/fence.rs:628-650 | vulkano/src/sync/fence.rs:758-779 | vulkano/src/sync/semaphore.rs:722-744 | vulkano/src/sync/semaphore.rs:863-885 | vulkano/src/sync/semaphore.rs:988-1010 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6e5c96a1cb4887a7268f4c5e04d968d0c9fe7aebced006526808e7f193199f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano/src/command_buffer/auto/commands/clear.rs:222-248 | vulkano/src/command_buffer/auto/commands/clear.rs:296-317 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/clear.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5f11e38a5bf94a50ce40bdbc69ed086cd89250dee6a34131e5bcbbdbc2d8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano/src/buffer/allocator.rs:94-113 | vulkano/src/buffer/allocator.rs:698-717 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/allocator.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8562aff50af37d2e5b1aa72cac3f0032f9e13e518b2f45ece4c1599137e3594f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): vulkano/src/descriptor_set/allocator.rs:520-534 | vulkano/src/descriptor_set/allocator.rs:540-555 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f7c01d1e04d30a0f98ae54353c951a1f4c44fd8cdb1c8779cdd52c274ede95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): vulkano/src/memory/allocator/mod.rs:1199-1224 | vulkano/src/memory/allocator/mod.rs:1233-1262 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"2954bfc2d1f447e41470abdfde2d97e31ff81cc60450ec8f785ff8b1f0d92de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): autogen/src/features.rs:658-684 | autogen/src/properties.rs:606-632 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/features.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa8ef89b8f9ef715e5b9a23321fe55633b86f29264626c9edae7ab040563020"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano/src/memory/allocator/suballocator/buddy.rs:862-881 | vulkano/src/memory/allocator/suballocator/buddy.rs:901-920 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/buddy.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3b5c2f90f423b41b7017aca66cc5a78908ce115196986b5c7ac2954f5db15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): vulkano-taskgraph/src/descriptor_set.rs:522-538 | vulkano-taskgraph/src/descriptor_set.rs:579-601 | vulkano-taskgraph/src/descriptor_set.rs:608-631 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"47168d1e45c0a2b5857bec615b522b75113278617c14a801877390e5401bb205"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): vulkano/src/command_buffer/commands/clear.rs:33-53 | vulkano/src/command_buffer/commands/copy.rs:36-56 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2207836cb3354c18928c13a63fda80afcf431ae92b4a3997685628fca9f445e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): vulkano/src/command_buffer/commands/sync.rs:1169-1193 | vulkano/src/memory/sparse.rs:192-222 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"12109db4d7e12e62a8fc637f47b461281d7dbebb976fceeb2803f712345eff12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): vulkano/src/image/mod.rs:866-882 | vulkano/src/image/mod.rs:914-933 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ab72ad569529326908ae06fc03d254918d113ebaaff9ec14c8182df2bfdd0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano/src/memory/sparse.rs:554-575 | vulkano/src/memory/sparse.rs:1024-1050 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a58b19569525d75e5b8242c0e75201d0a798d20ffb9246c2e6353cabaee2f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/descriptor_set/layout.rs:32-32 | vulkano/src/render_pass/mod.rs:121-121 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d160d14cd197f4b005c881389360f7d8b3cf7cc34707812e7fbabf350b2c647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano/src/command_buffer/mod.rs:901-924 | vulkano/src/pipeline/graphics/subpass.rs:317-338 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"abffe0bc6a6b8494cc643f6d80429b8c76767dc6b01c452d887bd54dbda9aa75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): vulkano/src/command_buffer/pool.rs:409-423 | vulkano/src/device/mod.rs:989-1006 | vulkano/src/device/physical.rs:1090-1111 | vulkano/src/device/physical.rs:1208-1229 | vulkano/src/device/physical.rs:1326-1347 | vulkano/src/instance/mod.rs:770-784 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/pool.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0649407563cf88d7f3d453aa5b18bacf19f137d5c631be33ca05c1cb37fc12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): vulkano/src/device/mod.rs:1094-1110 | vulkano/src/device/physical.rs:2698-2710 \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":"vulkano/src/device/mod.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4d82c841078c92d8b8b57c93e76bcd6e08f6e9acef0e0ff4f3ddac98e982d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): autogen/src/extensions.rs:61-84 | autogen/src/features.rs:110-134 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/extensions.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d2a0b581f84d427d6308f0f2b211fee9ddf9a02b15d8d08a107a91f3dd4851"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): vulkano-taskgraph/src/graph/compile.rs:883-901 | vulkano-taskgraph/src/graph/compile.rs:908-922 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6b6ffc93fd423d2362dea82d210e0f8e548644580de438bcd443fa128f6e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): vulkano/src/buffer/mod.rs:828-843 | vulkano/src/image/mod.rs:845-860 \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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ecd4324131f6125505954112f59f07a3914881009a4ef04ce7dd1e5e1bef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): vulkano/src/buffer/mod.rs:856-867 | vulkano/src/image/mod.rs:884-895 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0404cae22b1f8c9dc341b5b982cb64f55879c9418cf0efa9c7929df12669970d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): vulkano/src/command_buffer/commands/clear.rs:100-120 | vulkano/src/command_buffer/commands/copy.rs:1025-1045 | vulkano/src/command_buffer/commands/copy.rs:1113-1133 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"406a0860194032284692f0dfd0c9287eb8dddb1e9049d09de131e710fbb1d2ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): vulkano/src/swapchain/acquire_present.rs:1047-1063 | vulkano/src/sync/semaphore.rs:1909-1928 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08e1e40a3f39f5ae2c14e2511543e1ddd6cc8eb8741e43764403fe4fc66461b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): vulkano/src/sync/fence.rs:837-852 | vulkano/src/sync/fence.rs:925-940 \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":"vulkano/src/sync/fence.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9f8a0308a44c277bf06e42796640c1ecb8f3a347bdc0a8789f3443e495de22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): vulkano/src/command_buffer/commands/copy.rs:5908-5953 | vulkano/src/command_buffer/commands/copy.rs:5955-6001 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5908}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a398cadd8fe735325ca89599006e8db14811b91b9cce4373aa5543ce592778e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): vulkano/src/memory/device_memory.rs:723-738 | vulkano/src/memory/device_memory.rs:2493-2513 | vulkano/src/memory/device_memory.rs:2549-2569 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9992d7ddbb0aceae0397d97f7d4ebecd92e8c39e3ee66840897f45c73765e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): vulkano-taskgraph/src/graph/execute.rs:1510-1521 | vulkano-taskgraph/src/graph/execute.rs:2145-2156 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"0706878d8ef767559d4c2ccb98252869d4eb749d6ca04b82bbc4a95de6b39eb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): vulkano/src/command_buffer/commands/clear.rs:59-76 | vulkano/src/command_buffer/commands/clear.rs:126-143 \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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9983b42f3659bd7f5195a73ea8bd170404b9a17b8e39f4d29d74ffb4c504f99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): vulkano/src/command_buffer/pool.rs:426-446 | vulkano/src/device/private_data.rs:264-280 | vulkano/src/query.rs:443-466 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/pool.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40137dc264c5080646a1de000ecbc494013da5e06ec1a9a45fd388f251ca2e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 1\u002B corresponding lines): vulkano/src/image/mod.rs:2399-2399 | vulkano/src/image/mod.rs:2411-2411 | vulkano/src/pipeline/graphics/color_blend.rs:501-501 | vulkano/src/pipeline/graphics/discard_rectangle.rs:133-133 | vulkano/src/pipeline/graphics/subpass.rs:368-368 | vulkano/src/pipeline/graphics/viewport.rs:257-257 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf51a95010d147fa9ecf2e54a5b1a3288b7998c47c480b9db686e2bd1369604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): vulkano-taskgraph/src/graph/mod.rs:427-439 | vulkano-taskgraph/src/graph/mod.rs:444-456 | vulkano-taskgraph/src/graph/mod.rs:461-472 \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":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3484b15d54c9d82779b1771bfa7bda66fdd40b95121da99a96859a0c15243e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): vulkano/src/command_buffer/pool.rs:352-365 | vulkano/src/descriptor_set/pool.rs:516-533 | vulkano/src/pipeline/cache.rs:348-365 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/pool.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae1db7fc8ebe8f9f3483eec82325c820d1cc58acd16b3b9e5c688d4fb75b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/memory/mod.rs:304-316 | vulkano/src/memory/mod.rs:323-333 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"45db606af1aed1bec128e5d3b14a53c770a1f09467d75b04506a325bbe5baefa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): vulkano/src/command_buffer/commands/copy.rs:1356-1374 | vulkano/src/command_buffer/commands/copy.rs:1390-1409 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d732fcbed3964e4488e0ad60595010de2440e66194044a77482705fce24b8c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): vulkano/src/device/private_data.rs:73-89 | vulkano/src/image/sampler/ycbcr.rs:186-202 | vulkano/src/instance/debug.rs:99-114 | vulkano/src/sync/event.rs:88-105 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/private_data.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8168e8bd7f1682476d53d169308148a84500d9aa316b20fbda6bc0c574d919"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): vulkano/src/command_buffer/auto/commands/pipeline.rs:107-122 | vulkano/src/command_buffer/auto/commands/pipeline.rs:183-204 \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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16cfcf6322cb65bc4e0b6c328439d1b4ba6025de7a75b1147b796206725bb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): vulkano/src/sync/fence.rs:1225-1225 | vulkano/src/sync/semaphore.rs:1931-1931 \u2014 These two members are one piece of code written twice and then edited apart: 1 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":"vulkano/src/sync/fence.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f6f22a0f1ef1384d1092303b32283ef6cf62a87ec22732b09ad41f341e8690"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): vulkano-taskgraph/src/collector.rs:108-124 | vulkano-taskgraph/src/collector.rs:134-153 | vulkano-taskgraph/src/collector.rs:163-182 | vulkano-taskgraph/src/collector.rs:192-211 | vulkano-taskgraph/src/collector.rs:221-240 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/collector.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cfcd3dcf3f672cc0c85753d6d989b8f68fb7baf50e60a6141b83b7faebd642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): vulkano-taskgraph/src/slotmap.rs:408-423 | vulkano-taskgraph/src/slotmap.rs:428-443 | vulkano-taskgraph/src/slotmap.rs:457-472 | vulkano-taskgraph/src/slotmap.rs:477-492 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/slotmap.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a0d4618bd110ea0d4e7eb881ddf3621584fa24ae0554334161187810d1ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): vulkano/src/range_map.rs:373-384 | vulkano/src/range_map.rs:390-401 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/range_map.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4509e3d700457ca23a4897c562d064007d6905ca3f8f71517598aeeb7ad869"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): vulkano/src/sync/event.rs:345-353 | vulkano/src/sync/fence.rs:986-994 | vulkano/src/sync/semaphore.rs:1337-1345 \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":"vulkano/src/sync/event.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c77df2f29bfe7f98eab7b721fc0e59974997899f1a21bc7c39db2626c7f6d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): autogen/src/features.rs:1150-1165 | autogen/src/features.rs:1167-1182 \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":"autogen/src/features.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9626c4bb7dfb145a7d4bd8ec89c7e6a25fd1473dd8cc56948842802b62932844"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): vulkano/src/image/sampler/mod.rs:1167-1191 | vulkano/src/image/view.rs:1181-1200 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b7a36b6841e95b0a3df89ffcee8b42c6ba6fe00272c7f8d8bc9fd61a4e1c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): vulkano/src/memory/allocator/layout.rs:265-273 | vulkano/src/memory/allocator/layout.rs:280-290 \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":"vulkano/src/memory/allocator/layout.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead2f1691a2e463a66a9b92aa6d4dc842540a015cb23e6dbcc0939b702e7e1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): vulkano/src/buffer/mod.rs:774-786 | vulkano/src/buffer/mod.rs:788-798 | vulkano/src/image/mod.rs:787-799 | vulkano/src/image/mod.rs:802-812 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15ef7e6c864e231c9c562d1bf147a11f687b2ab9b9841afcc5ed9da18b1759e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): vulkano-taskgraph/src/graph/execute.rs:2676-2693 | vulkano-taskgraph/src/graph/execute.rs:2753-2770 | vulkano-taskgraph/src/graph/execute.rs:2831-2848 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebe80206b129a1aa85ec920d05d976df01361db374d2687395355f410e3dd98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): vulkano/src/deferred.rs:110-125 | vulkano/src/deferred.rs:128-140 | vulkano/src/sync/event.rs:233-241 | vulkano/src/sync/fence.rs:249-257 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/deferred.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb95bdb55864c9451609c069c33f2341b59673d3935254bcf743a94938f4b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): vulkano/src/buffer/subbuffer.rs:509-517 | vulkano/src/buffer/subbuffer.rs:520-528 \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":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bba16a24f08d4537d7adec96a7049ca548cf3beb1a121d5b361f767d5922502"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/sync/future/fence_signal.rs:133-143 | vulkano/src/sync/future/fence_signal.rs:359-370 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"530c2a7856b5953987f8a4a8bd2cf43d34b81ed630870656aea5328cd8ce94c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): vulkano-taskgraph/src/descriptor_set.rs:745-758 | vulkano-taskgraph/src/descriptor_set.rs:761-773 | vulkano-taskgraph/src/descriptor_set.rs:776-788 | vulkano-taskgraph/src/descriptor_set.rs:791-803 | vulkano-taskgraph/src/descriptor_set.rs:809-821 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60fe0f13f4d94bdb74d29de2bc03540cf232b81c09b0706cc3a92bf753e90d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): vulkano-taskgraph/src/graph/mod.rs:370-386 | vulkano-taskgraph/src/graph/mod.rs:388-404 | vulkano-taskgraph/src/graph/mod.rs:406-422 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18c25e230fda8e6e2cf46e45a08d95d2c507848e44f3606035a18fba0741e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): vulkano-taskgraph/src/command_buffer/commands/clear.rs:196-220 | vulkano-taskgraph/src/command_buffer/commands/clear.rs:273-293 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d9b3ed6cf35bc9da1e85b4b8b065630a8cdeb46f0356811d6787063254403a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): vulkano/src/buffer/sys.rs:306-313 | vulkano/src/image/sys.rs:574-581 \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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"631c2f219c52fd754c7e52223db3576e118c1647e3534c4b6f4bc90abee690f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): vulkano/src/command_buffer/auto/commands/render_pass.rs:1511-1533 | vulkano/src/pipeline/graphics/viewport.rs:518-531 | vulkano/src/swapchain/acquire_present.rs:1005-1023 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29c6794f2e1d95cf3fb8d98dd43442571d8716038935cfa3226b240e7eeeeb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/device/physical.rs:159-169 | vulkano/src/render_pass/mod.rs:464-478 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"b136441ea5c564bf3c0e3c7b29d2f7c46e69174c8f6e0fae476f56b26fd9176b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:440-448 | vulkano/src/memory/allocator/suballocator/free_list.rs:524-538 \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":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a60f3054bcfc92d2c1390bac518995963a2be5ec161731b90467b332962e603"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): vulkano/src/pipeline/layout.rs:1089-1106 | vulkano/src/pipeline/ray_tracing.rs:755-774 \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":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0da3eaf10c638fa6703c2a7d7ccb138e97877052e770a56689b8b9c8f622817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): vulkano/src/acceleration_structure.rs:481-498 | vulkano/src/image/mod.rs:2792-2808 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b41fe93d3837eeb1963c35ec9947dd2edc88772b2cf745619a689ced1704697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): vulkano/src/device/mod.rs:1498-1514 | vulkano/src/device/mod.rs:1608-1627 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d2681ddf00af7c59dc1cae032eb06606bb50831d4ba3da3df98151ce5a6959"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/pipeline/mod.rs:598-613 | vulkano/src/pipeline/mod.rs:633-643 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5eef7ba77cc73269779b38b7977cb6bb2e737f9d104f7223bec150ccb23ed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): autogen/src/features.rs:981-1001 | autogen/src/features.rs:1271-1290 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/features.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d1601a3bae38c3d8c09425ccb2a6c3b6b31eabc441d4f8c533026117ffd63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): vulkano-taskgraph/src/graph/execute.rs:1123-1137 | vulkano-taskgraph/src/graph/execute.rs:1395-1407 | vulkano-taskgraph/src/graph/execute.rs:1409-1418 | vulkano-taskgraph/src/graph/execute.rs:1424-1436 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e281c068fb459d77b3d1cc3463fc6835cce640b838024ad99c06cd5e0dfbfe7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): vulkano-taskgraph/src/graph/execute.rs:2889-2900 | vulkano-taskgraph/src/graph/execute.rs:2909-2920 | vulkano-taskgraph/src/graph/execute.rs:2932-2943 \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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa90c6ecfb03158617eefbfb09f7d6f63a91f9852964e4460787be053cd72d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): vulkano-taskgraph/src/lib.rs:276-287 | vulkano-taskgraph/src/lib.rs:311-324 | vulkano-taskgraph/src/lib.rs:343-354 \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":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd3e4e1ff337045b855c35433a3d0afe95d2b674c5b9e3e39bad98ce2f6ec6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): vulkano/src/acceleration_structure.rs:234-255 | vulkano/src/image/sampler/ycbcr.rs:248-272 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6884c6957a4b8628fb31505eab4cc90fbefdb96f76b3d4eec6d9479b7dc722"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): vulkano/src/command_buffer/commands/copy.rs:2918-2934 | vulkano/src/command_buffer/commands/copy.rs:5762-5780 | vulkano/src/command_buffer/commands/copy.rs:6683-6699 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"537d8aec6a5f84040d28f44ab790f30ee2cf3d12ba566a8af55e69d335903eb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): vulkano/src/command_buffer/traits.rs:487-498 | vulkano/src/sync/future/semaphore_signal.rs:238-247 \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acc3af93b6c1533cb849283b2dbafcd71e29aa8e082fc9ee255206241b11192"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): autogen/src/features.rs:10-22 | autogen/src/properties.rs:15-27 \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":"autogen/src/features.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3292090abf0ff18491fc1b4f3c896ffd59ad5cf5d86206e663754f1c6a6780ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): vulkano/src/memory/mod.rs:1016-1033 | vulkano/src/sync/fence.rs:1541-1557 | vulkano/src/sync/semaphore.rs:2447-2463 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e5633d99be922f3d2d59d07d04f45584c99282e3921c9d71564dc3eac6f08d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): vulkano/src/swapchain/mod.rs:1686-1699 | vulkano/src/sync/fence.rs:858-867 | vulkano/src/sync/fence.rs:946-960 | vulkano/src/sync/semaphore.rs:1109-1120 | vulkano/src/sync/semaphore.rs:1223-1235 | vulkano/src/sync/semaphore.rs:1320-1332 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"989162b423986be6bf702d7eada5075b6bc74a54b68cf131c48fc6688db834de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): vulkano-taskgraph/src/resource/state.rs:290-303 | vulkano-taskgraph/src/resource/state.rs:316-329 | vulkano-taskgraph/src/resource/state.rs:342-355 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6980d9718cf0806774483847d32cc9920abc5cb9117d3e826d9facc6614e0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): vulkano/src/command_buffer/commands/copy.rs:2868-2884 | vulkano/src/command_buffer/commands/copy.rs:3812-3826 | vulkano/src/command_buffer/commands/copy.rs:4527-4541 | vulkano/src/command_buffer/commands/copy.rs:5717-5735 | vulkano/src/command_buffer/commands/copy.rs:6633-6649 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2868}}}],"partialFingerprints":{"codehealthFindingId/v1":"604f71f2a6ca7f41cf60a8ceae9cb0ac40221212eba5c70cdb7f6b87fafe7ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:603-617 | vulkano/src/memory/allocator/suballocator/free_list.rs:632-646 | vulkano/src/memory/allocator/suballocator/tlsf.rs:1048-1062 | vulkano/src/memory/allocator/suballocator/tlsf.rs:1082-1096 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cfa460fd41593af78c01e40258a32ab429630c4bcc784eb9a6c33e6219171d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): vulkano/src/memory/device_memory.rs:2598-2604 | vulkano/src/memory/device_memory.rs:2638-2649 \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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":2598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68814fef89e338e14ba9b967f00fc3925eb1a18467d1420004078dceab61010"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): vulkano/src/command_buffer/commands/sync.rs:1889-1901 | vulkano/src/sync/pipeline.rs:1906-1918 \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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"587425b41cc0028479154b8643c0b21fd77052c19f7b49dcc6e5d861d4d34c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): vulkano/src/swapchain/mod.rs:2752-2765 | vulkano/src/image/sys.rs:3220-3238 \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":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"11853f31ee04a41dbf8eb75be8767934a16f0b8bc58815d6e39be2bf891739e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): vulkano/src/command_buffer/auto/commands/copy.rs:876-890 | vulkano/src/command_buffer/auto/commands/copy.rs:1187-1201 | vulkano/src/command_buffer/auto/commands/copy.rs:1245-1259 \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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd8b2099025e682933e90409cdbb63b8ac93d0afd82ddfd93d6a01ad547f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): vulkano/src/buffer/view.rs:517-531 | vulkano/src/sync/fence.rs:1329-1342 | vulkano/src/sync/semaphore.rs:2040-2053 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/view.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2eb3fab6f7b14bebbab7a461a900f785dbcc902196c72d6f962f83b2b75dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): vulkano/src/command_buffer/auto/commands/render_pass.rs:1200-1212 | vulkano/src/command_buffer/commands/render_pass.rs:1271-1283 \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1172fa54286e25534fd83d29d657fa4ad2e26e59ebe86307db65a347fac337e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 7\u002B corresponding lines): vulkano/src/swapchain/mod.rs:1896-1911 | vulkano/src/swapchain/mod.rs:1968-1983 | vulkano/src/sync/event.rs:277-283 | vulkano/src/sync/fence.rs:449-456 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbebc9c3ba86735478e10be2d1aa00911ea068fa002b8df3e34139a515292910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): vulkano/src/pipeline/compute.rs:92-101 | vulkano/src/pipeline/ray_tracing.rs:139-149 \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":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0a3696c49e1a0193eae7005d2d0403ab89b4370aae07c1ba60f66809d00891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): vulkano/src/command_buffer/commands/render_pass.rs:1131-1140 | vulkano/src/sync/event.rs:402-411 \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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce571b7ef5f70f9e7eb2a8dd7377c0ca52cc424a21b7eb6093439e15152395c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): vulkano/src/descriptor_set/mod.rs:205-223 | vulkano/src/descriptor_set/mod.rs:254-272 | vulkano/src/descriptor_set/sys.rs:194-203 \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":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8399a58a51d0b839fb5b38f6e45677fc3a5077c4b01a1836221cc054860b307a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): vulkano/src/buffer/sys.rs:991-1003 | vulkano/src/sync/fence.rs:1152-1163 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e40c316fbddc00d0f7d6bad7f3c2e359f90ebb465e7c45732eb77b5ca61c48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): vulkano/src/pipeline/cache.rs:433-446 | vulkano/src/pipeline/graphics/depth_stencil.rs:298-310 \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":"vulkano/src/pipeline/cache.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"698077c461a745972752174c59ab63517b7e16af3efbc251a806b73c6b740818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): vulkano/src/sync/fence.rs:186-203 | vulkano/src/sync/semaphore.rs:210-228 \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":"vulkano/src/sync/fence.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6935f4c70d10ca93b2706af219ba89661b60581f29fb8d09fd237e6e76c6df04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/memory/allocator/suballocator/free_list.rs:547-557 | vulkano/src/memory/allocator/suballocator/tlsf.rs:717-727 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"21782182bc8b1b9025c1dbb3dfc91b98624791e04d906d11f6fc649011a5f5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): vulkano/src/buffer/view.rs:433-438 | vulkano/src/render_pass/framebuffer.rs:380-383 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/view.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ef1925e6416dcf62c6d24fc195106592ff518208e46a8ef28ed22664b3815e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): vulkano/src/command_buffer/commands/clear.rs:580-594 | vulkano/src/command_buffer/commands/copy.rs:4567-4581 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5461b9ba4fea87cab250f49d25d59803b7f51cb5c16938a2574a0a0a070bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): vulkano/src/pipeline/graphics/color_blend.rs:446-458 | vulkano/src/pipeline/graphics/vertex_input/mod.rs:485-498 \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":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9610ebdb09b569df1d88a6ca4f4d6907b196a70dd900a290d5a9cfd8802f647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): autogen/src/errors.rs:6-15 | autogen/src/formats.rs:11-24 \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":"autogen/src/errors.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"835fd3980daca720b769254d6a1590e4363f02ffedcaddaf307717d2c4fddfc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/command_buffer/mod.rs:926-940 | vulkano/src/pipeline/graphics/subpass.rs:340-350 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"9921f79e22a3262b104dbfee1a5cecd12444bebeb49ba41eadeeaa98c500e9b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): vulkano/src/memory/sparse.rs:438-448 | vulkano/src/pipeline/graphics/discard_rectangle.rs:104-116 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c745f1b946e4a33af85cae8232d3e6e50039e1a920f2262524c694392fcadb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): vulkano/src/pipeline/compute.rs:237-240 | vulkano/src/pipeline/graphics/mod.rs:642-645 | vulkano/src/pipeline/ray_tracing.rs:432-437 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1ac7cecbba4c04e0d57a1936e91c126b24e3eb61e47769a6f7965ec77f4a43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): vulkano/src/query.rs:201-206 | vulkano/src/swapchain/surface.rs:151-156 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/query.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4b1e8017d9be37628b79a7d43ac27411fb0b3e92cb956dc97a262dd47f10bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): vulkano/src/command_buffer/auto/commands/clear.rs:353-363 | vulkano/src/command_buffer/commands/clear.rs:409-417 \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":"vulkano/src/command_buffer/auto/commands/clear.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58ae8a5deb86286314d434dec0c7fb2abf767d9d9df06a840446f6ca2f2b4dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): vulkano-taskgraph/src/command_buffer/commands/clear.rs:379-390 | vulkano/src/command_buffer/commands/clear.rs:648-659 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a3a3a5fd374f3e018f055542e9a0f19bd9e49e00eabd22d8d8a5a55aab9461"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): vulkano/src/buffer/allocator.rs:227-238 | vulkano/src/memory/allocator/mod.rs:2235-2244 \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":"vulkano/src/buffer/allocator.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abe44fdb0735282ad4cf611d79a3b12cb4a8cd1dfbf4868199e80573d4aefb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): vulkano/src/command_buffer/sys.rs:247-250 | vulkano/src/descriptor_set/sys.rs:288-291 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/sys.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ee41be14ec8e4565556323633847ffe2bd9022e2b85af0b4f51f5166efebe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): vulkano/src/pipeline/graphics/mod.rs:2717-2725 | vulkano/src/pipeline/ray_tracing.rs:776-782 \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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb1f5f9c46cb99e0a5d38e243df2cb57a02233536cbaf7181a995faf45004c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (92 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:411-502 | vulkano-taskgraph/src/graph/execute.rs:514-605 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/graph/execute.rs:411\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0a022353c015f03f18b8547fc9b5105b4f81943320181085260994b54952d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): vulkano/src/command_buffer/auto/builder.rs:331-394 | vulkano/src/command_buffer/auto/builder.rs:400-463 \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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e558dd1b3f017bb27f9c4205d72001010dcdc4c8debb492d7c4a48b4112974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:1018-1075 | vulkano/src/descriptor_set/update.rs:1114-1171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/descriptor_set/update.rs:1018\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"8060161b4690be93cd1f02850b24bd399472d87b0f14e2b51a61da164a537158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1258-1313 | vulkano-taskgraph/src/graph/execute.rs:1881-1936 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc121549ee4ba2b9e2571434c15fe3fddafb3ca7ee8e132ca1ed7e8dee1bb784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:503-557 | vulkano/src/command_buffer/commands/copy.rs:788-842 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:503\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd18f12c12ba15d1699b8c15479abd573e079ad7f3989c80cf75341d6eb1a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): vulkano/src/memory/allocator/suballocator/free_list.rs:463-515 | vulkano/src/memory/allocator/suballocator/tlsf.rs:617-669 \u2014 before extracting anything, compare \u0060vulkano/src/memory/allocator/suballocator/free_list.rs\u0060 and \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060vulkano/src/memory/allocator/suballocator/free_list.rs:463\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, \u0060vulkano/src/memory/allocator/suballocator/free_list.rs:461\u0060 calls \u0060contains\u0060 and \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs:615\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcad677e9d615f6f5e72b687951d04b9f77862aa31674b82b34c214e7e71505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): vulkano/src/memory/sparse.rs:503-552 | vulkano/src/memory/sparse.rs:973-1022 \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 \u0060vulkano/src/memory/sparse.rs:503\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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"048ed18ec1354be0cdbda7daebd837363953590cb5556f9812b8b13af0b14c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1376-1431 | vulkano/src/command_buffer/commands/sync.rs:1934-1989 | vulkano/src/command_buffer/commands/sync.rs:2687-2742 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c814d0ff66979bb4cb094b4aafd8f4a02875147c4450f95faea2d55912a27ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): vulkano/src/device/physical.rs:1918-1959 | vulkano/src/device/physical.rs:2126-2167 \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 \u0060vulkano/src/device/physical.rs:1918\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":"vulkano/src/device/physical.rs"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b00deeaa5face2057d97cac05863b4e7653d5075426100eaff60044c4ab7218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): autogen/src/extensions.rs:151-190 | autogen/src/features.rs:179-218 \u2014 before extracting anything, compare \u0060autogen/src/extensions.rs\u0060 and \u0060autogen/src/features.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060autogen/src/extensions.rs:151\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":"autogen/src/extensions.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"299824d238da0e566194d9c11e8944e644d88679865f6e9429c55b2b8d5675c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): vulkano-taskgraph/src/collector.rs:768-807 | vulkano-taskgraph/src/collector.rs:834-873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/collector.rs:877\u0060 calls \u0060get\u0060, \u0060collect_predicate\u0060, \u0060Continue\u0060 and \u0060vulkano-taskgraph/src/collector.rs:809\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":"vulkano-taskgraph/src/collector.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e457c3a912c6b999649361d44ba020874fed93d670df2771d488f16368364e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:363-402 | vulkano/src/command_buffer/auto/commands/copy.rs:498-537 \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 \u0060vulkano/src/command_buffer/auto/commands/copy.rs:363\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfc38bbc147e4b8f637ebfb7e52a18c6b71c984cc96056067bab42a9776a1de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:502-537 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:674-709 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:502\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, \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:673\u0060 calls \u0060handle\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:501\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e62c9c34d02e5df4460b728d6f6909b300206faf51435e094c6117849720e9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/clear.rs:59-91 | vulkano-taskgraph/src/command_buffer/commands/clear.rs:136-168 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/clear.rs:59\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":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b618bb3243e3180c6c1694f982fb779470b10ea7b3a654cb62d0eda03061e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201331 lines \u00D7 2): autogen/src/spirv_parse.rs:134-164 | autogen/src/spirv_parse.rs:811-837 \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 \u0060autogen/src/spirv_parse.rs:134\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":"autogen/src/spirv_parse.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"143e0c95b74ce0b2aec17346b7b8cf72e190f170cad5ebf4cbb43dc15fb72bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): vulkano/src/image/mod.rs:2082-2112 | vulkano/src/image/sys.rs:2382-2411 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2082\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e53e3e482be1a8ae1bfeffd5434d53047048ea6584ad1a4d87c2bf08dd0a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:282-311 | vulkano-taskgraph/src/graph/execute.rs:611-640 \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 \u0060vulkano-taskgraph/src/graph/execute.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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"522b0213e447da58310f7877b6ffab9e485e320bba279ae21031f52816846842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:991-1020 | vulkano-taskgraph/src/graph/execute.rs:1606-1635 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:991\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0b3006d31aed0964b06bc6e10e9f90fbb57a8c8921116e973f818e321f795f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:1061-1090 | vulkano/src/command_buffer/auto/commands/copy.rs:1564-1593 \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 \u0060vulkano/src/command_buffer/auto/commands/copy.rs:1061\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"808f38d650d703d3657ab98906ac25d2942033f86b19f1ea052ab86a5c716809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:444-472 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:616-644 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:444\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b6243472a5e41916e78ea64b194a4ee7408eab4d8c01e0ba4be9a8d15bcc4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1148-1175 | vulkano-taskgraph/src/graph/execute.rs:1768-1796 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1148\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92f5fffbbec88bc7b86e33311268f00f9e655286aee747dd8c63984c97c79c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201327 lines \u00D7 2): vulkano/src/buffer/subbuffer.rs:335-361 | vulkano/src/buffer/subbuffer.rs:429-449 \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":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0721e5ed1a806a0fa13ab96bef765ee364b50d0e8e939b0be401407a4c37f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:1261-1287 | vulkano/src/command_buffer/commands/render_pass.rs:1332-1358 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs\u0060 and \u0060vulkano/src/command_buffer/commands/render_pass.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs:1261\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"366997e1b8079dbc830694ffc9262ebff69b6d12282cf25a8e748b9cad40ba85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): vulkano/src/descriptor_set/update.rs:511-536 | vulkano/src/descriptor_set/update.rs:652-677 | vulkano/src/descriptor_set/update.rs:753-778 \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 \u0060vulkano/src/descriptor_set/update.rs:511\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/descriptor_set/update.rs:510\u0060 calls \u0060device\u0060 and \u0060vulkano/src/descriptor_set/update.rs:650\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d399f769d99b5abbc9f4dca7febc6d2808f19ec5d0049cd386b0f2a6783b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1316-1341 | vulkano-taskgraph/src/graph/execute.rs:1939-1964 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"140b5e8e4a25ff9dc59ce85d32adf1eea52a988056735dff78b0b9c916bbfd94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): vulkano/src/pipeline/shader/validate_runtime.rs:2477-2501 | vulkano/src/pipeline/shader/validate_runtime.rs:2507-2532 \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 \u0060vulkano/src/pipeline/shader/validate_runtime.rs:2507\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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c5d7c4d129e7c375c8229c803f69d071c346d1a2045a50c85c46418ecfe73f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1668-1692 | vulkano-taskgraph/src/graph/execute.rs:1711-1735 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1668\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e36bc36035f52ab4c832a4eb2deb46431255e885dad2fc2be94be5a244e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): vulkano/src/device/physical.rs:1961-1985 | vulkano/src/device/physical.rs:2413-2437 \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 \u0060vulkano/src/device/physical.rs:1961\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":"vulkano/src/device/physical.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9d26b539650e9a3970c92429db6c13ec34e3e4913f70da84a6d7a5317e99c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:1892-1915 | vulkano/src/command_buffer/commands/copy.rs:5302-5325 | vulkano/src/command_buffer/commands/copy.rs:6331-6354 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1892\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"e229e8d032f3675315fd2e11d312c26dd0b2f5c011b60d54d90c46832520cf9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:2291-2314 | vulkano/src/command_buffer/commands/copy.rs:5515-5538 | vulkano/src/command_buffer/commands/copy.rs:6534-6557 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"26616b946a6db38765171b0d830157201cefc047cf3436ca3efa8b444c5464ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1358-1381 | vulkano-taskgraph/src/graph/execute.rs:1981-2004 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b18aebf875b1ca55d297be98edc397fce3163e5162cb5c15ed2e9dd93099477"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:595-618 | vulkano/src/command_buffer/commands/copy.rs:859-882 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:595\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"496492597bc652987ccb2255296dc7326a4b47545acbae85261cb2e06ab45d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:2783-2806 | vulkano/src/command_buffer/commands/copy.rs:5629-5652 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2783}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ef4a55a443c59dfb12e0a0d86dc3adbc81cb7eee2ca0013fe48b4277f1d1cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:1089-1112 | vulkano/src/descriptor_set/update.rs:1185-1208 \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 \u0060vulkano/src/descriptor_set/update.rs:1089\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad07d43803122814f1c781b9a9798e1700421e2667b20065f4e526a6fc919e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): vulkano/src/pipeline/ray_tracing.rs:867-890 | vulkano/src/pipeline/ray_tracing.rs:895-918 \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 \u0060vulkano/src/pipeline/ray_tracing.rs:867\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":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a99cccd2e099419d4ecd541e7089f90f3901ed5d78213d7a6cb403f31028df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): vulkano-taskgraph/src/graph/execute.rs:2638-2660 | vulkano-taskgraph/src/graph/execute.rs:2719-2741 | vulkano-taskgraph/src/graph/execute.rs:2793-2815 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:2638\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060virtual_id\u0060 to \u0060Id\u003CBuffer\u003E\u0060 in one and \u0060Id\u003CImage\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e689fcb1faae45d2a9a860f81d59c427ee459454bc40cc7166479be4564f010d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/sync.rs:85-107 | vulkano-taskgraph/src/command_buffer/commands/sync.rs:184-206 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:85\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:208\u0060 calls \u0060into\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:109\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":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bd07cee83f7da4d4863b9bca2b0e81958f9803ddb2df9d80c3728f5c7addaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3869-3891 | vulkano/src/command_buffer/commands/copy.rs:4584-4606 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d7a31151fd4007db1e3c1f39831e39dc2aeeb2f49493b0e56f30e25f6b8dda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): vulkano/src/descriptor_set/update.rs:633-654 | vulkano/src/descriptor_set/update.rs:734-755 | vulkano/src/descriptor_set/update.rs:841-862 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c308be5556c13c6b0744a1a54c91c2d342ed5ed29f04179f24e8ff137c59258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): vulkano/src/image/mod.rs:2266-2287 | vulkano/src/image/sys.rs:3148-3169 | vulkano/src/swapchain/mod.rs:2656-2677 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2266\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060extensions_vk\u0060 to \u0060\u0026\u0027a mut ImageFormatInfo2ExtensionsVk\u003C\u0027_\u003E\u0060 in one and \u0060\u0026\u0027a mut ImageCreateInfoExtensionsVk\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0581d8dd61ddfe9321a62b88075653fb2f95a9f93cfbf2af80802a1141704aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): vulkano/src/buffer/allocator.rs:60-81 | vulkano/src/buffer/allocator.rs:489-510 \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 \u0060vulkano/src/buffer/allocator.rs:60\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026BufferAllocatorCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060SubbufferAllocatorCreateInfo\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/allocator.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf1e82de2d54e636b787dab643602db5abee5e44ba74e0a3e77e69969d6bbc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3308-3329 | vulkano/src/command_buffer/commands/copy.rs:4026-4047 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3308}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4b71614866d8fbfc8d851f0dc9a045d95641a65ac1048d4d4d065ba30d775d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3829-3850 | vulkano/src/command_buffer/commands/copy.rs:4544-4565 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fdf5c9841c7dcedc7e863414af55431f65b34691ced6913c5fb401dbc8e503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 5): vulkano/src/image/mod.rs:2274-2294 | vulkano/src/image/sys.rs:3156-3176 | vulkano/src/swapchain/acquire_present.rs:581-597 | vulkano/src/swapchain/mod.rs:2664-2684 | vulkano/src/swapchain/surface.rs:3011-3027 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2274\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":"vulkano/src/image/mod.rs"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d115acd3429a04832175263102238d138fe76ab54992f977a8a8cf1a29204e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): vulkano-taskgraph/src/graph/execute.rs:1041-1061 | vulkano-taskgraph/src/graph/execute.rs:1083-1103 | vulkano-taskgraph/src/graph/execute.rs:1657-1677 | vulkano-taskgraph/src/graph/execute.rs:1700-1720 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1041\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee91838f751a24c87492de679868ef64b93866170608c134e89ebab94e12dc1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:842-860 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:904-924 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:842\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee520213fe72cb995b86275b54615fa4a17f515c9b49658389829c6334bdaf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): vulkano-taskgraph/src/lib.rs:485-505 | vulkano-taskgraph/src/lib.rs:627-647 \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 \u0060vulkano-taskgraph/src/lib.rs:485\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":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6123f75d8c18664a8a7f91d90a0f4e5476b15eb167608b2ed4d0064565474a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:111-131 | vulkano/src/command_buffer/commands/sync.rs:375-395 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:111\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5270b6de6b8035c6df7305131b4f6c7498703e5dd4d66cb0b2c936fbd0861f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:911-948 | vulkano/src/descriptor_set/update.rs:964-1002 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/descriptor_set/update.rs:911\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f4a056afa8bb0d5a3a05e83655d96208eeef7bb300d5a4cfef74f02b7d578e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): vulkano/src/memory/allocator/mod.rs:1604-1624 | vulkano/src/memory/allocator/mod.rs:1808-1828 \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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aab50aafc4817a7bc38e951a961084681e9d2bfc6e0c1aad376eed765a2a3f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): vulkano/src/render_pass/mod.rs:624-644 | vulkano/src/render_pass/mod.rs:646-666 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca6131e3264eb045afeb9e46cfdd93d6bd6235a3ff45625982868f12087020d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): vulkano/src/render_pass/mod.rs:1094-1113 | vulkano/src/render_pass/mod.rs:1182-1202 \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 \u0060vulkano/src/render_pass/mod.rs:1094\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9963e98c82025dae570ff2f90b3a8a7738e73de48b717a30b8e91bd9a946760"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): vulkano/src/descriptor_set/update.rs:491-510 | vulkano/src/descriptor_set/update.rs:633-652 | vulkano/src/descriptor_set/update.rs:734-753 | vulkano/src/descriptor_set/update.rs:841-860 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/descriptor_set/update.rs:511\u0060 calls \u0060device\u0060 and \u0060vulkano/src/descriptor_set/update.rs:654\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"797e474d3c782906040e0519aad0007ad58d885ad298d24648ac85a266f5696f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 3): vulkano/src/device/queue.rs:1032-1048 | vulkano/src/device/queue.rs:1107-1126 | vulkano/src/device/queue.rs:1174-1190 \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. 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":"vulkano/src/device/queue.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a99ce7d431ac2137af4ac4db2d163a6def7fd1b8f275a6ec543f220b621b95b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:1029-1046 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1098-1117 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:1029\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"c410951f3e47252c6facaf976f66f246b20598dc16f777c58844c4a55e7e4947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:289-308 | vulkano/src/command_buffer/auto/commands/pipeline.rs:784-803 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:289\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ad9fabd17bf9bcb2ad98f8b769bc55c083dcc499286f38eb775986a3194d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:157-176 | vulkano/src/command_buffer/commands/sync.rs:421-440 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:157\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9266c46934424749878973478df89847c1f69fc3fa38ce89b11599bf197514d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/display.rs:164-183 | vulkano/src/display.rs:214-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/display.rs:164\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":"vulkano/src/display.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434c47fea1cbb8a50db493c5d2fd61bbe2d099363df365a413cb20f462f7a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): vulkano/src/format.rs:837-855 | vulkano/src/pipeline/graphics/mod.rs:2480-2498 | vulkano/src/swapchain/surface.rs:2840-2858 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/format.rs:837\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060extensions_vk\u0060 to \u0060\u0026\u0027a mut GraphicsPipelineCreateInfoExtensionsVk\u003C\u0027_\u003E\u0060 in one and \u0060\u0026\u0027a mut SurfaceInfo2ExtensionsVk\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60ceea8e43d64796d5e7ff307ddc1a1e768c92b99f789b4bd8d0b73d631266d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): autogen/src/spirv_parse.rs:751-769 | autogen/src/spirv_parse.rs:906-923 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060autogen/src/spirv_parse.rs:751\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":"autogen/src/spirv_parse.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62b52586059134b7aee4e593e4df3411f2dc5be00cb85bd61fa39794c6f6ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano-taskgraph/src/graph/mod.rs:1009-1027 | vulkano-taskgraph/src/graph/mod.rs:1083-1101 \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 \u0060vulkano-taskgraph/src/graph/mod.rs:1009\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":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7176711863303038544977cbac0fee846e48a33bf6aa694652905ff9b92b14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): vulkano/src/buffer/subbuffer.rs:307-330 | vulkano/src/buffer/subbuffer.rs:401-424 \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":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e51dcda34d20ffe3f48be70c8a16014846c02d06d4cd4a1822d9c69055df52b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:329-347 | vulkano/src/command_buffer/auto/commands/pipeline.rs:805-823 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:329\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"92867b28823f5d7a52dc7e1d38ad400c7b34f547ca886e1b40f66066065e89fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:2043-2061 | vulkano/src/image/sampler/mod.rs:354-372 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"52765b619d19a6ed1cc4b7574817ecfd7bf1ef5978649a8a6082381d6d7f9807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:2810-2828 | vulkano/src/command_buffer/commands/copy.rs:5659-5677 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7106b6a6a1af32d50e95d18283e5318ebccc9cdd4c8cefb3f8ec40106899137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:2949-2967 | vulkano/src/command_buffer/commands/copy.rs:6714-6732 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c72feffb046382bf57c6a822167ef859c69d52d14a318dd02fb9305d77b3009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:59-76 | vulkano/src/command_buffer/commands/sync.rs:555-573 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:59\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6775e9f10116d21c1e422a769dce0deba4f5faac56f73003326a7a146e63638e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3665-3683 | vulkano/src/render_pass/mod.rs:3891-3909 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3665}}}],"partialFingerprints":{"codehealthFindingId/v1":"7997c303795190ded3404961c8a2381874e13cdaa8abe2dd7ab6eac6fb11c0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/sync/semaphore.rs:2128-2146 | vulkano/src/sync/semaphore.rs:2232-2251 \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 \u0060vulkano/src/sync/semaphore.rs:2128\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":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d101a1520a8c55f717839c8ef10c27a50dcfe1a3250d47bd2fad798086ee3bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1491-1508 | vulkano-taskgraph/src/graph/execute.rs:2126-2143 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1491\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d57559dc1b20001793d5908fc7e5566da8cf6a20bd82f0ca35deaa3b5e4bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): vulkano-taskgraph/src/resource/state.rs:361-378 | vulkano-taskgraph/src/resource/state.rs:500-512 \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":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55d7a396d38730758d6cb0469edb6130f63c608d33a08a7cce860432582158b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:1235-1252 | vulkano/src/command_buffer/commands/render_pass.rs:1306-1323 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs\u0060 and \u0060vulkano/src/command_buffer/commands/render_pass.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b2f555dffef1291e15523242a7146913b05e2ae45cd6c2f8020a4014a59633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:70-87 | vulkano/src/command_buffer/commands/sync.rs:334-351 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1018bc7565b9c84cb6f52c7cd814f7028fe222f95085e747b34714728bce8127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/memory/allocator/mod.rs:1336-1353 | vulkano/src/memory/allocator/mod.rs:1471-1488 \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 \u0060vulkano/src/memory/allocator/mod.rs:1336\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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49312b74f162f69d7c39eca55d33d0f7940d3fcfb158029ada63bc24ae87978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/memory/allocator/mod.rs:1627-1644 | vulkano/src/memory/allocator/mod.rs:1831-1848 \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 \u0060vulkano/src/memory/allocator/mod.rs:1627\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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"910d4263b63672fd6d473304cc7f1d95187b4426d4d7e1c917b5646501a0ff6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/pipeline/shader/inout_interface.rs:593-610 | vulkano/src/pipeline/shader/inout_interface.rs:617-634 \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 \u0060vulkano/src/pipeline/shader/inout_interface.rs:593\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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c115af4a7670c34ef322d6930c0c0788a7985d303ab48c1588d29add680f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/pipeline/shader/inout_interface.rs:906-925 | vulkano/src/pipeline/shader/inout_interface.rs:960-979 \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 \u0060vulkano/src/pipeline/shader/inout_interface.rs:906\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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7d08aee53dd670f355b8da01997a7ad3c511188d55ee0148466d1c1f534bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): vulkano/src/range_map.rs:299-313 | vulkano/src/range_map.rs:329-346 \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":"vulkano/src/range_map.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"99577f92d9bf16ae8d18d2334456a47b09ac16e6255c9da6658dfc685ac05e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): vulkano/src/sync/semaphore.rs:1418-1434 | vulkano/src/sync/semaphore.rs:2332-2349 \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 \u0060vulkano/src/sync/semaphore.rs:1418\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":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de0078a5fed9557f033394aeb21d2639d20e8f05c322d07fcaa6917d9c9d75d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:3103-3119 | vulkano/src/command_buffer/commands/copy.rs:3142-3158 | vulkano/src/command_buffer/commands/copy.rs:6846-6862 | vulkano/src/command_buffer/commands/copy.rs:6885-6901 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"50afbf4ab6b091923faf661a3886e6ffe4e4f840746645de18f0114dd46a8be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): vulkano/src/descriptor_set/update.rs:453-469 | vulkano/src/descriptor_set/update.rs:698-714 | vulkano/src/descriptor_set/update.rs:805-821 | vulkano/src/descriptor_set/update.rs:1211-1227 \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 \u0060vulkano/src/descriptor_set/update.rs:453\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/descriptor_set/update.rs:451\u0060 calls \u0060is_empty\u0060 and \u0060vulkano/src/descriptor_set/update.rs:696\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfe246bdee6b58a758a0fdef69c855c7ed70833f8cac6366a5d5086d2eee449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:109-124 | vulkano/src/command_buffer/commands/sync.rs:373-388 | vulkano/src/command_buffer/commands/sync.rs:606-622 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:109\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"529399b6cbd78f8a5f28dde8a568de6ed5082074e0820b8e84e6029314979ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:153-169 | vulkano/src/command_buffer/commands/sync.rs:417-433 | vulkano/src/command_buffer/commands/sync.rs:651-667 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:153\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5df5cba95c6acb289e9b72882f3abfc5009162e8b66400e7a8dc6ddbd0819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/sync.rs:61-77 | vulkano-taskgraph/src/command_buffer/commands/sync.rs:159-175 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:177\u0060 calls \u0060into\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:79\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":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ae99859d8ee701f48cf1a64fae4436eb57236c97ba61f490c4c7fba186b077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/clear.rs:66-82 | vulkano/src/command_buffer/auto/commands/clear.rs:147-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/clear.rs:66\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":"vulkano/src/command_buffer/auto/commands/clear.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0705e3f52d0de7a97c3fddd6cc5b292ca7bb9a1630e0e125c135808dffb2bd39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:1333-1349 | vulkano/src/command_buffer/commands/copy.rs:4680-4696 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/copy.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f5969f4456a2d51b6f63eeba4b3242092ff633e61fc1c3a31d95fbf160ae0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:1335-1351 | vulkano/src/command_buffer/commands/render_pass.rs:2092-2108 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs\u0060 and \u0060vulkano/src/command_buffer/commands/render_pass.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060image_view\u0060 to \u0060Arc\u003CImageView\u003E\u0060 in one and \u0060\u0026\u0027a ImageView\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66823aa6c0dd86012809bc5996305f895a348151f4303287a426e70941e01d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:2437-2468 | vulkano/src/command_buffer/commands/sync.rs:3333-3364 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:2437\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bcf3322bdd7c2d9d303946955adc6e6e910da3d0ceac4979c8efca312d088f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:402-418 | vulkano/src/descriptor_set/update.rs:549-565 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aad9b5f7cba6dd8c5a85c807b343c0cbf57f7b3c8330254791412d866cf5d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/device/physical.rs:1893-1909 | vulkano/src/device/physical.rs:2101-2117 \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":"vulkano/src/device/physical.rs"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b363081358045be25fa62c499fe449354f44300c1307d63c78609cc8353ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/memory/sparse.rs:556-572 | vulkano/src/memory/sparse.rs:1027-1043 \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 \u0060vulkano/src/memory/sparse.rs:556\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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"30095ec1ff6289d1874d92da1f1c99b94be8e2a58c53f63b7537c70fbc20230c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/memory/sparse.rs:609-625 | vulkano/src/memory/sparse.rs:1085-1101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"b993dc287d766340473f75ca80c6f6f02aefe45894e8766aee63f0586c68a329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): vulkano/src/sync/future/mod.rs:713-729 | vulkano/src/sync/future/mod.rs:761-776 \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 \u0060vulkano/src/sync/future/mod.rs:713\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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d73924ed619917f0b825cd20aee06c4832bedd8dca51c575084e4c61eebe45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 8): vulkano/src/format.rs:837-852 | vulkano/src/image/mod.rs:2268-2283 | vulkano/src/image/sys.rs:3150-3165 | vulkano/src/memory/device_memory.rs:1320-1335 | vulkano/src/pipeline/graphics/mod.rs:2480-2495 | vulkano/src/swapchain/mod.rs:2658-2673 | vulkano/src/swapchain/surface.rs:2840-2855 | vulkano/src/swapchain/surface.rs:3006-3020 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/format.rs:837\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060extensions_vk\u0060 to \u0060\u0026\u0027a mut ImageFormatInfo2ExtensionsVk\u003C\u0027_\u003E\u0060 in one and \u0060\u0026\u0027a mut ImageCreateInfoExtensionsVk\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/swapchain/surface.rs:3022\u0060 calls \u0060Some\u0060, \u0060push_next\u0060 and \u0060vulkano/src/format.rs:854\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":"vulkano/src/format.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e6adac9936616b8b595f9bddd3419e168b5a26dd2ca9b2b4fe26b68b0826f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): vulkano/src/descriptor_set/update.rs:452-467 | vulkano/src/descriptor_set/update.rs:592-606 | vulkano/src/descriptor_set/update.rs:697-712 | vulkano/src/descriptor_set/update.rs:804-819 | vulkano/src/descriptor_set/update.rs:1210-1225 \u2014 all 5 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/descriptor_set/update.rs:451\u0060 calls \u0060is_empty\u0060 and \u0060vulkano/src/descriptor_set/update.rs:696\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"baafd5fd1bf148dc06f77448776fd14a7f5b059d88cfd981543c19f761facd8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): vulkano-taskgraph/src/command_buffer/commands/copy.rs:447-462 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:504-521 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:619-634 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:676-693 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:447\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, \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:673\u0060 calls \u0060handle\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:501\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"998af5ce0557e4a251c2022cda3402b2fe38df1df62594b046f30373cb5a29d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:1774-1789 | vulkano/src/command_buffer/commands/copy.rs:2173-2188 | vulkano/src/command_buffer/commands/copy.rs:3383-3398 | vulkano/src/command_buffer/commands/copy.rs:4101-4116 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1774\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04629249eb3326ee2d2a502788d1b18a018e35a41a461354f993b67bec9352c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): vulkano/src/device/physical.rs:2237-2252 | vulkano/src/device/physical.rs:2289-2304 | vulkano/src/device/physical.rs:2479-2494 | vulkano/src/device/physical.rs:2522-2537 \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 \u0060vulkano/src/device/physical.rs:2237\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":"vulkano/src/device/physical.rs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e46c5116132fe4ec9be3136b8ccdeb75938f0a835bd0c89948a2b0ee4f91d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): autogen/src/formats.rs:325-340 | autogen/src/spirv_reqs.rs:121-136 \u2014 before extracting anything, compare \u0060autogen/src/formats.rs\u0060 and \u0060autogen/src/spirv_reqs.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060autogen/src/formats.rs:325\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":"autogen/src/formats.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c63bf65e0567c85f1250713ffea06de2481dfdcf39c032a341d6ce0aea6b149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:260-275 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:331-346 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:260\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8783c3e03c07f7e54ca9b673db5b9d1ade87c3afc2f1e7b1daa8348dd7e95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/buffer/sys.rs:333-348 | vulkano/src/image/sys.rs:674-689 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab5cb421d9b3531775e5a7b1ea127d609ba60d19d9016581a379c1f43c9ebc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:272-287 | vulkano/src/command_buffer/auto/commands/pipeline.rs:767-782 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:272\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2e0267ec49d3c4725a19dc8208ae6837ee164033b7169ac802bae4ab2fae9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:5909-5924 | vulkano/src/command_buffer/commands/copy.rs:5956-5971 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5909}}}],"partialFingerprints":{"codehealthFindingId/v1":"79432c7a135359a3299d8dac6f836a88d73389f429f41dc9785b141d13acb28e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/image/mod.rs:1606-1621 | vulkano/src/image/mod.rs:1786-1801 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7ffde3f42c450b2bc3a84c86fe2d54000bbf92543b8388bbcf0ac83035ce15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/sync/future/fence_signal.rs:298-313 | vulkano/src/sync/future/semaphore_signal.rs:134-149 \u2014 before extracting anything, compare \u0060vulkano/src/sync/future/fence_signal.rs\u0060 and \u0060vulkano/src/sync/future/semaphore_signal.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/future/fence_signal.rs:298\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":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b6ea5f5dd1ae341097532c2e03fa126431b955ca0f083724f15f45015d5e2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/sync/future/mod.rs:694-709 | vulkano/src/sync/future/mod.rs:742-757 \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 \u0060vulkano/src/sync/future/mod.rs:694\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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f17fbc7021049f7a33765a478ad51def292428a61684ee2df9735fd97574b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 15): vulkano/src/swapchain/surface.rs:407-421 | vulkano/src/swapchain/surface.rs:585-596 | vulkano/src/swapchain/surface.rs:679-693 | vulkano/src/swapchain/surface.rs:788-802 | vulkano/src/swapchain/surface.rs:892-906 | vulkano/src/swapchain/surface.rs:995-1009 | vulkano/src/swapchain/surface.rs:1099-1113 | vulkano/src/swapchain/surface.rs:1203-1217 | vulkano/src/swapchain/surface.rs:1312-1326 | vulkano/src/swapchain/surface.rs:1423-1437 | vulkano/src/swapchain/surface.rs:1522-1536 | vulkano/src/swapchain/surface.rs:1635-1649 | vulkano/src/swapchain/surface.rs:1748-1762 | vulkano/src/swapchain/surface.rs:1861-1875 | vulkano/src/swapchain/surface.rs:1974-1988 \u2014 all 15 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 \u0060vulkano/src/swapchain/surface.rs:407\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060instance\u0060 to \u0060\u0026Arc\u003CInstance\u003E\u0060 in one and \u0060\u0026Instance\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ebccdb680b65d4b4209bfb78256cf7e91ba7ee6ef7fd557c60993e724eb5b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): vulkano-taskgraph/src/command_buffer/commands/copy.rs:264-278 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:335-349 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:847-861 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:911-925 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1035-1049 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1106-1120 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:264\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bba5fb5b58d779f14802fb7fd384a7755cab5d2a0af6ec805e9f499765af7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): vulkano/src/device/physical.rs:645-659 | vulkano/src/device/physical.rs:691-705 | vulkano/src/pipeline/mod.rs:196-210 | vulkano/src/pipeline/mod.rs:328-342 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/device/physical.rs:645\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":"vulkano/src/device/physical.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"221ef614ed3124142612a071661b5b77078e0f4e219ac247def7a30ee6746176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:67-80 | vulkano/src/command_buffer/commands/sync.rs:331-344 | vulkano/src/command_buffer/commands/sync.rs:563-577 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/commands/sync.rs:67\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a221dfe8af5e8f04c9d5d6d16cae8a7276780b1a5d16a53d8d6a94292342c19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): vulkano/src/render_pass/mod.rs:598-612 | vulkano/src/render_pass/mod.rs:629-643 | vulkano/src/render_pass/mod.rs:651-665 \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 \u0060vulkano/src/render_pass/mod.rs:598\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2faea526d7b531b3e79c3d9562a42b1fb7d314bb9a45194aa1c9af61a807b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:485-499 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:657-671 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:485\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"2981838c6efadcf48702141c79032c8b320652f19d89cf3f3176100bedf98718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1840-1854 | vulkano-taskgraph/src/graph/execute.rs:1860-1874 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1840\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"40053415269991a78c734999b8b7d1a7d2f9a138f67972060a2b229312138b7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/buffer/mod.rs:897-911 | vulkano/src/image/mod.rs:945-959 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:897\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) unsafe fn gpu_write_lock(\u0026mut\u0060 in one and \u0060crate) unsafe fn gpu_write_lock( \u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"04edb74063fc5c8e32e1eb30508e845c9f1396c0e23067627f2076df6dcac9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/buffer/mod.rs:918-932 | vulkano/src/image/mod.rs:968-982 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:918\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a28f444d9157ca37f34b331a96a71bf322a35c8d8369729f5d175b2eacde5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/command_buffer/allocator.rs:650-664 | vulkano/src/command_buffer/allocator.rs:689-703 \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 \u0060vulkano/src/command_buffer/allocator.rs:650\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":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36c64fee58d52d21cbc4d26c771326ff7486dd842b7c91159f40f8974f71d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:517-531 | vulkano/src/command_buffer/auto/commands/render_pass.rs:569-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs:517\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"29719fdd38fb1ef4c95e9da06fe61de6acb8d4b0a6530545656458a1199a88b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/device/physical.rs:195-209 | vulkano/src/library.rs:211-225 \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 \u0060vulkano/src/device/physical.rs:195\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":"vulkano/src/device/physical.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4479eb218eb96342781d059092c495fb44e3589ede888fd149a2bc68b048f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/device/physical.rs:840-854 | vulkano/src/device/physical.rs:881-895 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/device/physical.rs:840\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":"vulkano/src/device/physical.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a409d6783c62d203e6f4cdb98c272132dc68c6c1cc604b73337f1dbc5c05df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): vulkano/src/instance/mod.rs:687-700 | vulkano/src/library.rs:302-316 \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 \u0060vulkano/src/instance/mod.rs:687\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":"vulkano/src/instance/mod.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"65415f3ed4322a451fe7f0f6b41b0421683fdc5c34cc59b06ebf990fb55d22c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/memory/device_memory.rs:223-237 | vulkano/src/memory/device_memory.rs:269-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc27c2ef4ed0ec16613b9165367e53bfe63a8719f52dd0116cb221c10c202d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:370-382 | vulkano/src/pipeline/ray_tracing.rs:224-238 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 and \u0060vulkano/src/pipeline/ray_tracing.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/graphics/mod.rs:370\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47cdb50234ace1125a215987d1d0235e3bc597dcec894cc3097e71ac9ac4288"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3045-3059 | vulkano/src/render_pass/mod.rs:3138-3152 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b814e54ec0e860a965995280e6623760d162ebc1f2e2fc87c902d0da5fae846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 15): vulkano/src/device/physical.rs:643-656 | vulkano/src/device/physical.rs:689-702 | vulkano/src/device/physical.rs:838-851 | vulkano/src/device/physical.rs:879-892 | vulkano/src/device/physical.rs:1010-1023 | vulkano/src/device/physical.rs:2235-2248 | vulkano/src/device/physical.rs:2287-2300 | vulkano/src/device/physical.rs:2477-2490 | vulkano/src/device/physical.rs:2520-2533 | vulkano/src/display.rs:166-179 | vulkano/src/display.rs:216-229 | vulkano/src/library.rs:300-313 | vulkano/src/pipeline/mod.rs:194-207 | vulkano/src/pipeline/mod.rs:326-339 | vulkano/src/swapchain/mod.rs:1099-1112 \u2014 before extracting anything, compare \u0060vulkano/src/device/physical.rs\u0060 and \u0060vulkano/src/swapchain/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/device/physical.rs:643\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/display.rs:164\u0060 calls \u0060handle\u0060 and \u0060vulkano/src/device/physical.rs:641\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":"vulkano/src/device/physical.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f1f550fded72f17922ba5cc6d287db2569dee3245623c7d80c97ffec959aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): vulkano/src/descriptor_set/allocator.rs:418-431 | vulkano/src/descriptor_set/allocator.rs:477-490 | vulkano/src/descriptor_set/allocator.rs:574-587 | vulkano/src/descriptor_set/allocator.rs:609-622 \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 \u0060vulkano/src/descriptor_set/allocator.rs:418\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060layout\u0060 to \u0060\u0026Arc\u003CDescriptorSetLayout\u003E\u0060 in one and \u0060\u0026DescriptorSetLayout\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a653d3ccf60d23d09f63497b13a38cd6be18e4d9bc69c114f704f3fa32e88a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): vulkano/src/render_pass/mod.rs:1102-1114 | vulkano/src/render_pass/mod.rs:1190-1203 | vulkano/src/render_pass/mod.rs:1462-1475 \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 \u0060vulkano/src/render_pass/mod.rs:1102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"013834a3f43d75df539a6ad4aa68dcb76e4df5ceff7ed896adaf9fe011e9ad82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:2903-2916 | vulkano/src/command_buffer/commands/copy.rs:6668-6681 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2903}}}],"partialFingerprints":{"codehealthFindingId/v1":"2917079a43b84d15801687971f164ad52b549357a56e65012f8130b3cf6234ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3161-3174 | vulkano/src/command_buffer/commands/copy.rs:6904-6917 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3161}}}],"partialFingerprints":{"codehealthFindingId/v1":"554b85b69383325a533b2a4338f0da315ba3b78624266d760b40af8ec5319bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:2422-2435 | vulkano/src/command_buffer/commands/sync.rs:3318-3331 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:2422\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbe3ec70e3a7d6d5579330bc11a5574a0be227a1821b728664ffeee5f90425f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/descriptor_set/allocator.rs:442-455 | vulkano/src/descriptor_set/allocator.rs:682-695 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d99ac8591032e6f6299f34e7013c3adef4656c8bf29904845582677aa45d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): vulkano/src/image/mod.rs:2067-2080 | vulkano/src/image/sys.rs:2370-2379 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2067\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/image/mod.rs"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b147ddba24fe19509c44fca44ae04da33d140fce02ade5b7603e4a74c9eaeae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/memory/allocator/mod.rs:1395-1408 | vulkano/src/memory/allocator/mod.rs:1528-1541 \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 \u0060vulkano/src/memory/allocator/mod.rs:1395\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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e52a1337870e0d2d87a0296bd08042d8f848b9cec3010f87e55ab045b1284a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): vulkano/src/pipeline/shader/inout_interface.rs:526-538 | vulkano/src/pipeline/shader/inout_interface.rs:550-563 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/shader/inout_interface.rs:526\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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39412ec60f53c593c9a886e51b1c628584f9384f740c7506c55048916710c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 14): vulkano/src/acceleration_structure.rs:210-222 | vulkano/src/buffer/sys.rs:119-131 | vulkano/src/buffer/view.rs:350-362 | vulkano/src/command_buffer/pool.rs:95-107 | vulkano/src/descriptor_set/layout.rs:137-149 | vulkano/src/descriptor_set/pool.rs:95-107 | vulkano/src/image/sampler/mod.rs:171-183 | vulkano/src/image/sampler/ycbcr.rs:223-235 | vulkano/src/pipeline/cache.rs:136-148 | vulkano/src/pipeline/layout.rs:148-160 | vulkano/src/query.rs:91-103 | vulkano/src/render_pass/mod.rs:238-250 | vulkano/src/sync/event.rs:119-131 | vulkano/src/sync/semaphore.rs:153-165 \u2014 before extracting anything, compare \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/acceleration_structure.rs:210\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026AccelerationStructureCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026BufferCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/sync/event.rs:116\u0060 calls \u0060fns\u0060 and \u0060vulkano/src/query.rs:88\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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94a01f693df1fbd27fb600eae10912017486f7f5e04bfc4a864d15adc0d05f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): vulkano/src/image/mod.rs:2273-2285 | vulkano/src/image/sys.rs:3155-3167 | vulkano/src/memory/device_memory.rs:1325-1337 | vulkano/src/swapchain/acquire_present.rs:580-592 | vulkano/src/swapchain/mod.rs:2663-2675 | vulkano/src/swapchain/surface.rs:3010-3022 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2273\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":"vulkano/src/image/mod.rs"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a868f374099c0037ff3ef5b4a02886fca94474167fb4f1e67d20156bb07dc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): autogen/src/extensions.rs:953-965 | autogen/src/formats.rs:321-333 | autogen/src/spirv_reqs.rs:117-129 \u2014 before extracting anything, compare \u0060autogen/src/formats.rs\u0060 and \u0060autogen/src/spirv_reqs.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060autogen/src/extensions.rs:953\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":"autogen/src/extensions.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"8158d82c3df5edf8f7a7a2346a2c3aa795a3680ac3aa5738aac329b946522eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano-taskgraph/src/graph/execute.rs:2681-2693 | vulkano-taskgraph/src/graph/execute.rs:2758-2770 | vulkano-taskgraph/src/graph/execute.rs:2836-2848 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:2681\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060virtual_id\u0060 to \u0060Id\u003CBuffer\u003E\u0060 in one and \u0060Id\u003CImage\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":2681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c700caec2e596fe8ab77de014dec823db6146d5376c8649e602850a4a165f933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:157-169 | vulkano/src/command_buffer/commands/copy.rs:507-519 | vulkano/src/command_buffer/commands/copy.rs:792-804 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:157\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae70c695b31be6ef043c98beb4fc1a6992e1e53e6bd6686e325d2649fec8a6d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:3167-3179 | vulkano/src/command_buffer/commands/copy.rs:4848-4860 | vulkano/src/command_buffer/commands/copy.rs:6910-6922 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6291b49b019b2452f07b9037b05616b43db939b771594c17b61f73b70d9a4ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1448-1460 | vulkano/src/command_buffer/commands/sync.rs:2006-2018 | vulkano/src/command_buffer/commands/sync.rs:2759-2771 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1448\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a520f3daed1b5f468255e011d079f9beaa55d29df47453f1a5d88cfbe3bea0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/swapchain/acquire_present.rs:1227-1239 | vulkano/src/sync/future/fence_signal.rs:300-312 | vulkano/src/sync/future/semaphore_signal.rs:136-148 \u2014 before extracting anything, compare \u0060vulkano/src/sync/future/fence_signal.rs\u0060 and \u0060vulkano/src/sync/future/semaphore_signal.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/swapchain/acquire_present.rs:1227\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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b59d1bdefa7fb066e8a8bd92e0f3f678befeef97d2c3aa3c6727292c86cc3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): autogen/src/features.rs:1065-1084 | autogen/src/properties.rs:1078-1097 \u2014 before extracting anything, compare \u0060autogen/src/features.rs\u0060 and \u0060autogen/src/properties.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060autogen/src/features.rs:1065\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":"autogen/src/features.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddabd4c195e1e9f1cb569b0f7b8aa9b81ca195dcf26b1cb5309a4840eb5f2f90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1477-1489 | vulkano-taskgraph/src/graph/execute.rs:2112-2124 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1477\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11d8c3cb179f07262b0cb180a1dc9ac27dfbc88e02c2423c17ca9f11c187b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano-taskgraph/src/lib.rs:470-482 | vulkano-taskgraph/src/lib.rs:612-624 \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 \u0060vulkano-taskgraph/src/lib.rs:470\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":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb9a31195dedd622fe49e7345d870c2b68a35447ab40a92881306f48435608b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:501-512 | vulkano/src/command_buffer/commands/clear.rs:729-741 \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 \u0060vulkano/src/command_buffer/commands/clear.rs:501\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ca4709b4f3b64f89d72272d398d7b6333b65461f2a65f04de0674e08ca8e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:2641-2653 | vulkano/src/sync/pipeline.rs:1986-1998 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060image\u0060 to \u0060\u0026\u0027a Image\u0060 in one and \u0060Arc\u003CImage\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a2f48f21ae91d32c924da6cee751ad8228077417c55634e40f6b34afb6fc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:759-771 | vulkano/src/pipeline/graphics/subpass.rs:187-198 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/mod.rs\u0060 and \u0060vulkano/src/pipeline/graphics/subpass.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/mod.rs:759\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":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"05374c96165213ed5608238914a5fdd28b3e6792879277dc28aba2ab39834df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:888-900 | vulkano/src/descriptor_set/update.rs:1301-1313 \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 \u0060vulkano/src/descriptor_set/update.rs:888\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"253218e15f216e033daddaf3a8c02682deb3f67de675bc85eea20550a7d8d498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/device/physical.rs:964-976 | vulkano/src/swapchain/surface.rs:2179-2191 \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 \u0060vulkano/src/device/physical.rs:964\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c6073ac4d098e0376378dd5626b56be837a542378b2badb1c729c25e830eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/image/sys.rs:142-154 | vulkano/src/image/view.rs:643-655 \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 \u0060vulkano/src/image/sys.rs:142\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026ImageCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026ImageViewCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6222b586f74f818b56b3a5be39891e17789d62e41a0e8819b83a4eb66c2da855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/pipeline/compute.rs:122-134 | vulkano/src/pipeline/ray_tracing.rs:173-186 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/compute.rs\u0060 and \u0060vulkano/src/pipeline/ray_tracing.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060vulkano/src/pipeline/compute.rs:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026ComputePipelineCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026RayTracingPipelineCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"716ebb460fce0af0ce5c58687755e38ceee7f2a2696062d2363352d89b133188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/shader/spirv/mod.rs:292-304 | vulkano/src/shader/spirv/mod.rs:331-343 \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 \u0060vulkano/src/shader/spirv/mod.rs:292\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":"vulkano/src/shader/spirv/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad998e4b7fb9f5216392b3f597fc04f02fe8ac1b40579ae2f09b5459441666c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/sync/future/fence_signal.rs:283-295 | vulkano/src/sync/future/semaphore_signal.rs:119-131 \u2014 before extracting anything, compare \u0060vulkano/src/sync/future/fence_signal.rs\u0060 and \u0060vulkano/src/sync/future/semaphore_signal.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/future/fence_signal.rs:283\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"062a051bcc5d7ea15733b8a8bb3567bdfb05f869e63990ff4c5575d4ac061682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:176-185 | vulkano/src/command_buffer/commands/copy.rs:189-198 | vulkano/src/command_buffer/commands/copy.rs:525-536 | vulkano/src/command_buffer/commands/copy.rs:810-821 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb60e28865067f61275a89eabd26a4ed6fb21506120c9ed7cf0f1908bfc3938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:1748-1759 | vulkano/src/command_buffer/commands/copy.rs:2147-2158 | vulkano/src/command_buffer/commands/copy.rs:3357-3368 | vulkano/src/command_buffer/commands/copy.rs:4075-4086 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1748\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"634715be0b2a57b00d884bcab0fb5f3f75ce0caa996b5c050bb26cd06dcea638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): vulkano/src/descriptor_set/update.rs:528-539 | vulkano/src/descriptor_set/update.rs:669-680 | vulkano/src/descriptor_set/update.rs:770-781 | vulkano/src/descriptor_set/update.rs:1280-1291 \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 \u0060vulkano/src/descriptor_set/update.rs:528\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"309edfe2a9f20da8d6042f92d2a52b4c98eb0aa5b5b52f4ebc6e0f420a716c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:1582-1593 | vulkano/src/command_buffer/commands/copy.rs:3239-3250 | vulkano/src/command_buffer/commands/copy.rs:3957-3968 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1582\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff64741ff3f4620487acbc6751fb19a6ca8cdd44d205f8f9499aee1f8f91a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1465-1476 | vulkano/src/command_buffer/commands/sync.rs:2023-2034 | vulkano/src/command_buffer/commands/sync.rs:2776-2787 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1465\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"401bd8b3172c17f21df0d2147e2a7c75353275f827e604ccbac03dfabd5a3233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1602-1613 | vulkano/src/command_buffer/commands/sync.rs:2160-2171 | vulkano/src/command_buffer/commands/sync.rs:2913-2924 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1602\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2c8870036978cda4986726fcae4c1a3ff193e78d8eda660ed6f58b079c03ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): vulkano/src/device/physical.rs:1905-1931 | vulkano/src/device/physical.rs:2113-2139 | vulkano/src/device/physical.rs:2375-2401 \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 \u0060vulkano/src/device/physical.rs:1905\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":"vulkano/src/device/physical.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"836d06cdc3df46cd32a0e27b16efb3cb67ff4b8edf3c8142f926067a9f9c406b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): autogen/src/features.rs:778-789 | autogen/src/properties.rs:770-781 \u2014 before extracting anything, compare \u0060autogen/src/features.rs\u0060 and \u0060autogen/src/properties.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"autogen/src/features.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2869bd5c6941bf050fd1ab5b596779fde6f27a6c2eb262b2103cc178dff8a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:700-711 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1126-1137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:700\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:1138\u0060 calls \u0060into\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:712\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5cde7bf570af9b3632ce46f4172b699543e196112c33c89bdb5397ed8a315f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:933-944 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1129-1140 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:933\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:945\u0060 calls \u0060into\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:1141\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"271a84ee5b869cce51b80e3e9392cfe29e8d13c4a2ce77c5120a4c86fcaaa3e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano-taskgraph/src/slotmap.rs:412-423 | vulkano-taskgraph/src/slotmap.rs:432-443 \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 \u0060vulkano-taskgraph/src/slotmap.rs:412\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":"vulkano-taskgraph/src/slotmap.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadbf6b8c0095bb6ee02b930b56fbc9dcc814fb24bdcc2716e2c53cdbcb020d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano-taskgraph/src/slotmap.rs:461-472 | vulkano-taskgraph/src/slotmap.rs:481-492 \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 \u0060vulkano-taskgraph/src/slotmap.rs:461\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":"vulkano-taskgraph/src/slotmap.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dc4b6882dd81e87cd97da3a53a4b937e4e0ea373222acdb4de8a6add6aef26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/buffer/sys.rs:230-241 | vulkano/src/image/sys.rs:347-358 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:230\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde09c06a660e5c725de6f69719ec7ef80cdf6ee0049f7a44ffa999a6a37de9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:1353-1364 | vulkano/src/command_buffer/commands/copy.rs:4700-4711 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/copy.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/copy.rs:1353\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"590372208343a45b35dc4222744b303b382d24bcc2d2a0fc6883f7804b662fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): vulkano/src/device/mod.rs:723-733 | vulkano/src/device/mod.rs:889-900 \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 \u0060vulkano/src/device/mod.rs:723\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"9427de0d2bbc5b7fd38ce185fd8ad0e5e24a025e27991a642d5ce6397ad10c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/device/mod.rs:1095-1107 | vulkano/src/device/mod.rs:1217-1229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026BufferCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026ImageCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc85be01b60a37b264a8231cd15a9845cb8b2a469f4df298138a89cbc691106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): vulkano/src/device/physical.rs:2273-2283 | vulkano/src/device/physical.rs:2505-2516 \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 \u0060vulkano/src/device/physical.rs:2273\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":2273}}}],"partialFingerprints":{"codehealthFindingId/v1":"d757929f7a540f164e434b34a89507e6046f33b1313471106fb818067350d1ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/render_pass/mod.rs:3755-3766 | vulkano/src/render_pass/mod.rs:3768-3779 | vulkano/src/render_pass/mod.rs:3780-3791 \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 \u0060vulkano/src/render_pass/mod.rs:3755\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c414a3017db778618cd33015994cac2f8841a510fd9811c483021a0bcc3c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/swapchain/mod.rs:1775-1786 | vulkano/src/sync/semaphore.rs:462-473 \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 \u0060vulkano/src/swapchain/mod.rs:1775\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/sync/semaphore.rs:459\u0060 calls \u0060validate\u0060, \u0060map_err\u0060, \u0060add_context\u0060 and \u0060vulkano/src/swapchain/mod.rs:1773\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":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff83911d3ab5672a10ccbccf154ad5742288ec40e8d80af78c9bd81c1c91a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): vulkano-taskgraph/src/graph/execute.rs:1000-1010 | vulkano-taskgraph/src/graph/execute.rs:1038-1048 | vulkano-taskgraph/src/graph/execute.rs:1080-1090 | vulkano-taskgraph/src/graph/execute.rs:1615-1625 | vulkano-taskgraph/src/graph/execute.rs:1654-1664 | vulkano-taskgraph/src/graph/execute.rs:1697-1707 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"0731eb940c572f86eb84317d68379837a2de7a434e9ffa51c7c633e6fcfbffa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:2887-2897 | vulkano/src/command_buffer/commands/copy.rs:2937-2947 | vulkano/src/command_buffer/commands/copy.rs:6652-6662 | vulkano/src/command_buffer/commands/copy.rs:6702-6712 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2887}}}],"partialFingerprints":{"codehealthFindingId/v1":"14be38953cbf5495313492d66f9ea5d3ffe440d994c30f563c2130d514214a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano-taskgraph/src/command_buffer/commands/copy.rs:527-537 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:699-709 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1125-1135 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:527\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:1136\u0060 calls \u0060into\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:538\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab00185a91409ba4db9c21b279586081d6923abf7d61c4e561bd365db1d4612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): vulkano/src/buffer/sys.rs:937-947 | vulkano/src/image/sys.rs:2920-2930 | vulkano/src/memory/device_memory.rs:1239-1246 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:937\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7085b53d98b28301fa5c43c295c510047fac071f86ac953cd42ddcd23972b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano/src/command_buffer/auto/commands/pipeline.rs:559-569 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1065-1075 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1509-1519 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:559\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aa02445d7c67064d0fd95e86a48520f52b8ba30f06b0cdb3e97c734230a776"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano/src/command_buffer/auto/commands/pipeline.rs:1197-1207 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1399-1409 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1538-1548 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:1197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4335dd35aff8b778e1f5aa94fb69ed7c2cac3acf3e40f6779d3d5af24014ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1755-1765 | vulkano/src/command_buffer/commands/sync.rs:2313-2323 | vulkano/src/command_buffer/commands/sync.rs:3066-3076 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1755\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76fdffee2d109a96069d091edcda25394c7125714a390d2ba34a405e09313eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/clear.rs:46-56 | vulkano-taskgraph/src/command_buffer/commands/clear.rs:123-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/command_buffer/commands/clear.rs:46\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060clear_info\u0060 to \u0060\u0026ClearColorImageInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026ClearDepthStencilImageInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"825c7b815eb018954a9093a7bbdce7deb1c3d22d57ec9aa05ba9b7e7dd9e1e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:428-438 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:600-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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:428\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c868deeea5e579545ed53d8ab401e689e20547f4572f50ae604ad2102154ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano-taskgraph/src/resource/state.rs:481-491 | vulkano-taskgraph/src/resource/state.rs:780-790 \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 \u0060vulkano-taskgraph/src/resource/state.rs:780\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":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c178f0e435c54e013793ad09bf5fa9df69245b36bf2f91b7747e9d56a4598eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/buffer/mod.rs:829-839 | vulkano/src/image/mod.rs:846-856 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:829\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"7962b626a6313a1d994d233cee4c11a090084ba5c843175ffed507368bfd73bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/buffer/mod.rs:870-880 | vulkano/src/image/mod.rs:898-908 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dddeda3bb1936d95cdc1f3fec319c645d55528f26056f00796c3b5226c90ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/auto/builder.rs:1794-1804 | vulkano/src/command_buffer/auto/builder.rs:1806-1816 \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 \u0060vulkano/src/command_buffer/auto/builder.rs:1794\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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba00e4a152cfa07c3c2c121c92d07550c25fb6e128a3bf168d9a77a6c194604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:817-827 | vulkano/src/command_buffer/auto/commands/render_pass.rs:875-885 \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 \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs:817\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed072fe9a41b45b9ab49d316048e07b18a91fdf2dd37e9d362b45fb5373cdcaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:863-873 | vulkano/src/command_buffer/mod.rs:1455-1466 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b74b477a908aae4ddafd453bfb72347bcdcc6ceb97cde36119adda695b309fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:950-960 | vulkano/src/command_buffer/commands/sync.rs:2933-2943 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:950\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6afe11b0c590a617c7aa643ad28daaa48a37a27fcb1ded45af5468fe890894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:723-733 | vulkano/src/pipeline/graphics/subpass.rs:149-159 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/mod.rs\u0060 and \u0060vulkano/src/pipeline/graphics/subpass.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/mod.rs:723\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0b9c1f286072dfbb769cbe3fbca09ffaa0b9a4b7e55100f316510841befc6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/device/physical.rs:602-612 | vulkano/src/device/physical.rs:752-762 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"829c5168c759074d5c8ab77538c4b82ab47d354e3cdee768e09ac43ad0fe5ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/device/queue.rs:574-584 | vulkano/src/swapchain/mod.rs:591-601 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"896f9c204dc35b9863044aff97098a4c76aa3cc4a6edb0678a55d8d0fe5bdc0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/device/queue.rs:817-827 | vulkano/src/device/queue.rs:864-874 \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 \u0060vulkano/src/device/queue.rs:817\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"914294cbc45795f964239be8411db6d815f6aa6fff788acaafd91b4ca0e35de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/instance/mod.rs:687-697 | vulkano/src/instance/mod.rs:808-818 \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 \u0060vulkano/src/instance/mod.rs:687\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":"vulkano/src/instance/mod.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6530328caaa309b83b13d3d1b4b05c09afcdacce2427edca88f66506a73aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/memory/allocator/suballocator/free_list.rs:386-396 | vulkano/src/memory/allocator/suballocator/tlsf.rs:496-506 \u2014 before extracting anything, compare \u0060vulkano/src/memory/allocator/suballocator/free_list.rs\u0060 and \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060vulkano/src/memory/allocator/suballocator/free_list.rs:386\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs:494\u0060 calls \u0060dangling\u0060 and \u0060vulkano/src/memory/allocator/suballocator/free_list.rs:385\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":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7095150ac5638075f8556fd90d903da211449d3621c12d14075fcb4cedd8372c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): vulkano/src/swapchain/mod.rs:2573-2581 | vulkano/src/swapchain/surface.rs:2809-2819 \u2014 before extracting anything, compare \u0060vulkano/src/swapchain/mod.rs\u0060 and \u0060vulkano/src/swapchain/surface.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060vulkano/src/swapchain/mod.rs:2573\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2573}}}],"partialFingerprints":{"codehealthFindingId/v1":"927902ba1dcc10a30234ccff4563f2c63f79af6696c104a19e2bb28fd9cc3887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/sync/future/mod.rs:679-689 | vulkano/src/sync/future/mod.rs:837-847 \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 \u0060vulkano/src/sync/future/mod.rs:679\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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"9677efec376d5cf566288d1092c43c88e788446ad310ab7630a13ba11ca917ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/sync/semaphore.rs:1436-1446 | vulkano/src/sync/semaphore.rs:2351-2361 \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 \u0060vulkano/src/sync/semaphore.rs:1436\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":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe17716b26f13dcb61d5e77719bb8df10307176185e4e2d1cc94a3f516cd0a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): vulkano/src/command_buffer/auto/commands/pipeline.rs:367-376 | vulkano/src/command_buffer/auto/commands/pipeline.rs:473-482 | vulkano/src/command_buffer/auto/commands/pipeline.rs:605-614 | vulkano/src/command_buffer/auto/commands/pipeline.rs:844-853 | vulkano/src/command_buffer/auto/commands/pipeline.rs:972-981 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1119-1128 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1313-1322 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1425-1434 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1565-1574 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:484\u0060 calls \u0060add_indirect_buffer_resources\u0060, \u0060as_bytes\u0060 and \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:379\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"183941f66d8a903734e1cb1f4dfa2c94ebc7f83906f833f52fc5b39995e3a738"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): vulkano/src/command_buffer/commands/copy.rs:63-71 | vulkano/src/command_buffer/commands/copy.rs:418-426 | vulkano/src/command_buffer/commands/copy.rs:696-705 | vulkano/src/command_buffer/commands/copy.rs:960-969 | vulkano/src/command_buffer/commands/copy.rs:1052-1060 | vulkano/src/command_buffer/commands/copy.rs:1140-1148 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/commands/copy.rs:71\u0060 calls \u0060device\u0060, \u0060api_version\u0060, \u0060handle\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs:705\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fa35b4e25c9576c47b0a8316400defcf113d2831cf8ae251cf824e9f98ceb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:3168-3177 | vulkano/src/command_buffer/commands/copy.rs:4849-4858 | vulkano/src/command_buffer/commands/copy.rs:6911-6920 | vulkano/src/memory/sparse.rs:1634-1643 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/memory/sparse.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc78098dc7ade6fcf9c7a17ee61abcf9cae9cceef596d004886e790b14245e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): vulkano/src/buffer/sys.rs:804-813 | vulkano/src/image/mod.rs:2482-2491 | vulkano/src/swapchain/mod.rs:2369-2378 \u2014 \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/swapchain/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 90 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:804\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ef797033bd33004e8e8cac337389f609c7494729cf41fa379e383425a72b3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:950-959 | vulkano/src/command_buffer/commands/sync.rs:2919-2928 | vulkano/src/command_buffer/commands/sync.rs:2933-2942 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:950\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/commands/sync.rs:962\u0060 calls \u0060enabled_features\u0060 and \u0060vulkano/src/command_buffer/commands/sync.rs:2930\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac9af67eb1c1ea55c39404d9b6b9958d127055f1938802e93696dac1ba5965b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1682-1691 | vulkano/src/command_buffer/commands/sync.rs:2240-2249 | vulkano/src/command_buffer/commands/sync.rs:2993-3002 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1682\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccb6a0cd51aff17707eca6afcc22c21c0a5d72440fa90ba1d6f3f7b29952811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1704-1713 | vulkano/src/command_buffer/commands/sync.rs:2262-2271 | vulkano/src/command_buffer/commands/sync.rs:3015-3024 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1704\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2472ce5db25bad730a7793415fa3b5dbf18081e576ec9ad37a7317b3a13973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): autogen/src/extensions.rs:415-423 | autogen/src/features.rs:462-471 \u2014 before extracting anything, compare \u0060autogen/src/extensions.rs\u0060 and \u0060autogen/src/features.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060autogen/src/extensions.rs:415\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":"autogen/src/extensions.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"080f181a3b1403dc0df9ccf6f58e847a4b1a86586d276619c45a8d4534d7463a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano-shaders/src/lib.rs:1154-1163 | vulkano-shaders/src/lib.rs:1532-1541 \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 \u0060vulkano-shaders/src/lib.rs:1154\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":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d595dd525289d125ecedacc9cc8b94cf751ea9a2625846527f2748735eed724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:251-260 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1022-1031 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:251\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"94785c15ce242212cf5cf1b3c4d28c00712656e20a97c02ee41c22fcd64051ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:833-841 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:871-880 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:871\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c234bb8a2c3b9db656fc3277becaa1400a73bcdff1650631992ad0e10220c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1193-1202 | vulkano-taskgraph/src/graph/execute.rs:1813-1822 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1193\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e11e9a144f70dcb2f23bf8f59e97a87ba024c7464a8ff1ef5524aa923a687f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/buffer/mod.rs:763-772 | vulkano/src/image/mod.rs:775-784 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b05b8293db3938a4567f5db8d65053c5fc8c65487ea5f95bec216b065d09b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): vulkano/src/buffer/mod.rs:801-809 | vulkano/src/image/mod.rs:816-825 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:801\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f778277c6973126f162dc1fd6d92776a298308f6112501ae487fbbf985fbc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): vulkano/src/command_buffer/allocator.rs:538-547 | vulkano/src/command_buffer/allocator.rs:605-612 \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 \u0060vulkano/src/command_buffer/allocator.rs:538\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":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff258c433f15a2bea250c896e374ce341b177610fe1d0332eb308ed987dbde9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:597-606 | vulkano/src/command_buffer/commands/clear.rs:866-875 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9a46db95abd74246ac5d3148e78bd548114cbbe720727fc513e68a5d85aa99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3130-3139 | vulkano/src/command_buffer/commands/copy.rs:6873-6882 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3130}}}],"partialFingerprints":{"codehealthFindingId/v1":"53538e937da97b1472870d5e493bfb7bc4718ab6fc211af062275e6a5fce0ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:1608-1617 | vulkano/src/command_buffer/commands/sync.rs:1622-1631 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1608\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/commands/sync.rs:1634\u0060 calls \u0060enabled_features\u0060 and \u0060vulkano/src/command_buffer/commands/sync.rs:1619\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b66ca1c6cffec94ef61cab8a5b3aff0a1793cdfc5b74bbf2e1162895ebef24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:2166-2175 | vulkano/src/command_buffer/commands/sync.rs:2180-2189 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:2166\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/commands/sync.rs:2192\u0060 calls \u0060enabled_features\u0060 and \u0060vulkano/src/command_buffer/commands/sync.rs:2177\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee48f2020b2aaf00c2b73177b7d65f80ccbf7228ec7b2085ab66a4c334b624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/traits.rs:398-407 | vulkano/src/command_buffer/traits.rs:445-454 \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 \u0060vulkano/src/command_buffer/traits.rs:398\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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60b2e789d56ccf4c230198c5041a58d8a9704ee5f7645e7a590b38279676c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/memory/allocator/suballocator/free_list.rs:414-423 | vulkano/src/memory/allocator/suballocator/tlsf.rs:526-535 \u2014 before extracting anything, compare \u0060vulkano/src/memory/allocator/suballocator/free_list.rs\u0060 and \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060vulkano/src/memory/allocator/suballocator/free_list.rs:414\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs:524\u0060 calls \u0060dangling\u0060 and \u0060vulkano/src/memory/allocator/suballocator/free_list.rs:413\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":"vulkano/src/memory/allocator/suballocator/free_list.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1152f6a2053e0a97859b420837a7841bc0acf783c64c2f14297cea7540a283b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/memory/device_memory.rs:2494-2503 | vulkano/src/memory/device_memory.rs:2550-2559 \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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":2494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c279d526f1a11cb780474d7627a34ac47d31cff164e0fb8f56858aaca9a38e52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:1433-1442 | vulkano/src/pipeline/graphics/mod.rs:1444-1453 \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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b543c72d17e4278560fef0d9d3cf2226f3e039a8b8df788a8188a4554271a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:2153-2162 | vulkano/src/pipeline/graphics/mod.rs:2220-2229 \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 \u0060vulkano/src/pipeline/graphics/mod.rs:2153\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":2153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d1ab91dd359317dfc38e506ac536fa7bb4a4f5430b13931bd104ddc37d6d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/shader/reflect.rs:993-1002 | vulkano/src/shader/spirv/specialization.rs:166-175 \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 \u0060vulkano/src/shader/reflect.rs:993\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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675db5ba17634594742b813aa1c50ea546bb63660d19e4a549fa95e1f4e9e08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano-taskgraph/src/command_buffer/commands/copy.rs:253-261 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:442-450 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1024-1032 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:253\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2ec7057150ebf0ad9884bd69171eadf71c1798fca2e3c586a2d605ad1b0d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano/src/command_buffer/auto/commands/render_pass.rs:1264-1272 | vulkano/src/command_buffer/commands/render_pass.rs:1335-1343 | vulkano/src/render_pass/framebuffer.rs:506-514 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs\u0060 and \u0060vulkano/src/command_buffer/commands/render_pass.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs:1264\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b4d087c437aa36a16548fa386118c7ce870d6b9757c37683c067976ee4a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1619-1627 | vulkano/src/command_buffer/commands/sync.rs:2177-2185 | vulkano/src/command_buffer/commands/sync.rs:2930-2938 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1619\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d299a073205b317bbe14117680fa7f866c5992eb47b24a53c39318b3c536ce39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano/src/pipeline/shader/validate_runtime.rs:2744-2752 | vulkano/src/pipeline/shader/validate_runtime.rs:2764-2772 | vulkano/src/pipeline/shader/validate_runtime.rs:2784-2792 \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 \u0060vulkano/src/pipeline/shader/validate_runtime.rs:2744\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"a957a4d2cafa897db82e3b12dd9d43ea4612b24b44a6a79a985131d1c3958630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): autogen/src/formats.rs:311-319 | autogen/src/spirv_reqs.rs:108-116 \u2014 before extracting anything, compare \u0060autogen/src/formats.rs\u0060 and \u0060autogen/src/spirv_reqs.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060autogen/src/formats.rs:311\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":"autogen/src/formats.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"5453b3079fde9d0514ae83856102dbc5f6d4e84b21428b9b39ae38f59e75311f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:290-298 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1061-1069 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:290\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd9f97e7708d9760042535aa35234145810be4bec7fcea5d5148a72d2fcd548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:307-315 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1078-1086 \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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0cc90c05b651a1b53fe9ec6c2a0113c58c6285ffa9f24f3524d03de6af84db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1464-1472 | vulkano-taskgraph/src/graph/execute.rs:2098-2106 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1464\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc48d886f436533b10ca1de4bf34bbec9cdb6963cd4f1227926f516b66f285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:316-324 | vulkano/src/command_buffer/auto/commands/copy.rs:451-459 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/copy.rs:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/auto/commands/copy.rs:326\u0060 calls \u0060buffer\u0060 and \u0060vulkano/src/command_buffer/auto/commands/copy.rs:461\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e4a41c8587a519f0fb150a3711ec58c174e82daaebf240257a6e19757aa406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:406-414 | vulkano/src/command_buffer/auto/commands/copy.rs:541-549 \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 \u0060vulkano/src/command_buffer/auto/commands/copy.rs:406\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/auto/commands/copy.rs:416\u0060 calls \u0060buffer\u0060 and \u0060vulkano/src/command_buffer/auto/commands/copy.rs:551\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df96fe5dd3b327fea600258bab880f972530176dc72be9c67ce4a6ee041729b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:385-393 | vulkano/src/command_buffer/commands/render_pass.rs:578-585 \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 \u0060vulkano/src/command_buffer/commands/render_pass.rs:385\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b612888260a487ac372dee9dd760a53885c8505ee580bd710013a111439e7b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:837-845 | vulkano/src/command_buffer/mod.rs:1430-1438 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:837\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafc9062a9fcd1b86c0f0cb3122bd73d3d7ade9132b141e93c4f2ef039cfc030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/swapchain/acquire_present.rs:84-92 | vulkano/src/sync/semaphore.rs:551-559 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d680fc2608a83f5ec389601403e7ef8d4a937f3eb859d2a77373b22afb4e2892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/swapchain/acquire_present.rs:84-92 | vulkano/src/sync/semaphore.rs:462-470 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f217b59c668d58f11e4ef8a901ccc3dbe214e8ebcafbe7faf571fcf349e036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/swapchain/mod.rs:848-856 | vulkano/src/swapchain/mod.rs:946-955 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/swapchain/mod.rs:848\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"82555df9cff11ddcc36899324b73cf327f82d06c5970cd37d6aac6e4d3e61102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/swapchain/mod.rs:2716-2724 | vulkano/src/swapchain/surface.rs:2868-2876 \u2014 before extracting anything, compare \u0060vulkano/src/swapchain/mod.rs\u0060 and \u0060vulkano/src/swapchain/surface.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 70 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84848e7754af096369fe5b10107b7f8929d1d485d20ba2c3854a0febf3eec13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): vulkano-taskgraph/src/command_buffer/commands/copy.rs:251-257 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:290-297 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1022-1028 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1061-1068 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:251\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e0146fb4549fdb04581284abd84d1057aace4325b55a3fa69a54d634546364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:1588-1595 | vulkano/src/command_buffer/commands/copy.rs:1597-1604 | vulkano/src/command_buffer/commands/copy.rs:3245-3252 | vulkano/src/command_buffer/commands/copy.rs:3963-3970 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bebfe4a810b9963f92676501831efe82f43f2420bb7e0b26ee8d49da464ba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:1582-1589 | vulkano/src/command_buffer/commands/copy.rs:3239-3246 | vulkano/src/command_buffer/commands/copy.rs:3957-3964 | vulkano/src/command_buffer/commands/copy.rs:4950-4957 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1582\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1a092a703a93b37a1e1bddf68f3e6de079003eea6080134b87cba7483b3dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:1731-1738 | vulkano/src/command_buffer/commands/copy.rs:2130-2137 | vulkano/src/command_buffer/commands/copy.rs:3340-3347 | vulkano/src/command_buffer/commands/copy.rs:4058-4065 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1731\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f56c2cff7c5f2669be79f9f9129568b4c586603ee1fe50765325fe2fe6080d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): vulkano/src/image/sampler/mod.rs:1265-1272 | vulkano/src/image/sampler/mod.rs:1274-1281 | vulkano/src/image/sampler/mod.rs:1283-1290 | vulkano/src/image/sampler/mod.rs:1292-1299 \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 \u0060vulkano/src/image/sampler/mod.rs:1265\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":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e95c630bdd08becc9e966e855cac7fae476f8514beb6fb5088625f911802cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1482-1489 | vulkano/src/command_buffer/commands/sync.rs:2040-2047 | vulkano/src/command_buffer/commands/sync.rs:2793-2800 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1482\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"63083670743f6e3ced09414b72f64f2c97d292d284bb13fc59f47859fe6f948b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1506-1513 | vulkano/src/command_buffer/commands/sync.rs:2064-2071 | vulkano/src/command_buffer/commands/sync.rs:2817-2824 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1506\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"352b4b7a8a7692dc797a97c1782735abda3157e3840a45e5355a180316a6da4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1530-1537 | vulkano/src/command_buffer/commands/sync.rs:2088-2095 | vulkano/src/command_buffer/commands/sync.rs:2841-2848 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1530\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2debd1264d8bf9cfeeedf2ee08d3894bcfad9d0ff0b10cf21699ced21642cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1554-1561 | vulkano/src/command_buffer/commands/sync.rs:2112-2119 | vulkano/src/command_buffer/commands/sync.rs:2865-2872 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1554\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"949e7921fb3d2ac2ed083812145f6000142b5a5055d2345dbb3b9b58c988ab56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1578-1585 | vulkano/src/command_buffer/commands/sync.rs:2136-2143 | vulkano/src/command_buffer/commands/sync.rs:2889-2896 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1578\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"757069fc35aab589b3be48191a5752eb028710c9d328cc1e53a303e06f279a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1634-1641 | vulkano/src/command_buffer/commands/sync.rs:2192-2199 | vulkano/src/command_buffer/commands/sync.rs:2945-2952 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1634\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"af729fe22762adc835cea7786f95ec1793d2a509a39fead88abcc7a552ece107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1658-1665 | vulkano/src/command_buffer/commands/sync.rs:2216-2223 | vulkano/src/command_buffer/commands/sync.rs:2969-2976 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1658\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5bf1c17302d8130d8bf7e6e1155ac27a88e9697138c13ae23942b57e0e5f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/image/mod.rs:2121-2128 | vulkano/src/image/sys.rs:1932-1939 | vulkano/src/swapchain/mod.rs:2446-2453 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2121\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":"vulkano/src/image/mod.rs"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"785ac5deb2b2dfeea9276c60254e432150a4af898824e79dd01fa7177c2dac6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): autogen/src/extensions.rs:212-219 | autogen/src/features.rs:229-236 \u2014 before extracting anything, compare \u0060autogen/src/extensions.rs\u0060 and \u0060autogen/src/features.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060autogen/src/extensions.rs:212\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":"autogen/src/extensions.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b70bf6da7b8a78d05a38fe18586c7e87020c3bd2b7cc5fbeea5000ce3a0fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): autogen/src/extensions.rs:433-439 | autogen/src/features.rs:474-481 \u2014 before extracting anything, compare \u0060autogen/src/extensions.rs\u0060 and \u0060autogen/src/features.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 66 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060autogen/src/extensions.rs:433\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/extensions.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"f548a6064e60f3fce669e5f7d870e816ce321f70753ac73093dd3577fbb450cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): autogen/src/extensions.rs:943-950 | autogen/src/spirv_reqs.rs:103-110 \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 \u0060autogen/src/extensions.rs:943\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":"autogen/src/extensions.rs"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"074795db568fac8c02804f47dd3da70219411d7cd04aedce86cfe59529b7ce84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): autogen/src/properties.rs:1100-1107 | autogen/src/properties.rs:1127-1134 \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 \u0060autogen/src/properties.rs:1100\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":"autogen/src/properties.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f59267dab48532947448ec523f33504eff9da31718b786852981712ccf9c5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:52-59 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:589-596 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:52\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49f87a6ff6f9be5e7c22d7f7d52a876793b115dbc768ec19fdb8dd6ca83ed32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:220-227 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:416-423 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:220\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfa42e7d91b4352087f0ba01237ddd593bfc37d35dfdc4328300a1a0da2ddef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:440-446 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:474-481 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"633e7549d64c39b1cee18cb67dd8b10390cf53c826db703ae09793754a7916dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:612-618 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:646-653 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:646\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9959e619013c03958fe2867cc7df3c81b3b984d2505c2bab4d1cf6f9b8b965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/sync.rs:116-123 | vulkano-taskgraph/src/command_buffer/commands/sync.rs:216-223 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/sync.rs:116\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":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea8403d57a430f0d0768a4d3f5dd786de291bdee69f01ebbe3b7efa53416adc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1068-1075 | vulkano-taskgraph/src/graph/execute.rs:1110-1117 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1068\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"10416776f4ca0fe14ac50e13dc4fd9f34dc8f3265c2cd42de52afebacad2d5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/buffer/mod.rs:775-782 | vulkano/src/image/mod.rs:788-795 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:775\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b210ee1f383e4c6f9e502984f3172fe4d7a1db7d3e4bbf9cea42c67764b963e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:188-195 | vulkano/src/command_buffer/auto/commands/copy.rs:739-746 \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 \u0060vulkano/src/command_buffer/auto/commands/copy.rs:188\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd903dccc5a442c1e4fa7de4c786f124b1a64ba9087348ad033b5f5db284a8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:271-278 | vulkano/src/command_buffer/auto/commands/copy.rs:825-832 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/copy.rs:271\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2085aea2497878b371c447ffb87957efa722c4e94231a5d6259388fdc1329b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:445-452 | vulkano/src/command_buffer/commands/clear.rs:678-685 \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 \u0060vulkano/src/command_buffer/commands/clear.rs:445\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffffdfa4f0447c4fa85e4ab011120225f333e33f1b8e2bf32aaf8948b75805a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:1606-1613 | vulkano/src/command_buffer/commands/copy.rs:3990-3997 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1606\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee610ec4754fa8f859889f0a347cbaee0c59cfbc89c6af0ac62878575f8a1984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:3688-3695 | vulkano/src/command_buffer/commands/sync.rs:3719-3726 \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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":3688}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ed879cb349208e4f2592a3718bbccf6a44f9e9be610712d8f7390efadbf8af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/pipeline/graphics/viewport.rs:129-136 | vulkano/src/pipeline/graphics/viewport.rs:143-150 \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 \u0060vulkano/src/pipeline/graphics/viewport.rs:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/viewport.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55d3d8a706b8ba842f6953c5dbed4196cec9dd251146e06f4cbcc8533babd73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/render_pass/mod.rs:4451-4458 | vulkano/src/render_pass/mod.rs:4463-4470 \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 \u0060vulkano/src/render_pass/mod.rs:4451\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":4451}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e53912dbd695941624352f21a8350028839c8e0ba1d4cdf59ca6aa260a9586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/render_pass/mod.rs:4475-4482 | vulkano/src/render_pass/mod.rs:4487-4494 \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 \u0060vulkano/src/render_pass/mod.rs:4475\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":4475}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ef2f02669881937aaefc0c234dc248ee02f16e94ecef68500c48e9ee43e9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/sync/future/join.rs:172-179 | vulkano/src/sync/future/join.rs:205-212 \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 \u0060vulkano/src/sync/future/join.rs:172\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":"vulkano/src/sync/future/join.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f382d5279f193b28bc1f2bb99fad2264bd109a308bd4a701a91724fed04b8be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): vulkano-taskgraph/src/graph/execute.rs:1068-1074 | vulkano-taskgraph/src/graph/execute.rs:1110-1116 | vulkano-taskgraph/src/graph/execute.rs:1682-1688 | vulkano-taskgraph/src/graph/execute.rs:1725-1731 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1068\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/graph/execute.rs:1690\u0060 calls \u0060convert_stage_mask\u0060 and \u0060vulkano-taskgraph/src/graph/execute.rs:1075\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d2930b1a7e9345b701c1dbae0ca9a41674713bed9d8c44dc7aef8a96d8cc03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/auto/commands/pipeline.rs:734-740 | vulkano/src/command_buffer/auto/commands/pipeline.rs:950-956 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1096-1102 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:734\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ef6d1798e73a367d42e9ee53d7d947080257fdfdedfbb13e4ad20ab78d78f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1436-1442 | vulkano/src/command_buffer/commands/sync.rs:1994-2000 | vulkano/src/command_buffer/commands/sync.rs:2747-2753 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1436\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dabbf66410d9f4fd7e87ceeaf97bd230c8f0898abce4114681c21bc19477af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1494-1500 | vulkano/src/command_buffer/commands/sync.rs:2052-2058 | vulkano/src/command_buffer/commands/sync.rs:2805-2811 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1494\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c6522ed943b46b0146c3bc6472ceb46a319e0562a96e32fb651181db08307f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1518-1524 | vulkano/src/command_buffer/commands/sync.rs:2076-2082 | vulkano/src/command_buffer/commands/sync.rs:2829-2835 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1518\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68500df0a1a3b60aa76fd7b4f72a5fc155eeb98a992061eb40ff195f54060f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1542-1548 | vulkano/src/command_buffer/commands/sync.rs:2100-2106 | vulkano/src/command_buffer/commands/sync.rs:2853-2859 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1542\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96e52f663a2edfda773cb4b44787eef28605091df816b9eb92bd93ca5aa3680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1566-1572 | vulkano/src/command_buffer/commands/sync.rs:2124-2130 | vulkano/src/command_buffer/commands/sync.rs:2877-2883 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1566\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"045b944dbf63dc896164ef76dff5b34ca278fe7f16bcd1fc5a2cabb18370bce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1590-1596 | vulkano/src/command_buffer/commands/sync.rs:2148-2154 | vulkano/src/command_buffer/commands/sync.rs:2901-2907 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1590\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5d304071e990e3c428a1b978701bb37a527388349fa85d5e3be314f3492a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1646-1652 | vulkano/src/command_buffer/commands/sync.rs:2204-2210 | vulkano/src/command_buffer/commands/sync.rs:2957-2963 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1646\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8e2d834d91bf723163dd4ea40a347e60da3210918b3eea34dd61de279d8b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1670-1676 | vulkano/src/command_buffer/commands/sync.rs:2228-2234 | vulkano/src/command_buffer/commands/sync.rs:2981-2987 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1670\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e24c10d50524c4be4df2772ba9bd6047cc1feefebc96ea7bee3642b6c2c689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1696-1702 | vulkano/src/command_buffer/commands/sync.rs:2254-2260 | vulkano/src/command_buffer/commands/sync.rs:3007-3013 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1696\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b5cef86b0b627c55deecfb175045b407e10af49cbdae10560c3293acb81a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/descriptor_set/update.rs:926-932 | vulkano/src/descriptor_set/update.rs:979-985 | vulkano/src/descriptor_set/update.rs:1391-1397 \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 \u0060vulkano/src/descriptor_set/update.rs:926\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"05452c2cbc0f8b70f1af94c36ac6c224de29386de54ad8fc170deb9831be02ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:281-287 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1052-1058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:281\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48fd1866722cebbdefd634c3025ac64cf06e77fd54946ef2c2f433fe8959b48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1029-1035 | vulkano-taskgraph/src/graph/execute.rs:1210-1216 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1029\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"5650f7fd8e24039fbb577489f72bcb70ebfa357ed93ee8c808bb3fc288becfe9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1219-1232 | vulkano-taskgraph/src/graph/execute.rs:1238-1251 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1219\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6192c3e1b0e90b2e1731c9ad6303bd0839bd7a7952f562c30235fad212f4818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/buffer/mod.rs:857-863 | vulkano/src/image/mod.rs:885-891 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:857\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36c5848e4cf1093657f30b8b8cfe4ec8ca038f93d539803d2aad6f20856ddb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/copy.rs:263-269 | vulkano/src/command_buffer/auto/commands/copy.rs:817-823 \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 \u0060vulkano/src/command_buffer/auto/commands/copy.rs:263\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":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd52e9dcf1ebd223ac78837e94112871a90f972bf8020bce31750180fbe5f2a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:458-464 | vulkano/src/command_buffer/auto/commands/pipeline.rs:589-595 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:458\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e808565f259566a95e058372b9ec3d65aaa16d47295215860954784ec67ec6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:5326-5347 | vulkano/src/command_buffer/commands/copy.rs:5539-5560 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ced765f1accdca298932e185be98157788ca29c4fd346803293d32d8dbda873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/instance/mod.rs:1152-1158 | vulkano/src/instance/mod.rs:1204-1210 \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 \u0060vulkano/src/instance/mod.rs:1152\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":"vulkano/src/instance/mod.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e557d833d7ecf9388ca452deb0a2a146babd997947e7d6f25faad4a9bd44a9b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/memory/allocator/suballocator/buddy.rs:566-572 | vulkano/src/memory/allocator/suballocator/buddy.rs:631-637 \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":"vulkano/src/memory/allocator/suballocator/buddy.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b493371688bc1c9425b1705517c50e59951d41df29b949dcbc9594899d7c557"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/render_pass/mod.rs:718-725 | vulkano/src/render_pass/mod.rs:727-734 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b1d950d99413d02a71cfa3a620a17f96f098cfc56d6fb135118bc2b463fb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): vulkano-taskgraph/src/command_buffer/commands/copy.rs:54-59 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:223-228 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:419-424 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:591-596 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:813-818 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:994-999 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:589\u0060 calls \u0060buffer_unchecked\u0060 and \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:221\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f904433258202869e93d9765e8f3c92725d115a9dd9a503185bfc31a75414d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): vulkano-taskgraph/src/graph/execute.rs:994-999 | vulkano-taskgraph/src/graph/execute.rs:1195-1200 | vulkano-taskgraph/src/graph/execute.rs:1609-1614 | vulkano-taskgraph/src/graph/execute.rs:1815-1820 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:994\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"e414cb1701d20026156e21b29f65a86538570db4f09db3568d88d350c8da785f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): vulkano-taskgraph/src/graph/execute.rs:1226-1231 | vulkano-taskgraph/src/graph/execute.rs:1245-1250 | vulkano-taskgraph/src/graph/execute.rs:1845-1850 | vulkano-taskgraph/src/graph/execute.rs:1865-1870 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano-taskgraph/src/graph/execute.rs:1852\u0060 calls \u0060convert_stage_mask\u0060 and \u0060vulkano-taskgraph/src/graph/execute.rs:1232\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3eb32e4a2313eb35070c3145ce10c932e63dd27ed3b96683d6c5e76b94c5d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): vulkano-taskgraph/src/resource/mod.rs:984-989 | vulkano-taskgraph/src/resource/mod.rs:1022-1027 | vulkano-taskgraph/src/resource/mod.rs:1060-1065 | vulkano-taskgraph/src/resource/mod.rs:1098-1103 \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 \u0060vulkano-taskgraph/src/resource/mod.rs:984\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060id\u0060 to \u0060Id\u003CBuffer\u003E\u0060 in one and \u0060Id\u003CImage\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d24ec60d3f12a7442ff35ecdf1a496b6acfed6137a05538679e9de526c81aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano-shaders/src/lib.rs:952-957 | vulkano-shaders/src/lib.rs:1085-1090 \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 \u0060vulkano-shaders/src/lib.rs:952\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":"vulkano-shaders/src/lib.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"089ed879c83a32aacfd142222f604e38ad35d521038e59eb927cede0fa9be9f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/sync.rs:111-116 | vulkano/src/command_buffer/commands/sync.rs:3684-3689 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0f5e0804d34a7326cc6ea1955fa19582f59a02647486b9574c73c01930227f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano-taskgraph/src/graph/execute.rs:1072-1077 | vulkano-taskgraph/src/graph/execute.rs:1229-1235 \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 \u0060vulkano-taskgraph/src/graph/execute.rs:1072\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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21aa007777c5ca5cbb2dc0c5d900206dac7ea05aa20f294c69be05f023b1c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/buffer/mod.rs:789-794 | vulkano/src/image/mod.rs:803-808 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:789\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc18a079c252d42e4534f19dd25c3c9f432897805f15ed382890b0df6e5cbda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:850-855 | vulkano/src/command_buffer/mod.rs:1443-1448 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:850\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"552bc374182723b7c379ae5594fccaeef09e0f95fc6fdb8549614fdb1a990e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:881-886 | vulkano/src/command_buffer/mod.rs:1474-1479 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:881\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d9f19622b8ce8c4b99ea95d71fab6dba4286a5c67428c677a52f21da0d14e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:894-899 | vulkano/src/command_buffer/mod.rs:1487-1492 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:894\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"137ce5d68a835e4eb0845816dcffa390be617feca5857e66ec2dc02c1dfdc5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:907-912 | vulkano/src/command_buffer/mod.rs:1500-1505 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:907\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"13030cb9f1258c5841d04a09e67f517518213f4e143aa84ed8edae253b8d308e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:920-925 | vulkano/src/command_buffer/mod.rs:1512-1517 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:920\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994e102032ddee7b9418e04d22614b2d0908197a6a42a0beafa72bff214dac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:933-938 | vulkano/src/command_buffer/mod.rs:1524-1529 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:933\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"286ceb43dc4e9d3ae6a3b082c9879937c66182b18269fabd117d1a96beda1349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:964-969 | vulkano/src/command_buffer/mod.rs:1552-1557 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:964\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"36282ca59197da5d8079a378ed71f1187815330b58009802ed2019688734b07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:977-982 | vulkano/src/command_buffer/mod.rs:1565-1570 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:977\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23c01462a723f2466351beef54b853c61b8f6cf1e80a83c21fc0e67be6ccc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:992-997 | vulkano/src/command_buffer/mod.rs:1579-1584 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:992\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0493d9aa617d322f8aa6745b1dc73f447a827429d74d2e24694956cbd8c7147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/shader/reflect.rs:1183-1188 | vulkano/src/shader/reflect.rs:1202-1207 \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 \u0060vulkano/src/shader/reflect.rs:1183\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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cc30340b378913c46c8905642a62adae1f15344ec4a6bc6960776429b4a6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): vulkano/src/command_buffer/auto/commands/pipeline.rs:266-270 | vulkano/src/command_buffer/auto/commands/pipeline.rs:457-461 | vulkano/src/command_buffer/auto/commands/pipeline.rs:588-592 | vulkano/src/command_buffer/auto/commands/pipeline.rs:732-736 | vulkano/src/command_buffer/auto/commands/pipeline.rs:948-952 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1094-1098 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcabf41dc3507227cebe66ce9470810e9c0ddda5cc044710d6fff15203c8c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): vulkano/src/buffer/mod.rs:870-874 | vulkano/src/buffer/mod.rs:897-901 | vulkano/src/image/mod.rs:898-902 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:870\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) unsafe fn gpu_read_unlock(\u0026mut\u0060 in one and \u0060crate) unsafe fn gpu_write_lock(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"0510d03f80767aa0114c7709937bd35f87762f5ae577eddb666286d9954fd898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): vulkano/src/sync/future/join.rs:176-182 | vulkano/src/sync/future/join.rs:209-215 | vulkano/src/sync/future/join.rs:237-243 \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 \u0060vulkano/src/sync/future/join.rs:176\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/join.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6943a1a3e9fbf8243ec30b4847658099ca8bc2ce70c46de2b0fe6e6b6fcf8be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:244-248 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1015-1019 \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 \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs:244\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":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9b0192f7580bf19aae3883cc0cf783237d70fb67f128eb75c104601fedc9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): vulkano/src/image/mod.rs:2480-2484 | vulkano/src/image/sys.rs:2755-2759 \u2014 before extracting anything, compare \u0060vulkano/src/image/mod.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 130 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 \u0060vulkano/src/image/mod.rs:2480\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cb31e5b6ae200e060ed75c038429d7e6eb040a7f8402df8a0cd15b16c77a42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/pipeline/shader/inout_interface.rs:358-363 | vulkano/src/pipeline/shader/inout_interface.rs:364-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa11897cf8dd4a39d4d09b90015b642e7b7611c1d0849a4ef962df5eb7a32cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): autogen/src/features.rs:748-756 | autogen/src/properties.rs:581-589 \u2014 before extracting anything, compare \u0060autogen/src/features.rs\u0060 and \u0060autogen/src/properties.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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 \u0060autogen/src/features.rs:748\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":"autogen/src/features.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe9805447a29e3843306d8de4ebe297e30151b729a4b9a7c398609514659ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): vulkano-taskgraph/src/command_buffer/commands/copy.rs:1333-1342 | vulkano-taskgraph/src/command_buffer/commands/copy.rs:1716-1725 | vulkano/src/command_buffer/auto/commands/copy.rs:1140-1149 | vulkano/src/command_buffer/auto/commands/copy.rs:1643-1652 | vulkano/src/command_buffer/commands/copy.rs:3018-3027 | vulkano/src/command_buffer/commands/copy.rs:6783-6792 \u2014 before extracting anything, compare \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/command_buffer/auto/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f112ffeeebed97e92253ef468a404f8b38f935e9023eb4eab77cdd214d30de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano-taskgraph/src/command_buffer/commands/copy.rs:1491-1501 | vulkano/src/command_buffer/auto/commands/copy.rs:1318-1328 | vulkano/src/command_buffer/commands/copy.rs:4665-4675 \u2014 before extracting anything, compare \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/command_buffer/auto/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff5a3ce8e833173acaedd4f87a4cf3d7094f2a2aeb6315ad73bed3b2ebc3450"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano-taskgraph/src/command_buffer/commands/copy.rs:1609-1617 | vulkano/src/command_buffer/auto/commands/copy.rs:1506-1514 | vulkano/src/command_buffer/commands/copy.rs:5859-5867 \u2014 before extracting anything, compare \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/command_buffer/auto/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7e66c2ef015c006dca63245bd1bf2520b98eb11cf4fd824008bca3a711750f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/copy.rs:1728-1734 | vulkano/src/command_buffer/commands/copy.rs:6925-6931 \u2014 before extracting anything, compare \u0060vulkano-taskgraph/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef880231f1301d7e849f49f68bf5e812fe807089f49a090230f5a4cb2523959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/sync.rs:307-315 | vulkano/src/command_buffer/commands/sync.rs:1095-1103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9642f802b90711f1ad6d60ddc5850dd06e9700e0043efc53444aba58b9bd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano-taskgraph/src/command_buffer/commands/sync.rs:363-371 | vulkano/src/command_buffer/commands/sync.rs:1339-1347 | vulkano/src/sync/pipeline.rs:1854-1862 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4977ce9f25bc20c923c31f3b2c61df30e54c784a3ba66b737f97fe1945dcf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 23): vulkano-taskgraph/src/resource/mod.rs:106-111 | vulkano/src/buffer/sys.rs:64-69 | vulkano/src/buffer/view.rs:84-89 | vulkano/src/command_buffer/pool.rs:55-60 | vulkano/src/descriptor_set/layout.rs:65-70 | vulkano/src/descriptor_set/pool.rs:50-55 | vulkano/src/device/mod.rs:214-219 | vulkano/src/device/private_data.rs:50-55 | vulkano/src/display.rs:368-373 | vulkano/src/image/sampler/mod.rs:129-134 | vulkano/src/image/sampler/ycbcr.rs:161-166 | vulkano/src/image/sys.rs:93-98 | vulkano/src/image/view.rs:65-70 | vulkano/src/instance/debug.rs:78-83 | vulkano/src/instance/mod.rs:314-319 | vulkano/src/pipeline/cache.rs:95-100 | vulkano/src/pipeline/layout.rs:106-111 | vulkano/src/query.rs:50-55 | vulkano/src/render_pass/framebuffer.rs:65-70 | vulkano/src/render_pass/mod.rs:147-152 | vulkano/src/sync/event.rs:62-67 | vulkano/src/sync/fence.rs:78-83 | vulkano/src/sync/semaphore.rs:111-116 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/resource/mod.rs:106\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026ResourcesCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026BufferCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b3fd9f811c7416d89b9509f4e7310363b2edcf58fb5e571a49d3af57b9aec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/acceleration_structure.rs:139-144 | vulkano/src/shader/mod.rs:479-484 \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 \u0060vulkano/src/acceleration_structure.rs:139\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026AccelerationStructureCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026ShaderModuleCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed9a28b68cf88f600e228cbd50e02c7703ff902e9c4a0524828e47fc54227b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/buffer/mod.rs:414-419 | vulkano/src/command_buffer/sys.rs:66-71 \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 \u0060vulkano/src/buffer/mod.rs:414\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b194ffbc634a47b27496bc185b6c96ccc23d76ab00415e5683115e5ce0d21f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/buffer/mod.rs:819-826 | vulkano/src/image/mod.rs:835-842 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f8e95a8bea61bb0928ffa39611b7c5d9013d67b589cda533410ea4ad488ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:1384-1397 | vulkano/src/command_buffer/commands/render_pass.rs:2284-2297 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs\u0060 and \u0060vulkano/src/command_buffer/commands/render_pass.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060image_view\u0060 to \u0060Arc\u003CImageView\u003E\u0060 in one and \u0060\u0026\u0027a ImageView\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9f2e447c58805e9611cd8dfcf4f397d906ad09fe5538c1960099e06f041c47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/descriptor_set/sys.rs:62-67 | vulkano/src/image/mod.rs:167-172 \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 \u0060vulkano/src/descriptor_set/sys.rs:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060allocator\u0060 to \u0060Arc\u003Cdyn DescriptorSetAllocator\u003E\u0060 in one and \u0060Arc\u003Cdyn MemoryAllocator\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/sys.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccd106d37c0b399a80cd131176540a158951bde238b03993b039be6c3cc769e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/device/mod.rs:324-329 | vulkano/src/instance/mod.rs:395-400 \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 \u0060vulkano/src/device/mod.rs:324\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_fn\u0060 to \u0060impl FnOnce(\u0026vk::DeviceCreateInfo\u003C\u0027_\u003E) -\u003E Result\u003Cvk::Device\u0060 in one and \u0060impl FnOnce(\u0026vk::InstanceCreateInfo\u003C\u0027_\u003E) -\u003E Result\u003Cvk::Instance\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d69eb21ab2fc2bf313f29832d6184f3bc06b11468e9fe77af6b82fe437078f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/memory/device_memory.rs:686-691 | vulkano/src/memory/mod.rs:371-376 \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 \u0060vulkano/src/memory/device_memory.rs:686\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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac7e9e0b1b7c3524106c41a13d829feeb2d2d72282b4f0a1c0169d7386699a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/memory/device_memory.rs:766-771 | vulkano/src/memory/mod.rs:443-448 \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 \u0060vulkano/src/memory/device_memory.rs:766\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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"8759aaee8297c0c7f99c95d00d524035d8bf2360d4009c0f8779e87904bf38ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): vulkano/src/pipeline/compute.rs:69-74 | vulkano/src/pipeline/graphics/mod.rs:196-201 | vulkano/src/pipeline/ray_tracing.rs:116-121 | vulkano/src/swapchain/mod.rs:448-453 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/compute.rs\u0060 and \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/compute.rs:69\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026ComputePipelineCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026GraphicsPipelineCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"836c61933652197b120d7a888929d3177bf1a5a6f1603ef322d0cf6d998724eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): vulkano/src/pipeline/compute.rs:82-86 | vulkano/src/pipeline/graphics/mod.rs:209-213 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/compute.rs\u0060 and \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/compute.rs:82\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026ComputePipelineCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026GraphicsPipelineCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a3ce5d1c5000bd67dcf4a710aacf25923a6a4c666779589ae5bac7104c29e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/event.rs:212-217 | vulkano/src/sync/fence.rs:228-233 \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":"vulkano/src/sync/event.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f10580c30aea4667f3df59031967b225c16bacb60d55ec36c07f4dbcaadc38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/event.rs:302-307 | vulkano/src/sync/fence.rs:425-430 \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":"vulkano/src/sync/event.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c71db55ebe82512103d8826f04079926fcbdcd76ceb6fde3fde5b2a8ebcfa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/fence.rs:324-329 | vulkano/src/sync/semaphore.rs:525-530 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/semaphore.rs:525\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a05a14ec3b0c3c6e3fc3e4293aaf37e41db06598ece7e185d6226a4366d101e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/fence.rs:550-555 | vulkano/src/sync/semaphore.rs:637-642 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:550\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060handle_type\u0060 to \u0060ExternalFenceHandleType\u0060 in one and \u0060ExternalSemaphoreHandleType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa2dc7922db91a24648d08edf5d85a60fe5b42877b6f066555baf3f91072e1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/fence.rs:679-684 | vulkano/src/sync/semaphore.rs:775-780 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:679\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060handle_type\u0060 to \u0060ExternalFenceHandleType\u0060 in one and \u0060ExternalSemaphoreHandleType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"701b6ce57d3bf6f997677ad901a7bd2b7b9e51c420fcd302d9fb012ac3b3cca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/fence.rs:805-810 | vulkano/src/sync/semaphore.rs:1036-1041 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:805\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d790e0ca16e5c1c25237e42c6ae3cd3b996f9ed91cacfa4dd7a0b31c918eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/sync/fence.rs:893-898 | vulkano/src/sync/semaphore.rs:1146-1151 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:893\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc9dd6b324827c4a86002613eef5874f792c3e7b946db75564b7c17b84248ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano-taskgraph/src/command_buffer/commands/clear.rs:256-265 | vulkano/src/command_buffer/commands/clear.rs:339-348 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/command_buffer/commands/clear.rs:256\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":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb29c55267a9fa0e1f67c78755a192b2249389e7a5f732a2b3c0275a0ba2e978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): vulkano-taskgraph/src/descriptor_set.rs:453-458 | vulkano-taskgraph/src/descriptor_set.rs:478-483 | vulkano-taskgraph/src/descriptor_set.rs:503-508 | vulkano-taskgraph/src/resource/mod.rs:239-244 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/descriptor_set.rs:453\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":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ee3e7b9f8d27778ac7de7d85195c1378d4ea71d73b11214e360a3ed24dade7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): vulkano-taskgraph/src/resource/mod.rs:290-295 | vulkano-taskgraph/src/resource/mod.rs:334-339 | vulkano-taskgraph/src/resource/mod.rs:545-550 | vulkano/src/device/physical.rs:1863-1868 | vulkano/src/device/physical.rs:2070-2075 | vulkano/src/device/physical.rs:2339-2344 | vulkano/src/device/physical.rs:2571-2576 | vulkano/src/device/private_data.rs:166-171 | vulkano/src/pipeline/ray_tracing.rs:315-320 | vulkano/src/swapchain/mod.rs:1724-1729 | vulkano/src/sync/semaphore.rs:424-429 \u2014 before extracting anything, compare \u0060vulkano/src/device/physical.rs\u0060 and \u0060vulkano/src/swapchain/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano-taskgraph/src/resource/mod.rs:290\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060create_info\u0060 to \u0060\u0026ImageCreateInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026SwapchainCreateInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac87b615b054b0aaf7ff5988107403c6aa7ded8f6ee03bfe6f247564b62a869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/buffer/mod.rs:714-720 | vulkano/src/image/mod.rs:724-730 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b66ad4b9c9173f51d598af63129e11338733619af64413792560aa2a26a7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/buffer/sys.rs:294-299 | vulkano/src/image/sys.rs:545-550 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:294\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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1de3e4d70a7b3fe99751025f6499ca8754c445de47c08728b127a4eda1ad97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:1142-1146 | vulkano/src/sync/event.rs:413-417 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4d06babef60c74bdf648a2fced0d959595ac9c2652b0cb7ad4a5892a2869a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): vulkano/src/device/mod.rs:1433-1438 | vulkano/src/device/mod.rs:1540-1545 | vulkano/src/device/mod.rs:1654-1659 | vulkano/src/device/queue.rs:372-377 | vulkano/src/device/queue.rs:731-736 | vulkano/src/memory/device_memory.rs:430-435 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/device/mod.rs:1433\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":"vulkano/src/device/mod.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6001cb14ad37269f9a7ee7f5fbb87eccb475b94d3adeb4986d65b567b6a3d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/device/mod.rs:2488-2500 | vulkano/src/device/queue.rs:293-305 \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":"vulkano/src/device/mod.rs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db0b9b165a29b80aa9b982a66e20e80211d204cb1f348b2684c5febb0c7e8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): vulkano/src/device/physical.rs:3124-3130 | vulkano/src/device/physical.rs:3222-3228 | vulkano/src/image/sys.rs:1311-1315 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/device/physical.rs:3124\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":"vulkano/src/device/physical.rs"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0643789c48a88a11af9473e87ba11b085ce0a0478047e1de088e87a84ef342a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): vulkano/src/sync/fence.rs:1433-1447 | vulkano/src/sync/semaphore.rs:2151-2165 | vulkano/src/sync/semaphore.rs:2256-2269 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/semaphore.rs:2151\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa139843277f21481588f356e51f2f9fca0ddba91a21d26e968cdef67d2df334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:3421-3492 | vulkano/src/command_buffer/commands/sync.rs:3537-3608 \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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72ab1bc6bb80ce4d2deef63ace9fbe145130444dca731d23893ed97bda595e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:264-288 | vulkano/src/command_buffer/commands/copy.rs:349-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/commands/copy.rs:264\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6309cdee144d4e03fd9832052fca30928bbff5ef35423c9eecfcaa1095dd3ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:1543-1562 | vulkano/src/command_buffer/commands/render_pass.rs:1582-1604 \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 \u0060vulkano/src/command_buffer/commands/render_pass.rs:1543\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"093ae69f52eca8128d02641c5f8edca145c448490dc47c0d3e32ca3679a1f1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:817-836 | vulkano/src/render_pass/mod.rs:2280-2296 \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 \u0060vulkano/src/pipeline/graphics/mod.rs:817\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"726a108a9304c59cd4232bae5c2a9e2054a94b892a3b02454e9ad3c786081596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/render_pass/mod.rs:1343-1362 | vulkano/src/render_pass/mod.rs:1468-1487 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c414ddd37970b53d9adc62cdf61ae427d0bb40fc2f6233d0d782522388ddb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:5172-5191 | vulkano/src/command_buffer/commands/copy.rs:6214-6233 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4da699e75abf494a5f592f18749b00761e06bdfb42e37321013f95c1c2318e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:2652-2671 | vulkano/src/command_buffer/commands/copy.rs:2673-2692 \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, \u0060vulkano/src/command_buffer/commands/copy.rs:2662\u0060 calls \u0060array_layers\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs:2641\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2652}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d738850a9362e66b5ecaf619de7a7e5b4bf3e8201462eb9ad7985ca1a1d7d5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:3504-3522 | vulkano/src/command_buffer/commands/sync.rs:3619-3637 \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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":3504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5cceef77444a25465f48b3311f6cf86c514a93a054db5deb3fb9b8a1a564d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:2110-2128 | vulkano/src/command_buffer/commands/copy.rs:5384-5402 | vulkano/src/command_buffer/commands/copy.rs:6416-6434 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff8f1d60dcb80983acf9741fc503e788abb7d51a86423f9f0609af64a0af00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:1848-1886 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1921-1959 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:1848\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04cc380b4e915730597c9b070e2e207ceb7a2dadc3aedae740bfc5ccec66f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:1315-1330 | vulkano/src/command_buffer/commands/copy.rs:2820-2837 | vulkano/src/command_buffer/commands/copy.rs:5668-5686 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1315\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27051afdfc1781c8330d74a556d17273d318df9701e4e78a5cb65404748351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:238-255 | vulkano/src/command_buffer/commands/copy.rs:607-618 | vulkano/src/command_buffer/commands/copy.rs:871-882 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"80674044620187a54c56ce5f03a63905b6fbda431e1fedb8aba692c8da2c0ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): vulkano/src/command_buffer/commands/copy.rs:1892-1909 | vulkano/src/command_buffer/commands/copy.rs:2291-2308 | vulkano/src/command_buffer/commands/copy.rs:3511-3528 | vulkano/src/command_buffer/commands/copy.rs:4229-4246 | vulkano/src/command_buffer/commands/copy.rs:5302-5319 | vulkano/src/command_buffer/commands/copy.rs:5515-5532 | vulkano/src/command_buffer/commands/copy.rs:6331-6348 | vulkano/src/command_buffer/commands/copy.rs:6534-6551 \u2014 all 8 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 \u0060vulkano/src/command_buffer/commands/copy.rs:1892\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"613d76c38959641a1dd4ed18fc533ddc6c20f802afa4bc2ee090298b189aafa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/buffer/sys.rs:496-513 | vulkano/src/image/sys.rs:894-911 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:496\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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b268b64eb05c9ed4a9dc4655ec68f6bf721e120524711657193b9e3b1a9dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): vulkano/src/command_buffer/commands/render_pass.rs:48-65 | vulkano/src/command_buffer/commands/render_pass.rs:455-472 | vulkano/src/command_buffer/commands/render_pass.rs:549-566 | vulkano/src/command_buffer/commands/render_pass.rs:635-652 \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 \u0060vulkano/src/command_buffer/commands/render_pass.rs:48\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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"109b50b4b01c136c529153d2239d4758aefc7a9464baa5f6d945a9777260cd5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:2561-2578 | vulkano/src/command_buffer/commands/copy.rs:2593-2610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee423d3e32a490e0b73bde161cd831deb18feef2f32526994dca59da160bd7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): vulkano/src/command_buffer/auto/commands/secondary.rs:220-236 | vulkano/src/command_buffer/auto/commands/secondary.rs:260-276 | vulkano/src/command_buffer/auto/commands/secondary.rs:300-316 \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 \u0060vulkano/src/command_buffer/auto/commands/secondary.rs:220\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":"vulkano/src/command_buffer/auto/commands/secondary.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a886b247c206dc118279a083205c3ff503714661b86330d9754a1a40e438225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/swapchain/mod.rs:670-686 | vulkano/src/swapchain/mod.rs:692-708 \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 \u0060vulkano/src/swapchain/mod.rs:670\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":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1c7d1dfe1e0fbc1ee81900436e802ce2cf1861b64ecfd1941f95e3a00c0509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:261-276 | vulkano/src/command_buffer/commands/copy.rs:305-320 | vulkano/src/command_buffer/commands/copy.rs:624-640 | vulkano/src/command_buffer/commands/copy.rs:888-904 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7d311e6bc1b6ced8075989c1a534a902ef8b686ff46cae87f4605f17fbd9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:820-836 | vulkano/src/pipeline/ray_tracing.rs:505-518 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 and \u0060vulkano/src/pipeline/ray_tracing.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/graphics/mod.rs:820\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060device\u0060 to \u0060\u0026Device\u0060 in one and \u0060\u0026Arc\u003CDevice\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5755a28eefb4dea31c57e6ed7dcaa8ed0f711bb5dbecdf23db74ed3fae874d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3090-3102 | vulkano/src/render_pass/mod.rs:3188-3204 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7ae2d7404fb5ea771c25359739c5eb262a1c9dd52b1e5edb745b92d20798eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:183-199 | vulkano/src/command_buffer/commands/sync.rs:447-463 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:183\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e3c959d634b2fdb03ff306755d13e306c3acd1847e302f5641da869d8e7060"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3029-3045 | vulkano/src/render_pass/mod.rs:3525-3541 \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 \u0060vulkano/src/render_pass/mod.rs:3525\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c16c848f4a66e78a4a2adea6182776b259ef2143a80b9fbeac0b7f5aa662a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:3085-3100 | vulkano/src/command_buffer/auto/commands/pipeline.rs:3303-3319 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:3085\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3085}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8095a7227d0e58a70b9628f66a888109d595909c84a66a4a858e25cd4f103d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/render_pass/mod.rs:3090-3102 | vulkano/src/render_pass/mod.rs:3188-3204 | vulkano/src/render_pass/mod.rs:3573-3585 \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 \u0060vulkano/src/render_pass/mod.rs:3573\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"d016e29d2d726c9bd05adcbf35adb5df8b9a2ce5284e6d3d8768d26305a1dc30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): vulkano/src/descriptor_set/update.rs:616-631 | vulkano/src/descriptor_set/update.rs:716-732 | vulkano/src/descriptor_set/update.rs:823-839 | vulkano/src/descriptor_set/update.rs:1229-1245 \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 \u0060vulkano/src/descriptor_set/update.rs:616\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/descriptor_set/update.rs:634\u0060 calls \u0060enabled_features\u0060 and \u0060vulkano/src/descriptor_set/update.rs:1250\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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aaa49eefe3c09951ee2f692d7a6a4885d9da63868c202bef9a539254ba8350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/memory/sparse.rs:695-710 | vulkano/src/memory/sparse.rs:727-742 \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 \u0060vulkano/src/memory/sparse.rs:695\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b30e876a8901dc43d4995693103a22f082678195811255d4b3cbe29fa537bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:1618-1633 | vulkano/src/command_buffer/commands/render_pass.rs:1742-1757 \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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc914303f148fb20faee103818dea27ce774f9443b5c871c48d0e2dbf510d4f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:2007-2022 | vulkano/src/descriptor_set/update.rs:2035-2050 \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 \u0060vulkano/src/descriptor_set/update.rs:2007\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"316ae0193fff7b5ffa45ead37c8faa72c826115c9d184bf1b665097f276c186c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): vulkano/src/device/physical.rs:2980-2995 | vulkano/src/device/physical.rs:3059-3071 | vulkano/src/device/physical.rs:3148-3163 | vulkano/src/device/physical.rs:3246-3261 | vulkano/src/device/physical.rs:3340-3355 | vulkano/src/device/physical.rs:3431-3446 \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 \u0060vulkano/src/device/physical.rs:2980\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":"vulkano/src/device/physical.rs"},"region":{"startLine":2980}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5e48a61e33766f1f9a24f6cec4d56a0b6fef3edd7f92c47992e31de59dc5d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vulkano/src/render_pass/mod.rs:2507-2522 | vulkano/src/render_pass/mod.rs:2531-2546 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1c54892a70c4221c3206430bcf6de8a51d6b2448da8bd7a3d5f5d0dc33188a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/render_pass/mod.rs:1167-1181 | vulkano/src/render_pass/mod.rs:1394-1409 \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 \u0060vulkano/src/render_pass/mod.rs:1167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3680a836d9d356229bca4f448d0460f14ee68136bfec257849e406aa1df67ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:515-545 | vulkano/src/command_buffer/commands/clear.rs:784-814 \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 \u0060vulkano/src/command_buffer/commands/clear.rs:515\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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2436b444bef531e2d2dc0a73559ab421b1869c09c10282dfdc3e1d9444e5f273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/render_pass/mod.rs:2419-2433 | vulkano/src/render_pass/mod.rs:2460-2474 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"40902e4039babc17288961feaa0f1599d68ad3b568c09555c80bb11b538c130b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/render_pass/mod.rs:1086-1098 | vulkano/src/render_pass/mod.rs:1172-1186 | vulkano/src/render_pass/mod.rs:1547-1559 \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 \u0060vulkano/src/render_pass/mod.rs:1086\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3923158042ff0fa74c721529a91c96d32eda3cc0ff8b0771cc9c5134cde78c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/memory/sparse.rs:1267-1281 | vulkano/src/memory/sparse.rs:1283-1297 \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 \u0060vulkano/src/memory/sparse.rs:1267\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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"794de1919873c1c8d3eb72f11df13506c4733ea0fa6603f458347c4f5eb4ec24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/sync/semaphore.rs:828-842 | vulkano/src/sync/semaphore.rs:2111-2125 \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 \u0060vulkano/src/sync/semaphore.rs:828\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"26427c1626571272fa4672439ec1b9500cdef186d1b551f4699812ead1c1deb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:355-369 | vulkano/src/descriptor_set/update.rs:1327-1340 \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 \u0060vulkano/src/descriptor_set/update.rs:355\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1179aa1a13849f14178415c52e91455a806ab2efc388827f5a62b08c4c7974d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:5891-5905 | vulkano/src/command_buffer/commands/copy.rs:6824-6838 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5891}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a12b9ea5a6b6a60d8681233a646f1dd8d9129cbbeea694b47393c12f87a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): vulkano/src/command_buffer/commands/clear.rs:102-116 | vulkano/src/command_buffer/commands/copy.rs:1027-1041 | vulkano/src/command_buffer/commands/copy.rs:1115-1129 | vulkano/src/command_buffer/commands/render_pass.rs:52-66 | vulkano/src/command_buffer/commands/render_pass.rs:459-473 | vulkano/src/command_buffer/commands/render_pass.rs:553-567 | vulkano/src/command_buffer/commands/render_pass.rs:639-653 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/clear.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 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 \u0060vulkano/src/command_buffer/commands/clear.rs:102\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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12decad611b917a19ffa5ce320ac8ed15cce962cd2bc1aeac4f08a714ef5f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): vulkano/src/memory/sparse.rs:332-359 | vulkano/src/memory/sparse.rs:787-814 \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 \u0060vulkano/src/memory/sparse.rs:332\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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"881c2c92cc34a4a8531ee75f8c68e4a7cc87ba06238a2a6976ee22d647ba5831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:1144-1158 | vulkano/src/pipeline/graphics/mod.rs:1185-1199 \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 \u0060vulkano/src/pipeline/graphics/mod.rs:1144\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a98eba57c29055da1f8f699dba7fba259086ec087faa4f4093cc17af6067e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:2475-2516 | vulkano/src/command_buffer/commands/sync.rs:3371-3412 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:2475\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2475}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffc4426effa7ab4f9ab331d8d26003567ffda6c07fa628f1ecc2e72ff8074b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3069-3079 | vulkano/src/render_pass/mod.rs:3163-3177 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f055ddb4f0dccbb079e3829eec526c713b28eddf7d29770f46a1595ebac7c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/memory/sparse.rs:315-329 | vulkano/src/memory/sparse.rs:769-783 \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 \u0060vulkano/src/memory/sparse.rs:315\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9babeaebc2fbb06fe48b7dd6ed1f424028d5c381bd2a7d663959b819aeff78e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/render_pass/mod.rs:2551-2565 | vulkano/src/render_pass/mod.rs:2617-2631 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0be459bb45164dbf03ff12474674dd863bdd7a7ca74158a5eddd77a0d2a637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:1905-1919 | vulkano/src/command_buffer/commands/sync.rs:2658-2672 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:1905\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a678af38304321eb806c1822c43f3fa88a9376ff765b31fcce1290fd1689f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:1362-1376 | vulkano/src/image/sampler/mod.rs:779-793 \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 \u0060vulkano/src/command_buffer/commands/render_pass.rs:1362\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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c4934e4dd5688662c0929763be2609cf6e91c92b98230fddad46412fa36ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:84-97 | vulkano/src/command_buffer/auto/commands/pipeline.rs:157-170 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:84\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"12020179f48f8adf8f3cf1b783efaa5ee45634eba5b0bf5b072d3395597e3132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 9): vulkano/src/command_buffer/auto/commands/pipeline.rs:250-263 | vulkano/src/command_buffer/auto/commands/pipeline.rs:441-454 | vulkano/src/command_buffer/auto/commands/pipeline.rs:572-585 | vulkano/src/command_buffer/auto/commands/pipeline.rs:716-729 | vulkano/src/command_buffer/auto/commands/pipeline.rs:932-945 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1078-1091 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1181-1194 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1383-1396 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1522-1535 \u2014 all 9 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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:250\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"27299f4e3fd753f79cbeb49a2da09f8869db9aa16eaad697da3a83ac2a4709a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12): vulkano/src/command_buffer/commands/copy.rs:2024-2036 | vulkano/src/command_buffer/commands/copy.rs:2042-2054 | vulkano/src/command_buffer/commands/copy.rs:2060-2072 | vulkano/src/command_buffer/commands/copy.rs:2423-2435 | vulkano/src/command_buffer/commands/copy.rs:2441-2453 | vulkano/src/command_buffer/commands/copy.rs:2459-2471 | vulkano/src/command_buffer/commands/copy.rs:3643-3656 | vulkano/src/command_buffer/commands/copy.rs:3662-3675 | vulkano/src/command_buffer/commands/copy.rs:3681-3694 | vulkano/src/command_buffer/commands/copy.rs:4361-4374 | vulkano/src/command_buffer/commands/copy.rs:4380-4393 | vulkano/src/command_buffer/commands/copy.rs:4399-4412 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"995412161b5de8e278b34d569c72d12db5bdc40053ea0909f3aed563076ee6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): vulkano/src/command_buffer/auto/commands/pipeline.rs:3107-3120 | vulkano/src/command_buffer/auto/commands/pipeline.rs:3125-3138 | vulkano/src/command_buffer/auto/commands/pipeline.rs:3143-3156 | vulkano/src/command_buffer/auto/commands/pipeline.rs:3177-3190 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:3107\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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3107}}}],"partialFingerprints":{"codehealthFindingId/v1":"904a5d6b4125b9bef35ddb8da3011509c810bdb74ec95e07ee0b3e5633b3570d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/pipeline/graphics/mod.rs:1016-1029 | vulkano/src/pipeline/graphics/mod.rs:1106-1119 \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 \u0060vulkano/src/pipeline/graphics/mod.rs:1016\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafa02e5f6846f9d0f86d318d695afdfb68de2f4455a9a23ce5a6adc65ae74ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): vulkano/src/pipeline/compute.rs:309-322 | vulkano/src/pipeline/graphics/mod.rs:840-853 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/compute.rs\u0060 and \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/compute.rs:309\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d913ec78b1a20f904fc1c1667fa94ed5ffadd2ebde6f3f63274c869f8702c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:124-137 | vulkano/src/command_buffer/commands/copy.rs:482-495 | vulkano/src/command_buffer/commands/copy.rs:767-780 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06efcf449239f81fa01e26316a60919148191ed60e3b8f9f7fa6676f6a23eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): autogen/src/spirv_parse.rs:718-730 | autogen/src/spirv_parse.rs:884-896 \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 \u0060autogen/src/spirv_parse.rs:718\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":"autogen/src/spirv_parse.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c57b84f6e9921b8dff41c28ecf45d76926d47284d01148a79277b268b6a1bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/render_pass/mod.rs:2342-2354 | vulkano/src/render_pass/mod.rs:2361-2373 \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaaa8c1469fb63d3c3c940ee3156ee66c0bef6275bd56882b79da33e000cd89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/sync/fence.rs:595-607 | vulkano/src/sync/fence.rs:1295-1307 \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 \u0060vulkano/src/sync/fence.rs:595\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dd45fda09d09d56906bcb4787bc012b8b86ead5f893edd253553133addb190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/sync/semaphore.rs:679-691 | vulkano/src/sync/semaphore.rs:2001-2013 \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 \u0060vulkano/src/sync/semaphore.rs:679\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"73545740b0e7c47f99e694164dba015490f2a2a3ab141a472b80f20724f1216d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:2867-2879 | vulkano/src/pipeline/graphics/input_assembly.rs:137-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:2867\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":2867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8deaa75e2d75e68db26173a08db5bc32a2b41d414d4770a822bea071916f978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/image/sampler/ycbcr.rs:769-781 | vulkano/src/image/sampler/ycbcr.rs:791-803 \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 \u0060vulkano/src/image/sampler/ycbcr.rs:769\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"575cb4f1e6b96d763e6383037ea3580aa71e91a744dd2cb568b08699bd080431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/pipeline/graphics/color_blend.rs:845-857 | vulkano/src/pipeline/graphics/color_blend.rs:862-874 | vulkano/src/pipeline/graphics/color_blend.rs:879-891 \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 \u0060vulkano/src/pipeline/graphics/color_blend.rs:845\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":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb24973106aa7a90f477e9bc07ddc24ab29bdd65f0214821b066d44125f2621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:2399-2411 | vulkano/src/command_buffer/commands/sync.rs:3295-3307 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:2399\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a5eecf4f8243d7ab238cd8b9eb0cc59266bff170e58fe73f2a7fd46bbff756"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/pipeline/shader/validate_runtime.rs:2394-2406 | vulkano/src/pipeline/shader/validate_runtime.rs:2408-2420 \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 \u0060vulkano/src/pipeline/shader/validate_runtime.rs:2394\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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bc47c9e03453f57f1674fd7ae70d1aa26ea1713a5aac15a269ac283e45931a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/command_buffer/commands/sync.rs:293-305 | vulkano/src/command_buffer/commands/sync.rs:533-545 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:293\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060vulkano/src/command_buffer/commands/sync.rs:547\u0060 calls \u0060iter\u0060, \u0060enumerate\u0060 and \u0060vulkano/src/command_buffer/commands/sync.rs:308\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c598fe7a8edafdbfd613f182f47e62795fab17066a4ffc7549af107f0d940e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3296-3308 | vulkano/src/render_pass/mod.rs:3382-3394 \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 \u0060vulkano/src/render_pass/mod.rs:3296\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3296}}}],"partialFingerprints":{"codehealthFindingId/v1":"823c331b76e7c1ed53c228ee67e32ea43a0ae1dbd8b705cbae3ac6ba03090058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:590-602 | vulkano/src/command_buffer/commands/sync.rs:635-647 | vulkano/src/command_buffer/commands/sync.rs:680-692 \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 \u0060vulkano/src/command_buffer/commands/sync.rs:590\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"1528730e1f97faf472deea3d6420c49cde822b54d2faeb5f987610f6ab4bcc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/pipeline/graphics/subpass.rs:223-235 | vulkano/src/pipeline/graphics/subpass.rs:264-276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/graphics/subpass.rs:223\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":"vulkano/src/pipeline/graphics/subpass.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df8f0a694701c7db37a4aac50b068c01dfc8a9d558b36bdd6c242b989a6b170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/sync/fence.rs:725-737 | vulkano/src/sync/fence.rs:1399-1411 \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 \u0060vulkano/src/sync/fence.rs:725\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"19455da374f0cb3e85161d5c0f6256f5f7329e33aaef900f636e497f8450674b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): vulkano/src/pipeline/shader/validate_runtime.rs:2393-2405 | vulkano/src/pipeline/shader/validate_runtime.rs:2407-2419 | vulkano/src/pipeline/shader/validate_runtime.rs:2421-2433 \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. 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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"116bf8a5838291414350bf257b4649d8cef83f76cb59400921c5ec5391419c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/pipeline/shader/validate_runtime.rs:1607-1619 | vulkano/src/pipeline/shader/validate_runtime.rs:1633-1645 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/shader/validate_runtime.rs:1607\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"84938408ba9fe35b718d8276a96ba9cd67dd95f18ebbdf6ff8e07a751f7919c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/image/sampler/ycbcr.rs:720-732 | vulkano/src/image/sampler/ycbcr.rs:742-754 \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 \u0060vulkano/src/image/sampler/ycbcr.rs:720\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f55afbc4d75248f6f4436be7ac7cce9b1bdecf1fd5cb838369ce89990e86087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:254-266 | vulkano/src/command_buffer/commands/copy.rs:37-49 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/clear.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7cea34981f50bf1075b97e2febf4dbfb00535528087f6eaf378c7937f5d983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): vulkano/src/buffer/mod.rs:1056-1068 | vulkano/src/image/mod.rs:2768-2780 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:1056\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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"807e83947232b62c72df46cd78906cc1cdc9e5af1a99d2db6282dac0109e063c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/buffer/mod.rs:1049-1060 | vulkano/src/image/mod.rs:2045-2056 | vulkano/src/image/mod.rs:2761-2772 \u2014 \u0060vulkano/src/buffer/mod.rs\u0060 and \u0060vulkano/src/image/mod.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 14 separate duplicated blocks between them, totalling at least 138 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/mod.rs:1049\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91847ea33615d78d092f5cd020571bc11e748ab4881969d7463ae7157b08ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3455-3466 | vulkano/src/render_pass/mod.rs:3484-3495 \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 \u0060vulkano/src/render_pass/mod.rs:3455\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0823b734e02e54bd92318733d60d21a73efe7907ac2006bfecf6a5160de49ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:742-753 | vulkano/src/pipeline/graphics/subpass.rs:168-179 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/mod.rs\u0060 and \u0060vulkano/src/pipeline/graphics/subpass.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/mod.rs:742\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":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b00c52de9ff7f5441ee8032d0ed0d5a0546bb0dac3fc68cc1479c9ad97c4a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): vulkano/src/command_buffer/commands/copy.rs:1640-1651 | vulkano/src/command_buffer/commands/copy.rs:4013-4024 | vulkano/src/command_buffer/commands/copy.rs:5001-5012 | vulkano/src/command_buffer/commands/copy.rs:6116-6127 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50b46521f19ca9b3bef38d52f7949cb5127db7a8a2b415453a7e902d1fb9833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:6233-6244 | vulkano/src/command_buffer/commands/copy.rs:6436-6447 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":6233}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25ec2aa70bd894fa950cf00e972f49045731fa6e73f846f2ea1472c7f4c14a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/device/physical.rs:1100-1111 | vulkano/src/device/physical.rs:1218-1229 | vulkano/src/device/physical.rs:1336-1347 \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 \u0060vulkano/src/device/physical.rs:1100\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060info\u0060 to \u0060\u0026ExternalBufferInfo\u003C\u0027_\u003E\u0060 in one and \u0060\u0026ExternalFenceInfo\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4705ea0e71be86385b0e191eb209cf1fcc9ed74aa7de8a72272b05bed456a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:1433-1444 | vulkano/src/format.rs:452-463 \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 \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs:1433\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ee7ee965a143952a7b34bd80b56e2f8b9f67eaa84f63e9a1bad2eeeb8c31e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): vulkano/src/sync/fence.rs:610-621 | vulkano/src/sync/fence.rs:740-751 | vulkano/src/sync/semaphore.rs:845-856 | vulkano/src/sync/semaphore.rs:970-981 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:610\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060handle_type\u0060 to \u0060ExternalFenceHandleType\u0060 in one and \u0060ExternalSemaphoreHandleType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"df066735a5fa3cebc75f3d7089db2ffd03957bdefd47a80a87a475f337e55e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3068-3079 | vulkano/src/memory/sparse.rs:1572-1583 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/memory/sparse.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/memory/sparse.rs:1572\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b8b01da9985e3900360ae4f8476b319977565609f31a243fe3a3d1d7031f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): vulkano/src/memory/sparse.rs:1310-1321 | vulkano/src/memory/sparse.rs:1327-1338 | vulkano/src/memory/sparse.rs:1344-1355 \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 \u0060vulkano/src/memory/sparse.rs:1310\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce96ba86a9c83c5867b07f1676b7c6db34ef0e6b480b1eb99b50bab7f9311be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:1619-1630 | vulkano/src/command_buffer/commands/copy.rs:3273-3284 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1619\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"4371818b7322ec6d23ebc23acc3c881eaed004ee6f12a8a7f7d6817f10af50b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/sync/fence.rs:1387-1398 | vulkano/src/sync/semaphore.rs:2098-2109 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:1387\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"070b50fd53b6fe2c0a1ee72a70d815e3bd4cff82bd4574327d894b58415e5cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): vulkano/src/sync/fence.rs:1283-1294 | vulkano/src/sync/semaphore.rs:1989-2000 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:1283\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3e06eb4222dbee5d086e9e3c319c8351fa06d26cbef672173896f151d360a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): vulkano/src/pipeline/layout.rs:925-935 | vulkano/src/pipeline/layout.rs:957-965 | vulkano/src/pipeline/layout.rs:989-999 | vulkano/src/pipeline/layout.rs:1018-1026 \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 \u0060vulkano/src/pipeline/layout.rs:925\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/pipeline/layout.rs:922\u0060 calls \u0060Some\u0060, \u0060into_iter\u0060, \u0060max_by_key\u0060 and \u0060vulkano/src/pipeline/layout.rs:986\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":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"16193e308916c793b6c20e7e88aad3418cd82c2f7979d4d7a78c578fec02606e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:1654-1664 | vulkano/src/command_buffer/commands/copy.rs:5054-5064 | vulkano/src/command_buffer/commands/copy.rs:6182-6192 \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 \u0060vulkano/src/command_buffer/commands/copy.rs:1654\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/command_buffer/commands/copy.rs:6172\u0060 calls \u0060tiling\u0060, \u0060format_features\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs:5029\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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5202dfff342dd1e586a2fb33b7f69ad759d9bb572931d62b12e795c6638574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/descriptor_set/pool.rs:734-744 | vulkano/src/device/mod.rs:2225-2234 \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 \u0060vulkano/src/descriptor_set/pool.rs:734\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":"vulkano/src/descriptor_set/pool.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf363d2a8b706aaeb09ddb6114ee49e2cefb36df59c4b37d29210304fc0d3fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/device/physical.rs:2170-2180 | vulkano/src/swapchain/mod.rs:646-656 \u2014 before extracting anything, compare \u0060vulkano/src/device/physical.rs\u0060 and \u0060vulkano/src/swapchain/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/device/physical.rs:2170\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":"vulkano/src/device/physical.rs"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d78cdc1ed159a86101fdfb9fad42ff14eb0aba153ad8556dd461db98ca54c41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:5191-5201 | vulkano/src/command_buffer/commands/copy.rs:5404-5414 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3097831796f8fea4327411294a926dda83ded9f93e40a90e186b33793922b17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): vulkano/src/render_pass/mod.rs:2405-2415 | vulkano/src/render_pass/mod.rs:2446-2456 | vulkano/src/render_pass/mod.rs:4172-4180 \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 \u0060vulkano/src/render_pass/mod.rs:4172\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2405}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2400ce720b325a817a21624131bf0b053e2160e093ebafa744a0c01d7fc163"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3782-3792 | vulkano/src/command_buffer/commands/copy.rs:4500-4510 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3782}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6069cf159acc4e080bac07d35b72e1e7b87d5544b49719317bd9957df9dc2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:1607-1617 | vulkano/src/command_buffer/commands/copy.rs:6104-6114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58cbf3ada9a0064a2aa0eb35ecbd14c36426778926e6ff3743f4640f2502ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3287-3297 | vulkano/src/command_buffer/commands/copy.rs:5045-5055 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0848b1d06c09211b57e5a76a948917fa6e4e3ab9a75aef435d005ecaf0d34bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): vulkano/src/pipeline/compute.rs:316-326 | vulkano/src/pipeline/graphics/mod.rs:847-857 | vulkano/src/pipeline/ray_tracing.rs:530-540 \u2014 before extracting anything, compare \u0060vulkano/src/pipeline/compute.rs\u0060 and \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/pipeline/compute.rs:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"440dbcd903bfb6e3289ab546131f114d3b5f85383d2f8c3f8d06e8f27448526a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/pipeline/shader/validate_runtime.rs:2613-2623 | vulkano/src/pipeline/shader/validate_runtime.rs:2632-2642 \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 \u0060vulkano/src/pipeline/shader/validate_runtime.rs:2613\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2613}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc0015cac9f7b8c406df30d0fd563296a96324a19b10877d72a08f0edc7fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/swapchain/acquire_present.rs:886-896 | vulkano/src/swapchain/acquire_present.rs:899-909 \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 \u0060vulkano/src/swapchain/acquire_present.rs:886\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8a230d6a6d57d45b4fe78caf2331485de144307373b9d322342a20bbb1b6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/descriptor_set/update.rs:280-290 | vulkano/src/descriptor_set/update.rs:298-308 \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 \u0060vulkano/src/descriptor_set/update.rs:280\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d592dc1b401d307c3463f0950c027be68bf6d17d84a428c084d901c2015bfb75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/swapchain/mod.rs:1868-1878 | vulkano/src/swapchain/mod.rs:1952-1962 \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 \u0060vulkano/src/swapchain/mod.rs:1868\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"80107296a282336f9bdb135f2eff9bdcf5d90ec51b89915574db32387726b86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/image/mod.rs:1566-1576 | vulkano/src/image/mod.rs:1736-1746 \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 \u0060vulkano/src/image/mod.rs:1566\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"65131ac8877a76cf48c33eb9066880883a7cd857d5bb48d7be8e6edffaf197e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:956-966 | vulkano/src/memory/device_memory.rs:1779-1789 \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 \u0060vulkano/src/command_buffer/commands/clear.rs:956\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"12249803c40d8077e19c1bf4ec2fe145d74150598b07a9d141e49a30958d6fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): vulkano/src/sync/fence.rs:839-848 | vulkano/src/sync/fence.rs:927-936 | vulkano/src/sync/semaphore.rs:1070-1079 | vulkano/src/sync/semaphore.rs:1184-1193 | vulkano/src/sync/semaphore.rs:1293-1302 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:839\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":"vulkano/src/sync/fence.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"2536491f60ebaff09531b5f391182747b2ace66acc10b97669ba71648a7abbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:4963-4972 | vulkano/src/command_buffer/commands/copy.rs:6096-6105 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":4963}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f92bb777f225ef46966aa8735eaa4538dcfcbd9bfb1b5abd12c21be31b7eb5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:1659-1668 | vulkano/src/command_buffer/commands/render_pass.rs:1783-1792 \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 \u0060vulkano/src/command_buffer/commands/render_pass.rs:1659\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eceb504ec023044951509c1c770df9278966d3f06fbad3ca84b5045908a45f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): vulkano/src/buffer/sys.rs:937-946 | vulkano/src/image/sys.rs:2920-2929 | vulkano/src/memory/device_memory.rs:1239-1246 | vulkano/src/sync/fence.rs:1073-1080 | vulkano/src/sync/semaphore.rs:1454-1461 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:937\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e136c89fffa2cc56d6ef15b6649e62ddd098e110d3da976c024c53c9edb499d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/acceleration_structure.rs:1682-1691 | vulkano/src/acceleration_structure.rs:1767-1776 \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 \u0060vulkano/src/acceleration_structure.rs:1682\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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f332d31e9fa686378d45215e20724e5e6312ad95521d706540b630a2b720ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/sync/semaphore.rs:365-372 | vulkano/src/sync/semaphore.rs:449-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note 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":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"923b587dc2d708918b3982c5d85e10f7cde9191052a1111d00f92dc938dc4c98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/render_pass.rs:202-211 | vulkano/src/command_buffer/auto/commands/render_pass.rs:311-320 \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 \u0060vulkano/src/command_buffer/auto/commands/render_pass.rs:202\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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"660816ad46c25a2692c02886ae509f1e3c202758f26a617a070180e5babb5000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): vulkano/src/sync/fence.rs:610-619 | vulkano/src/sync/fence.rs:740-749 | vulkano/src/sync/semaphore.rs:694-703 | vulkano/src/sync/semaphore.rs:845-854 | vulkano/src/sync/semaphore.rs:970-979 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:610\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060handle_type\u0060 to \u0060ExternalFenceHandleType\u0060 in one and \u0060ExternalSemaphoreHandleType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c5273f81007297f623a5179773bdc36b050c396bbbdeb8a39ec12ae60fa93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): vulkano/src/command_buffer/auto/commands/pipeline.rs:430-439 | vulkano/src/command_buffer/auto/commands/pipeline.rs:921-930 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1372-1381 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:430\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060indirect_buffer\u0060 to \u0060Subbuffer\u003C[DrawIndirectCommand]\u003E\u0060 in one and \u0060Subbuffer\u003C[DrawIndexedIndirectCommand]\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af87be2d1960341e3c688bd84e91bf0e6bbecf3f635b7918eacbaa472bfe7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:5015-5024 | vulkano/src/command_buffer/commands/copy.rs:6139-6148 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":5015}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1f9c1d7cd8ba4e3ee038ab1ac63ba6142680c8fb2ab4ef3368fb1cd2c2ed58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:804-813 | vulkano/src/command_buffer/mod.rs:846-855 \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 \u0060vulkano/src/command_buffer/mod.rs:804\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":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fff06962efd814a6b3c540f0a6368255f20441cf3a4afe6f549209f4a7f73c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): vulkano/src/pipeline/graphics/color_blend.rs:835-844 | vulkano/src/pipeline/graphics/color_blend.rs:852-861 | vulkano/src/pipeline/graphics/color_blend.rs:869-878 | vulkano/src/pipeline/graphics/color_blend.rs:886-895 \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 \u0060vulkano/src/pipeline/graphics/color_blend.rs:835\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d1b4e42cf71b99e126bae0f6a6a62d10675d9ab85f2ccf10efd64dae0f775a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/command_buffer/auto/commands/pipeline.rs:186-194 | vulkano/src/command_buffer/auto/commands/pipeline.rs:1433-1441 \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 \u0060vulkano/src/command_buffer/auto/commands/pipeline.rs:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060indirect_buffer\u0060 to \u0060Subbuffer\u003C[DispatchIndirectCommand]\u003E\u0060 in one and \u0060Subbuffer\u003C[DrawMeshTasksIndirectCommand]\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"61319c21f1109ffa6d93eba583be5a5ca13a477f0d4957cc309e50442099b3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): vulkano/src/sync/fence.rs:586-594 | vulkano/src/sync/fence.rs:716-724 | vulkano/src/sync/semaphore.rs:670-678 | vulkano/src/sync/semaphore.rs:818-826 | vulkano/src/sync/semaphore.rs:942-950 \u2014 before extracting anything, compare \u0060vulkano/src/sync/fence.rs\u0060 and \u0060vulkano/src/sync/semaphore.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 134 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/sync/fence.rs:586\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060handle_type\u0060 to \u0060ExternalFenceHandleType\u0060 in one and \u0060ExternalSemaphoreHandleType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2c1324bab5487f3a99a2f9bac01cec587c9610bc2b2bc6379d2fba711d2810"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/pipeline/graphics/depth_stencil.rs:134-142 | vulkano/src/pipeline/graphics/depth_stencil.rs:145-153 \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 \u0060vulkano/src/pipeline/graphics/depth_stencil.rs:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060vulkano/src/pipeline/graphics/depth_stencil.rs:132\u0060 calls \u0060enabled_extensions\u0060 and \u0060vulkano/src/pipeline/graphics/depth_stencil.rs:142\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":"vulkano/src/pipeline/graphics/depth_stencil.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"616147dd3f37a0336bffcba2e73121f1bbeea60e01284b9ba140f1718c95e782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): vulkano/src/device/physical.rs:2606-2614 | vulkano/src/device/physical.rs:2972-2980 | vulkano/src/device/physical.rs:3051-3059 | vulkano/src/device/physical.rs:3140-3148 | vulkano/src/device/physical.rs:3238-3246 | vulkano/src/device/physical.rs:3332-3340 | vulkano/src/device/physical.rs:3423-3431 \u2014 all 7 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 \u0060vulkano/src/device/physical.rs:2606\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":2606}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bfca3c0bf896a9f4b2346bc14a3d418c058d0e401ef5c2c9bc0d9827b15fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:790-798 | vulkano/src/command_buffer/mod.rs:832-840 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/mod.rs:790\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8806acff3fc33565ce30872486015e816191f30c880ecfe67efcffcb3eca061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): vulkano/src/pipeline/graphics/mod.rs:1482-1490 | vulkano/src/pipeline/graphics/mod.rs:1494-1502 | vulkano/src/pipeline/graphics/mod.rs:1506-1514 | vulkano/src/pipeline/graphics/mod.rs:1518-1526 \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 \u0060vulkano/src/pipeline/graphics/mod.rs:1482\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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ffe26960fdd987c69227c3f96ca90b2989074d4289b3ff7b5fc02e7c64a43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vulkano/src/render_pass/mod.rs:3081-3089 | vulkano/src/render_pass/mod.rs:3564-3572 \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 \u0060vulkano/src/render_pass/mod.rs:3564\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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3081}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb816c8fae78a6cbbd3e32400a50994c1764a5c3601ce4bb609d099fa1b336a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:1035-1042 | vulkano/src/memory/sparse.rs:93-100 \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 \u0060vulkano/src/command_buffer/mod.rs:1035\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":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"428b913aea92c1b2d64146d059681134e6ae206ad8e0ebb6a69c614f33954a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:294-301 | vulkano/src/command_buffer/commands/copy.rs:3972-3979 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/clear.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d6281ad13470302b1ca0660ecdf0e3925a3b4b88963c0e337ce11fc77b19a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/render_pass.rs:959-966 | vulkano/src/command_buffer/commands/render_pass.rs:1389-1396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd4960cd8b1c2300486c354830fd14d500a5c6ab4e887dc4f84c978b7b64c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/swapchain/acquire_present.rs:106-113 | vulkano/src/swapchain/acquire_present.rs:1053-1060 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a402533ebd06b6c34ea8c4df1a69bdcf9a729af63058cb99b524fc1e070d112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): vulkano/src/command_buffer/commands/sync.rs:1128-1133 | vulkano/src/command_buffer/mod.rs:1035-1042 | vulkano/src/memory/sparse.rs:93-100 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:1128\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09e598f7f8647d9eca83e502aa341ed1ca85f5ce1d6cf812390d5e2047e51ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:1232-1239 | vulkano/src/command_buffer/commands/copy.rs:3254-3261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note 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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8128bdbbc32a37eda8380049c9282755ebaf0f0be2f23799da645d1fa7344ade"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): vulkano/src/command_buffer/commands/render_pass.rs:1431-1438 | vulkano/src/command_buffer/mod.rs:731-738 | vulkano/src/pipeline/graphics/subpass.rs:157-164 | vulkano/src/render_pass/mod.rs:3618-3625 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/mod.rs\u0060 and \u0060vulkano/src/pipeline/graphics/subpass.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/render_pass.rs:1431\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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"827db4004bc54948c3d50fc1808c1dd3fa7cc10eaa8ccd0fa58e80caff748c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano-shaders/src/lib.rs:1368-1375 | vulkano-shaders/src/lib.rs:1392-1399 | vulkano-shaders/src/lib.rs:1416-1423 \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 \u0060vulkano-shaders/src/lib.rs:1368\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":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa554568a5fe6e3d0cc13178e167f6c07fa6cefdb90c5f3996366f0350bd632a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:3072-3079 | vulkano/src/image/sys.rs:2078-2085 | vulkano/src/memory/sparse.rs:1576-1583 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/memory/sparse.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 30 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3072}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa354fc8c51a456b8d0dbbdf83e958078034472d5bfa3a6f6b85c17ba576c0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): vulkano/src/command_buffer/commands/copy.rs:3263-3270 | vulkano/src/command_buffer/commands/copy.rs:5014-5021 | vulkano/src/command_buffer/commands/copy.rs:6138-6145 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3263}}}],"partialFingerprints":{"codehealthFindingId/v1":"076869f38506e23987e1d18479e6b70d63c039fb85643215138ef6273f460fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): vulkano/src/buffer/sys.rs:937-944 | vulkano/src/image/sys.rs:2920-2927 | vulkano/src/memory/device_memory.rs:1239-1246 | vulkano/src/memory/device_memory.rs:1265-1272 | vulkano/src/sync/fence.rs:1073-1080 | vulkano/src/sync/semaphore.rs:1454-1461 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:937\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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23d8e55b245fda1f932a7ff85fefb278eb95fa021386f2a20996c9bc904bcd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/copy.rs:3981-3988 | vulkano/src/command_buffer/commands/copy.rs:6095-6102 \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":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":3981}}}],"partialFingerprints":{"codehealthFindingId/v1":"171d39c6e027159bf6489410dd805338a473050eb61b5a8fa5e7c537de1cb14d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/command_buffer/commands/clear.rs:294-301 | vulkano/src/command_buffer/commands/copy.rs:1241-1248 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/clear.rs\u0060 and \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"29268850abc210cda4f59031d0d3ca83adb8fe90cb1e952923e3a5cf4d74af82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): vulkano/src/pipeline/mod.rs:153-160 | vulkano/src/pipeline/mod.rs:268-275 \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 \u0060vulkano/src/pipeline/mod.rs:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7796a8213c9df3a878395ab7e6db5a6846e87d41c5e7c59ddbe0a017b648e980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/buffer/sys.rs:884-890 | vulkano/src/image/sys.rs:2517-2523 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:884\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebeee93245c4b1c7988b99f22b9547877fb9ba69f54e67c6ea90c195050d1cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/swapchain/mod.rs:2519-2525 | vulkano/src/swapchain/mod.rs:2541-2547 \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 \u0060vulkano/src/swapchain/mod.rs:2519\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"925bebfe50366bc0b0a7c1ca7c317a5de1ac1cb59ca4b7ae4cdb4c8bea2afa20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/command_buffer/mod.rs:1046-1052 | vulkano/src/command_buffer/mod.rs:1057-1063 \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 \u0060vulkano/src/command_buffer/mod.rs:1046\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"012bc75462c68df3576b333f22262a18c1632cecca797fd53834d69efad90a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/buffer/sys.rs:833-839 | vulkano/src/image/sys.rs:1899-1905 \u2014 \u0060vulkano/src/buffer/sys.rs\u0060 and \u0060vulkano/src/image/sys.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 10 separate duplicated blocks between them, totalling at least 101 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/buffer/sys.rs:833\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"417159332b7b268670e734a48b3a5fa90af60448436f8e04b202e87f2ea4fa4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano/src/descriptor_set/layout.rs:832-838 | vulkano/src/image/sys.rs:2373-2379 \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 \u0060vulkano/src/descriptor_set/layout.rs:832\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":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dacfc5cc8a08632066ebdeaf0e36ebaff9f9cee765e2ca58c951430c46e617f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vulkano-shaders/src/shaders.rs:427-433 | vulkano-shaders/src/shaders.rs:444-450 \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 \u0060vulkano-shaders/src/shaders.rs:427\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":"vulkano-shaders/src/shaders.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb4b011051c067bd7cc1e39ebef7ca7e5f04e5d75ac99ab46066edf6bd9f403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): vulkano/src/command_buffer/mod.rs:1037-1042 | vulkano/src/memory/sparse.rs:95-100 | vulkano/src/memory/sparse.rs:101-106 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060vulkano/src/command_buffer/mod.rs:1037\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":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f2a6223417308b095f2dfa98b851f116f470756897304d68e661013ece75ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/pipeline/graphics/viewport.rs:158-163 | vulkano/src/pipeline/graphics/viewport.rs:169-174 \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 \u0060vulkano/src/pipeline/graphics/viewport.rs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/viewport.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c803b8e269d7692a705cb9bf2fb7c63c2a6fcd3ba7aa6f6bf9fa66d4a84a9e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): vulkano/src/command_buffer/commands/sync.rs:1128-1133 | vulkano/src/command_buffer/mod.rs:1035-1040 | vulkano/src/memory/sparse.rs:93-98 | vulkano/src/memory/sparse.rs:99-104 | vulkano/src/pipeline/graphics/viewport.rs:118-123 \u2014 before extracting anything, compare \u0060vulkano/src/command_buffer/commands/sync.rs\u0060 and \u0060vulkano/src/command_buffer/mod.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 89 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060vulkano/src/command_buffer/commands/sync.rs:1128\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, \u0060vulkano/src/pipeline/graphics/viewport.rs:115\u0060 calls \u0060physical_device\u0060, \u0060properties\u0060 and \u0060vulkano/src/command_buffer/mod.rs:1032\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":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdbc24a755f8f19f1c566b41186b7302c689dab3c30e97ec861b1949520e67f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): vulkano/src/memory/allocator/suballocator/tlsf.rs:946-951 | vulkano/src/memory/allocator/suballocator/tlsf.rs:982-987 \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 \u0060vulkano/src/memory/allocator/suballocator/tlsf.rs:946\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":"vulkano/src/memory/allocator/suballocator/tlsf.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f2777721d7551516a24af89a9ec219780427c6333cfecc875e3858aaffa3fe"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: vulkano: vulkano: abstractness 0.03, instability 0.25, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2d0bd33f3bd90466359cfaee20853da8058b76c1de0653dbd22e627f9adcc090"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/conjunctive_normal_form.rs: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/conjunctive_normal_form.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"272ee51ab7efeb1dc6da44770b8070ec2ac2d100125192eb10d6d5754bc21474"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/errors.rs: 0.0% line coverage (0/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/errors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4464beeb15f8f653a88189c48c38be7dced9099abf82e286d8a7fc9254375bf4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/extensions.rs: 0.0% line coverage (0/418)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cac1233be638eb9c0cee49cb272bb78efb50c7383a59ef38366b6255e726b9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/features.rs: 0.0% line coverage (0/624)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/features.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83cf98239f82cfa72b6807721b4c018147e43a95887076eb352ea7d59842b8f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/fns.rs: 0.0% line coverage (0/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/fns.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18771ba42fc7d52dd6e86f535c776cdb6e9d1553affae5579d50db4ca5c87a18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/formats.rs: 0.0% line coverage (0/441)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/formats.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6601685a9d3ea29f822844783689bc7df7aca94e6cfeffdb120a12f85e7176"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/main.rs: 0.0% line coverage (0/432)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee38f6b9f05733a0202adc99f211c52e9f7da91b1223e397a52fdee0c9af8d7f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/properties.rs: 0.0% line coverage (0/617)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/properties.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cab7b9c90fc4386effa606dce0c058bb700f24160cb0ff52da294bc5cfbd5b3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/spirv_grammar.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/spirv_grammar.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2927c1903dc1cdc407670f614df4871ed0084ef249a8e394d358c32b4b2725b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/spirv_parse.rs: 0.0% line coverage (0/499)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/spirv_parse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"311b00beb7cae3d1a8e0274192c3e6660c5cb20a3b8716b2d41924f2c04adb28"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/spirv_reqs.rs: 0.0% line coverage (0/193)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/spirv_reqs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02d1718b5de59aa5e28aaf71071b78002af7fb69f06d4eaf65b37ede0bc322e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: autogen/src/version.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/version.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae4ce5dfe98811b4da2dd86ac36fb2cc08d9303e1cc995f4c2f22a9cbe1c47b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-macros/src/derive_vertex.rs: 0.0% line coverage (0/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-macros/src/derive_vertex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3020e62c753c927f7446de166162d8f9f4b42b3e1c47333dd7f64b1f3be232e9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-macros/src/lib.rs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-macros/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf41381550ad985f8655f3860bae8af4f203bbaf8f766a1434bfb14a20a7d0be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-shaders/src/lib.rs: 12.0% line coverage (90/747)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"503e978d55b20809d32e5f570a9d29fb773a8c8f957f6a020e6b7c1ae27aee03"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-shaders/src/shaders.rs: 49.8% line coverage (130/261)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/shaders.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eee2e44a1d3acbacac3906ddc156c5f35225b7ed97fa4bff0f5ee7072ca0691"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-shaders/src/structs.rs: 43.5% line coverage (286/657)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/structs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9793e92aa1ea8e538099932ff67c2b300f6d69cae7c3520fb956f971511cfcca"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/collector.rs: 0.0% line coverage (0/498)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/collector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72fbf026394b6e2ed6075adb04e654657906acd0a80601e17ae0c9beb02bbd3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/bind_push.rs: 0.0% line coverage (0/237)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/bind_push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107d69e5d8757592ec41a35944156ddf153d6d7271323f49422f419b9c99f879"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/clear.rs: 0.0% line coverage (0/227)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/clear.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc4a5848889d01048edc1853c48cc710ccb9c6ecac27423fb46d999e0b02c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/copy.rs: 0.0% line coverage (0/938)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ff90f3850e189380de3ecd10b11de195cb44cb0f4eafcf0c17bcc2dc512225"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs: 0.0% line coverage (0/712)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3638cfb26b096c32bbcbbfa6e75614a06d7d5dbee5a5a694eddd5d3141f86aeb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/pipeline.rs: 0.0% line coverage (0/540)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc691e9ea31ac49ad70415045321e27aeee6e4fe8c90df4940004f5a68eed330"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/render_pass.rs: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bea096e73ebd0bc442d656fa356021e953af84883c81662ce95b72020418357"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/commands/sync.rs: 0.0% line coverage (0/249)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82206c65728b47300020fe14877853e1565a432dddd0d72bee485a777db9cee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/command_buffer/mod.rs: 0.0% line coverage (0/145)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db2b8fcb197f69c99a8de196c8fab4726e50a5d475b42150dda61765fd9f638"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/descriptor_set.rs: 0.0% line coverage (0/660)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44c3ea9ef717a1b3432c5d8db8aa49fdecd2fe9f8b2f67cd2a1adb9188939d7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/graph/compile.rs: 0.0% line coverage (0/1200)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaf8f6208acfe7f2e2a099f3ec3be6f74bf7a9ad112347d317095c8e5078abe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/graph/execute.rs: 0.0% line coverage (0/1931)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5695bb7b68fa68a2ca7fc9c525b1568d086b8ab923249d13b11c4b970967aee3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/graph/mod.rs: 0.1% line coverage (1/718)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b33d024350c71872788074ef79dee3d4146a40ee873511aa306dfb07dfc4919"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/lib.rs: 0.0% line coverage (0/375)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4297947ce238fa530fc00100476397031822fd86cf3711bdae4044af2ed33279"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/linear_map.rs: 0.0% line coverage (0/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/linear_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"175e230b7765dbc5044728cf9fd9003d3f25daa89fb7164d0cb437b7059d235a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/resource/mod.rs: 0.0% line coverage (0/715)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0a57ef85407d4455e4378620d31e18be8750ca2a949e0ffc17d348b16388de"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-taskgraph/src/resource/state.rs: 0.0% line coverage (0/696)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f53b0297a72fab50a66b04f6e6dbdd00ad3626ff0922fc811f84632ed4d31c5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-util/src/context.rs: 0.0% line coverage (0/199)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-util/src/context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28be9f6c5ee9ecbd3f88c947d12da7374541c0d82d8a812a427cb0d37ca18509"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-util/src/renderer.rs: 0.0% line coverage (0/224)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-util/src/renderer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23070d434375a9141041f66de8457fbd8de9dd76236ecfee9a3a47bee8895570"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano-util/src/window.rs: 1.3% line coverage (3/226)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-util/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87067c47a4058d67d0134d3b9f63fdb02bcb8edbf8070393603e563e6a892182"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/acceleration_structure.rs: 0.0% line coverage (0/806)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e728d2daaf81df0fb361ce57eb1bd258ce5e5e73f4f5c4fdda24b38a9b8522a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/buffer/allocator.rs: 0.9% line coverage (3/341)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/allocator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf00f2d32a8ffe4894191f093097b6d693b382feec49f12060faf123891ebe2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/buffer/mod.rs: 0.6% line coverage (3/535)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88087287490b17de45b8034b66991580eca0983a7d3ad00bcb345c8d5497e5c1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/buffer/subbuffer.rs: 6.8% line coverage (28/413)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7940b2ccc5c8855a6878862de5fa002f4880cceb9df576458dbb0639882e2af0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/buffer/sys.rs: 0.5% line coverage (3/646)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c690d457c13045f16389ccb0600b476887b8fd81be92ae48d9ea4904e9da50f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/buffer/view.rs: 2.2% line coverage (7/324)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fe22974f6dd1005f158d3c4b051c5b2e88c37b4da68cc09655a9eb4705ebce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/cache.rs: 0.0% line coverage (0/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"415ea6a3eab8ad39d5d0529c75f117de0932c8cc8b2f1baf97c5376190721439"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/allocator.rs: 0.0% line coverage (0/340)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2d56a181b8a6ca5569a4785bf1ad1e480ccc61af22e4a9bcb8328d22e3f00a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/builder.rs: 0.0% line coverage (0/1183)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ceabe6259a17645983c29f1c671206384b94647cea7e92b7dc71f392ea7e0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/acceleration_structure.rs: 0.0% line coverage (0/149)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/acceleration_structure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16d7236f6f41b8bfef9a45e85b7d13a432a8c527b8f508a2e5bc2e397aad905"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/bind_push.rs: 0.0% line coverage (0/551)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c835b34c4186f7ddf10b0744ee0460c18c05cddd419cfa508483a64f6e357a6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/clear.rs: 0.0% line coverage (0/263)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/clear.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6229e379f37e55e27f61791ec9aadf29b53cbe683c5177d49d3eea8fc3ecd0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/copy.rs: 0.0% line coverage (0/898)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f534656b358d7ac2129939787d291922210d47638dd3bfbf3641f08db0880f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/debug.rs: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/debug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4664938d6ba332b503bb4cbc26783acfa359c1fb4aacdee595d13e2c533a0f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/dynamic_state.rs: 0.0% line coverage (0/923)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1815ff2fdbac4806a621e8cdce36bb1479654177e3397bd158813a700228a778"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/pipeline.rs: 0.0% line coverage (0/2401)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9433d92e2ce46c42e34f215a8db7a03127a748d58a3dfb1eb29333de99912c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/query.rs: 0.0% line coverage (0/291)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d070afc3d0e5cc7a35b609746daa0d64b60f8a218aa6a3549e8d8fde987a5517"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/render_pass.rs: 0.0% line coverage (0/960)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f5441da7e7c6241a3c85adc35658949b41623bd228a5269c714a549ddc86a2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/commands/secondary.rs: 0.0% line coverage (0/465)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/secondary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"576187cdb377bdd78267479e7bc3210961318af4a41189f29c63f71218b26629"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/auto/mod.rs: 1.0% line coverage (1/97)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f0578a9b66830a377992930d127471bda60e58fee66a3c7aa31f6a222585a9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/acceleration_structure.rs: 0.0% line coverage (0/874)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/acceleration_structure.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28b555dd9b12b8e693063382bc149633bae1b3c5c917eecefe98d6355d1ff3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/bind_push.rs: 0.0% line coverage (0/941)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/bind_push.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a5b095267736814e5c270c29182ee8ad811d02edbc7e22db32c2d26bdd433d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/clear.rs: 0.0% line coverage (0/725)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"211f28d0a3f7fa452004ff137df8a8ad409b483328e8599363fe8cbff683fe18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/copy.rs: 0.6% line coverage (31/5424)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27371ed73b33e4f02116010004dc40669644033a3a3bf82abc6a0bac29aa2be"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/debug.rs: 0.0% line coverage (0/139)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/debug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd307f191541e054e8324de739ca3ef147a5401b3357b141548b0f2b0e9c527"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/dynamic_state.rs: 0.0% line coverage (0/1952)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62940c35e2c66daac2c42ce4d0322ee504d3aec664d7f7411757911c79ec056"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/pipeline.rs: 0.0% line coverage (0/1480)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"315f71ebf297489c6cf7f15b65a4c03260a917534f27e6a052e0248e5ac0a8a4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/query.rs: 0.0% line coverage (0/696)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a0103711d2434ca9270a47da6bf3fdabcc71210e1164f0b06460b4249d961c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/render_pass.rs: 0.0% line coverage (0/1657)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f187db02215deffb994d646bb4fd7aa300303d03e6e6144dc8209bceefbf01"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/secondary.rs: 0.0% line coverage (0/66)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/secondary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55b3a65f2c25d9ad36dbb1289136200ac47fdf0084cb4bc66eda07f9c94019f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/commands/sync.rs: 0.0% line coverage (0/3005)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"221a7d25f5dcdf162e66422cb898a100aa0bfff0c456342995af55e3a34abc55"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/mod.rs: 0.4% line coverage (3/839)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999cc189775a5eaecef130ef1b7d02f5a2fbeb0a5a19ed672797fbfcd27f94a4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/pool.rs: 0.0% line coverage (0/311)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e642abe2def50c0309f87e06cbebd99b563e5f3404257a0935c35ff179a424"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/sys.rs: 0.0% line coverage (0/271)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b346132c3d7aee536b1498968711fb2e60ac59c041c87e7d8777ba3766dc6e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/command_buffer/traits.rs: 0.0% line coverage (0/242)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb3ff046a62665aef5f1f865899abf8f95029074daee9640a7d654dc68a7357"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/deferred.rs: 0.0% line coverage (0/98)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/deferred.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0ce67642ffa8a3c3f50741c0b6936d563ddd6f1b847107137599b836819595"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/allocator.rs: 0.0% line coverage (0/381)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0564c2baec5c73a1ccef8ecbae276d6a427cdea18ee1a3d75e3a7e4103aa75cd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/collection.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/collection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8855dc1a2246220d00092e8bb634fe83d01634a5d8b516202bbc1625f642dfb7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/layout.rs: 0.7% line coverage (6/816)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d54e7f9094a65f5c58dba434de33b32015a9a2c7cc5c06e646c1f8032299c60"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/mod.rs: 0.0% line coverage (0/357)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f750d56895828d83dbef10d89d1876fd50f378e1dd26baa2a826761e72bee7bd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/pool.rs: 0.2% line coverage (1/469)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/pool.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc186d280cbf33a2a8b0edbaae14c4955b2014179b6d2fb70c665a1c018ae479"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/sys.rs: 0.0% line coverage (0/179)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"340258617d4c8416db309808fda46f0c002d4c57743294e5fba87d74e9954b37"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/descriptor_set/update.rs: 0.0% line coverage (0/1494)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"671d121020d187b982a7222424b2e1ea491bab8543d73491c293031d8de57018"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/device/mod.rs: 0.1% line coverage (1/1502)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4126d9b78a6901aaca47f7b842ec8d5519f068a150089f236235de240fe82e36"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/device/physical.rs: 0.0% line coverage (0/2229)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21319fa9b22a5973b18996a9baa3cfdc53bf919f3a8d8200672224a693504b6a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/device/private_data.rs: 0.0% line coverage (0/172)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/private_data.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ed96a939b23d97a9291e989f7a5003c304c24137d196bc7637e6f3d7c659ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/device/properties.rs: 0.0% line coverage (0/128)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/properties.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e344318bb6f3065a2f567c3beb190ca59042ca9abc71733fcedb37b9b6db2d74"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/device/queue.rs: 0.2% line coverage (1/579)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58a9349a5b481964760d37d6f328543de71f6de0135275d106d9cc9996aee69"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/display.rs: 0.0% line coverage (0/437)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"112a2e4265ca372153fa15516b5749b9ad113c1045bd6a380496724ab7cc9e9f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/format.rs: 0.8% line coverage (4/485)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/format.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca7bf635b6e1f299f510b487f1b9c759f70bff2e2afddcbe314fb268102b12f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/image/layout.rs: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d62f08393a5767b1e4bd79311831045720b87ceffce3753af3c11a30c0577ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/image/mod.rs: 9.3% line coverage (141/1518)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9dcbff68d56bcf58aa037e3c2eb8b3081e522c66fafaf08ea87a6e63812ad1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/image/sampler/mod.rs: 1.3% line coverage (10/796)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4848a58e2f15b883ec5391c7f9e93f88ae607e1aa188e3cd1796fe408e23946c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/image/sampler/ycbcr.rs: 1.2% line coverage (6/495)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e9e0266aa3d62fb76bdb8725c89e082f57f9fd82ecc6d8e545e13eb188f2b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/image/sys.rs: 4.7% line coverage (107/2289)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eb92a0b5d863645cb5055e15171f1b5a256238ccfdf0b7cb66ea91266cf866"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/image/view.rs: 0.0% line coverage (0/865)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/view.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cddedcc11a7da1969b28142e8ed6e6d408a15ad0c5172790e134f8d83cfb99c2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/instance/debug.rs: 1.2% line coverage (3/259)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/debug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"022c77d45495f6cbcf58e74624da6f02cdf4e6eb03fc1958239b10c60c23c091"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/instance/layers.rs: 0.0% line coverage (0/41)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/layers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d2fc9a7edc965d9b9fc0708fff3b099c4e0aa2a15c46a449a276141089fb86"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/instance/mod.rs: 43.9% line coverage (332/756)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8161a82c33f359078e802fde36a2f3e8788ebc254b4c3bcc37377d0f4847cac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/lib.rs: 10.5% line coverage (31/294)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"136faa70dc8a3762d3ceb5379f970b42904d09e748726982717297884f9b1c5d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/macros.rs: 8.4% line coverage (36/428)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27780394c10180b8ae09ef4739676a38f78112daeeb38eed57243bea102cdf15"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/alignment.rs: 32.8% line coverage (20/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/alignment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0616d7263fc67f0b51a4835627f4ad6ce966f7d7e85e733df4bb927b9174f05b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/allocator/layout.rs: 20.7% line coverage (25/121)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7b75b086c3e960e7e1a0155002ef17906a32a3635c73d3e2a105584a9482a3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/allocator/mod.rs: 4.5% line coverage (37/826)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4daa7b2480e3343d3f708f3d2e2d37642dd8794793de6d1b93d8aa2b1b3a616"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/allocator/suballocator/mod.rs: 47.4% line coverage (37/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/allocator/suballocator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"950d75666305128db92fe4d2bf2e76c39a1da22fbadc998547532879dedc60ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/device_memory.rs: 0.5% line coverage (7/1424)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d16c42ba2d0b48dde71d819c63fd7dbf685d10f7491e66a403dcd03a62c042"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/mod.rs: 2.9% line coverage (12/407)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca6ed4874159a29e267d6afb7c7598424851eef197e6c52c445bae4ee9fbd0d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/memory/sparse.rs: 0.0% line coverage (0/1150)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"976656b99eee14552f01802cae8160b0767faaecedf242c686b4cf700bd39290"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/padded.rs: 28.8% line coverage (21/73)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/padded.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d3401ba07616fce00d5be4618c54a3158628940dd74494fb93c8036acc14b7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/cache.rs: 4.6% line coverage (9/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0b3f8683d17b1a063b5451cbdae6c45ae1de99360518bbbc59bac3bbc6931a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/compute.rs: 0.4% line coverage (1/247)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb8cb74e0c3cdb08e380af5f3c006384cdb8ead804c793f54d2873c7734c31"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/color_blend.rs: 0.0% line coverage (0/584)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a440dca96fd87e135b8ce440b494c34db884daf36952cc343b491a7e488f20c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/depth_stencil.rs: 0.0% line coverage (0/238)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/depth_stencil.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1825d487b8c9483c1e0cd8278e2e236780298ce7c3c9d1c23735adfc3aaa99"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/discard_rectangle.rs: 0.0% line coverage (0/67)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/discard_rectangle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f1f28c0cdaaa4de8eeeeec50086b6a564a81fd4cb2bca5851a6fd24c909b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/fragment_shading_rate.rs: 0.0% line coverage (0/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/fragment_shading_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17f2aabf5b558f7a5c074edd69feca4f765f1a639330ba272184ee057ad4c56"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/input_assembly.rs: 0.0% line coverage (0/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/input_assembly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e455461dc064ba3c25d5567e6487ab55e226bc36c145fa6fbf6e7ee996e1e84e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/mod.rs: 0.0% line coverage (0/1851)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1bca198247c5a1d7ca6304712a8f5b78c89ced17f7ca9a0a28151c941ade98"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/multisample.rs: 0.0% line coverage (0/89)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/multisample.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e140f50c737f6521b229abdaa78bc59c700295c94d1b06bf7856fe3abd88f5c6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/rasterization.rs: 0.0% line coverage (0/377)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/rasterization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c0f4963aec4a192a92d3429628da56604c1b46d0c9995e12ad47ddbca69c0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/subpass.rs: 0.0% line coverage (0/294)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/subpass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed06ce4c942b19d205ac6fe8eeea69605b50f6c8cc704e1ed23364c6966a74c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/tessellation.rs: 0.0% line coverage (0/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/tessellation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9d656e9dc45deb8c38aa6e61131ecca958aaac851cce3bbf0dbacbbf03d6fc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/vertex_input/buffers.rs: 0.0% line coverage (0/21)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/buffers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35830a9224af123bdb74dea710cf8b42e567c4acf67d17132ff00c2147eebff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/vertex_input/collection.rs: 0.0% line coverage (0/22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/collection.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7a3a2ee374d61d2ef75af842738245a557d9dd5bab8eb162238c0ef0f2a3ee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/vertex_input/definition.rs: 0.0% line coverage (0/168)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/definition.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f641ab2ad79452c76cf2b3bbbe7686c95e886c5bcef725e347e7ed895f131a63"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/vertex_input/mod.rs: 0.0% line coverage (0/522)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bc77c8206188ac5aa678aa2e20d07421400c89fba40f0f38bb481b9588dae5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/vertex_input/vertex.rs: 46.7% line coverage (14/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/vertex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd285848308964f36357eb28b6328604d39a4078ff78478f76edcf84c484764"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/graphics/viewport.rs: 0.0% line coverage (0/286)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/viewport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9be8fedf24c2cef31b2fd4c72f9dcce3e92ebc225ac2b05299f8a8cce61af7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/layout.rs: 0.3% line coverage (2/588)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04d86b820a599d10162c584015cf0e8c94a8faa9f7d8cb4c65e8ad6b02c869b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/mod.rs: 0.0% line coverage (0/345)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb0bfdbb813aacb6008ccfab955aa96e7de11cb429fa08e8e25301b049b11f6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/ray_tracing.rs: 0.0% line coverage (0/720)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d5bb6886a192e90b0b168e33f5eee7d072dfa730a328b895a317a7a299c9ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/shader/inout_interface.rs: 0.0% line coverage (0/663)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd8050e2e262cb675be4f641a2d4ca925e69a34581ede540e2f8f3f0a71d7c1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/shader/mod.rs: 0.0% line coverage (0/430)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd2b4289d2e9d00dfe4b9f35784f56f09df4b5318aa822d8e5b979f52f57083"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/pipeline/shader/validate_runtime.rs: 0.0% line coverage (0/2323)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"125e89497beb90c91aae4d0f5565c4db124e4df58e6c05fda01e18c77774cc30"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/query.rs: 0.3% line coverage (1/382)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf75f7eac8006e68c27014cf60a3bdbc28ef50bf4e10e79f412efc43cabc785f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/range_set.rs: 0.0% line coverage (0/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/range_set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cc0a3cd2e4c0f8b6a629caf86992fe915358281655491b48effa7fca9c7b18"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/render_pass/framebuffer.rs: 1.6% line coverage (7/447)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"880b91313057b700476bf0e665b7df7b48ada62cf7c21d9a49137a1c351122d2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/render_pass/macros.rs: 3.1% line coverage (1/32)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca7bca8b3c77e273e57cf1121cb8bbd8106d7f544e2310f79fe77fef3bc64cd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/render_pass/mod.rs: 0.4% line coverage (12/3099)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa08c8b414eb99908f9cd9be692e71038c2d4427f94d1c41f3fd2df439469ab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/self_referential.rs: 0.0% line coverage (0/65)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/self_referential.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efff0d54e58b787c6429cf2b48f5e4b1a78deebf69447f303c04cbaf173983bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/shader/mod.rs: 0.9% line coverage (5/534)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a485cdbe3893380920b6a6afdc29525f1f133946c50b167308f181cdd420d180"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/shader/reflect.rs: 42.7% line coverage (353/827)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"032bd52d51c568a188097e9ab4df949507cae0838bfb8bd886cc38c63d9f4bb1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/shader/spirv/specialization.rs: 0.0% line coverage (0/521)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a490fce6e1f4563d2318563a29e5d9c862d2a961dd58dc3ec79927542e090423"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/swapchain/acquire_present.rs: 0.0% line coverage (0/789)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df9bc5ad8fd3bad2927f3dfe9882546973dca3defa902551818c759f8a459dc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/swapchain/mod.rs: 0.4% line coverage (6/1605)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd361d3e3d5241919ebc3a55c44481427e0e4df18c7f11ad6fe079765bcd922"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/swapchain/surface.rs: 0.1% line coverage (1/1638)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/surface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ec5dbf2b1b4ece8e2583830181f46fbf82d3976d8d822e6c324f741a6a7cac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/event.rs: 0.0% line coverage (0/186)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fb4d00d72cac471ab6b42353f44854181e8ad99a7f6e168dbb3e90e3769225"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/fence.rs: 0.1% line coverage (1/784)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d698ebf7ad62f4c0b3459cbe55780cae10806f90a7c9c5838a68f57925f0b4b9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/future/fence_signal.rs: 1.0% line coverage (3/306)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a6296c26a95a575caaa145aa67a7f264fa523f76163a4350e56a189113f8db"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/future/join.rs: 0.0% line coverage (0/153)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/join.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d2afd0282876f35a8956e39fd904ea6bf6d04246dd3c57628a4d13979180e5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/future/mod.rs: 0.0% line coverage (0/369)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21b9a4780ce3d776a73839dd2b32d209b94e38690113d7e74ff9be3b13e2a22"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/future/now.rs: 0.0% line coverage (0/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/now.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2efccefff4656b4b4c0465248b4158cd284cba834891929d2393089b422ec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/future/semaphore_signal.rs: 0.0% line coverage (0/141)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/semaphore_signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c777c9435a8e439ef784eeaaacaf533e908454b9b406ce8c429e9925b61ceb20"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/mod.rs: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03af088e596386fdfb6b5eba8ce4eb53cb8d041ee057dfe85362865453d8a215"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/pipeline.rs: 0.0% line coverage (0/807)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94479ce77d421bc0b46076f8b23f9ace756fbb2797d04dea4e81e8c25850486a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/sync/semaphore.rs: 0.1% line coverage (1/1301)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44df82985144dada241d99b7549860d90fe4aca2988cff50e153a20a5926019b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: vulkano/src/tests.rs: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b53ef6f1c042409ad18b2a8151c3d4ed95a1507a9045f5cada2691d8214c72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: vulkano/src/pipeline/mod.rs: vulkano/src/pipeline/mod.rs changed 2 times in last 90 days, max cyclomatic complexity 47 in DynamicState::validate_device_raw at line 996. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 08:55:38 \u002B00:00\u0027 --until=\u00272026-11-04 08:55:38 \u002B00:00\u0027 --full-history --no-merges -- vulkano/src/pipeline/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff188dcf82d33799227d5ee12ec922ab051c48410bf7f444ef603a5be72ea8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: vulkano/src/device/queue.rs: vulkano/src/device/queue.rs changed 2 times in last 90 days, max cyclomatic complexity 18 in QueueFlags::fmt at line 1274. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-06..2026-11-04, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-06 08:55:38 \u002B00:00\u0027 --until=\u00272026-11-04 08:55:38 \u002B00:00\u0027 --full-history --no-merges -- vulkano/src/device/queue.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/queue.rs"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a70e20a2d8b816bed9741520d6bfd222d5c58e762d82f3034f80709040c5d08"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 16 significant file(s) lose their only recent owner: vulkano-taskgraph/src/graph/compile.rs, vulkano-taskgraph/src/resource/state.rs, vulkano/src/memory/allocator/mod.rs, vulkano-taskgraph/src/resource/mod.rs, vulkano-taskgraph/src/command_buffer/commands/copy.rs, vulkano-taskgraph/src/graph/mod.rs, vulkano-taskgraph/src/collector.rs, vulkano/src/memory/allocator/suballocator/tlsf.rs (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"40b270929a0733208d937bc88ba462e87dd55738207a44dc6837b66db2063b49"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: This should be replaced with \u0060Surface::required_extensions\u0060, but will need to \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-util/src/context.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa75c6af2c753f155251b41e65609ebe63b7ee079d9f3fc2c533f4af7e21eaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060Queue::push\u0060 is quadratic in isolation. \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":"vulkano-taskgraph/src/collector.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f2ba6030e5768e9981203c886e15619be9ae241bf7ad1e8784a32541c5d5c2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: allocation \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":"vulkano-taskgraph/src/descriptor_set.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c91a53235ec1f30fa1b9ff397efe4f28d9bd0badeabd895ce816a941f12bdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Potentially TODO: \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":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76a3fc4fd1d53694ecc0a03fbe1897672efd985f254ae786bdb92f521223e8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 21 files: The identical TodoComment appears in 21 files (56 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 56 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO:\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/lib.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb3835ee75bc828905298c35600b6b15aea81ca79356818abcfde7acaa8d9f1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Custom collector \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":"vulkano-taskgraph/src/resource/mod.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2338301033b3358fd5bcb0e82de6cc50c419652020e5b80e6e461065491cc5"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: We need this in order to collect old swapchains. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea98f8081a74bc04d8e344b6f3e9d83660bfae77abb4b4122c2262d658042e8c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: imported/exported fences \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":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"24897ac4daf4645d4e2d93b18d3d2bdb6a3df15a6282058444968060e2caa9e5"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: We need this in order to collect garbage. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/resource/state.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52770e2403f04c56d08b0edfc83072faf5c76e4ff57c7c815930a1f5d865f7e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: host read barriers \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d952593e75b31537058c3232a54ce8a909bb9e6c3342335299ab40988b815be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cull redundant semaphores. \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e60cc3f78f000007de04a141fc3c745270e9a39afa145ad4f918f4a0732f5b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f431f34cea203af5caa0c491382c61b93f519d031cb32ecd37a9df3bddfe4d5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f32a11d6b3b493e89dac4f8a89459d1bcdfac172c46ae13aeffc75805d868b"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"3792ae7bcf2ed9c67ffc9b508ec4d91b8d14af281ce71b1541f586e31c2626b2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"5950447c747dcc39246a17301eb4b9207cc9906d846fef062f8135d2a807aef6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed913c67363efa4b92d363d2e2c4836950123f799cbc890ac177ad4361aa5b5a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"1403948309c29bddb951feaf54beff8646f4852c13fff30b6618e1dd61bc6a6d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29aa88c7aaf09d25b6ef4e2e2707a91c8bb80197383a1d6462ae4993b383901"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ae6fd84b7abb870f1311ddf14d0def224405820688c01741f42d5aab40412c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd99dc11a5608abda557e2db7ab0de4c0199f464f703f1310d8e3d591a83478"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a04cbbdfec1292df4dbf9e93d72397a6bea2e6af8517e0d9732253f1689b132"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd64a72f56b296e55a0ce4090c8df23d9395bdd1ea362bede9e8ed52c5d356bd"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d008fc587fd72575a1b0b58618e79eb9491d15797bc024ab86c090c7f8e7077"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bff776c0b2d624f8612569cb2bf572756826516aa3dc19384902cf41638e954"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"72eb53bb4f54d88fb7e69fe9369b172779d6f9c7fa0c0e84353a2e3b0193d220"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: subpass dependency chains \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e410cb5565cef8785738775532c8d77b1e44a25263e75fa46d7c33c0456e29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: What do we do about non-framebuffer-space subpass self-dependencies? \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e73c9fc1f9a98497adff4283b3e775c989f0f11c709bfb4fb2ffe26575ac506"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This semaphore is redundant. \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"84661f168dc9a00a4eea50754e2f6bcf0c0c443dab16cc93fafc8dd759348071"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This semaphore is redundant. \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13d120f79bc1cc81bdb138912c2c8957f6c24839d2c2525cfdb4632adb6c8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This could be brought down to 3 submissions with task reordering. \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":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a4e9f1af0c6210a8a0e4809b233623ad044fae6eb12141286b7541b48c18ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Could there be a use case for keeping the old image contents? \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":"vulkano-taskgraph/src/graph/execute.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a61effc4fe4dcba5dc75b8ecaa8525275ab3ec0fea00aae7fd3242064c96a65"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Initial queue family ownership transfers \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":"vulkano-taskgraph/src/graph/mod.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27efd365763beeab702fcd7eabb097f7dc8d1148b62af3f1cae2f9c16ba7909"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// and can therefore validate resource accesses. (TODO) \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":"vulkano-taskgraph/src/command_buffer/mod.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c66b1561a706b33909cbb05c1310bf94718ad74e7e5662b61e462cae339ed0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use a variable set by cargo for the working directory of rustc invocations once it\u0027s \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/lib.rs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d572996f892cabd1d5bb811ddfa18e64976d46a21d0d4e243015029c146fe091"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: The Makefile format doesn\u0027t support path quoting, and shaderc just outputs paths that \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-shaders/src/shaders.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f78d5b4bbbb12a11068eb93c6fe98b8ef5a4ff02e5e836f2610be0acdf1121"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with the \u0060ArrayWindows\u0060 iterator once it is stabilized. \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":"vulkano-shaders/src/structs.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd047215fd1ad6a90ec5b3980926835bee58d5acb4d7f299023e5afdd6d71b2"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: This works around Rust issue #48214, which makes it impossible to put these \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-macros/src/derive_buffer_contents.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a3c9102db4e0c3c8cbfa4f11e9e01e58b087b22f69aed101db8891c4a6f421"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: This works around an inherent limitation of bytemuck, namely that an array where the \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-macros/src/derive_buffer_contents.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbaa10cc7218ac7a67db200f569481e3e05d6b3a18994d53aa51bae5347d294"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 26 files: The identical TodoComment appears in 26 files (317 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 317 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO: document\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9541d161e6f5fe639e7a94bdbb54496db428c62ccfeac18dd56a99ba41f076e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow user to specify \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"435befc85c4e86a9a13c204e5769a79ca9228bb7f424ad4c9ebc165e0086ef55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060vulkan_enum!\u0060 can\u0027t generate non-public types. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1367af915bf930bc1340f8f3308926b87ac4f1ed633e928d5e313e6734083404"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"897ba42aaddbdaa868a75fb254e8f90d81a156b283ff41ca08cab9be424ce2ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d9f48c6d1365f483420d190c1cb3be41bcb5640118abf5eac28d1fbf5aed0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"729b9393b6d0d1c107669c067fa3d8160860f353a30dc4c4eec7dfad60995820"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac721b61b9b539569a0715f5e9a139a4a2b6dd12b4dddf5ec397de9a4bf97a55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd6cf9f34b41ead45250a06c75243149f6c609dae297ec095d33af2c9955ac7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5eb98edbe0dd78a14eb48cc522732a01aad55f6f6b07c97e818e4d779de4bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unsafe \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":"vulkano/src/acceleration_structure.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"42353d4426ab1d2fc33588736d56c47e947283d8524d2ef69176b312031ca83d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/cache.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a0060878e328d13bccd4ddf3c09f289df3ad82f83bbedff8d9db582984fd30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/cache.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5cddeab9e6544939c8998d88921ca65bd03dacfa57086f1b046f549be4be05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa71e380ab5d569a188fb1e22457405a04dc0449c28abea61818f000f7e4118e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/pipeline/graphics/vertex_input/mod.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b008be5e09c8b43cba57003d8685d5e440936751b94b6f487914598bbeb069a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ee40365a6dcac184d9cf17466e0cdcb019ad95c50b01445b2bde2540f0e27f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"c942094c8941499c8cbb49ed422e22fe07da5147552de0f4fea71b642b46a5a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make const \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":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee8ed870295a8da8d47f784e5adbd9477dde91a0644873a73828e1a0718bbdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is alpha value 0 correct? \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":"vulkano/src/format.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f8acbf852a5c0a9143fd3c1a8a79513344cef676ff8fcf38bcc369f1d8b4fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is alpha value 0 correct? \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":"vulkano/src/format.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"11613ebf85969ffb7b1366b219ccb09c8d107ba1aab6f622212fb5a3c2e24f93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is alpha value 0 correct? \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":"vulkano/src/format.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c923f0d4619cda5373e78c0c884f89ae47bec09ea73b9d2776c280ac664f0813"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is alpha value 0 correct? \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":"vulkano/src/format.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f512fb83cb219545c80c886c12c8faf29001d675ba613a236c9e504346b05eba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is alpha value 0 correct? \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":"vulkano/src/format.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98be817ef00b2aa1d6b48acddc4eed79d4b24d72c97a049d2887a1bba573aaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is alpha value 0 correct? \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":"vulkano/src/format.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b9ffb72e1ac2b669dd84662ba56c0da63a6d718fa2433d92419d4dd24ac611"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with \u0060std::hint::cold_path\u0060 once we bump the MSRV. \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":"vulkano/src/lib.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4e969e1f87711fa28e39e37fc9bfc7538547a4ce06fa245d1e13050bfd7ccd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with the \u0060?\u0060 operator once its constness is stabilized. \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":"vulkano/src/macros.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee5356b36f962d2a8ea3276fc536d9ac8880a27a5daaca1b5733ca0dca1cc99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: let the user choose false here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdf352c63c0c2186b15a6caa53ef939f31434bce0ba022b1dfbfa2869aa634e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // .name() // TODO: support? \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":"vulkano/src/sync/fence.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"e470a99f80b093687ef820f8cc5bf1a28fe560e8c35bb198f7dd39960fe5ffdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // .name() // TODO: support? \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":"vulkano/src/sync/semaphore.rs"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3922b0af3e1039e1ec9d334c220105abf9979902c460fd41b44b521a7a44b69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use this function \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":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a2779ffc106054d5eacdbfff61b390fba6467eeb79f945fde2e665a3d99073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: why is this never constructed? \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":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"654aaefb3a999648867892fa96276ceacfe97df528e9f84b65159a76fb907dad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: meh for unwrap \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":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5c523fde112bb76808c52b859faef5a3bab1c734afaee1105341e73dc66274"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle errors? \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":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aff4715558d143ee4838e9f30840c3e4c8862a5b17ba7ce847b0f21007cd1c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle errors? \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":"vulkano/src/sync/future/semaphore_signal.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c681c3d2f3a3669aba09ddcc567117ae3e66ee26e4ee210a4caa4a63ffa59302"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle errors? \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0affa22869403dface5939f25cdc8db948c2659270e58f49701602df84298cb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle errors \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":"vulkano/src/sync/future/join.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111424890e3c9464079d595bf149ff7ce25c0ff39133038eaa9df663a755368"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle errors \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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f428461e8db299b2f27f805d70fae5d0c18602c77d7fb9b4fb32d718b43e3d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: review this function \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":"vulkano/src/sync/future/join.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81ce2f100a3ae8e13f8731112d3346401a5ba1af638c5eb8ab2628840219bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: which one? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/join.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dc820484f36a7bb9997398e25461e2e86e85c04bd6bec9d14d8e228ac962d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: which one? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/join.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8364ef516680e6a0b4602f166bfea41e8eddee5b4034f2a759f806b6f8e5af4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: which one? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/join.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"02edcf23be8202db2ac09c3783c18754216aee4723ab225dbeb550bc3d28ed8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Double Acquired? \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":"vulkano/src/sync/future/join.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"629a66686c6ae74d37495d5a7d7dab34a37a992db13457402cdae7a52606d43b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: this is not yet implemented \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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f3e616abf0073931b7583892ddc41e121b39af58c7e5aa30a449767f8d8562"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider switching all methods to take \u0060\u0026mut self\u0060 for optimization purposes \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":"vulkano/src/sync/future/mod.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc942330ef9dc4ebe93b127074be35e93d1b40bb581df0080dc4f741d163217"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: problematic because if we return an error and flush() is called again, \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":"vulkano/src/sync/future/semaphore_signal.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0594e1c1672209f6bc7c698657511b8bc0afb23b6e388535ed28191276cf867b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// If you try to draw on an image without acquiring it first, the execution will block. (TODO \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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6981aa05abce9701f13de72a6f4076a4eb5736b7b3f63dc4f79456b1f4cf9079"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle error? \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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"140a0287f8b8545ff58e3f8771beed4d53957efc2719c2cff477ccf831d72d9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if this future is destroyed without being presented, then eventually acquiring \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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9e15ff7dcf42673b060fa36116ce6099a4d5d84210b69e3ffec169d014e581"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: restore this check with a dummy ImageAccess implementation \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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3a1b2b8f86a0cf83ee03f21b65d4cabfeb714302731b1f09ee6ae6a86115a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return error instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d276099e3bae09c140943325fabe5f5d39bf7f5517be4ae0662ce8f4c4c083"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return error instead*/ \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68a05f5d345528695da1d402b19238eee90c09879a13ae4c27223a7f0eaed7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if the swapchain image layout is not PRESENT, should add a transition command \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":"vulkano/src/swapchain/acquire_present.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc60a111d575a91c8584888335752ffaf18eec451aba5406f824747420d7d5f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //!         .unwrap(); // TODO: PresentError? \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":"vulkano/src/swapchain/mod.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b278209f80e0f67ec28c2a3118b71b55d4b9914a6df357ed6055f0cff49e2a4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle a \u0060None\u0060 index too? \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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b056541833d326c031ddc1070ab580314afc4b47811686da4bb085549076a31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 64-bit components \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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"703bee386d6d999b47c97e48c74273cd08bdc55db3e8983a689e8c8a193a3e58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 64-bit components \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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"2444f25130fee90b725f3998df6f794ce1136d5c2b64c2399c709c479d414855"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: row-major or column-major \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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c60dd5e0e17382c504f10a425b18d3e3cd196306b88568f077cb8a674d6a3c4"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u0060MatrixStride\u0060 applies to a struct member containing the matrix, not the \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":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba8bb272076e468a27cf264dd91a02855bccc912a5a2688de5861d043d416e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check samples mismatch \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":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d52681c1d86b5fef8ebd58324b0f312d615174deca58f514e1576f385f7bfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: correct values \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":"vulkano/src/render_pass/macros.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a9a28a4f883697fa398707b9ff88320552157d3f68e7f86d4f294bc5fd2992"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: correct values \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":"vulkano/src/render_pass/macros.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae3d2f5e7021632c42fcf7bdb746fbc2e9f71480459b906ed56ae8c3ddd1ced"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// See the documentation of the macro for more details. TODO: put link here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"017708eacb2bba3baa763849b01cd52f4a488633bc70d51fbb2d53748306a216"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: chain input attachments as well? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"187a04ae03a98220af3b51c6e9099390b0c5e36171c5a925f48eef3550863de9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: How do you check this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":2689}}}],"partialFingerprints":{"codehealthFindingId/v1":"741afc18dd67e24ac3afb0414b8dc08e4edd1d21399c75a0d79dbcf36d40eb8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: any need to make this user-specifiable? \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":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":3662}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a68826e081b4b8c2faa1109948f5cdc7b47c911be160a6187967538e1abd4d1"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: vkMergePipelineCaches is not thread safe for the destination cache \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":"vulkano/src/pipeline/cache.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e99276268109f5f300e0c1ad7b58a7806e77e798904480670365a90918ab72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make sure that all VUIDs are indeed checked. \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":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"222ad0613e1f5c985502ed11422e92aecb83b635612e5040fe574f8e024f4d61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test for basic creation \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":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"683a8821e3f0e5acee45f21fde7ad498b6fd3aa80e430fe74eecedf4fd93381b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test for pipeline layout error \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":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"958bf9b12e78872acb1fcc03c6c99407d463e847accd8a6b87684d13355e2f95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return an error here instead of panicking? \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":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7d8e3ea5bbf48dde5382d768f9fc05eee15bb423a95f0358c0f31e445ae7e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: VUID-VkPipelineExecutableInfoKHR-executableIndex-03275 \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":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"014dcf91a3a12bbd1931e5303fedbfd72c86d8a48d62e3d7591883b64765ef5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: VUID-VkPipelineExecutableInfoKHR-executableIndex-03275 \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":"vulkano/src/pipeline/mod.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1dee99a441dbecc7a1d8d5a55b6587af289e52db69bf2d8c8cd5b30c047035"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: RayTracing: deferred_operation \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":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6428468e217b2ff1691690d870cc7f57622e1fd1eabb1324272a48028dd0774b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: VUID-vkGetRayTracingShaderGroupHandlesKHR-pipeline-07828 \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":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"251064eecb6fa00412995db1345df4c77b07bd8d9085180a148192ed8f989d9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Enable \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":"vulkano/src/pipeline/ray_tracing.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0955b83b3ac3653117af490aac1d81b03ef035b33ce070520d71f7796a8abe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this may be allowed, depending on the outcome of this discussion: \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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a6e847e2de2f5005b616d9412e16d9a56737583cfac50be94de7cb6d283029"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add more types. What else can appear in a shader interface? \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":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"171c7cb373a217b769dd5c1d88b448c11ac710d41a2da97ec71b1bba0afa6b62"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: validator.validate_global_variables()?; \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"076e2b1ba555f32c312bdaf765ff8e3a0df2b98be7687f1458114d6fe4f13044"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_NV_mesh_shader support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"6132cffd03d408b104cddae537327ea91b4d7cac0a186b2a5927ae7e7a50997b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_NV_mesh_shader support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24c1b4d143bbc6b2194838d619712ae32508f951d11017b7cab23f96eabe8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_KHR_cooperative_matrix support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"08404b66ef1fea32d8f389e7ae0c6149ea0b2132ec914795c78fd564c9614a6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_KHR_cooperative_matrix support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd461856cc88dccdf1dec73f775954eb75fe95c37939aec8bb693126709fa32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_NV_cooperative_matrix support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7dc69affbe5233cdd4e258d94ccf9280862321c984e838cb7ad6232b1b30c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_NV_cooperative_matrix support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0f277aab0e4aac13ee48750a813aa69c45bacffa8fbf1fb1a226c85e92a5da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needs VK_NV_cooperative_matrix support \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2650}}}],"partialFingerprints":{"codehealthFindingId/v1":"28074a54ffc2f15373ce21e6ac1e57f6299ac7a895b7e92a9af69671583c079c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this needs to use only the global variables that are statically used by the \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"244410c1f4ac1b4ee230dfa9bbac8f8f0051b1f58e265d3738819169110d4745"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The spec doesn\u0027t currently say how to count this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c414d0073f18483e1ea993853e5385dab899233b09f8b5e24de71c1b9081bf2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: max_geometry_total_output_components \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"5712526e11f9cdcaf932d7cb7de03d67098c5a0d7b6ce33ce461a12bfc5112d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If the shader has multiple entry points with different execution \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdaf86dc448f215fcfe593c953f44b578c397c7e973bac07482c61b59217af4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: spec clarification \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"26920216a6f2e498ac3b8aea243da87124bee2065ea42bbf7724996a4ed45072"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: depends on descriptor resources \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6a8d64ea318dc40721ff0db9ccfb81692650c3ac7cc6d40e1be67fb67da7f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: requires items that are not implemented \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":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":2931}}}],"partialFingerprints":{"codehealthFindingId/v1":"8515a38c86a9e6279ee0f382b72aa50cb26ab75588a2d3b3c18fb0db6bdb9845"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use the #[default] attribute once it\u0027s 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":"vulkano/src/pipeline/graphics/input_assembly.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"814bd046cfc91fd25aaf4a7bc724ec18c332a7fcc846a57c321179ec1079be53"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: restore \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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e355c9156feae97e7b83429180b910d2c946283635949d82c174fbad28ad5c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: must check that the control shader and evaluation shader are compatible \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":"vulkano/src/pipeline/graphics/mod.rs"},"region":{"startLine":2000}}}],"partialFingerprints":{"codehealthFindingId/v1":"694f6fca117eff71a35c7a09e4589e9ce35a1ed9a51bb71ccced1039570289c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle some weird behaviors with non-floating-point targets \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":"vulkano/src/pipeline/graphics/multisample.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fa70dc9d0b8fee450a789bbd57b34776c3d213de92cf0c75b48301c94b59cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: document further \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":"vulkano/src/pipeline/graphics/rasterization.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5afc4432213b5b34f1fed7dbaebbd44cbe5dc9f8efae7b261fc5224ca208124"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: better than a Vec \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":"vulkano/src/pipeline/graphics/vertex_input/collection.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fa3085faf34cfcbb72fe88e58634305fcb469443306c03f6e9dd75d020c4b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can we make this work somehow? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/definition.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69f2111b9835f0c621e6eb21f2f15014d64ebfbbeeff3295464bb78ba630dac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with \u0060Ord::max\u0060 once its constness is stabilized. \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":"vulkano/src/memory/alignment.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d51a72ce870ea33db5e454d084a9abe1e3280c616e8f4f19520727190f6b553"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test fails for now on Mesa\u002BIntel \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":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":2794}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d94a28b34261bdec4e204154ffa4f636b0a69d25ab2ed986ac9d2c7e60de305"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This test could easily work on Windows, but there are no drivers that support this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":2861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0fdf579ccb48b49618269954ad3cd689daf6fd1db235136f0dddefaff38341"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Expose (in a better way). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/mod.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4cd3891b200dc04bef5fa8d4ace82f441de1e8a928ab0b599344249934fcf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2253"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0aa20ce5fda6bcfa9acbc5cba901e582e4ddaeb4ccca552cbff132c9617ac5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2253"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4517f967381e3b2a14c1b8329d1c8d822d1fcd546ceb17488ca0c4b0a7795f43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2253"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79ec97bd8f7d3500157021fc0f11f586b627d4e4dc3b7af83bee11a236228ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2255,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd165eff09d7c6ed39408be5034b2b74e24e9f3d83f9164c94b7e58e4e55289"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2255,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b826ef89f22f829fdd5c9f219059ba0a79a832c9c1a7faf708468a0f6ad3d65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2255,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e13d64fb4d8ac8e160904f8b138cb0902c77b675aca3224fbd27637af8c83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2255,"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17e0fdf7d68b0c3514f78543fca09cf841361480249c97a5fd14cf7a7f6bf41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2259"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c625c71dfd6b27a1602fa0a508a616546b2cb66d6383d04a33d3902d4de01c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // vuids: TODO: https://github.com/KhronosGroup/Vulkan-Docs/issues/2258"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9872a5b23ee7567f986402e87ead14b7f23ee06a42ae8ed519af33952a30449d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: what to do about disjoint images? \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":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04ac43dd3bf3da0098c0aa08776fdb29bf36b280acb0aea0750a15d9c60608"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Incremental sorting \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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"075d80e334ed326e1bea7f41f433a64668f520f4ebd99d8f2e6cf6417c05699f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Incremental sorting \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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cf5fce00b269bb91b16578eecefab935186debb729c2df3b0a678e4956c2ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Incremental sorting \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":"vulkano/src/buffer/allocator.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"49976c869913005a91439b1574dcefa8c9d8b0e8b660fe3f2195afb292e0785c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe do a similar check for dedicated blocks. \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":"vulkano/src/memory/allocator/mod.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a3dbdbd1fb5fe3cd27462d140addcefc3d2e7aaa931d991f75151f6214551"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: ^ that\u0027s not the case yet, need to choose whether we keep this idea \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":"vulkano/src/instance/debug.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec926a02aadac1be3c9193576294654ead110f432c381e388a641c6545d5ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: mention that extensions must be supported by layers as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/mod.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74fd10070c725fec61a1ae72a493ee8aa4deda0c914a89208bd5e0a1e770d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix the underlying cause instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/instance/mod.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf845c89f7d8e0d587e7383ca55cd2bee187911c93bfcf41a20a61c735a603d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow user to (unsafely) specify custom extensions \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":"vulkano/src/instance/mod.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd8206ce821f2612fa407de530f770bef6f64fef6a829de41bdb2680ebe2dfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow user to (unsafely) specify custom extensions \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":"vulkano/src/device/mod.rs"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"659fb07e967558e2ca1c2a9a1979e0e58f39672c92a14f19b06ef43eda469eb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO \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":"vulkano/src/image/mod.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fa429c4e4fec28ce311e17713e103c2f188d6ea7ea5382c99abbc4a2f26477"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adjust the code below to make this safe \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":"vulkano/src/image/mod.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e33649d0ed067a193f20dcaebdfc564f827e1a324bf008b3dd7e8c64981b73b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: adjust the code below to make this safe \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":"vulkano/src/image/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee986e854064b2948296228f732211aaeaaff08b69f42f884b129156a4f4b734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sparse_address_space_size and extended_sparse_address_space_size limits \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":"vulkano/src/image/sys.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f69cfaf08e2079820ea37c135e1a530e596c3b015e712d2155954f567838734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: sparse_address_space_size and extended_sparse_address_space_size limits \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":"vulkano/src/buffer/sys.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea76658416a7cbdd13938aef3140fbbfb1256644abc6601d8d854ad7715d9b26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:  VUID-vkGetImageSubresourceLayout-tiling-02271 \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":"vulkano/src/image/sys.rs"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55e5c70c0a49bc0785144acf4340a1ad1a860f8aea67ef601fe4dd43c313a93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it is unclear what the number of bits is for compressed formats. \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":"vulkano/src/image/view.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa72a55b6441cbcdc6e140795905e34ee24594c0b2d5002a0d0495cdeebf40b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Spec doesn\u0027t say how many bits \u0060Zero\u0060 and \u0060One\u0060 are considered to have, so \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":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a10a6e979d8663b8f58383f0797d9c5055bd19ef5c2fd57b66b0b672f22b11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: write better doc here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/mod.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1468de90ad1d4b80cdf064ae015874dc2b41423a22701656ec74b48ab0c697c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: write \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":"vulkano/src/device/mod.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d6764ec1f1aa108c14247fd8552e2de90ed936f4eec03596db1fe1aa5d69f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: write \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":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0b4935bbc4c9aaf41670f7d39a397ff6243d09a65e57080f0657375e477e76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: write \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":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e031386153fae395a703bf3d2e4546ec18a3956801aa05cc3691aee772f0bc4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle the case where \u0060drm_format_modifiers\u0060 contains multiple \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":"vulkano/src/device/mod.rs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24582fd80e1b5b2e5f0081c120ad81786b35619972d71b09a4c494d9011478f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: image_sparse_memory_requirements \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":"vulkano/src/device/mod.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5e8ece33599593f9ba6513cb8e69e493660f9f0d6f47459ed0d994654fc333"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Vulkan 1.4 \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":"vulkano/src/device/mod.rs"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"6658bdfcdab74a9518fd49760636d53cde9f317cce593bfbd8d3c9ec57072216"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: integrate into autogen? \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":"vulkano/src/device/properties.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6477597818be5dfb93df673ab86b541a0a9e1bdc2e4f5f42c26f3e5b865224"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should use internal synchronization? \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":"vulkano/src/device/queue.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f70b0fb050167f5de32845fba82e0d2da3bcc0bc0e2f4bab1e9ecc786b516"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: not checked, so unsafe for now \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":"vulkano/src/device/queue.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ffa4c438b2f96131cc262bedcdadc1502df2f8b4560519924ec30d1da45529"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can still run into the A/B/A problem causing the pool to be dropped. \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":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8d9e370b39e5031325ce8a4cf3b5370bdc78c0ad9b40d7e8863e14a40071d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can still run into the A/B/A problem causing the pool to be dropped. \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":"vulkano/src/descriptor_set/allocator.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"537c954e990564f1507e4afc8ab1a3770f3460f87f3e984a1dcf0a58fd1204da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can still run into the A/B/A problem causing the pool to be dropped. \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":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"3880bc42a7c9fdedd1b871022005de8675c0ae92dcff5cf7f95e7333d0dcb7a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This can still run into the A/B/A problem causing the pool to be dropped. \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":"vulkano/src/command_buffer/allocator.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ad0e4684953257d09b5fca9f2fc66d103223befe62e4d7e687847b3b14a0d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //! TODO: talk about perfs of changing sets \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":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6a846e76b9b58c23189a182bc8d79bb1bdbae2c3d18c631ca48d20991f307a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: storage_texel_buffer_atomic \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":"vulkano/src/descriptor_set/update.rs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c24fc9d267f08f35d05912a87439715093e47551c16a73c2b6e946cf1d991bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test that trim works if VK_KHR_maintenance1 if enabled ; the test macro doesn\u0027t \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":"vulkano/src/command_buffer/pool.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b368e60bb485cdc7833a2c820d08d45b46d4d50b163f96a30afe2a7656edba09"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: add pipeline barrier \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06ff596e83df6b4f07dea8249b0075139f2512f1f10624ecda47cef5d25d219"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: wrong \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b532f685ae435e1ad37e6f7725add517bfdc5ff74b8a59e62ff3fee5494eea5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check the queue family \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea6d87de8f519702c60d591e9aa7fae71d2d4b02a36fd7aabb18d4971748a15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check the queue family \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"740afe4094c0d9a4c5c6d262cdd42f70ffa3afe2e8905b8a497701d9b0addc4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: missing entries (eg. wrong queue family, secondary command buffer) \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":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaed2c8c17a8ea9a893d7e189230545f360bb0d0801879295234ff64a3a1de1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: come up with something better \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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43959b7c4de9ea9565834c5304586dc0f80106d5bb9f0e5f9c950cd4aa5d95d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: come up with something better \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":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5a14668c49a9a320023651daa80e42df37cccc0e41f5a3bc3ac50b906e1c5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: put this in find_image_conflict instead? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/builder.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d770d7866a4870ac845a5e1ca9d797e631eaeb591b3b88738cf0f211b5d5eb6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The validation here is somewhat duplicated because of how different the parameters are \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":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a518a99cc9e473471263350dc01c167891bf90f4c73162ecde28cd897f9bf872"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Push constant invalidations. \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":"vulkano/src/command_buffer/auto/commands/bind_push.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"32951594608455d89af8893f93fe45549cd059715f570629ce466df34d686f7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We *may* still want to validate this? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"be46448ae094dc1241d562e4f4dc1cbf6f12bdb80b70b9c7c4eef0c212875661"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check that the topology matches the geometry shader \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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae280a2deece67c605f43d222f64f1e2b9a952e52326d47484199b7f163c078"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: VUID-vkCmdDrawIndexed-primitiveFragmentShadingRateWithMultipleViewports-04552 \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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f19126ac4dfe77d586585f154f603562cd3a92e8678b3457d8cfdb54b0f63ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: VUID-vkCmdDraw-conservativePointAndLineRasterization-07499 \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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3347}}}],"partialFingerprints":{"codehealthFindingId/v1":"693f2e5c2d5387ded1ae86385d58759b3cc03a22c775e1413ebc5708d64621a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should input attachments be handled here or in attachment access? \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":"vulkano/src/command_buffer/auto/commands/pipeline.rs"},"region":{"startLine":3578}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c93b6d1af521772c516b94ccfa6e07327ee16054703ecefc70c5087a2fdd7e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add check. \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":"vulkano/src/command_buffer/auto/commands/query.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0797bb73645115d11e6be27e8211eab7c21ed0f3c29864a0ee34c74769edbd53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add check. \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":"vulkano/src/command_buffer/auto/commands/query.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38c8175090101e50940e1bf46656ba744c12f21d0b0e07fb3d832703fee5678"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do other command buffers actually matter here? Not sure on the Vulkan spec. \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":"vulkano/src/command_buffer/auto/commands/query.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba65250dc037137e74445a0c503d924406c1fa637e109c5adb3e375f7b40ff35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f28498cbf34de8650234634f27313a2250b7b993bd23e6e202f7ee8e91e77b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"7677a5ffddff9c8d4566c3e08a1458bbe6c308a13a2b68146420a2df810a4143"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a179a04f2e5b9fb35ad833e729adba6e791e646b0eb0e399fcf2baf0458b2178"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef0d808b0e0d58101b2935180da1d83c9a17a488cb6c72444ce43de634bf455"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d4090eeb2d6e7c766a856b44d6470ae27fed04796aee728dd6fe7a922ac3c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"038c7cffe1262a76e1a402ca40988151c38f9671d602d7907eba2799c3cc9b5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suboptimal \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9e3cc57bc616cdb5916724c605b7af723319973039b7088f6004b3d59dc0e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This check will always pass in secondary command buffers because of how \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":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb2c85744cd3e7935200daff93498e375c5ad71a9baaf985ae15226d1783855"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ^ would be nice if this just worked without errors \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":"vulkano/src/command_buffer/auto/commands/secondary.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb1afd263e62260a71a750528a3c015a80627a670e9c2fbbbe3fd641337b986"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Caching? \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":"vulkano/src/buffer/mod.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e48ba889d45074a6eb47596c2633086c128b824057e750065e40bad17e6efe5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: probably still more efficient to call it only if we\u0027re the first to acquire a \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":"vulkano/src/buffer/subbuffer.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfe71a7b479cfa7f8086bb447f63bc40914bdaa696377963a5df87b804edf59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: what if R64G64B64A64_SFLOAT is supported? \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":"vulkano/src/buffer/view.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"9867430ec525e0b73bc6663416a6f9375c2b87989fcd40029438cae3ed5b6531"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Document state setting and how it affects subsequent draw commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/triangle-v1_3/main.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f8a8582e7f52469f4da59378d2ab4d1e420769afe9bd7b75db693b58312538"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Document state setting and how it affects subsequent draw commands. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/triangle-util/main.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"e094083d5059cdf93d62be641e240914f8d860f3f3e37aa91f5caa52a53bfeaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Give a paragraph about what specialization are and what problems they solve. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/specialization-constants/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"145c0c2a23cff08be245944f47042122c054758ebc9fe94b59250ec802dfcbe8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(taskgraph): sane initialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ray-tracing/scene.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b87f077bbe2469b829d08360492c77f1e0f3ebdea67e434e6006065dc28c69"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(taskgraph): sane initialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ray-tracing/scene.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7bbc968fcf386be9bc336066cfc65d9e8df7d44ff1abdce3d1ab79c5ea1f51"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(taskgraph): sane initialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/deferred/deferred.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c35e282c0085d3d4cfadd45d3777a27ff7d3392d55d95a7f9b414a488e1e2ad"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(taskgraph): sane initialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/deferred/deferred.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"044b7df45bc4237b2ebc518e80fdcf0720c9da83288e25aa5f46a3d393e75725"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(taskgraph): sane initialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/deferred/deferred.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de167ddfb431167442cf7bf949c4303b5111e7f74032ec11072790c8c14184f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(taskgraph): sane initialization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/deferred/scene.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"253efc0b51aeadd8685eb0345e50b3f61d77a786067210daaec62582dbdaa7b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can this be demonstrated for other platforms as well? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/gl-interop/main.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b5354382573c5f694cec9a510ede04877f52eddffc3cbc9040f05d414cdb71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Long strings break rustfmt \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":"autogen/src/fns.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323f2deaa7ba92db3ae9ba48a4386ee4aa9a1c0259c1415d6065b4a27237618"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Parse from vk.xml? \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":"autogen/src/fns.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0848ae92f58d432295e6bec1fc97ed801e06bbc1297999d89ac3b418d0021410"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: resolve aliases into CommandDefinition immediately? \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":"autogen/src/main.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9f4d90f858cdd069f6a9e53b1853220ce8b8013643ae41d7494f92d5132c93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this more automatic? \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":"autogen/src/properties.rs"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"192a2850e7ae898998d402b189c1b98403e4a9ea1361db90aae6354c16fefe28"}},{"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 \u0060autogen/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1227d3f00551e5a19bd1795f2826ab9c60c7f0ee30b4efe279cfdbd8a8750bc8"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 6 project(s) overshoot their size bounds, lowering Project Cohesion to 6.7/10. The most over is \u0060vulkano\u0060 (131151 LoC, 610 module-visible types across 24 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9547ffe1fe450c6c27db818620d208444635fcb2b5e8020d78e0fe53a6e209e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3909b236c3f05d870dc65e3e6ebd5ca2b1556c9077e00afb0f2dc8e2022865f5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89bb37b903bc30f61450a2205ec954e925681e960fc56e28dec9f39c9a5a6c25"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb93cdf43f114493bc7fc86b542890f713edcf475e371017048d592054ea8e9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d131c32785c6d67895c6817bf9921917ceefb33faf83aef2f41038eb6e979d92"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad54205ea1bd7aade11635fb1030fd84680cf6dca149b7a2470402a85b9f4816"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd8c2b9a880923d4dec86420d863f6e81bf7657c845ceb51cea60fbb9d4a444f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e52c4ed72a18affad1e49cea52c7f769d832212a8b5825e23635d2fa8d415d02"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3577b5d460a45f2f85a34c317d2bbdc39946750e4d239c3a196c4aa170cf5403"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8f42abe16d37c5891ab74f2e47e2fb7c56510fb865444f5233c1b3420f1f36e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c356dafc2d2f879539349393edf47ceccc3e0771bf15e4dae816abd8594fd25c"},"properties":{"dependency":{"package":"ttf-parser","version":"0.25.1","advisory":"RUSTSEC-2026-0192","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6234a04905fed59392bccada312f040a89c643ee3ad880158bd1598cd3fe511"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/validate_runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f5d5c2de3a5d11bc344c05d7a55126db16e772cfd5b7b4392592ed90036a75"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b726068416f81d77d9507514550958af055750585b4b1574420f07962c447da"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/dynamic_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b750458b41f9f430b6b3f45c437ee45056c4a0464785456634e88ccaeb444556"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de716dac774b278613a23b440b14de0d9bfa6c7271b6e37ae55536279bf32f68"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030a5006cfda12e3747cf44af11bde83ade42ece18c14d7baf8fc0bcf0b33dba"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2d0dcb3a67acb1081c5cd337059de22f5edb27653d7a064063da59497c417d"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dce42d089618d00e4a2e10d8ae52498d1c537a19b3977ffc9e91cd1afad730"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/sparse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafbe49b0f5f9c180287545b9ffcbccb53b19cd3878be921408b5db94790cf7b"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/reflect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0154fd1d10e84465604004bf017340ce8628f0164bf1185e7a10b371b6e98290"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/fence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6360e03a3c1be79fb3ceb0888a971f5dd14d365f6e0e82eae20655887ad436e1"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/color_blend.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47ab4e9d75432446fdf081281fd7885f2938cad7521fa93ee920b13e6bf7a7a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/features.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fc97c9eed46c7981b8264a70cfc8a5d0c1085e4b9c2edb67363bbe738de6a9"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/render_pass/framebuffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea042144bf289ab8f0ea78e789fb29b54c22ef59c50feb72f636d2169ca502a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/formats.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69829168d7e89da4f55729cb279dbcdf07e388c26437bdde8a18f660e45208"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/properties.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b22262c612957ae7736e5b3e6414d2479932df5d043b1681a8a32582d6788e"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sampler/ycbcr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77502ba830aff61ddf3d3e12d87d9eef33fe35e0c5f613da92ba39d67fe0c01a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/vertex_input/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e91a21f00358d0a1695ed974cae8d6b99e0fedcb538ef36666a0b992337fca9"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/inout_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8195abfd65defcb8bafbfe1412cd4240e86c0627f32477ee4c3c49a07cefe4fe"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/extensions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b85f688a77abfb4d7e12ea306246dfe66398b1c5b772eac2d3d1192fb29401a"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1178e53527b1a53913962caf47f16e6ee08c55417f6c0bfda73f3a310bade1"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9055a2ce85a699c9315f492e802a46e0fa0162f9c8126a86803722228dfca1dc"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/shader/spirv/specialization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014acbfd25bed829bbba721259d8296e24ae126ddf6df9da62a6f8790e2869f2"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/graphics/rasterization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d40d848146406062aedc3b1c45199751daaa2b364309bb231db2e74b4d6c4bc"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b7aac0c0fc96be6be94fedddf88db6ea4cf1b85c88fd6d0c8380e2d82bfbf8"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/shader/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"053a9d5fc11750c22ff65a4f545ab54ffc1225f938aa3c37610e5e3cbbe5333f"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb56a6b5ef7d6abedde2af8641b4e29bde176f285d42a1b87844abd0df7f077"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"autogen/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71db8f662468c199fdc6e7a86424325af277b8b1fffd79aa6e9db823d4f228e8"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 30 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: vulkano/src/pipeline/graphics/viewport.rs, vulkano/src/pipeline/graphics/depth_stencil.rs, vulkano/src/pipeline/graphics/subpass.rs, vulkano/src/pipeline/graphics/tests.rs, vulkano-util/src/window.rs, autogen/src/spirv_reqs.rs, vulkano/src/image/layout.rs, vulkano/src/pipeline/graphics/input_assembly.rs (and 22 more) (58 orphaned of 158 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 158 of the 175 production source files in this repository met that bar). 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":"vulkano/src/pipeline/graphics/viewport.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52f6846001d2c74f20a2bd171cc0aabd38c76f48edd4108ecf7637a07100293"}},{"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":"vulkano/src/pipeline/graphics/depth_stencil.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb278e3795e0ee39a7602817024b915f5157ee2cf4ef14a274c38727befb8f36"}},{"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":"vulkano/src/pipeline/graphics/subpass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a353acb7fc7fe9dd5b662adad120f719b05488e63118bd7090ffe5f38e85813"}},{"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":"vulkano/src/pipeline/graphics/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37805d81058ef7edd18327a70c66cbde388027499bff232e6446f87c7de424ec"}},{"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":"vulkano-util/src/window.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"329ceb283ad5d253c66a91e54a1b611016af07af0462cdb31677a629f7df3bc8"}},{"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":"autogen/src/spirv_reqs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d976af43407b096c02fd9c6ef842a5cf4b210ebe0406d5853f05d996bfbdebcd"}},{"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":"vulkano/src/image/layout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c353faa1a166c16882efdd652db63b500c6e6624e2f3be356a2f13d39a7550a"}},{"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":"vulkano/src/pipeline/graphics/input_assembly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b4c6ddd3dc4875c2c5f54d6f845a4966d8ffdcdcac676862979b3fce84efba"}},{"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":"vulkano/src/render_pass/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcebf1321f6b8b7752a07e41a16f1954de14a7bffd2fe3a90c3de36b1cf6ff58"}},{"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":"vulkano/src/device/private_data.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bde71b874a62b6d5324585882e59b0ffb7ebd3fbca039365afaa6ab4776d6ca"}},{"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":"vulkano/src/descriptor_set/sys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f03c902186a521f84e6b35bc82254a6a3946f8750f9fdc4d189f0c144205f70"}},{"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":"vulkano/src/pipeline/graphics/vertex_input/definition.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72b038323629f9de7e26f97a08c7b199ec41ec3f7d0774f586e5dd8c05b483b"}},{"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":"vulkano/src/sync/future/join.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36028516a0d2dc8d3c0e9237b7fa208a57b491a72bbae5e9ca236fc06526eaec"}},{"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":"vulkano/src/pipeline/graphics/fragment_shading_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f699df3cc04c017f0cc87db236cf05cd05eee5e30f2daf53217671bc81c54b8"}},{"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":"vulkano/src/device/properties.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f11776b06efd097177c460c18eb722edb7041c440cdae8e41652202a91b03b9"}},{"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":"vulkano/src/sync/future/semaphore_signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16957c3708f3b24ae8acfa9c383dee6ed9be9dd5f88e4e66872df874bed14391"}},{"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":"vulkano/src/deferred.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0cf8127a68f58b204d78818de08aaa075452293738fb70778a706bdfa1997d"}},{"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":"vulkano/src/pipeline/graphics/vertex_input/impl_vertex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f406eca9cd5d52d996cc90345e32eefadab7d206315e69bf8f6085901d3e7ea4"}},{"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":"vulkano/src/pipeline/graphics/multisample.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f73c5323e75b0fea30ba991395f93c556953b7e4c8c509a732e1e14eb255b6e"}},{"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":"vulkano/src/command_buffer/commands/debug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41acb39f1b75c1de0dc3a301a361699e2d0a02e36c8b290327ca270dd87edc96"}},{"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":"vulkano/src/pipeline/graphics/tessellation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b85d28dbb7651a95dde47ca2daaf0861b1340dcd18ebf34a28c15ad1663cba"}},{"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":"autogen/src/fns.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7c693624c4f6f0c16a9dc08d417f9526f8ae5a4f3e6cbd012833c50f604f1c"}},{"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":"vulkano/src/buffer/usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a2e7bc781eedb98d9bb3364e7a35824cf448e76c88275203b158fec82d05a8"}},{"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":"vulkano/src/pipeline/graphics/discard_rectangle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"391d73bba2b5617f0d4ca7526c8264b09a8f3a40758d9d02d2c345d4a49423a3"}},{"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":"vulkano/src/pipeline/graphics/vertex_input/vertex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d854ac732eed9e075ec6e7062152c16327bb887fefff7f579d22b179af85ab21"}},{"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":"vulkano/src/version.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa381f11c2079d4426e546b5383e5aae199610287196c8949c748c35e9265cac"}},{"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":"vulkano/src/image/usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73413c4d752331e18c404ce16bdc373cd28e2c1b12311e31ed149e37855fdc92"}},{"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":"vulkano/src/command_buffer/commands/secondary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1db0e0d4e58acd0ca6d2d264a954d17151ca726571b2ad4380ab34528b133d2"}},{"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":"vulkano/src/image/aspect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bf8f7414c0b3db61155c6a5f25cc9544a049ec6aef0069831d6ab9a9e89287"}},{"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":"vulkano/src/instance/layers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff0969e5fa060666e7f0a831921fcb7549854563cbaeea4066e72f87ffcadcd"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: traits.rs \u2194 semaphore_signal.rs: \u0060vulkano/src/command_buffer/traits.rs\u0060 and \u0060vulkano/src/sync/future/semaphore_signal.rs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060f7121111\u0060 Use references as params in \u0060Queue::submit\u0060 and \u0060Queue::bind_sparse\u0060 \u2026; \u0060def21843\u0060 Partial validation of queue commands (#2373); \u0060765bc6ac\u0060 Fix potential panics during panics (#2162) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af25004984a3616dff4a07ca6c09c22d68a6d9fbf349c71ba054c9a445c4061"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: fence_signal.rs \u2194 semaphore_signal.rs: \u0060vulkano/src/sync/future/fence_signal.rs\u0060 and \u0060vulkano/src/sync/future/semaphore_signal.rs\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060f7121111\u0060 Use references as params in \u0060Queue::submit\u0060 and \u0060Queue::bind_sparse\u0060 \u2026; \u0060def21843\u0060 Partial validation of queue commands (#2373); \u0060765bc6ac\u0060 Fix potential panics during panics (#2162) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/sync/future/fence_signal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f33fbaec7623078b7bca7b21fdb5c41efe219d3a878f3cee182f8b173b70aab"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: compute.rs \u2194 mod.rs: \u0060vulkano/src/pipeline/compute.rs\u0060 and \u0060vulkano/src/pipeline/graphics/mod.rs\u0060 change together 51% of the time (32 of the 63 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 32 shared commits counted here, the most recent 3 are \u0060ac248146\u0060 Correct various grammar throughout the codebase (#2718); \u0060909096db\u0060 Enable and fix \u0060rust_2024_incompatible_pat\u0060 lint (#2631); \u0060130f9e5d\u0060 Ray Tracing Pipeline (KHR) (#2564) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/pipeline/compute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc642792ab2d94c8a61cf2d6525e45d57ce4614a2fce58f9dca85618dc2b839"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: copy.rs \u2194 view.rs: \u0060vulkano/src/command_buffer/commands/copy.rs\u0060 and \u0060vulkano/src/image/view.rs\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u00609e375203\u0060 #2752 fixes (#2754); \u0060872f0187\u0060 Implement \u0060Default\u0060 for \u0060ImageSubresource*\u0060, deprecations and mainten\u2026; \u00606087ae1b\u0060 Make stencil_usage an Option (#2276) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"031291046f7c5a9d27943c732df5ebad3b3d7abb8b202dd16c28bf08fe7bc47f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b238a35cdf579502beecf1551ee8679cbcd407b1440c63ffd3c0c2f84f583d3e"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!*self.finished.get_mut() \u0026\u0026 !thread::panicking()\u0060 appears character-identically in 2 files \u2014 vulkano/src/command_buffer/traits.rs, vulkano/src/sync/future/semaphore_signal.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/traits.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7da571d7031622df4a896e36b32b797dc63e12456c0b4dee0ee8fd347c7e42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060descriptor_writes.is_empty() \u0026\u0026 descriptor_copies.is_empty()\u0060 appears character-identically in 2 files \u2014 vulkano/src/descriptor_set/mod.rs, vulkano/src/descriptor_set/sys.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/descriptor_set/mod.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be807d87801ce0e5028adfe1bff8b6af40a675b56c8fe221e4a1535c5209df9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.api_version() \u003E= Version::V1_1 || device.enabled_extensions().khr_dedicated_allocation\u0060 appears character-identically in 2 files \u2014 vulkano/src/memory/device_memory.rs, vulkano/src/memory/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/memory/device_memory.rs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d83ecb9f05bd846fa1b11d0c06a328046ba5a0ddd2e8f508a8d8f7e44a1c8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.api_version() \u003E= Version::V1_1 || device.enabled_extensions().khr_external_memory\u0060 appears character-identically in 3 files \u2014 vulkano/src/buffer/sys.rs, vulkano/src/image/sys.rs, vulkano/src/memory/device_memory.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b891ddc84ea02d04bb12e53a349945fe6078a551564d358976907ec1586f0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.api_version() \u003E= Version::V1_1 || device.enabled_extensions().khr_get_memory_requirements2\u0060 appears character-identically in 3 files \u2014 vulkano/src/buffer/sys.rs, vulkano/src/image/sys.rs, vulkano/src/memory/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faf656f4f8d23846e93e4bbf3579c1489c611f4d3ff253e282b90253bbaa4f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.api_version() \u003E= Version::V1_1 || device.enabled_extensions().khr_maintenance1\u0060 appears character-identically in 2 files \u2014 vulkano/src/command_buffer/commands/clear.rs, vulkano/src/command_buffer/commands/copy.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/clear.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22c83d5df4c65b5b4cc7368042b6d3cc5d394e50e043da41901d2c4ecfa6178"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.api_version() \u003E= Version::V1_2 || device.enabled_extensions().khr_image_format_list\u0060 appears character-identically in 2 files \u2014 vulkano/src/image/sys.rs, vulkano/src/swapchain/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/sys.rs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9695be974de2b0b62bf7f303a92c4793f7247a054cb1f88182e13823b4e1a09d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.api_version() \u003E= Version::V1_3 || device.enabled_extensions().ext_extended_dynamic_state || device.enabled_extensions().ext_shader_ob\u2026\u0060 appears character-identically in 2 files \u2014 vulkano-taskgraph/src/command_buffer/commands/bind_push.rs, vulkano/src/command_buffer/commands/bind_push.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/bind_push.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a1f9e28ea444d559e4a7848cee9e20a89f7f75805470e0303cbe5ab3cd01cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060device.enabled_features().attachment_fragment_shading_rate || device.enabled_features().shading_rate_image\u0060 appears character-identically in 2 files \u2014 vulkano/src/command_buffer/commands/query.rs, vulkano/src/command_buffer/commands/sync.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/query.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9990545cfcaf34f9d7969ec1cdd643ad4c0f49b915ca384235fe2c04166ff197"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060flags.intersects(ImageCreateFlags::MUTABLE_FORMAT) \u0026\u0026 view_formats.is_empty()\u0060 appears character-identically in 2 files \u2014 vulkano/src/image/mod.rs, vulkano/src/image/sys.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/image/mod.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"826a68c06ef7cc3577aa428d7c5ade2c1289b8afe5e192fbcc347bac7ddd855f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060queue_flags.contains(QueueFlags::COMPUTE) \u0026\u0026 !queue_flags.contains(QueueFlags::GRAPHICS)\u0060 appears character-identically in 2 files \u2014 vulkano-taskgraph/src/graph/compile.rs, vulkano-taskgraph/src/resource/state.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/graph/compile.rs"},"region":{"startLine":3518}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e50b05c2cfe116d3059ca51924ee28b3b028122fc03a48e7d17475f5d54cd36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060render_area_extent[0] == 0 || render_area_extent[1] == 0\u0060 appears character-identically in 2 files \u2014 vulkano/src/command_buffer/auto/commands/render_pass.rs, vulkano/src/command_buffer/commands/render_pass.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/auto/commands/render_pass.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"571c527d7cf4548c13205b99b17060031f050e873fee3956eb90f70255a6e7f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.device().api_version() \u003E= Version::V1_3 || self.device().enabled_extensions().khr_copy_commands2\u0060 appears character-identically in 2 files \u2014 vulkano-taskgraph/src/command_buffer/commands/copy.rs, vulkano/src/command_buffer/commands/copy.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/copy.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9d5154d81a4d3426bc715bbad054d551798c48ee04996ab8ce540c52a42499"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.device.api_version() \u003E= Version::V1_1 || self.device.enabled_extensions().khr_bind_memory2\u0060 appears character-identically in 2 files \u2014 vulkano/src/buffer/sys.rs, vulkano/src/image/sys.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/buffer/sys.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"0446085163b91f9ef7b77a60d29251038e90904fc8f7740de1b652b073ada574"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.memory_barriers.is_empty() \u0026\u0026 self.buffer_memory_barriers.is_empty() \u0026\u0026 self.image_memory_barriers.is_empty()\u0060 appears character-identically in 3 files \u2014 vulkano-taskgraph/src/command_buffer/commands/sync.rs, vulkano/src/command_buffer/commands/sync.rs, vulkano/src/sync/pipeline.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano-taskgraph/src/command_buffer/commands/sync.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bd90ceb20ee4636925c0de7f4ddf5abe7a8878c2a8c95b824953c9b3d50765"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060surface.api() == SurfaceApi::Win32 \u0026\u0026 full_screen_exclusive == FullScreenExclusive::ApplicationControlled\u0060 appears character-identically in 2 files \u2014 vulkano/src/device/physical.rs, vulkano/src/swapchain/mod.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/device/physical.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f051b12430425b986031cad4597d677c63be3172697cd5d6dfe0fc33499c5c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060view_mask != 0 \u0026\u0026 !device.enabled_features().multiview\u0060 appears character-identically in 3 files \u2014 vulkano/src/command_buffer/commands/render_pass.rs, vulkano/src/command_buffer/mod.rs, vulkano/src/pipeline/graphics/subpass.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vulkano/src/command_buffer/commands/render_pass.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b135fb26e3dcf2b710ba575ea358192fd310e562ac76977a4683ffd7d147def"}}],"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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":15,"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."]}]}