{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02: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":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"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":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"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":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"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":"ClassElement::parse (cyclomatic 92): ClassElement::parse has cyclomatic complexity 92 (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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2914fb81595d22b5968983b009dd88693dbd7c503ae580173426598ef4bc71"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_expr_impl (cyclomatic 58): ByteCompiler::compile_expr_impl has cyclomatic complexity 58 (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":"core/engine/src/bytecompiler/expression/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cca5b32e546c14872e69eb00b8a53713ec8a47ad7613cbfd0c2e593a76ac85"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_class (cyclomatic 46): ByteCompiler::compile_class has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fedd41aadc83dadda3622eecea8a9490d30d0660ffd80042c28b1247b49ce2e"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_ast::scope_analyzer::function_declaration_instantiation (cyclomatic 43): boa_ast::scope_analyzer::function_declaration_instantiation 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16fe1982bf4e7083e91713937c7750cf51253d7c9c6db2a6fd68910d483e436"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_ast::scope_analyzer::eval_declaration_instantiation_scope (cyclomatic 42): boa_ast::scope_analyzer::eval_declaration_instantiation_scope 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ec3a41fd8c41b99b0dd3af205829c86dfa5a7ed9af94e45a0182aaeeb48d50"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_ast::operations::check_labels (cyclomatic 38): boa_ast::operations::check_labels has cyclomatic complexity 38 (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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"852e45f7fbe612228fba57ccd1d224a1a5a78569d5db59e8ac93d1ab324cfcec"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::function_declaration_instantiation (cyclomatic 38): ByteCompiler::function_declaration_instantiation has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bc3df0e055cf0bfe6a7739ec5146db0bb5289cf87a9f3e1cad7c01f036666e"}},{"ruleId":"D1","level":"warning","message":{"text":"ConstantFolding::constant_fold_binary_expr (cyclomatic 36): ConstantFolding::constant_fold_binary_expr 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":"core/engine/src/optimizer/pass/constant_folding.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3307a749702ee164093eaf7c0d2ceda9985816be8e1c3e7b4acbd4640351b93"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassBody::parse (cyclomatic 35): ClassBody::parse 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37fc63fb6eed89a30b25e9c7fc6ef8bb51534cd89af3a550c87c9a44e1a304b"}},{"ruleId":"D1","level":"warning","message":{"text":"ForStatement::parse (cyclomatic 35): ForStatement::parse 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":"core/parser/src/parser/statement/iteration/for_statement.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b862885ae3e8285a100ff0218db3f52f35c9a78fd039870e1b02df27e53e056"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectLiteral::to_pattern (cyclomatic 34): ObjectLiteral::to_pattern has cyclomatic complexity 34 (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":"core/ast/src/expression/literal/object.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f5b7155f058473e80b879a7aeeed355c993e3b4f25132331169b28d9d30b81"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::value::display::value::log_value_to (cyclomatic 34): boa_engine::value::display::value::log_value_to has cyclomatic complexity 34 (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":"core/engine/src/value/display/value.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"572cd3320eda67fa67b33d1b4fe31eb5859afec9c8f2fc3c0931c2200eee5106"}},{"ruleId":"D1","level":"warning","message":{"text":"PropertyDefinition::parse (cyclomatic 34): PropertyDefinition::parse has cyclomatic complexity 34 (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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"461e0c1bbfa129ed3916fd095d88f64585cd55fe2f0eb9657bb0dae3a574152c"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_ast::operations::contains (cyclomatic 32): boa_ast::operations::contains has cyclomatic complexity 32 (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":"core/ast/src/operations/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f52fb04cefc5dbdc6195745baffc356da0d190341dacc4350fc61140f1d5941"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_stmt (cyclomatic 32): ByteCompiler::compile_stmt 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":"core/engine/src/bytecompiler/statement/mod.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"38664689155a31828bcc6c56647aa1bb4591e50bc3e587cfea3012c7587ef959"}},{"ruleId":"D1","level":"warning","message":{"text":"Lexer::next_no_skip (cyclomatic 32): Lexer::next_no_skip has cyclomatic complexity 32 (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":"core/parser/src/lexer/mod.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb897a44433d32faeb46975996bae14d1b88db8fc52272add33f3a783e5a8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::object::internal_methods::validate_and_apply_property_descriptor (cyclomatic 31): boa_engine::object::internal_methods::validate_and_apply_property_descriptor 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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"808f0d8636b6b3f067d3a2d625a5ed568af96d444249ea0b02e1a99e0f4a4bd2"}},{"ruleId":"D1","level":"warning","message":{"text":"MemberExpression::parse (cyclomatic 31): MemberExpression::parse has cyclomatic complexity 31 (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":"core/parser/src/parser/expression/left_hand_side/member.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5380ab2bed7101d32a136fedf45e2431383284add01f576d949c427b7e1340"}},{"ruleId":"D1","level":"warning","message":{"text":"BuiltInFunctionObject::create_dynamic_function (cyclomatic 30): BuiltInFunctionObject::create_dynamic_function 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":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6166937ead2e2243b94df069063e5530778f7f505317652bde914b647f659d"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_assign (cyclomatic 30): ByteCompiler::compile_assign has cyclomatic complexity 30 (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":"core/engine/src/bytecompiler/expression/assign.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362cf9b189b7f15ea0f937f9123ecef6c55cb0e334bbc3ad2a5c9482b1ad6e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_update (cyclomatic 30): ByteCompiler::compile_update 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":"core/engine/src/bytecompiler/expression/update.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e5251178421a1ee6ee884c19be7487d4049f9082057855ed2278bc4e8e788a"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberLiteral::lex (cyclomatic 29): NumberLiteral::lex 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":"core/parser/src/lexer/number.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"486b98ff04e5db5a3a2cdbcf5dad5e6d1e3dfe49250b20dd6cd4fda0a27521dd"}},{"ruleId":"D1","level":"warning","message":{"text":"LeftHandSideExpression::parse (cyclomatic 29): LeftHandSideExpression::parse has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 2 function items inside it that branch (is_import_phase_call, is_keyword_call). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/left_hand_side/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9b23d9c39928638828944e015f7b93b2dc973fcd9a39f18e2e149f01874c89"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceTextModule::inner_evaluate (cyclomatic 28): SourceTextModule::inner_evaluate 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":"core/engine/src/module/source.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4ffa48fea8cc5c3a1225f26870b88de053d472c740477772b08b0d3603344b"}},{"ruleId":"D1","level":"warning","message":{"text":"AssignmentExpression::parse (cyclomatic 28): AssignmentExpression::parse 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":"core/parser/src/parser/expression/assignment/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"564491b2cf47a72103df561acdac89636fc929324c5bc6341e0821f0b0187386"}},{"ruleId":"D1","level":"warning","message":{"text":"PrimaryExpression::parse (cyclomatic 28): PrimaryExpression::parse 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea6a8f50a144f769ed35c7145c6f782584bac9a63e0cadb40f1608a25dee69e"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBlock::to_graph (cyclomatic 27): CodeBlock::to_graph has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa771d258b2679a7ce692612d664b9d32562c6a4ea1a05e3dfe0b732e5df403"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::typed_array::base64::decode_mut (cyclomatic 25): boa_engine::builtins::typed_array::base64::decode_mut has cyclomatic complexity 25 (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":"core/engine/src/builtins/typed_array/base64.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"115b9ec18976e9f037f9687867f2deb11253fc20e0a887a0c7fe25f587814326"}},{"ruleId":"D1","level":"warning","message":{"text":"TemplateString::as_cooked (cyclomatic 25): TemplateString::as_cooked has cyclomatic complexity 25 (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":"core/parser/src/lexer/template.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dabd52f5d5f35da318237513730b4ed2103cfb9aa771d7d622cec27510be0f"}},{"ruleId":"D1","level":"warning","message":{"text":"CoverParenthesizedExpressionAndArrowParameterList::parse (cyclomatic 24): CoverParenthesizedExpressionAndArrowParameterList::parse has cyclomatic complexity 24 (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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e45fbf922ab28794f71c7b489ad5896a675289df32761d2e26d2f0714ef9650"}},{"ruleId":"D1","level":"warning","message":{"text":"DigitFormatOptions::from_options (cyclomatic 23): DigitFormatOptions::from_options 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":"core/engine/src/builtins/intl/number_format/options.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d536cd9f3c42e79369cd44b97a01f2919f5026c81535f2f7c8f9a879d5b1c88"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::eval_declaration_instantiation (cyclomatic 23): ByteCompiler::eval_declaration_instantiation has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"525a685a7c8fcf56937476536e8278c3a7b7bd924724c8dd5aef6081ba9f1297"}},{"ruleId":"D1","level":"warning","message":{"text":"Eval::perform_eval (cyclomatic 22): Eval::perform_eval has cyclomatic complexity 22 (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":"core/engine/src/builtins/eval/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec1f130dd4372ed154e05fdfe9888e09c32188c3fd6af63509f6e5963ad9307"}},{"ruleId":"D1","level":"warning","message":{"text":"RegExp::abstract_builtin_exec (cyclomatic 22): RegExp::abstract_builtin_exec 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a7b0e0a99a624d26dd432a9a962fade43798a4168046aba8baed52a48c8c57"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_declaration_pattern_impl (cyclomatic 22): ByteCompiler::compile_declaration_pattern_impl has cyclomatic complexity 22 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declaration/declaration_pattern.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ee09474cb4047309c24c0d7add2a161885b8d48ff9dcf7a79ec15e5462e765"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_lexical_decl (cyclomatic 22): ByteCompiler::compile_lexical_decl 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. This is NOT this file\u0027s highest cyclomatic complexity: ByteCompiler::emit_binding_access (cyclomatic 27) 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5196e4921b478f00b27297b6992859c5da72358b15dc668f9868d086d50635"}},{"ruleId":"D1","level":"warning","message":{"text":"Context::find_runtime_binding (cyclomatic 22): Context::find_runtime_binding 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":"core/engine/src/environments/runtime/mod.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"2664cf1d825d90636bf2ee87879123a943d84cfa3bdeb0ee0a40ebe936665b1c"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::string::get_substitution (cyclomatic 22): boa_engine::builtins::string::get_substitution 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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":2643}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f98f6047a25563a02ff2ff85471d50e226a1d10bdfc097eabd96ee63f5bb66"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayLiteral::to_pattern (cyclomatic 21): ArrayLiteral::to_pattern 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":"core/ast/src/expression/literal/array.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6bf97836e016c2ed4a01df7f2fbfb1c38b9c75eeb9cc98fec00853321aedbe"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_ast::scope_analyzer::module_instantiation (cyclomatic 21): boa_ast::scope_analyzer::module_instantiation has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e237cffc826295807163807cda2889d0a8b69f650f5cd0aae4b9b974590a5c61"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::value::display::value::log_value_compact (cyclomatic 21): boa_engine::value::display::value::log_value_compact has cyclomatic complexity 21 (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":"core/engine/src/value/display/value.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d370f282c16a624d5c0b1abde42cbf0ea2544ffd9bf3fdeb7cd3a917ed681b"}},{"ruleId":"D1","level":"warning","message":{"text":"Zip::new (cyclomatic 20): Zip::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":"core/engine/src/builtins/iterable/iterator_helper/zip.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e124900c055a556a707328312b9448bb5feb42eaaf9a6a1a4ce1e4f985ef32"}},{"ruleId":"D1","level":"warning","message":{"text":"Json::serialize_json_property (cyclomatic 20): Json::serialize_json_property has cyclomatic complexity 20 (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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a66deeaec815d91a6c3215057935a3ae64374d32007ce49ef36f6608a027cf"}},{"ruleId":"D1","level":"warning","message":{"text":"RegExp::regexp_has_flag (cyclomatic 20): RegExp::regexp_has_flag 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbb382ff25d313cbead05200adbbe2337e7dd37e082db143dda6e122e5aba38"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::call (cyclomatic 20): ByteCompiler::call 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: ByteCompiler::emit_binding_access (cyclomatic 27) 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5da1fe2a16bbe75eee1bda1f1fadcf7679db928b81edbab96173da563ab557"}},{"ruleId":"D1","level":"warning","message":{"text":"SimpleJobExecutor::run_jobs_async (cyclomatic 20): SimpleJobExecutor::run_jobs_async 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":"core/engine/src/job.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"784a3ca13104b150f08901aff5a0c17f06963c53092e5486d3caa559ff38f0d0"}},{"ruleId":"D1","level":"warning","message":{"text":"SourceTextModule::initialize_environment (cyclomatic 20): SourceTextModule::initialize_environment 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":"core/engine/src/module/source.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"0846ce70f88cdbfb57de7a71586b5507689bd2cf4ec260410cbc77abf81f8d16"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::bytecompiler::declarations::prepare_eval_declaration_instantiation (cyclomatic 20): boa_engine::bytecompiler::declarations::prepare_eval_declaration_instantiation 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f227198b14d4c45dc2051aa0b04b8daf40146efdde4148bcc47620b9679966b7"}},{"ruleId":"D1","level":"warning","message":{"text":"Json::stringify (cyclomatic 19): Json::stringify 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"576fd6ff80b682acccd2b58fe10d29a9ee1794df47c1553fe7567a6402573a03"}},{"ruleId":"D1","level":"warning","message":{"text":"JsValue::to_json_inner (cyclomatic 19): JsValue::to_json_inner has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/conversions/serde_json.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1403062ee931b75c2c6d1e1ec45ee3a272bbecedcd7c680ce7d8f6a9c99135ee"}},{"ruleId":"D1","level":"warning","message":{"text":"JsValue::abstract_relation (cyclomatic 19): JsValue::abstract_relation 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":"core/engine/src/value/operations.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"70975b14c6cc3ddc6e64452c45c95e179f625592cd8b86521a22cce18a23f70f"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::intl::date_time_format::create_date_time_format (cyclomatic 19): boa_engine::builtins::intl::date_time_format::create_date_time_format has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9b08d52c2fe8f01cbce583baa189ccb39ace34147f7d789390caa510b5f83f"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportDeclaration::parse (cyclomatic 19): ExportDeclaration::parse 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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebedbcefe58fe047bd4c97b4c574da16b1fc05756166c50983c0054dfc37727"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectBindingPattern::parse (cyclomatic 19): ObjectBindingPattern::parse 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 is NOT this file\u0027s highest cyclomatic complexity: Statement::parse (cyclomatic 20) 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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10abcdfce02ba1ad73f62ca966fbf0a4531958e43dc03ebdea8e371d061a9c6"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_parser::parser::statement::declaration::hoistable::parse_callable_declaration (cyclomatic 19): boa_parser::parser::statement::declaration::hoistable::parse_callable_declaration has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/hoistable/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f349dac5f6b08e730ca9c0090446b37444678e7e7f5bc8959162de81cbacff"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::global_declaration_instantiation (cyclomatic 18): ByteCompiler::global_declaration_instantiation has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"50388960a2fc0ed530163d11d537e0c5990d9d4102640776671a88bf3b1842bb"}},{"ruleId":"D1","level":"warning","message":{"text":"IndexedProperties::insert (cyclomatic 18): IndexedProperties::insert 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":"core/engine/src/object/property_map.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c252a52793d772cd46b7c7c0453bbbcce615b10e3ed3c0af4adf6158d85d33b"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::array::from_async::from_async_iterator (cyclomatic 18): boa_engine::builtins::array::from_async::from_async_iterator 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":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"665e78aae8f6856797fec7a490de7d7f1ae7644272c3820905347241fca2c30f"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::number::globals::parse_int (cyclomatic 18): boa_engine::builtins::number::globals::parse_int 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":"core/engine/src/builtins/number/globals.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac98c3e9d27a0a87c924c707fcab36e8a485894a2ee627cc908ee2432681e0f"}},{"ruleId":"D1","level":"warning","message":{"text":"BindingList::parse (cyclomatic 18): BindingList::parse has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90188e193a98f58c65e0ae41052add72c95c592adf05780acbc40d37078d5a3"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_parser::parser::statement::iteration::for_statement::initializer_to_iterable_loop_initializer (cyclomatic 18): boa_parser::parser::statement::iteration::for_statement::initializer_to_iterable_loop_initializer has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/iteration/for_statement.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0758f7e4100dd2361224f4b34ee3818088e5da203f951ceb48ec3b9453cb8f23"}},{"ruleId":"D1","level":"warning","message":{"text":"ModuleItemList::export_entries (cyclomatic 17): ModuleItemList::export_entries 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":"core/ast/src/module_item_list/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5ade595cce1cb606e869f782881728481c608e73a9f13990919e2e2840ed1f"}},{"ruleId":"D1","level":"warning","message":{"text":"Json::internalize_json_property (cyclomatic 17): Json::internalize_json_property 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab095ba1199da0bb43ea435fb8a4c1c52f597681b998d35ead847ffb1d5ebc7"}},{"ruleId":"D1","level":"warning","message":{"text":"Number::to_js_string_radix (cyclomatic 17): Number::to_js_string_radix 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":"core/engine/src/builtins/number/mod.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97ff02b43be58847d86a033ac3398716f67dca4502fe76fa3ff3fc7def806d3"}},{"ruleId":"D1","level":"warning","message":{"text":"ByteCompiler::compile_for_loop (cyclomatic 17): ByteCompiler::compile_for_loop 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":"core/engine/src/bytecompiler/statement/loop.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5274c105b99b39e23ebd45693a10d80f2662d98958010c97222ba7da60b94ca"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBlock::fmt (cyclomatic 17): CodeBlock::fmt 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: CodeBlock::instruction_operands (cyclomatic 67) 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":"core/engine/src/vm/code_block.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b217f194de5971394ba412df4fa12c0533d26c84a45e75aba3d4ac43b111eb0"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::proxy::proxy_exotic_own_property_keys (cyclomatic 17): boa_engine::builtins::proxy::proxy_exotic_own_property_keys 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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b58c807975689956a54728f252f9ab68bcc14b1fe31a2e812bcfbdae9861dc"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::builtins::typed_array::builtin::compare_typed_array_elements (cyclomatic 17): boa_engine::builtins::typed_array::builtin::compare_typed_array_elements has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":3184}}}],"partialFingerprints":{"codehealthFindingId/v1":"01851ab2bb6ab77c579b7160885ff84871baa37904dbab59c601f498c951780c"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_engine::bytecompiler::declarations::global_declaration_instantiation_context (cyclomatic 17): boa_engine::bytecompiler::declarations::global_declaration_instantiation_context 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e816bd4e69d6d415f0deda7aac09a529deba8bb12d01e37ce933ebf1bb4651"}},{"ruleId":"D1","level":"warning","message":{"text":"StatementList::parse (cyclomatic 17): StatementList::parse 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: Statement::parse (cyclomatic 20) 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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcdb844679fbc323245be1db38917c108b7f05eff94b626d32d3afe6a7e205f"}},{"ruleId":"D1","level":"warning","message":{"text":"NumberFormat::new (cyclomatic 16): NumberFormat::new 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. This is NOT this file\u0027s highest cyclomatic complexity: NumberFormat::resolved_options (cyclomatic 18) 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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6471d06d55c7772c20c064266fcc7999ed1baf94e01638adf7f3d93aa7bebae1"}},{"ruleId":"D1","level":"warning","message":{"text":"RegExp::escape (cyclomatic 16): RegExp::escape 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d852c7ca829152a49bb0a208a2698a4d54272e25f342bf0b124b9ef61977cb"}},{"ruleId":"D1","level":"warning","message":{"text":"ArrayBindingPattern::parse (cyclomatic 16): ArrayBindingPattern::parse has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Statement::parse (cyclomatic 20) 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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"60dc098b3b627bb21e2f33c92799ba31c00e72525b2bad47c246df8fdba395bb"}},{"ruleId":"D1","level":"warning","message":{"text":"JsStr::to_number (cyclomatic 16): JsStr::to_number has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/str.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb6d2acfc5937440c5436caf6fc312c73e346bced1e5f238f24168e73ddb043"}},{"ruleId":"D1","level":"warning","message":{"text":"boa_wintertc::console::formatter (cyclomatic 16): boa_wintertc::console::formatter has cyclomatic complexity 16 (threshold 15). 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, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/wintertc/src/console/mod.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"742986d1c314537f3994f5c83a938e4c45836621a2f5ef387d15d9c34a5d66e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassElement::parse (cognitive 168): ClassElement::parse has cognitive complexity 168 (threshold 15). Drivers by points: if/else 46 (121 pts), match/switch 13 (26 pts), boolean chains 15, loops 2 (6 pts) (nesting depth added 92). 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c9e1f9829336c6b51d8bd3987dd9d1412a920e4e50a0b8c0842c82d9d56161"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_update (cognitive 88): ByteCompiler::compile_update has cognitive complexity 88 (threshold 15). Drivers by points: if/else 31 (74 pts), match/switch 5 (12 pts), boolean chains 2 (nesting depth added 50). 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":"core/engine/src/bytecompiler/expression/update.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f50263a2a611b96849f19639bdd54ef86f0d4ed638ed16e8bebddb00ccd0b65"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::scope_analyzer::eval_declaration_instantiation_scope (cognitive 83): boa_ast::scope_analyzer::eval_declaration_instantiation_scope has cognitive complexity 83 (threshold 15). Drivers by points: if/else 19 (46 pts), loops 13 (30 pts), match/switch 3 (7 pts) (nesting depth added 48). 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd82301e91728eea71714fca57793c692fd8df5becf2a2a74ad6b484552883b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassBody::parse (cognitive 80): ClassBody::parse has cognitive complexity 80 (threshold 15). Drivers by points: if/else 18 (56 pts), match/switch 5 (18 pts), boolean chains 5, loops 1 (nesting depth added 51). 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a43256e4786632b353aafb7f79dd6755f47e597c98b3b103a8190e5c63bea6"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_lexical_decl (cognitive 73): ByteCompiler::compile_lexical_decl has cognitive complexity 73 (threshold 15). Drivers by points: if/else 20 (52 pts), match/switch 5 (13 pts), loops 4 (8 pts) (nesting depth added 44). 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9130239615899f7ed3466a72db296227f1fa539354676cae8becaf25bc796127"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::scope_analyzer::function_declaration_instantiation (cognitive 72): boa_ast::scope_analyzer::function_declaration_instantiation has cognitive complexity 72 (threshold 15). Drivers by points: if/else 23 (39 pts), loops 9 (21 pts), boolean chains 7, match/switch 2 (5 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94e61478145814e21f5f842842ca8de732ea23d8be690c9fbd797a12128570"}},{"ruleId":"D2","level":"warning","message":{"text":"NumberLiteral::lex (cognitive 69): NumberLiteral::lex has cognitive complexity 69 (threshold 15). Drivers by points: if/else 22 (63 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 43). 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":"core/parser/src/lexer/number.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9b43f09685acce257abec736fcda9bd613bd60f392f39ad0020360015e837c"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_class (cognitive 68): ByteCompiler::compile_class has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (41 pts), match/switch 10 (24 pts), loops 3 (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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5de66728734c58db6f0a33db6f68025d428f5effb1dbf215c2e72a600e7113d"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_declaration_pattern_impl (cognitive 66): ByteCompiler::compile_declaration_pattern_impl has cognitive complexity 66 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 7 (22 pts), match/switch 6 (20 pts) (nesting depth added 46). 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":"core/engine/src/bytecompiler/declaration/declaration_pattern.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f4bf4531d2a9b4ef27f8c72c29329a1e2003705bca9b403a1b7a66c80f37d3"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::function_declaration_instantiation (cognitive 65): ByteCompiler::function_declaration_instantiation has cognitive complexity 65 (threshold 15). Drivers by points: if/else 25 (46 pts), loops 6 (9 pts), boolean chains 6, match/switch 2 (4 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"a833ed838e8303846b5196f303f1c40de035b1ebd11a475c41e0d9b1a728f994"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::string::get_substitution (cognitive 63): boa_engine::builtins::string::get_substitution has cognitive complexity 63 (threshold 15). Drivers by points: if/else 14 (47 pts), match/switch 2 (9 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 44). 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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":2643}}}],"partialFingerprints":{"codehealthFindingId/v1":"556c51fed901a87e5bfddd1717e14b6a3dc5ac3a3e9581568bf2eeec434aee9e"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_expr_impl (cognitive 62): ByteCompiler::compile_expr_impl has cognitive complexity 62 (threshold 15). Drivers by points: if/else 21 (35 pts), loops 7 (16 pts), match/switch 5 (11 pts) (nesting depth added 29). 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":"core/engine/src/bytecompiler/expression/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd4efeb2bb1e58df6fcb216691e0a872252cf19b8c0e9c6bcb6441bf921a3b2"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceTextModule::inner_evaluate (cognitive 61): SourceTextModule::inner_evaluate has cognitive complexity 61 (threshold 15). Drivers by points: if/else 18 (45 pts), match/switch 5 (12 pts), loops 2 (3 pts), boolean chains 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":"core/engine/src/module/source.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3486a996405008603c08b29209910170cf584ed01ff838dca85bc6f28c5233"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectLiteral::to_pattern (cognitive 58): ObjectLiteral::to_pattern has cognitive complexity 58 (threshold 15). Drivers by points: if/else 9 (38 pts), match/switch 4 (12 pts), boolean chains 7, loops 1 (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":"core/ast/src/expression/literal/object.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56c88a25484c110e2d164cf162899a6e503413441eff27383efdcfa75c513c4"}},{"ruleId":"D2","level":"warning","message":{"text":"LeftHandSideExpression::parse (cognitive 57): LeftHandSideExpression::parse has cognitive complexity 57 (threshold 15). Drivers by points: if/else 25 (47 pts), boolean chains 7, match/switch 1 (3 pts) (nesting depth added 24). Of this number, 32 points are the body\u0027s own statements and 25 belong to 2 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":"core/parser/src/parser/expression/left_hand_side/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"56968c088c32d0794b37a9f20ff679374311d0e7a4b62d9d22dde63256b8d3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"StatementList::parse (cognitive 56): StatementList::parse has cognitive complexity 56 (threshold 15). Drivers by points: if/else 13 (45 pts), loops 2 (8 pts), match/switch 1 (2 pts), boolean chains 1 (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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10e719ed3b376596970b04f527c3ab207243cbb592d1ab6310c985506dfaf0f"}},{"ruleId":"D2","level":"warning","message":{"text":"BuiltInFunctionObject::create_dynamic_function (cognitive 54): BuiltInFunctionObject::create_dynamic_function has cognitive complexity 54 (threshold 15). Drivers by points: if/else 27 (41 pts), loops 3 (7 pts), boolean chains 6 (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":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07e42481124c6ef36bce5f3ad5af194940dc92a875d79d5ecf904799cb517d4"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::bytecompiler::declarations::prepare_eval_declaration_instantiation (cognitive 53): boa_engine::bytecompiler::declarations::prepare_eval_declaration_instantiation has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (42 pts), loops 3 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 34). 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3a1d97ec372df90572e1e49231e9a6cc870612d22cc305add2f56f379b0341"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectBindingPattern::parse (cognitive 53): ObjectBindingPattern::parse has cognitive complexity 53 (threshold 15). Drivers by points: if/else 7 (28 pts), match/switch 7 (23 pts), boolean chains 1, loops 1 (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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ad17d101234186996e7e343473836482f8a6f28e89c27460e9e96a049a3a3"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleJobExecutor::run_jobs_async (cognitive 51): SimpleJobExecutor::run_jobs_async has cognitive complexity 51 (threshold 15). Drivers by points: if/else 8 (28 pts), loops 7 (14 pts), match/switch 2 (8 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":"core/engine/src/job.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"4322566ef678d770d1dcd2a008e78a7d9f984f66e5af8d01933485a6a1f186eb"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyDefinition::parse (cognitive 49): PropertyDefinition::parse has cognitive complexity 49 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 6, match/switch 4 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e5660d09f90a5473e1f7acd9fa3a77869f39c9d48d9443d9d5ddc1741ce0a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ForStatement::parse (cognitive 48): ForStatement::parse has cognitive complexity 48 (threshold 15). Drivers by points: if/else 21 (35 pts), loops 3 (7 pts), boolean chains 3, match/switch 3 (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":"core/parser/src/parser/statement/iteration/for_statement.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ae20698db24d0253af31b760ba1126b5df985e385269c08e16379b7cdd06e"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::object::internal_methods::validate_and_apply_property_descriptor (cognitive 47): boa_engine::object::internal_methods::validate_and_apply_property_descriptor has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (36 pts), match/switch 3 (7 pts), boolean chains 4 (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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"549b479c27e5fe656a7bb6449585082eecdf751ffc6fc1bcc0c93ef72bdf2a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"AssignmentExpression::parse (cognitive 47): AssignmentExpression::parse has cognitive complexity 47 (threshold 15). Drivers by points: if/else 19 (36 pts), boolean chains 7, match/switch 3 (4 pts) (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":"core/parser/src/parser/expression/assignment/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1e8d8e7b0d731295dc6ee5d390d2a57d9d9e3f6aaf98199201bfa3d4028e36"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::value::display::value::log_value_to (cognitive 45): boa_engine::value::display::value::log_value_to has cognitive complexity 45 (threshold 15). Drivers by points: if/else 22 (29 pts), match/switch 5 (15 pts), boolean chains 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/value.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"937973ab3ab560e3eb40188b061a3899392ae2596a2cac94edf3d531c6eefc8a"}},{"ruleId":"D2","level":"warning","message":{"text":"Zip::new (cognitive 41): Zip::new has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (24 pts), match/switch 6 (11 pts), loops 3 (6 pts) (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":"core/engine/src/builtins/iterable/iterator_helper/zip.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea1f7e43cf4bfb403dea95807770761ba2212efd1cc634cb395ed306d8e252a"}},{"ruleId":"D2","level":"warning","message":{"text":"Number::to_js_string_radix (cognitive 41): Number::to_js_string_radix has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 4 (8 pts), boolean chains 3 (nesting depth added 23). 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":"core/engine/src/builtins/number/mod.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"8974f22a5b313cdb7cbdd35b05b20c7500a648d592252f7adbadfcffdcf9bdaa"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::uri::decode (cognitive 40): boa_engine::builtins::uri::decode has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (30 pts), loops 2 (5 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 25). 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":"core/engine/src/builtins/uri/mod.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d380515186e7502c9104c3dedd66797c0430f3a0728459fa56d8b5eaef8059db"}},{"ruleId":"D2","level":"warning","message":{"text":"Json::internalize_json_property (cognitive 39): Json::internalize_json_property has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 3 (8 pts), loops 2 (6 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc76b485d74e77fa4f57bc773c02365d0747aaa9f8efb231971afbb5493831f"}},{"ruleId":"D2","level":"warning","message":{"text":"Context::find_runtime_binding (cognitive 38): Context::find_runtime_binding has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 6, loops 2 (3 pts), match/switch 2 (3 pts) (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":"core/engine/src/environments/runtime/mod.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"471581320110e3990e02172a477f8ea3f150c9371bec28002fbab602ba01ef0d"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_assign (cognitive 37): ByteCompiler::compile_assign has cognitive complexity 37 (threshold 15). Drivers by points: match/switch 8 (22 pts), if/else 9 (15 pts) (nesting depth added 20). 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":"core/engine/src/bytecompiler/expression/assign.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e26ce643b66264ed9d1c59b4d1a96805e510b8b0aceb8f8266e1b097953787"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::operations::contains (cognitive 36): boa_ast::operations::contains has cognitive complexity 36 (threshold 15). Drivers by points: if/else 22 (26 pts), boolean chains 8, loops 1, match/switch 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":"core/ast/src/operations/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fb6b95744073499641e4124148fb99638fddb28fd365c070084cde5b89abb8"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::array::from_async::from_async_iterator (cognitive 34): boa_engine::builtins::array::from_async::from_async_iterator has cognitive complexity 34 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 5 (13 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":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6a012814219f493120b16ddaa6d738d0cd85795613723e2621e6e1c272564c"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::bytecompiler::declarations::global_declaration_instantiation_context (cognitive 33): boa_engine::bytecompiler::declarations::global_declaration_instantiation_context has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (24 pts), loops 4 (6 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 20). 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"526ab8a425696c6009026f5773466332d30012abfcf3655766585e44e8eb2e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"DigitFormatOptions::from_options (cognitive 32): DigitFormatOptions::from_options has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (22 pts), match/switch 3 (6 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":"core/engine/src/builtins/intl/number_format/options.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4db6b7474d9c6d5ef50018c7818d2f94a8a5f5e665d19209412abce7bd2e0e"}},{"ruleId":"D2","level":"warning","message":{"text":"Json::stringify (cognitive 32): Json::stringify has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 2 (7 pts), boolean chains 2, 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f20370033e5d0c777f2ec99c99f0fabaf9e9a890ad4bd47e1ea6453e4adfcf4"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_stmt (cognitive 32): ByteCompiler::compile_stmt has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (27 pts), boolean chains 4, match/switch 1 (nesting depth added 11). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/statement/mod.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3f02e8dddf5a96a6741545470824150daf94c20668171bec642a68304fba40"}},{"ruleId":"D2","level":"warning","message":{"text":"ConstantFolding::constant_fold_binary_expr (cognitive 32): ConstantFolding::constant_fold_binary_expr has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (22 pts), match/switch 5 (9 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/optimizer/pass/constant_folding.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c62012cc282616679844f33c35f0663c7e5cf3465a86685497a14091c44a4d5"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBlock::fmt (cognitive 32): CodeBlock::fmt has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (20 pts), loops 5 (9 pts), match/switch 1 (3 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":"core/engine/src/vm/code_block.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f43e7a4731031d55126f80a617bc0deb8828fd625b1d2ca7cceb2d401e5168"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::call (cognitive 31): ByteCompiler::call has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 5 (8 pts), loops 2 (4 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1f16bca6a8cafd0812bf7a1ee190341ead6826c154f31c07f0d3d5dc919652"}},{"ruleId":"D2","level":"warning","message":{"text":"JsValue::to_json_inner (cognitive 31): JsValue::to_json_inner has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (9 pts), match/switch 3 (9 pts) (nesting depth added 20). 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":"core/engine/src/value/conversions/serde_json.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"165d5260b255414f5999a0ab30f7ae18d10df2d4e7d66baba2e7a8ec7f5c4f5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportDeclaration::parse (cognitive 31): ExportDeclaration::parse has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 4 (8 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 17). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0265b20ea6a3aedd37e8df2ebc29415d3860fe39a104a99afeb33ca68b8e3c"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_wintertc::console::formatter (cognitive 30): boa_wintertc::console::formatter has cognitive complexity 30 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 4 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 19). Of this number, 29 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":"core/wintertc/src/console/mod.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9d8940091ecb6dbdeef99486b0356589f26a4fd9004ca3d999352c555ffbc1"}},{"ruleId":"D2","level":"warning","message":{"text":"RegExp::split (cognitive 29): RegExp::split has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 2 (5 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0da8025136a4932d69d2bca2527ae803d375321188941538492898f9a91bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::eval_declaration_instantiation (cognitive 29): ByteCompiler::eval_declaration_instantiation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 7 (10 pts), match/switch 2 (4 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8fbf60d6ae1d9ad1659911d8ad16b7fb7c737582da860eedaa4307ab273439"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_for_loop (cognitive 29): ByteCompiler::compile_for_loop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (15 pts), loops 5 (12 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/statement/loop.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e56004cce4660c457e9013031f1aec0838fd378b8a78e9c8ac042b03730867a"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceTextModule::initialize_environment (cognitive 29): SourceTextModule::initialize_environment has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 5 (10 pts), loops 7 (8 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":"core/engine/src/module/source.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"61705658254e37f9d0c143ebdcee278eec874976dbb92860cc39a1d2223173a6"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::value::display::value::log_value_compact (cognitive 29): boa_engine::value::display::value::log_value_compact has cognitive complexity 29 (threshold 15). Drivers by points: if/else 17 (22 pts), match/switch 2 (4 pts), boolean chains 3 (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":"core/engine/src/value/display/value.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a77fb43b937d9fb6cb4c96440017b2faf47c7a3128c004dd108df4fa55bc878"}},{"ruleId":"D2","level":"warning","message":{"text":"MemberExpression::parse (cognitive 29): MemberExpression::parse has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 8 (19 pts), if/else 5 (9 pts), loops 1 (nesting depth added 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. 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":"core/parser/src/parser/expression/left_hand_side/member.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f48db7e512a481b2d2b938c6baefbcde4d5c15a4d8a31cc0c1b3afadc1be08"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::operations::check_labels (cognitive 28): boa_ast::operations::check_labels has cognitive complexity 28 (threshold 15). Drivers by points: if/else 20 (21 pts), match/switch 3, boolean chains 2, loops 2 (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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"982da1bb44400a17e0af8632e97e97696dd79add973827a61e057de4e6e0fb1c"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::scope_analyzer::module_instantiation (cognitive 28): boa_ast::scope_analyzer::module_instantiation has cognitive complexity 28 (threshold 15). Drivers by points: loops 10 (23 pts), if/else 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426d1d9320b2a5094eb183bd8bfe235b0a0eed4f9b372f88a506434804a717e"}},{"ruleId":"D2","level":"warning","message":{"text":"RegExp::abstract_builtin_exec (cognitive 28): RegExp::abstract_builtin_exec has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 6, loops 2 (3 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff016d722a3a9bce94edd61b275ee294a4287ce7eeb9ffb2089c671d622c425"}},{"ruleId":"D2","level":"warning","message":{"text":"RegExp::replace (cognitive 28): RegExp::replace has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 3 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d5d15f39e12c11c8a03264886ce1f135f5e21d5a16a82e5d17dbc024f21a58"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::value::display::array::log_array_to (cognitive 28): boa_engine::value::display::array::log_array_to has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 2 (9 pts), loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/array.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf6a917c840ccea918d770465ec378cd340c62661269fe0ee802b505b3617ed"}},{"ruleId":"D2","level":"warning","message":{"text":"Promise::perform_promise_all_keyed (cognitive 27): Promise::perform_promise_all_keyed has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7362b014a5b86966b1bd40ebf3a725fe186f61d99551dbb620f884111b6f85"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateString::as_cooked (cognitive 27): TemplateString::as_cooked has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (16 pts), loops 2 (6 pts), match/switch 2 (5 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/lexer/template.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fedee89b1fde0244e0f87a1dfc29ad181b838fde250f35063c43a462e5f3911"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_cli::main (cognitive 26): boa_cli::main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 2 (4 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"171341c43ce4b5759a72366b15d6bc4e6a82ba9e564f77a449ddeaba9dfcc1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayLiteral::to_pattern (cognitive 26): ArrayLiteral::to_pattern has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 4 (12 pts), boolean chains 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/expression/literal/array.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ef321273f6458febc5e9fb0f8dfed27ef866353fb3f941282a23d2b3a7a34d"}},{"ruleId":"D2","level":"warning","message":{"text":"Eval::perform_eval (cognitive 26): Eval::perform_eval has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 4, match/switch 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/eval/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c2fbcd4b1b38b24656b44913643bd29d01db14066411233fb769b014cdd356"}},{"ruleId":"D2","level":"warning","message":{"text":"Number::round_to_precision (cognitive 26): Number::round_to_precision has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (6 pts), match/switch 1 (4 pts), boolean chains 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":"core/engine/src/builtins/number/mod.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b785e7914bef1fbe1f5f3ef4d52867fd926b4d7a77a0d9965bb3925e379a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_object_literal (cognitive 26): ByteCompiler::compile_object_literal has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 3 (9 pts), boolean chains 1, loops 1 (nesting depth added 16). 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":"core/engine/src/bytecompiler/expression/object_literal.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baa41675a24f6a8a49c8cb8d975d7f7c29d295ae9c84326f23f49afdfa3c4b1"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::array::array_exotic_define_own_property (cognitive 26): boa_engine::builtins::array::array_exotic_define_own_property has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (24 pts), boolean chains 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":3448}}}],"partialFingerprints":{"codehealthFindingId/v1":"268d1649088fe0fcc7d11b8e58e07560fb9a37d92a350c327b476b7eed8bc83b"}},{"ruleId":"D2","level":"warning","message":{"text":"Stack::display_trace (cognitive 25): Stack::display_trace has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 2, 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":"core/engine/src/vm/mod.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0311befc2fc13171a4b9b996d3bdef1003e7ca2a2e0c86fc0c35195ff7bf0770"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::scope_analyzer::global_declaration_instantiation (cognitive 24): boa_ast::scope_analyzer::global_declaration_instantiation has cognitive complexity 24 (threshold 15). Drivers by points: loops 6 (15 pts), if/else 3 (6 pts), match/switch 1 (3 pts) (nesting depth added 14). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"51469b15a66c03969579b609b4639e67a44c6b0e0cfa2b42b83b0d78dc0424e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Json::serialize_json_property (cognitive 24): Json::serialize_json_property has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 2 (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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8e91ad03cfad8084e0589a0d9c33c6601715d4d48f44e8a030ddcf413a3c69"}},{"ruleId":"D2","level":"warning","message":{"text":"RegExp::escape (cognitive 24): RegExp::escape has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eadefdb10f2e8153cf11b00d1f984b8e3fa71ba30415ff3c90231cef930e25"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceTextModule::inner_link (cognitive 24): SourceTextModule::inner_link has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (5 pts), loops 2 (3 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":"core/engine/src/module/source.rs"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"e589b42bd9df8b86d583ad918ee35514a9d320388852e193e8c187c821de8192"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::flatten_into_array (cognitive 23): Array::flatten_into_array has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (22 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d2ce3b23dbee70d2a3fde45d8faa9e41655f46aabee61b83540d26b8fb1352"}},{"ruleId":"D2","level":"warning","message":{"text":"Number::to_precision (cognitive 23): Number::to_precision has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 1, 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":"core/engine/src/builtins/number/mod.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc93ad808293568caa77dfb684e7be20c5cf99decdec7c6154a5fd9c89da51b3"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceTextModule::resolve_export (cognitive 23): SourceTextModule::resolve_export has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 3 (8 pts), loops 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":"core/engine/src/module/source.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfe149b41dd4cb16f3fc052534fc3a7c2e3356b40eab050e99f83410d25ed82"}},{"ruleId":"D2","level":"warning","message":{"text":"IndexedProperties::insert (cognitive 23): IndexedProperties::insert has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/property_map.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a45c4c6eb21e71f6661ab51ac2b16da5ec7489703b8ff0434a059f624a18ce1"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::intl::date_time_format::create_date_time_format (cognitive 23): boa_engine::builtins::intl::date_time_format::create_date_time_format has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 5). 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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"720b9bf5a0abde651545509a52175961aad0714372273d13aaa54387e4334231"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::proxy::proxy_exotic_get_own_property (cognitive 23): boa_engine::builtins::proxy::proxy_exotic_get_own_property has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (2 pts), boolean chains 1 (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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa22162371d328b2265c6d5162afa11f67bd16b6fc379d2b2d82264133d4c85"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::proxy::proxy_exotic_own_property_keys (cognitive 23): boa_engine::builtins::proxy::proxy_exotic_own_property_keys has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4, match/switch 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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ac5feb5a300360002cac5d00b5d49d1cc3da9adb5a86858196b36d0e5434c3"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::typed_array::base64::decode_mut (cognitive 23): boa_engine::builtins::typed_array::base64::decode_mut has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (5 pts), match/switch 4 (5 pts), boolean chains 2 (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":"core/engine/src/builtins/typed_array/base64.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb53dc330ad0fefc98e292cd2f795346a97930c29dd9ea8b934bcbf8d5913369"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::object::internal_methods::ordinary_set (cognitive 23): boa_engine::object::internal_methods::ordinary_set has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 1, match/switch 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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4f602ef2ce6dd9a2dfebfe6e687fdf608a6b1692062990ec89f2332f53180f"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::next_no_skip (cognitive 23): Lexer::next_no_skip has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 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":"core/parser/src/lexer/mod.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d979601e764250c75d3f941a7d3c435921c99cb275ed1b762b78db858e4b64"}},{"ruleId":"D2","level":"warning","message":{"text":"CoverParenthesizedExpressionAndArrowParameterList::parse (cognitive 23): CoverParenthesizedExpressionAndArrowParameterList::parse has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 9 (10 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"36492b163c17351f9c9e6c13267405f6e369ff413d121cbbb78866bdb5eee938"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_parser::parser::statement::iteration::for_statement::initializer_to_iterable_loop_initializer (cognitive 23): boa_parser::parser::statement::iteration::for_statement::initializer_to_iterable_loop_initializer has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 5 (10 pts), if/else 4 (8 pts), boolean chains 3, 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":"core/parser/src/parser/statement/iteration/for_statement.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6106188c9ad991b3cf13e523008276ec1e6e0ad8727f6c34980bd9990b593f1"}},{"ruleId":"D2","level":"warning","message":{"text":"JsHeaders::constructor (cognitive 23): JsHeaders::constructor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 3 (6 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":"core/runtime/src/fetch/headers.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"036a31d688d39a782ce0261c8fbee70d157378aa54ca7ee0b1ff35a21b393e4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ForInIterator::next (cognitive 22): ForInIterator::next has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/object/for_in_iterator.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b491bd4d12b8e955e29a3c37b79b70f6c3443b207df3537fb65b23cc6b0fff1d"}},{"ruleId":"D2","level":"warning","message":{"text":"BuiltinUint8Array::get_base64_options (cognitive 22): BuiltinUint8Array::get_base64_options has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (22 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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"524053ded65c02d6ccbc4ad0d9526dc6da17d91f5c19003acd6068522100572a"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::number::globals::parse_int (cognitive 22): boa_engine::builtins::number::globals::parse_int has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/number/globals.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc4f31a3a4655913b105f24f4aaffdd05406ab254276daa5837a63083cd3d5f"}},{"ruleId":"D2","level":"warning","message":{"text":"RegexLiteral::lex (cognitive 22): RegexLiteral::lex has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (10 pts), loops 2 (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":"core/parser/src/lexer/regex.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c37aa1a4a28a14817f91a84bbb3b6266f236d134df34cdcd931e52d7422ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayBindingPattern::parse (cognitive 22): ArrayBindingPattern::parse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 5 (10 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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e34fc15c49e78167167b77f32a0a50250f2621105450eec5b59d4739d32fe0"}},{"ruleId":"D2","level":"warning","message":{"text":"JsValue::abstract_relation (cognitive 21): JsValue::abstract_relation has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 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":"core/engine/src/value/operations.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1473d7d71cc940188701d5fdad0970f9ae626b7cb5a824acd6686b98714675a"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::value::display::arguments::log_arguments_to (cognitive 21): boa_engine::value::display::arguments::log_arguments_to has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 2 (9 pts), loops 1 (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":"core/engine/src/value/display/arguments.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"15da507eec06131c278edcc2a324e8adfac0c4d78b9a3a93f07f66a4472116ca"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_parser::parser::statement::declaration::hoistable::parse_callable_declaration (cognitive 21): boa_parser::parser::statement::declaration::hoistable::parse_callable_declaration has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, match/switch 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":"core/parser/src/parser/statement/declaration/hoistable/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ed28b6831f97b06d1703a5bc02cd774d64c270ece8e45919376b920561902b"}},{"ruleId":"D2","level":"warning","message":{"text":"AllPrivateIdentifiersValidVisitor::visit_class_expression (cognitive 20): AllPrivateIdentifiersValidVisitor::visit_class_expression has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 pts), loops 2 (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. This shape REPEATS in the file: one other method here (AllPrivateIdentifiersValidVisitor::visit_class_declaration) 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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcff242e6c74f3518fbf1a1319b7300eaaeba1f4b7a21389536fb682f7fe3840"}},{"ruleId":"D2","level":"warning","message":{"text":"AllPrivateIdentifiersValidVisitor::visit_class_declaration (cognitive 20): AllPrivateIdentifiersValidVisitor::visit_class_declaration has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (4 pts), loops 2 (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. This shape REPEATS in the file: one other method here (AllPrivateIdentifiersValidVisitor::visit_class_expression) 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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5043a5713cc1bee807518a9506f030d0ce8428c81792439a48c61ac463627bd6"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::splice_internal (cognitive 20): Array::splice_internal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (8 pts), 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52da72d65bebe86d239ff2cfd7888469df851044538e3184e12acce4f2f6f33"}},{"ruleId":"D2","level":"warning","message":{"text":"Json::serialize_json_object (cognitive 20): Json::serialize_json_object has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 3 (6 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c23cae72acb3f38727e12540464cc3c90d7efa788956a700b3f4ec3e0b2b45e"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::vm::opcode::get::property::get_by_value (cognitive 20): boa_engine::vm::opcode::get::property::get_by_value has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 1 (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":"core/engine/src/vm/opcode/get/property.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"28664ce911437c401113cdf0b796d957ea42b489c9f78c8aaab092718fbb31dc"}},{"ruleId":"D2","level":"warning","message":{"text":"StringLiteral::take_unicode_escape_sequence (cognitive 20): StringLiteral::take_unicode_escape_sequence has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (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":"core/parser/src/lexer/string.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ebdb7bf4af020a08c29f84edb12bf68ac4c49ecacfce84fee1ac169dff0c4"}},{"ruleId":"D2","level":"warning","message":{"text":"PrimaryExpression::parse (cognitive 20): PrimaryExpression::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a2d26f9df647dca9815786a8b3d599e3d336464dbd50620ae4ec1a1b88fcdf"}},{"ruleId":"D2","level":"warning","message":{"text":"LexicalBinding::parse (cognitive 20): LexicalBinding::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"12668379debd3559b08cdf67bd81cf978b8e3483e0a75d52987570a209e0c349"}},{"ruleId":"D2","level":"warning","message":{"text":"IfStatement::parse (cognitive 20): IfStatement::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 3 (6 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/if_stm/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab07440d950e0f7c81d48e9342f4fdb408516f70cfdea9441092641cd3f3d35e"}},{"ruleId":"D2","level":"warning","message":{"text":"Catch::parse (cognitive 20): Catch::parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 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":"core/parser/src/parser/statement/try_stm/catch.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5207229629cd590b07208a81e0c36e4937e0e9031eabbd8a191823c7903f5ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestInit::into_request_builder (cognitive 20): RequestInit::into_request_builder has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, loops 2 (4 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":"core/runtime/src/fetch/request.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a2de7ad76d4475d2a3f72079521a56c757e8aff913852eabc7f275538c54fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Atomics::wait (cognitive 19): Atomics::wait has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/atomics/mod.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c293ccc2491a07e054cf60f67bad847136727aff749d8fd798e59be68d02810"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_for_of_loop (cognitive 19): ByteCompiler::compile_for_of_loop has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 7, 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":"core/engine/src/bytecompiler/statement/loop.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"72acd19cb85d4f5bef18ee0e8ed1963694a0b0d188295f0b2e3807da56cf307b"}},{"ruleId":"D2","level":"warning","message":{"text":"DisplayShadowEntry::fmt (cognitive 19): DisplayShadowEntry::fmt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/shadow_stack.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2358e28eab64ac5371ddf8374926d107b836d1e0544cd0b421323bd83a13956"}},{"ruleId":"D2","level":"warning","message":{"text":"BindingCollectorVisitor::visit_for_in_loop_mut (cognitive 18): BindingCollectorVisitor::visit_for_in_loop_mut has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (8 pts), match/switch 4 (6 pts), if/else 4 (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. This shape REPEATS in the file: one other method here (BindingCollectorVisitor::visit_for_of_loop_mut) 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"78387dc966a0363c536e8509fed31ae7c25775e42de5a261bcc711cd82d7d16e"}},{"ruleId":"D2","level":"warning","message":{"text":"BindingCollectorVisitor::visit_for_of_loop_mut (cognitive 18): BindingCollectorVisitor::visit_for_of_loop_mut has cognitive complexity 18 (threshold 15). Drivers by points: loops 3 (8 pts), match/switch 4 (6 pts), if/else 4 (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. This shape REPEATS in the file: one other method here (BindingCollectorVisitor::visit_for_in_loop_mut) 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d787b40fef4eb2f8bd80e81acf56a3dd94d63d6172948f1de00e884df0ebbd"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::global_declaration_instantiation (cognitive 18): ByteCompiler::global_declaration_instantiation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), loops 6 (7 pts), match/switch 2 (4 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb8bf621dea8d240af8bb43dbac533b77bd8e5e70b633fbcf536215d9a0842"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeBlock::to_graph (cognitive 18): CodeBlock::to_graph has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0659d6da0d15d6e78d3e9d9b4c8422270f84d61b1438421dc079c6cc3d18a2ec"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::proxy::proxy_exotic_define_own_property (cognitive 18): boa_engine::builtins::proxy::proxy_exotic_define_own_property has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, 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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"72731bf877a446493131fa4e7d1533bb1558b629251ffa9f65744461685881fc"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::module::source::async_module_execution_fulfilled (cognitive 18): boa_engine::module::source::async_module_execution_fulfilled has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 2, 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":"core/engine/src/module/source.rs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d307666cd3f18434cd3b32e16ccff6f493382ad1e9246bd172616e15846b0b42"}},{"ruleId":"D2","level":"warning","message":{"text":"Lexer::lex_slash_token (cognitive 18): Lexer::lex_slash_token has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 2 (5 pts), boolean chains 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":"core/parser/src/lexer/mod.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ffd944e6859287e9f6843b1d6f474a8f35bb886ad60b2e6767377a26e5e38f"}},{"ruleId":"D2","level":"warning","message":{"text":"BindingList::parse (cognitive 18): BindingList::parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), match/switch 3 (7 pts), boolean chains 3, 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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d0650fc73cfdb816c93778cb143be0103ef895c9d4315db9cc1d88cffc9746"}},{"ruleId":"D2","level":"warning","message":{"text":"FormalParameterList::from_parameters (cognitive 17): FormalParameterList::from_parameters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 2 (3 pts), boolean chains 2 (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":"core/ast/src/function/parameters.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e7815bee01d8d347f453fd4bee8906efa67f31ab0eebcf1a109674cb2613b5"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::from (cognitive 17): Array::from has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (4 pts), loops 2 (3 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"056e6a5d82cfd3570698e5b8f073ec038b5c9bce5bbf03f3107c6344547f486f"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::concat (cognitive 17): Array::concat has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb933aaac197374765493e2445c2e6e6914d649a640bd2986dce04e2068d381"}},{"ruleId":"D2","level":"warning","message":{"text":"Drop::new (cognitive 17): Drop::new has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (7 pts), match/switch 3 (6 pts), if/else 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_helper/drop.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"031cf14528b4aa080a14c6380027bc4a23c69405c7aafba7a15003289de0ab00"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_optional_item_kind (cognitive 17): ByteCompiler::compile_optional_item_kind has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (6 pts), match/switch 2 (3 pts) (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3246bf0abd6a717c3185b6b784753afb9950c303fb417db9cfb9abd495850e"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedShape::rollback_before (cognitive 17): SharedShape::rollback_before has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 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":"core/engine/src/object/shape/shared_shape/mod.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d9f5ab57fe262190987b4579ddb3e7ebb5ca45652f467f2676c791832fb69d"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::function::arguments::arguments_exotic_define_own_property (cognitive 17): boa_engine::builtins::function::arguments::arguments_exotic_define_own_property has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (16 pts), match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/arguments.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9c0dc530152560104ca4e8016e467345c963535d9490957e22f61fafae2b51"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::typed_array::builtin::compare_typed_array_elements (cognitive 17): boa_engine::builtins::typed_array::builtin::compare_typed_array_elements has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, match/switch 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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":3184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f631b0ce01be44e523262eb9f015c10cc59023ab1ed428e4b364895b6c8aff6f"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::vm::opcode::set::property::set_by_name (cognitive 17): boa_engine::vm::opcode::set::property::set_by_name has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3 (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":"core/engine/src/vm/opcode/set/property.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0263dff3b0d1a8c9cfc638feb817d9c1d750ca392623451ea112172736aa71b"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_macros::derive_trace (cognitive 17): boa_macros::derive_trace has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 1 (3 pts), boolean chains 2, 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":"core/macros/src/lib.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7c59d8bc7ce09645111d69f1328f48d73703d27b4d134c97ece0c5867c7058"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferedLexer::peek (cognitive 17): BufferedLexer::peek has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (15 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":"core/parser/src/parser/cursor/buffered_lexer/mod.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0289fd4bc5df5d4f03352e33e97df996f5f48e60c4bcf2013d2a52bd2a321bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectLiteral::parse (cognitive 17): ObjectLiteral::parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6ff16c95852b52e54a93bd9d3b47441ff3e8eda6918713c4a69b8622d1e398"}},{"ruleId":"D2","level":"warning","message":{"text":"JsStr::to_number (cognitive 17): JsStr::to_number has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3, boolean chains 2, loops 1 (2 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":"core/string/src/str.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c3396ccbc790c4b16181242981672accd3cb25c0fd9429d54387aed9cf17d"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeIndexVisitor::visit_function_like (cognitive 16): ScopeIndexVisitor::visit_function_like has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4050292e9b51eb0411b044c3b878d9f13e07ffb9b877669e8c7e90917a3341"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::operations::top_level_vars (cognitive 16): boa_ast::operations::top_level_vars has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (9 pts), loops 2 (4 pts), if/else 1 (3 pts) (nesting depth added 10). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/operations/mod.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0215521852bded4ae000a428d83e6ab78789dabef7e95f22f77d4c7715d8e61"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_ast::scope_analyzer::block_declaration_instantiation (cognitive 16): boa_ast::scope_analyzer::block_declaration_instantiation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (7 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac6622ace26f3cea907863b1b05495877b7556da6acfd0e49f76590289a98de"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::from_async (cognitive 16): Array::from_async has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), match/switch 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2358298fbc85f9e7cdb2e7ef71f7bf38c21d49318f6bc925bfb877bb2fecd899"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::reduce (cognitive 16): Array::reduce has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), boolean chains 2 (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. This shape REPEATS in the file: one other method here (Array::reduce_right) 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16ae00eddf6390f4954d63c1f33c0633509e74d3435e41bfd3c3185b8a35cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"Array::reduce_right (cognitive 16): Array::reduce_right has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), boolean chains 2 (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. This shape REPEATS in the file: one other method here (Array::reduce) 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2918}}}],"partialFingerprints":{"codehealthFindingId/v1":"792a1f06397ea3681e254c3533cb43db62e65b5a4d40f77c7c617191a36f9ea9"}},{"ruleId":"D2","level":"warning","message":{"text":"OrdinaryObject::assign (cognitive 16): OrdinaryObject::assign has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a2d54d7e62564af67f842c66d464448c2a50493fb4fe99607ef8edb4731c1f"}},{"ruleId":"D2","level":"warning","message":{"text":"RegExp::constructor (cognitive 16): RegExp::constructor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"610f469a3a19d79ec88786ce23aed4fec1ecf2777203d034f49e87164bb4a7f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Set::is_disjoint_from (cognitive 16): Set::is_disjoint_from has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549ca9e2dd65ccf931412ee3b919df061f25109844e7a9d31133adaaa7b87ea"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionCompiler::compile (cognitive 16): FunctionCompiler::compile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6 (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":"core/engine/src/bytecompiler/function.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db1bd8ff6d50bd24f7265568e88ee50778d34cdad9340a3077871bcc2a94cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteCompiler::compile_statement_list (cognitive 16): ByteCompiler::compile_statement_list has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 2 (7 pts), loops 3 (6 pts), if/else 2, 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"1239acbe4521f25d1bbc74e01dc26351f6637c414f85882dc32dc08448b5696c"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceTextModule::inner_load (cognitive 16): SourceTextModule::inner_load has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 6). Of this number, 11 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":"core/engine/src/module/source.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dc7a79a3dc2caaa44b755353c6d8054864db49f33342e45bd72b5b7b0f798f"}},{"ruleId":"D2","level":"warning","message":{"text":"SourceTextModule::gather_available_ancestors (cognitive 16): SourceTextModule::gather_available_ancestors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 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":"core/engine/src/module/source.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16ffa84f52785605ce59ffc72cca5cf3072310abf67e4916d8969707a7a74cb"}},{"ruleId":"D2","level":"warning","message":{"text":"JsObject::to_property_descriptor (cognitive 16): JsObject::to_property_descriptor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/jsobject.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e36c9755a78d16edf9f19b24fec8fa9101d99639849cc9882627325e77a090"}},{"ruleId":"D2","level":"warning","message":{"text":"JsValue::pow (cognitive 16): JsValue::pow has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 3, match/switch 2 (3 pts) (nesting depth added 5). 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":"core/engine/src/value/operations.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc8e385c78f31dec407dbb09dc71665eb3db93a6a6bb38ad5bcb1181f114f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_engine::builtins::array::array_set_length (cognitive 16): boa_engine::builtins::array::array_set_length has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 1, 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, 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":3565}}}],"partialFingerprints":{"codehealthFindingId/v1":"6212cec37e65c681609dbc46f575087eef4c7aa484e39db2433f826dbff10c1f"}},{"ruleId":"D2","level":"warning","message":{"text":"boa_macros::generate_obj_properties (cognitive 16): boa_macros::generate_obj_properties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 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":"core/macros/src/lib.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"58023c6c1c6a909ed4cf548d85fad173f32418e556da9e0abda51b64a54bac65"}},{"ruleId":"D2","level":"warning","message":{"text":"FormalParameter::parse (cognitive 16): FormalParameter::parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (2 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":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6181a32efeda0301ec3882609151634ce391e12229209c64fa378c9d20c60ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"WithClause::parse (cognitive 16): WithClause::parse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 1 (2 pts), 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":"core/parser/src/parser/statement/declaration/mod.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a8b196e320b9a204e3baccdfa1b27d3b59242c7c8041a830594a476cbbc230"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClassElement.parse: MethodTooLong \u2014 parse runs 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) in one body. The bar is 100 significant lines; this is 447 over it, 5.47\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a38cd8a636864b9d6a6b673a6bb65aebcc629f69f994513803094a9277873"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ByteCompiler: TooManyMethods \u2014 152 methods, declared across 26 files: bytecompiler/mod.rs (76), bytecompiler/jump_control.rs (17), expression/binary.rs (5), statement/loop.rs (5), \u002B22 more file(s). The bar is 30 methods; this is 122 over it, 5.07\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b7103f39369da218b8f3e73de1654dd40afe33176da4e1ba40ea8978941a71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_class: MethodTooLong \u2014 compile_class runs 476 significant 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 376 over it, 4.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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d09265f43038c2979a16a20ff60085f982e83896b14faedbbaae9009deeb87"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeBlock.instruction_operands: MethodTooLong \u2014 instruction_operands runs 475 significant 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 375 over it, 4.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":"core/engine/src/vm/code_block.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c83a31f93bd82355cf74831049d5a69b029edec3db08732e07764922f2859f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsValue: TooManyMethods \u2014 131 methods, declared across 10 files: value/mod.rs (69), value/operations.rs (39), value/equality.rs (8), object/operations.rs (6), \u002B6 more file(s). The bar is 30 methods; this is 101 over it, 4.37\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/mod.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"86371787d5680bdfce8838ace6a44194432592264e437a84bba550a71fbde883"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ByteCompiler: ClassTooLong \u2014 1519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 152 methods, 2 blocks, lines 496-2841. The bar is 400 significant lines; this is 1119 over it, 3.80\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcc7f6c0feacaaa07abbcb62ad9ffff63422c92e762a159754f9b208c0ca10e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeBlock.to_graph: MethodTooLong \u2014 to_graph runs 374 significant 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 274 over it, 3.74\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":"core/engine/src/vm/flowgraph/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e7172574cf27b31ed11eaf78835270748c579ba9210369d3bd8715b00017e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bytecompiler/mod.rs: FileTooLong \u2014 1860 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: ByteCompiler (2 blocks, 496-2841). The bar is 500 significant lines; this is 1360 over it, 3.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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c3cea9007c3ae830315869966d0988594f6ef104e8b381a1d9c61319d022f2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BuiltinTypedArray: ClassTooLong \u2014 1445 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 49 methods, 4 blocks, lines 37-3170. The bar is 400 significant lines; this is 1045 over it, 3.61\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a47cebc1f4ebdee4ad13579be3a302003327778294db6006dbc8582cb369a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Array: ClassTooLong \u2014 1390 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 55 methods, 6 blocks, lines 61-3336. The bar is 400 significant lines; this is 990 over it, 3.48\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fc350ffb605133778efad85c3260490c7bcbc82b716063a5afbe1e3f3f8fd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scope_analyzer.rs: FileTooLong \u2014 1632 significant 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 1132 over it, 3.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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a82f094f1a9c1c790699bc1bdc60044f390feda76fdf2d8a64d238c4560a55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: array/mod.rs: FileTooLong \u2014 1617 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Array (6 blocks, 61-3336). The bar is 500 significant lines; this is 1117 over it, 3.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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26624db807d4f330faa9628d9026ced66404d90d9743ff893977130a4f281d55"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/mod.rs: FileTooLong \u2014 1572 significant 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 1072 over it, 3.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/operations/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f2d1ac2ae1938c349e8b3504001f99befb99b717ec676c801dffab8fbabf58"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: typed_array/builtin.rs: FileTooLong \u2014 1519 significant 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 95% of them inside a single declaration: BuiltinTypedArray (4 blocks, 37-3170). The bar is 500 significant lines; this is 1019 over it, 3.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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5128d7421b5a489117e3829cece06dc541c062282aa22a25853c86598dbb732b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsObject: TooManyMethods \u2014 90 methods, declared across 4 files: object/jsobject.rs (41), object/operations.rs (33), internal_methods/mod.rs (14), iterable/mod.rs (2). The bar is 30 methods; this is 60 over it, 3.00\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/jsobject.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8208b06fb199ece3e0fc4de59f557cf6bd8fa4462ad1a677f2869b98c12fbe3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Promise: ClassTooLong \u2014 1058 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 29 methods, 5 blocks, lines 84-2565. The bar is 400 significant lines; this is 658 over it, 2.65\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0066b5a16a556645110932e404a21a521b401a8c081e5a1d5996e81c0e166b32"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: String: ClassTooLong \u2014 1051 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 54 methods, 5 blocks, lines 64-2635. The bar is 400 significant lines; this is 651 over it, 2.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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c47f35492492f0ede74aa91963e88803edef02dae28bf9d643d7cf3a85ca1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: promise/mod.rs: FileTooLong \u2014 1296 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Promise (5 blocks, 84-2565). The bar is 500 significant lines; this is 796 over it, 2.59\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e92df3fbe4edff22352cf0b3b09bd549af574bb10bc00939db973b983b0e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Context: TooManyMethods \u2014 77 methods, declared across 3 files: context/mod.rs (57), vm/mod.rs (11), runtime/mod.rs (9). The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/context/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36f365f0f47b639130c1719660bc37dd3342ce6d26180abb5f47c60da6de75d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZonedDateTime.init: MethodTooLong \u2014 init runs 256 significant 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 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0904ce102ecc64918917f9e40aff31acf709c3234584ad6f77c1a7babf9e635"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: zoneddatetime/mod.rs: FileTooLong \u2014 1221 significant 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: ZonedDateTime (8 blocks, 57-1875). The bar is 500 significant lines; this is 721 over it, 2.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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be1a4adcd077ec613a6d4ff10ead8102528ca9e8a1d916e595a7c12762af87c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: module/source.rs: FileTooLong \u2014 1205 significant 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 73% of them inside a single declaration: SourceTextModule (3 blocks, 253-2037). The bar is 500 significant lines; this is 705 over it, 2.41\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":"core/engine/src/module/source.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c149239420c0a9a7440a885d0c887d7adbd892ddacee49d86a04a6c487d31477"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_expr_impl: MethodTooLong \u2014 compile_expr_impl 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":"core/engine/src/bytecompiler/expression/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"016661d251cf912ba793427018e62c7be35c071a18453ef38fc7645e426eafbd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RegExp: ClassTooLong \u2014 943 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 33 methods, 6 blocks, lines 42-2107. The bar is 400 significant lines; this is 543 over it, 2.36\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c96cdd2c0459b753a1c60f5c69c46d223cc4ac622f5250b162e1a117cca6c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: string/mod.rs: FileTooLong \u2014 1173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: String (5 blocks, 64-2635). The bar is 500 significant lines; this is 673 over it, 2.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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a96e05365632950efab982991ab9ddc87edad98d423e546f869edbca1c8f93"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ZonedDateTime: ClassTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 51 methods, 8 blocks, lines 57-1875. The bar is 400 significant lines; this is 534 over it, 2.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fff2266cf2a510de520c3211a3780740ec7538331878297df67989b78876c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PropertyDefinition.parse: MethodTooLong \u2014 parse runs 229 significant 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 129 over it, 2.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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7110c1dca9b3d3d56951e6d04ff6ab8cf13c83335e1f1ba5cf9e33d3c30838a0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SourceTextModule: ClassTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 15 methods, 3 blocks, lines 253-2037. The bar is 400 significant lines; this is 482 over it, 2.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":"core/engine/src/module/source.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ed54a3128068aab4c371c4e0976ab085df1b319dfb85f449aee871cd58284e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_ast::operations::check_labels: FunctionTooLong \u2014 boa_ast::operations::check_labels runs 220 significant 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 120 over it, 2.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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27395adb54b2fa7b8a72e6e55f2567e97eb1075a86a32218b962eca48c5859a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Date: ClassTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 39 methods, 5 blocks, lines 50-1912. The bar is 400 significant lines; this is 478 over it, 2.20\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb0552d038cbfec852bdb16b388d8c66fa45f1c2c458600e11399feae91a054"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_assign: MethodTooLong \u2014 compile_assign runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/expression/assign.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6356ba3313691e434fe0f5b207ca3f4f7444794da2399f0c2ed5cffbd13f0577"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourceTextModule.initialize_environment: MethodTooLong \u2014 initialize_environment runs 207 significant 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 107 over it, 2.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":"core/engine/src/module/source.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2c6bc815117538f55d9c3cecf174ea8cf371c0ca88fe82b911e736aa389193"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlainDateTime.init: MethodTooLong \u2014 init runs 201 significant 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 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7fe82de61d7adffb6e79533aecdae7035169c0935121f16c8d7393f5bd4ca1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plain_date_time/mod.rs: FileTooLong \u2014 984 significant 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 79% of them inside a single declaration: PlainDateTime (8 blocks, 59-1605). The bar is 500 significant lines; this is 484 over it, 1.97\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d50a459324e08b91098a8b08893fdd75a39b85f9000aeb86642fb94b21e592a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlainDateTime: ClassTooLong \u2014 780 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 42 methods, 8 blocks, lines 59-1605. The bar is 400 significant lines; this is 380 over it, 1.95\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb9a40d80da9d4885f8a0199682e1ae77b7824eb2b9b5c0ec6daa98a3805294"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: regexp/mod.rs: FileTooLong \u2014 973 significant 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: RegExp (6 blocks, 42-2107). The bar is 500 significant lines; this is 473 over it, 1.95\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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aa9bf2741169b17fef71bb0094d1d95ca866d9e6407f498ea7ee8146c7887b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_update: MethodTooLong \u2014 compile_update 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":"core/engine/src/bytecompiler/expression/update.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c790ae07b8a5e6abe534ff28384db0ffa2cf4ce4efadbd42582d698c6522ff96"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_declaration_pattern_impl: MethodTooLong \u2014 compile_declaration_pattern_impl 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":"core/engine/src/bytecompiler/declaration/declaration_pattern.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e612061a00e1d2e4806baf6723cf5bb154230704208b60110d2ab3676042f1c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Array: TooManyMethods \u2014 55 methods, declared across 2 files: array/mod.rs (54), array/from_async.rs (1). The bar is 30 methods; this is 25 over it, 1.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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4eacd948450113785a98b66acda07b3293997edaf750f23078782f3fe45cd3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodeBlock: ClassTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 24 methods, 4 blocks, lines 127-1079. The bar is 400 significant lines; this is 325 over it, 1.81\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":"core/engine/src/vm/code_block.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be3a7435b66d6d930c4b507166e7c3d513bfdc843662739126cc47a60efc5a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: date/mod.rs: FileTooLong \u2014 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), about 97% of them inside a single declaration: Date (5 blocks, 50-1912). The bar is 500 significant lines; this is 406 over it, 1.81\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b4a42222aa49e7f1a05b4482985d4620d26ad4bbfa878654ae76715dc56a38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: String: TooManyMethods \u2014 54 methods. The bar is 30 methods; this is 24 over it, 1.80\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56fd5e4edfc50a3301d1f4f637ea89ee91bc3a1523542ae6891645f9522d9ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MemberExpression.parse: MethodTooLong \u2014 parse runs 177 significant 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 77 over it, 1.77\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":"core/parser/src/parser/expression/left_hand_side/member.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d388ea75b6f9f50639733db7b9c353b5932be2316147d2b1a0a719a4d7b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: class_decl/mod.rs: FileTooLong \u2014 879 significant 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: ClassElement (3 blocks, 507-1299). The bar is 500 significant lines; this is 379 over it, 1.76\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"179d20c6194b0f2ca7d61d56801ff15dc0236c3d53f9bf026eefc200e0e35241"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vm/code_block.rs: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: CodeBlock (4 blocks, 127-1079). The bar is 500 significant lines; this is 377 over it, 1.75\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":"core/engine/src/vm/code_block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9310cdd4d64d857cbb7382f5414b475322ad6e79ae37e55b743ca60c51b89c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_ast::operations::contains: FunctionTooLong \u2014 boa_ast::operations::contains 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":"core/ast/src/operations/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3d3bc34c004146a45fc8d76ae2b97d736d783db5c2a1c354754c978bafa456"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CoverParenthesizedExpressionAndArrowParameterList.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21f4f155a274401a817dfc5c6ea1bb537c1516ba2dda63b2b8687fb9fa01cba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZonedDateTime: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6288e6b4a18aea10b645e53b94b00c29c63ff7e98039d18e7bc4aa570b5041"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/intrinsics.rs: FileTooLong \u2014 841 significant 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 341 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":"core/engine/src/context/intrinsics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3c6ecad783de063c161a00f2f5ce44cf94308bebcb242db1f8e407ee2e38f2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsDate: TooManyMethods \u2014 50 methods. The bar is 30 methods; this is 20 over it, 1.67\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsdate.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e8a35160ad81ed3edd5cfd7012c623cdcc1eafe9eeed4aec1ff8d8622f2ce7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Eval.perform_eval: MethodTooLong \u2014 perform_eval runs 164 significant 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 64 over it, 1.64\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":"core/engine/src/builtins/eval/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fb1ff0cc915f02cb24df397d3efaf4ccdd3d4022fae50ac489a4d995d13c9f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BuiltinTypedArray: TooManyMethods \u2014 49 methods. The bar is 30 methods; this is 19 over it, 1.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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c5b76eeac8b747036c47cccc29f4dcb37e764651617fe627b271e61a1c1ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ForStatement.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/statement/iteration/for_statement.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a4975fb56e4552fb54984ddb89e718a2f8662552baa7654d9b4972642c0618"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ObjectBindingPattern.parse: MethodTooLong \u2014 parse runs 158 significant 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 58 over it, 1.58\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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86e1fa66db6c41100bf61f4365a185e95bce7ee3e191e54836cc47af324ccf9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuiltInFunctionObject.create_dynamic_function: MethodTooLong \u2014 create_dynamic_function runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0d8679b130bbc01c90ccfb912b50d268ea31ca09931cd2176e5b1b7c417df9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlainDate.init: MethodTooLong \u2014 init 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f362f3bd3b5416259a3a9bfd94feed82db3fe21c6f3a79bca02c5ffef4e2893"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LeftHandSideExpression.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/expression/left_hand_side/mod.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec755e0a0926336dee2e442ebedebb8aa72c313fd4c99dd870a8c680d0a7269"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OrdinaryObject: ClassTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 36 methods, 4 blocks, lines 50-1430. The bar is 400 significant lines; this is 204 over it, 1.51\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":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"75849932cb4cb753e9c735766856816f73020f5aeee6e68ffa946f432daf6d5b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SourceTextModule.inner_evaluate: MethodTooLong \u2014 inner_evaluate 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":"core/engine/src/module/source.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf22c0d15c386bf6693172d6ad7a9977aa9476d0b52e16ef48952774a97aaed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: error/mod.rs: FileTooLong \u2014 741 significant 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 241 over it, 1.48\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":"core/engine/src/error/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe25d5477e260f9dbb7815190cda0b7c5c8809298a6ab40c561663e0dce4c9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plain_date/mod.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), about 78% of them inside a single declaration: PlainDate (8 blocks, 60-1271). The bar is 500 significant lines; this is 235 over it, 1.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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e17f718844ea1a80026cd558e2895b949865124b4fa834231576bddf6cf54a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::object::internal_methods::validate_and_apply_property_descriptor: FunctionTooLong \u2014 boa_engine::object::internal_methods::validate_and_apply_property_descriptor runs 147 significant 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 47 over it, 1.47\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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e509075872364ddb422cbaa5a9d6d7376a09ca6da49ae8980393acd6f000370"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: duration/mod.rs: FileTooLong \u2014 721 significant 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: Duration (8 blocks, 45-1159). The bar is 500 significant lines; this is 221 over it, 1.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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a75bdaf581f33abd15547b17b539597d4fbf57c95a4c82b744b46edf852901d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Promise.perform_promise_all_keyed: MethodTooLong \u2014 perform_promise_all_keyed 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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"22bace234fd53ad8964c2cffbcb166f8c4562d5ad9b4e333b44c0928f4740eb9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: builtins/jstypedarray.rs: FileTooLong \u2014 719 significant 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: JsTypedArray (4 blocks, 20-973). The bar is 500 significant lines; this is 219 over it, 1.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":"core/engine/src/object/builtins/jstypedarray.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cf533d0507796f1311ab119abdd4f7451ef1241e9ad05615ef887109d1c915"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsString: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/lib.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c252967d62a87c7ef4a4459bb6dcd70a3949a580f342b9e7f031b049a2de60f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: number_format/options.rs: FileTooLong \u2014 716 significant 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 216 over it, 1.43\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":"core/engine/src/builtins/intl/number_format/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1770ced4a6dde0b31740f92457684d9f7e6b56dc8f89a62c937f3d16ab3b9b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PlainDate: 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), 34 methods, 8 blocks, lines 60-1271. 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5976cdfcb046f2899f3ef50db74ab1f69b61fed0b9e710515db506376b6fb8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClassElement: ClassTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 507-1299. The bar is 400 significant lines; this is 165 over it, 1.41\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fb07d1798c4385edcf6da132906cd5505d31c909e8591c833901f716f19d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlainDateTime: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1142da5d726b32fd0b67d77ae70c5414b375758a8086e10e74e505f02a83d459"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.function_declaration_instantiation: MethodTooLong \u2014 function_declaration_instantiation runs 140 significant 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 40 over it, 1.40\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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ade0d22a77c11cbc61f142e3cd83e683c7826f5e9a3db4afe463b36620c06f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: opcode/mod.rs: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 192 over it, 1.38\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":"core/engine/src/vm/opcode/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4fb6f68e14b1e8486c1e368e3d34d03047f63a3e0848f5e94cdb8eafbdc8df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PrimaryExpression.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"df573e45b71206a7d401ad4364a755315ab9df12019ce13520e044246cada899"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Duration: ClassTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 27 methods, 8 blocks, lines 45-1159. The bar is 400 significant lines; this is 149 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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a282f02e4bed4a44b07e4ed9efeea6e4912dbc208c43230fb515fa7ab75c65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsTypedArray: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jstypedarray.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff38cf6c4c2deb73bc4825dfbe7426cf0732dad95d4ae94ed5636efe1c39e21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: object/operations.rs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: JsObject (56-1330). The bar is 500 significant lines; this is 172 over it, 1.34\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":"core/engine/src/object/operations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d16fd0bcb26ccf6ce880d1dc39249021e46dff8478384cb4cfe388758c1b13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: statement/mod.rs: FileTooLong \u2014 671 significant 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 171 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"633b0e7d2053de7ab61df53a0b413b6390f47721a8315343d1f193610eaedd36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumberFormat.new: MethodTooLong \u2014 new 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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98c6ed0b2047174786ebbbbe7f4e1e4678663f0f2f41f5ec8d0fc12320940fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::builtins::temporal::zoneddatetime::to_zoned_date_time_fields: FunctionTooLong \u2014 boa_engine::builtins::temporal::zoneddatetime::to_zoned_date_time_fields 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ca43cdff79a88e90b1b0b14536d3b56befecddef80ce07da4b4ef989b021f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: object/mod.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), about 91% of them inside a single declaration: OrdinaryObject (4 blocks, 50-1430). The bar is 500 significant lines; this is 166 over it, 1.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b371e275133a3cce686e1f3e0e9342d51f00d486bde0f168c5c9f2572cf43e3f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AssignmentExpression.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/expression/assignment/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1025a4207357ddc078e753d99bc6cd10ace64c90a8e2dd600a1108409b3051d9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ArrayBindingPattern.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6702da848661d3bb679af0f6aede1b3d6b9f150515fff4800e8a5c3cd896c91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Date: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9869eb7edf7674b29861d5177e564bbef3ceda1cb840439a7c86913fd29bc75"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::builtins::array::from_async::from_async_iterator: FunctionTooLong \u2014 boa_engine::builtins::array::from_async::from_async_iterator 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":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d4bb66079da1da7ca8c31bcee5257c446a444d2397425356de018cff407d2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumberLiteral.lex: MethodTooLong \u2014 lex 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":"core/parser/src/lexer/number.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcf6f0ecc8bb7c615b4c3605329dc78689eb62cbcf0f6467858e31c0332086c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: internal_methods/mod.rs: FileTooLong \u2014 649 significant 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 149 over it, 1.30\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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"852a897dc0485fa5e5fe9d50a92f52a8e4aecc91a36c5f58cc7da2ccec30e7d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Json: ClassTooLong \u2014 518 significant 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, 3 blocks, lines 202-1242. The bar is 400 significant lines; this is 118 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e876ba1d13f4409221345c44c7f3ce04cfaa8a988c9b6dc87d5de3efbdfa148"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::builtins::intl::date_time_format::create_date_time_format: FunctionTooLong \u2014 boa_engine::builtins::intl::date_time_format::create_date_time_format 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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87ef7b3ce00d78a688b97787419ca4324b264595b4d0cca1a168e6323dae1b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: object/property_map.rs: FileTooLong \u2014 644 significant 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 144 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/property_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b3e5c663fb46646e7d66f7a6896cc0c4312db273f5b597025d993d93dfdac6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: date_time_format/mod.rs: FileTooLong \u2014 643 significant 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 143 over it, 1.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45856543f92f198eb568b3632470c61fa99af276afafa9dfab37df54a0bd66b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: property/mod.rs: FileTooLong \u2014 638 significant 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 138 over it, 1.28\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":"core/engine/src/property/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abb168dbaca81372b6afbc4649d294eb64e4c5967a40e71662a403cd903de2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: json/mod.rs: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Json (3 blocks, 202-1242). The bar is 500 significant lines; this is 137 over it, 1.27\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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19010f36afd2f186328b49bd85f03c92901ed95c6211a4817f85836060cab48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: function/mod.rs: FileTooLong \u2014 625 significant 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 125 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"def89bcc250219ad795f999d962058d1ed285bb91514fc99fa02ec58c7e4fac5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/mod.rs: FileTooLong \u2014 625 significant 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: Context (7 blocks, 96-1004). The bar is 500 significant lines; this is 125 over it, 1.25\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":"core/engine/src/context/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed5fc3aec3a791197e70079c58b144f6e5446d88ba9e5cf2f8dba3192b25325"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Zip.new: MethodTooLong \u2014 new runs 125 significant 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 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_helper/zip.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c7c822af340c2306acb0bb929cc012faef18bc2c806bece42cf3811d502328"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: vm/mod.rs: FileTooLong \u2014 623 significant 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 123 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a9249f2ae81ff4364c75298821dbb178d6c5d8100bf316119a9c5c228ae76f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/visitor.rs: FileTooLong \u2014 621 significant 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 121 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/visitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4a4d08b9424a092faa3ab786a66e61f0e63b4b8eee239efddb545ad5d88f24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Math: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/math/mod.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e2b0582320037d5599478847028266fb3f7aada2900e97ad66499013126729"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NanBoxedValue: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/inner/nan_boxed.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b9f380bec6859eff9cce925430e3322edb47e71c3bb6dd263d3e958a23f9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DigitFormatOptions.from_options: MethodTooLong \u2014 from_options 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":"core/engine/src/builtins/intl/number_format/options.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"8462a0af722ae1f7797b241babc6114fbe3a6f43df2e2cc678b8e9380215be9d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Promise.perform_promise_all_settled: MethodTooLong \u2014 perform_promise_all_settled 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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd31bad94585585dba1e9e17c3d16153f6813af28dce75bba9c44cc19aa7fb4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_lexical_decl: MethodTooLong \u2014 compile_lexical_decl 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbd76547cb96e785983cc4ef6614bb1beda4e25b63077e66a2d23340ed1aee2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BindingCollectorVisitor: ClassTooLong \u2014 491 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 577-1222. The bar is 400 significant lines; this is 91 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd6cbfc3ff327dc21b2ec20b831f891de7f0c3f45dd90b0db4d1489cae79c08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClassBody.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f141e62e1cbed674c633ed95bad223574499c1a2567723430f227e9eb3acb5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: proxy/mod.rs: FileTooLong \u2014 609 significant 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 109 over it, 1.22\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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2709e23d991e5709eabdf2f20dd22c119f0235c66bee3780cdb34676dd641c2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataView: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 29 methods, 6 blocks, lines 39-1136. The bar is 400 significant lines; this is 81 over it, 1.20\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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6670ff74f4898376bb038d7206c69c57f16c33cf5fc0fa17f4fe752b97ca503d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OrdinaryObject: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"087ba08efb33e43e0b049abf7993a08770e85f5f6927a71b38bcf6cb7330482d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.eval_declaration_instantiation: MethodTooLong \u2014 eval_declaration_instantiation runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"435a6ce81f0e85fd24704100ec2010ff0a18dac4629dedf825d532ff1e5001a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CodeBlock.fmt: MethodTooLong \u2014 fmt runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/code_block.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"27487216d621fc9fbbe0179589c844de198d4a98069a0878da415d7ffa3cabb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: number_format/mod.rs: FileTooLong \u2014 592 significant 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: NumberFormat (8 blocks, 115-922). The bar is 500 significant lines; this is 92 over it, 1.18\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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"723a96937feaf6def4d4bebe1f637352f3a0e2cbcbb6f24c1d46aef11427681d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::builtins::typed_array::base64::decode_mut: FunctionTooLong \u2014 boa_engine::builtins::typed_array::base64::decode_mut runs 118 significant 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 18 over it, 1.18\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":"core/engine/src/builtins/typed_array/base64.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"313b907a86190c49961e21a685b39039b1e97089b0d2a118ba39f9f75975b47b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JsValue: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 131 methods, 3 blocks, lines 120-1747. The bar is 400 significant lines; this is 69 over it, 1.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":"core/engine/src/value/mod.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fcd02193e787067e50812bd0be6650c4f748e6e86df49c3ee7960ccfaefac5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_for_of_loop: MethodTooLong \u2014 compile_for_of_loop 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":"core/engine/src/bytecompiler/statement/loop.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d775f650d60f9c8bd1c2336618a3d2d9a8f4c7e1b91b8dcd37b623d498d07079"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: object_initializer/mod.rs: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 83 over it, 1.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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1728110ad5de7e607528fa5db13c990832ef9e2a7ea622b7eec557bb20190b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_ast::scope_analyzer::eval_declaration_instantiation_scope: FunctionTooLong \u2014 boa_ast::scope_analyzer::eval_declaration_instantiation_scope 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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ab75bc0c2efcdedf4457c232db463d272a68d2c07e25be57337c14d47e2a29"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NumberFormat.resolved_options: MethodTooLong \u2014 resolved_options 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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4131707ba39783f68f4750c94deeef5021fe022a5c0a46e478feb96223ba8be7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Duration.init: MethodTooLong \u2014 init 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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e5e4b26cabbc45ab1e68cb4a93b26cc743d15857f29db324823a64b836c49c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JsProxyBuilder.build: MethodTooLong \u2014 build 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":"core/engine/src/object/builtins/jsproxy.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bac1100edfe1436f457b588832bb7eed96dc4e27b3ade968982527c5af00be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExportDeclaration.parse: MethodTooLong \u2014 parse 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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1febee10394566cf87ba4a6edbb1856074540e0efe04905e35aeed9bbfeefa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: value/mod.rs: FileTooLong \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), about 82% of them inside a single declaration: JsValue (3 blocks, 120-1747). The bar is 500 significant lines; this is 71 over it, 1.14\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":"core/engine/src/value/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6a41f92a29bdac88e9639a6c2244cd1dc7d4680e906b265608c072f5df6407"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/url.rs: FileTooLong \u2014 570 significant 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 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/url.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b786bdf4234e40db0f4a5f00d0b0d1da599bbee0e7645ba723413f4098cfca3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::builtins::temporal::plain_date_time::to_date_time_fields: FunctionTooLong \u2014 boa_engine::builtins::temporal::plain_date_time::to_date_time_fields runs 114 significant 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 14 over it, 1.14\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb7f1c6c43f3b91253e9437fbf422d438d54d2a262e931a939e8a4a1c57ed66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.compile_try: MethodTooLong \u2014 compile_try runs 114 significant 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 14 over it, 1.14\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":"core/engine/src/bytecompiler/statement/try.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52ef3908aa65ff7a06b2b0588d180aeea873fe74fe23dd6e4bf88ddacd3f3f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ByteCompiler: TooManyFields \u2014 34 stored fields beside 152 methods. The bar is 30 stored fields; this is 4 over it, 1.13\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9904ccaf463054f6acc224228fe14f8113d6e0a2ab3e3791990893adf6af8fe5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PlainDate: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44356f44f88d8bbbaa0b2296c82838677955c46a4a02a3d5f103827dc0324e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plain_year_month/mod.rs: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 69% of them inside a single declaration: PlainYearMonth (8 blocks, 49-861). The bar is 500 significant lines; this is 66 over it, 1.13\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":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399727b81623cd7b82508538def49dca4d880505a5af3b2be8c97eda02ef635"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_ast::scope_analyzer::function_declaration_instantiation: FunctionTooLong \u2014 boa_ast::scope_analyzer::function_declaration_instantiation runs 113 significant 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 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1877}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bd9c5ab3693c1dcb5c5481ed6e965f47801a785e6375aa70501056181103ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NumberFormat: ClassTooLong \u2014 450 significant 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, 8 blocks, lines 115-922. The bar is 400 significant lines; this is 50 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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe54c35796f89b15536b6dd812a8e82ba5dd5fe4026ac63a043b62cb606525"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 557 significant 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 57 over it, 1.11\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":"cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"284e0f09fca81a97e76984ee680b62fc6accde18087100bb63f783713c944e59"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ObjectTemplates.new: MethodTooLong \u2014 new runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/context/intrinsics.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e209999f6cc6b8184ada6b418ae53588382b424b28827014645b26e9fb7998a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: function/class.rs: FileTooLong \u2014 553 significant 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 53 over it, 1.11\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":"core/ast/src/function/class.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61452ba1ec6ded61867d7de5621ea046fe9e58aacc91a97e40f30119b3a1c0f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Number: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 22 methods, 4 blocks, lines 49-941. The bar is 400 significant lines; this is 42 over it, 1.11\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":"core/engine/src/builtins/number/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f240794302996f6698f7ed939040e8f7bbf78faae2d423aaf5ce6d8e75dc9fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StandardConstructors: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 63 methods, 3 blocks, lines 126-1080. The bar is 400 significant lines; this is 41 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":"core/engine/src/context/intrinsics.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790e911f93373628c8f30bf2ca837d6028ab9b4f3333aafeda0861ff8d8421f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: boa_engine::builtins::date::utils: TooManyFunctions \u2014 33 free functions. The bar is 30 free functions; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc5d26e087944f5b36a959d923d49dd8ab9647c21827bccb730dcd0927be173"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RegExp: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6030349775712eaa8b69723a797b9f8035fa3c514c5627ade44fd3cefd48c689"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Url: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/url.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e7ab983fb181dcfae536e0c218cf3a5270e2283e9234fbb42c151bcf6bb0ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::vm::opcode::call::load_dyn_import: FunctionTooLong \u2014 boa_engine::vm::opcode::call::load_dyn_import 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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"662524b660bf35df837405bc8f3b51168822d4944e66d248064c4ca580dae11f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Console.init_with_logger: MethodTooLong \u2014 init_with_logger 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":"core/wintertc/src/console/mod.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c7e76ae5a5fac2cb92a3adcbe7ee775c8f36640f4829ae8c46bbb787fd690b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: console/mod.rs: FileTooLong \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), about 71% of them inside a single declaration: Console (2 blocks, 328-1032). The bar is 500 significant lines; this is 47 over it, 1.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":"core/wintertc/src/console/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6c1f3c9ee202e60da65d482e1439482dea9a7d24d67de59fa21d7fef20c57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: object/mod.rs: FileTooLong \u2014 542 significant 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 42 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":"core/engine/src/object/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e78b741748e37adb9ada44cf2f19537eb02e64c67c0b77d7dcf727cc5a614e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 78% of them inside a single declaration: JsString (28 blocks, 138-998). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c40fbdab41a1a1e9a793fb49550764c4d1e54e70e4a412828ca87fe4714f79a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ByteCompiler.call: MethodTooLong \u2014 call runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b18b3f4830caf523ae5874b6b33ddeefabfac6b20361ca5a00b53b2dbcb50e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::value::display::value::log_value_to: FunctionTooLong \u2014 boa_engine::value::display::value::log_value_to runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/value.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a56bbe41611c70ff9ccefd5589c90b44731bb344de92b810bb36ddc5a0a04c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JsTypedArray: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 41 methods, 4 blocks, lines 20-973. The bar is 400 significant lines; this is 30 over it, 1.08\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":"core/engine/src/object/builtins/jstypedarray.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddde18f8d85e83e96ecd27da6e2eb4cf58e976805dc1f24284708b455878508"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plain_time/mod.rs: FileTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: PlainTime (7 blocks, 50-836). The bar is 500 significant lines; this is 36 over it, 1.07\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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e4361faa996d32abc5d98968e9bf577483d5003273369fea96463dc9de66ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VisitorMut.visit: MethodTooLong \u2014 visit 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":"core/ast/src/visitor.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fc97d4a0b3f54416170ee0dfb78f1b2497392dd46ce9565fae4319985bb54b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BuiltinTypedArray.set_typed_array_from_typed_array: MethodTooLong \u2014 set_typed_array_from_typed_array 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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1ca91127bcd8e997feca112f1cba2e5218af17db27e1e571bd8d3698d8276e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Visitor.visit: MethodTooLong \u2014 visit 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":"core/ast/src/visitor.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"768ffd0e555f0530f8b8d748859257bb8662cbb8478e163267c0e4151eff56d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: value/operations.rs: FileTooLong \u2014 529 significant 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: JsValue (12-907). The bar is 500 significant lines; this is 29 over it, 1.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":"core/engine/src/value/operations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1485ed830a7bb3d72d65cbf4a54b2eed67541c6a1b380dfced84cad0856c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bytecompiler/class.rs: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: ByteCompiler (76-724). The bar is 500 significant lines; this is 28 over it, 1.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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bbd57e9dd272162c7a8b4fc033c18b6db686873f5344be0e19ab617c98bc8c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JsString: ClassTooLong \u2014 420 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 43 methods, 28 blocks, lines 138-998. The bar is 400 significant lines; this is 20 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/lib.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bb186a7d8047e4020062a568a5adbe9dd0548595111e76043042b671706071"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Set: ClassTooLong \u2014 420 significant 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, 4 blocks, lines 122-1109. The bar is 400 significant lines; this is 20 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"184d7ea9baf87f9c0c823e8a49e8ba224024059eceb936af4b1f7977a442f1f7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PlainDateTime.constructor: MethodTooLong \u2014 constructor 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e997908ebf7e832c2e839dd4292488d309ee51df43bf12f58c95a95d9a20534"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_engine::builtins::temporal::duration::to_temporal_partial_duration: FunctionTooLong \u2014 boa_engine::builtins::temporal::duration::to_temporal_partial_duration 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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca21149adfc37ee154e316dfb5e7359940c0db926b3c9d206b3776cf178528"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsBigInt: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bigint.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6833e262b9bbbf6fd1f9c77e6024559428cb02385eef9bb5d7767de9d0683fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsArray: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. This type is on a published API surface \u2014 a cargo-semver-checks gate in CI (.github/workflows/rust.yml) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"126cc3d96307886ce5a7d71032a38b4c7c3c894866de4bc2d34beb78a3faebc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/scope.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":"core/ast/src/scope.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd52c62de07894f4b620cf140be0a4851ebcf289fd0639657aa231d8e3e713e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: boa_cli::main: FunctionTooLong \u2014 boa_cli::main 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":"cli/src/main.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4923b8afe98f1c7e08cce71a1c07f8294d0d205dce16b4a78b5d9538acce6b6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Date.init: MethodTooLong \u2014 init 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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"308d69191e862c04f77120174ee30ca4ea754d8850efa96162298172803e44eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RegExp.abstract_builtin_exec: MethodTooLong \u2014 abstract_builtin_exec 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b662612cece60a85137aafeb5ad1c38aa8f60bd6eea57968ac26469b7bc54da2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: array_buffer/mod.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 71% of them inside a single declaration: ArrayBuffer (6 blocks, 202-918). 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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca19719b015ff66bed1e62414836026d52eb6aa190fbd2544dc90dd95b45f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Context: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 77 methods, 7 blocks, lines 96-1004. The bar is 400 significant lines; this is 4 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":"core/engine/src/context/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d810b241091ae1cbecc464c0598803a9054d963edf2c9dbedb75f5fd2e214e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bytecompiler/declarations.rs: FileTooLong \u2014 504 significant 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 73% of them inside a single declaration: ByteCompiler (367-1215). The bar is 500 significant lines; this is 4 over it, 1.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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f9915cc4554ade022ffc9c9bef23c616da4fec9efea2ad882e4bda6b3083e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dataview/mod.rs: FileTooLong \u2014 503 significant 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 96% of them inside a single declaration: DataView (6 blocks, 39-1136). The bar is 500 significant lines; this is 3 over it, 1.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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06890f87bf4e6cf1aa23534b6773888a572ce6e3a3d07e082ad8d077312219e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 40 shared lines): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:46-162 | core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:54-194 | core/parser/src/parser/expression/primary/function_expression/mod.rs:55-157 | core/parser/src/parser/expression/primary/generator_expression/mod.rs:55-173 | core/parser/src/parser/statement/declaration/hoistable/mod.rs:158-270 \u2014 These 5 members are variants of one another: a block of 40 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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bdbcd33ee94534eba9d56853ab1ec0c07afb412f2bb429901e21153b8251c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 40 shared lines): core/engine/src/builtins/temporal/duration/mod.rs:888-971 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1316-1370 | core/engine/src/builtins/temporal/plain_time/mod.rs:634-698 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1461-1525 \u2014 These 4 members are variants of one another: a block of 40 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc84692d9ca271fb9df2cb824df78925fd00789d4ed3c48b2db00973f95b7aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): core/engine/src/builtins/promise/mod.rs:561-611 | core/engine/src/builtins/promise/mod.rs:776-826 | core/engine/src/builtins/promise/mod.rs:1453-1503 | core/engine/src/builtins/promise/mod.rs:1683-1733 \u2014 These 4 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"955e2f641ef84074b2536957ab5f500255d83e306aafc12767e0db0daefa48bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 26 shared lines): core/engine/src/builtins/typed_array/builtin_uint8.rs:114-214 | core/engine/src/builtins/typed_array/builtin_uint8.rs:226-283 | core/engine/src/builtins/typed_array/builtin_uint8.rs:373-489 | core/engine/src/builtins/typed_array/builtin_uint8.rs:501-548 \u2014 These 4 members are variants of one another: a block of 26 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ecdf06eb4948ec34d0cc122ef1f6845a8e34d3c6d7fa9dc6bf00518faaac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): core/engine/src/vm/opcode/define/class/getter.rs:23-59 | core/engine/src/vm/opcode/define/class/getter.rs:80-116 | core/engine/src/vm/opcode/define/class/setter.rs:23-60 | core/engine/src/vm/opcode/define/class/setter.rs:81-119 \u2014 These 4 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"352443c199806a05f2e90d04aa8df34efbe355420e282c4219cb0dee881d3be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 16 shared lines): core/engine/src/vm/opcode/define/class/getter.rs:137-170 | core/engine/src/vm/opcode/define/class/getter.rs:191-223 | core/engine/src/vm/opcode/define/class/setter.rs:140-174 | core/engine/src/vm/opcode/define/class/setter.rs:195-229 \u2014 These 4 members are variants of one another: a block of 16 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc2bf48fa39637c5472f938b334bd99c54b2f02aa84844d7bccba2ff10fcb58"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 42 shared lines): core/parser/src/parser/expression/assignment/arrow_function.rs:69-165 | core/parser/src/parser/expression/assignment/async_arrow_function.rs:68-158 | core/parser/src/parser/expression/assignment/mod.rs:90-291 \u2014 These 3 members are variants of one another: a block of 42 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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c64557a53d7f8f619e2de611e02372a42783af8f9d4576e6a00df2e8cf54741"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): core/parser/src/parser/expression/left_hand_side/call.rs:119-198 | core/parser/src/parser/expression/left_hand_side/member.rs:63-314 \u2014 These two members are variants of one another: 56 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":"core/parser/src/parser/expression/left_hand_side/call.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9345e0072a27856a5dd847d681c81b4f071b021c327c5d7ffa8ce9804ee43b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): core/engine/src/builtins/json/mod.rs:967-1114 | core/engine/src/builtins/json/mod.rs:1126-1241 \u2014 These two members are variants of one another: 55 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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd6595747f7dd77438aa57e0f64edfac8314e0841a05f5d2386586a2d6605cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): core/parser/src/parser/statement/declaration/lexical.rs:373-487 | core/parser/src/parser/statement/variable/mod.rs:164-226 \u2014 These two members are variants of one another: 45 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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f113bd333d46545c5b76f6fe85b628735d5946443b8fef1e59a40aa471f37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): core/engine/src/bytecompiler/mod.rs:2454-2499 | core/engine/src/bytecompiler/mod.rs:2530-2583 \u2014 These two members are variants of one another: 39 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"63526eb55f819ad16eab99369872ad08f5e1308067aca881609be8e807dcc1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): core/engine/src/builtins/set/mod.rs:594-660 | core/engine/src/builtins/set/mod.rs:924-1004 \u2014 These two members are variants of one another: 36 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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"312ba73f3cf34bcdaa6089c2a3a3271980fb9c041e8b3acb721f6fdcd57a81c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:343-472 | core/engine/src/builtins/temporal/plain_time/mod.rs:159-249 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d3641960ed7ef6b16622ff7353c0acaa12faf7ece8fcc3d747538dc8c06d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/ast/src/scope_analyzer.rs:1744-1809 | core/ast/src/scope_analyzer.rs:1884-2199 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"50df0dbff79f0f31062dd9694bdc6fd8c98c4819df071ca79a65078c8b8050f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/engine/src/vm/opcode/define/class/method.rs:117-145 | core/engine/src/vm/opcode/define/class/method.rs:166-189 \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":"core/engine/src/vm/opcode/define/class/method.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21c6ee5b6e61507d6676c07ae6e00239ea1b08006079ad3fc5f536de99c984d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (15 members, 50\u002B identical tokens): core/engine/src/builtins/temporal/plain_date/mod.rs:358-374 | core/engine/src/builtins/temporal/plain_date/mod.rs:389-401 | core/engine/src/builtins/temporal/plain_date/mod.rs:416-428 | core/engine/src/builtins/temporal/plain_date/mod.rs:443-455 | core/engine/src/builtins/temporal/plain_date/mod.rs:470-482 | core/engine/src/builtins/temporal/plain_date/mod.rs:497-509 | core/engine/src/builtins/temporal/plain_date/mod.rs:522-534 | core/engine/src/builtins/temporal/plain_date/mod.rs:547-559 | core/engine/src/builtins/temporal/plain_date/mod.rs:572-584 | core/engine/src/builtins/temporal/plain_date/mod.rs:597-609 | core/engine/src/builtins/temporal/plain_date/mod.rs:622-634 | core/engine/src/builtins/temporal/plain_date/mod.rs:647-659 | core/engine/src/builtins/temporal/plain_date/mod.rs:672-684 | core/engine/src/builtins/temporal/plain_date/mod.rs:697-709 | core/engine/src/builtins/temporal/plain_date/mod.rs:722-734 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2938afaec044c44bf1a8b726098deb71464a8a396425ffc6f1c18455207542a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): core/engine/src/builtins/date/mod.rs:450-475 | core/engine/src/builtins/date/mod.rs:489-514 | core/engine/src/builtins/date/mod.rs:531-550 | core/engine/src/builtins/date/mod.rs:563-588 | core/engine/src/builtins/date/mod.rs:601-626 | core/engine/src/builtins/date/mod.rs:639-664 | core/engine/src/builtins/date/mod.rs:677-702 | core/engine/src/builtins/date/mod.rs:716-741 | core/engine/src/builtins/date/mod.rs:754-779 | core/engine/src/builtins/date/mod.rs:822-841 | core/engine/src/builtins/date/mod.rs:1402-1422 | core/engine/src/builtins/date/mod.rs:1539-1560 | core/engine/src/builtins/date/mod.rs:1680-1703 | core/engine/src/builtins/date/mod.rs:1718-1807 \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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b710876c9d93d12d32f6e0210defea8d645e2782c958b5754b58fe49d2b512ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): core/engine/src/object/builtins/jsdataview.rs:202-214 | core/engine/src/object/builtins/jsdataview.rs:223-235 | core/engine/src/object/builtins/jsdataview.rs:244-256 | core/engine/src/object/builtins/jsdataview.rs:285-297 | core/engine/src/object/builtins/jsdataview.rs:306-318 | core/engine/src/object/builtins/jsdataview.rs:327-339 | core/engine/src/object/builtins/jsdataview.rs:348-360 | core/engine/src/object/builtins/jsdataview.rs:369-381 | core/engine/src/object/builtins/jsdataview.rs:390-402 \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":"core/engine/src/object/builtins/jsdataview.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a817d09d896f040b8693e7430a08fea39981777ef994d1847b14a8d81495c768"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): core/engine/src/builtins/error/aggregate.rs:30-38 | core/engine/src/builtins/error/eval.rs:32-40 | core/engine/src/builtins/error/range.rs:30-38 | core/engine/src/builtins/error/reference.rs:29-37 | core/engine/src/builtins/error/syntax.rs:32-40 | core/engine/src/builtins/error/type.rs:38-46 | core/engine/src/builtins/error/uri.rs:31-39 \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":"core/engine/src/builtins/error/aggregate.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e890ed8c1cd7d9c07ac43cb888c615f33f62a7fc5eed6f5723f168b3ca0e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): core/engine/src/builtins/intl/locale/mod.rs:470-491 | core/engine/src/builtins/intl/locale/mod.rs:500-521 | core/engine/src/builtins/intl/locale/mod.rs:530-551 | core/engine/src/builtins/intl/locale/mod.rs:560-581 | core/engine/src/builtins/intl/locale/mod.rs:625-646 | core/engine/src/builtins/intl/locale/mod.rs:681-703 | core/engine/src/builtins/intl/locale/mod.rs:712-734 \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":"core/engine/src/builtins/intl/locale/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8a7228905df4e3694d3adb1953625704d8f925b4394d1bb0b2aae76fab9b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): core/ast/src/scope_analyzer.rs:1884-2199 | core/ast/src/scope_analyzer.rs:2312-2581 | core/engine/src/bytecompiler/declarations.rs:62-183 | core/engine/src/bytecompiler/declarations.rs:201-365 | core/engine/src/bytecompiler/declarations.rs:374-557 | core/engine/src/bytecompiler/declarations.rs:625-868 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1884}}}],"partialFingerprints":{"codehealthFindingId/v1":"965bd235a5bf8266d483e3b99dcfddb3556cb58e99d6801229a56eceb25d583f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): core/engine/src/builtins/date/mod.rs:855-898 | core/engine/src/builtins/date/mod.rs:985-1043 | core/engine/src/builtins/date/mod.rs:1056-1104 | core/engine/src/builtins/date/mod.rs:1117-1169 | core/engine/src/builtins/date/mod.rs:1183-1232 | core/engine/src/builtins/date/mod.rs:1245-1294 \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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e34b925805be53673b062f9ac80b751278447a2b4253d2bcec883372a6dbded"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): core/engine/src/builtins/temporal/plain_date/mod.rs:1412-1489 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1737-1877 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:441-479 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:526-629 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1021-1090 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2108-2272 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b83498fbea3158087617c110a83a4fe441d686d458d36beecf052b737a7b85"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/engine/src/builtins/array/array_iterator.rs:40-50 | core/engine/src/builtins/map/map_iterator.rs:55-65 | core/engine/src/builtins/regexp/regexp_string_iterator.rs:43-53 | core/engine/src/builtins/set/set_iterator.rs:55-65 | core/engine/src/builtins/string/string_iterator.rs:34-44 \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":"core/engine/src/builtins/array/array_iterator.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b875dc85e45024cc936d9b7f104fd1d4bd54ed325e3f7ad6cc76f2518d61b99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/engine/src/builtins/proxy/mod.rs:472-588 | core/engine/src/builtins/proxy/mod.rs:601-704 | core/engine/src/builtins/proxy/mod.rs:716-770 | core/engine/src/builtins/proxy/mod.rs:807-871 | core/engine/src/builtins/proxy/mod.rs:885-958 \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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c06a94101ceee3a2070ea476807eccca53dc150dbccf9c68ac0289720d3dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/engine/src/builtins/temporal/plain_date/mod.rs:75-260 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:78-324 | core/engine/src/builtins/temporal/plain_time/mod.rs:59-140 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:64-185 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:74-388 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d9c77379c02f9a8410ce0db7236b747a77a0d3b440cdbd54b5ca4dcf1f791d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/engine/src/builtins/temporal/plain_date/mod.rs:279-314 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:343-472 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:124-167 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:204-254 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:407-463 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd1e838e0b9544cf743bf5d120e14b454a64c1ade6cab7121044ad4e0339c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/engine/src/builtins/typed_array/builtin.rs:655-700 | core/engine/src/builtins/typed_array/builtin.rs:1015-1052 | core/engine/src/builtins/typed_array/builtin.rs:1422-1485 | core/engine/src/builtins/typed_array/builtin.rs:1497-1558 | core/engine/src/builtins/typed_array/builtin.rs:2211-2255 \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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa52251979e1b924e1cecaefc51e8b3d76668c7f92d12663b6b0899e9091976"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): core/engine/src/builtins/typed_array/object.rs:365-393 | core/engine/src/builtins/typed_array/object.rs:405-423 | core/engine/src/builtins/typed_array/object.rs:436-485 | core/engine/src/builtins/typed_array/object.rs:502-521 | core/engine/src/builtins/typed_array/object.rs:534-553 \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":"core/engine/src/builtins/typed_array/object.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cce1dc120ce236fb71cf1715d28b10853493230ffb8e379d361e031c50d9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/ast/src/function/async_function.rs:260-279 | core/ast/src/function/async_generator.rs:261-276 | core/ast/src/function/generator.rs:258-273 | core/ast/src/function/ordinary_function.rs:293-308 \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":"core/ast/src/function/async_function.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"692426f939e9b4883bc7fec45adedcba497d56818f819ada21deaaa5a0c60921"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/ast/src/scope_analyzer.rs:392-407 | core/ast/src/scope_analyzer.rs:412-434 | core/ast/src/scope_analyzer.rs:782-799 | core/ast/src/scope_analyzer.rs:804-830 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88fe7c375506b4865e7e9efceeac4c62778e9061cd5f8c052494fd0d20a4212"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/ast/src/scope_analyzer.rs:666-682 | core/ast/src/scope_analyzer.rs:687-703 | core/ast/src/scope_analyzer.rs:708-724 | core/ast/src/scope_analyzer.rs:729-745 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5089c095200d7c13d6cb65845502cfa59e33929a7f2c76db8fc194ddb3ff74"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/engine/src/builtins/array_buffer/utils.rs:428-497 | core/engine/src/builtins/array_buffer/utils.rs:507-574 | core/engine/src/builtins/array_buffer/utils.rs:584-646 | core/engine/src/builtins/array_buffer/utils.rs:656-718 \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":"core/engine/src/builtins/array_buffer/utils.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"96513c8b6960cc755845c8d40bc74d00ae34de40c414fb4b7c19090ac6d18f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/engine/src/builtins/typed_array/builtin.rs:871-895 | core/engine/src/builtins/typed_array/builtin.rs:907-931 | core/engine/src/builtins/typed_array/builtin.rs:943-967 | core/engine/src/builtins/typed_array/builtin.rs:979-1003 \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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd1d23d77e3b014a53df0fff75231eb715289b74a6314356535596825a9ca75"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/engine/src/bytecompiler/mod.rs:175-186 | core/engine/src/bytecompiler/mod.rs:190-201 | core/engine/src/bytecompiler/mod.rs:205-216 | core/engine/src/bytecompiler/mod.rs:220-231 \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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"50417c65f8033f82430b9b32bc1908d7ce3c002a2b991ed6412ba04d5eb61354"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/engine/src/module/namespace.rs:261-279 | core/engine/src/module/namespace.rs:296-375 | core/engine/src/module/namespace.rs:385-463 | core/engine/src/module/namespace.rs:487-506 \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":"core/engine/src/module/namespace.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f72dfd9627ff234b8705103a44c1bf02e29e94f3772986e879fc688a0959af4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/engine/src/value/display/arguments.rs:24-96 | core/engine/src/value/display/array.rs:11-71 | core/engine/src/value/display/array.rs:79-128 | core/engine/src/value/display/object.rs:172-229 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/arguments.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"842930f67129a777b765205cfa041a860f949e924dd02ea22945619f38e5a24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): core/engine/src/value/mod.rs:1141-1162 | core/engine/src/value/mod.rs:1170-1187 | core/engine/src/value/mod.rs:1242-1263 | core/engine/src/value/mod.rs:1271-1288 \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":"core/engine/src/value/mod.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5461601b94f18fb30c75cb2fd44fee0a16aec5f50c2facbc7343c39abfd0929"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (243 corresponding lines): core/engine/src/builtins/promise/mod.rs:840-1087 | core/engine/src/builtins/promise/mod.rs:1197-1439 \u2014 These two members are one piece of code written twice and then edited apart: 243 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fd89668e8baf65c1015a5a3c3d6889ed9f47ab56b23ec616c03baafaa4d8ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): core/ast/src/scope_analyzer.rs:1011-1076 | core/ast/src/scope_analyzer.rs:1078-1143 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d2a4340265aad3b06f1aca0da708411d24a15ffc1508b186a36013b289496b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (138 corresponding lines): core/engine/src/builtins/promise/mod.rs:625-762 | core/engine/src/builtins/promise/mod.rs:1517-1666 \u2014 These two members are one piece of code written twice and then edited apart: 138 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"9300b873bd4df5b25e8d07b756c2d72fd44c9d6f65ea1a249f9ba89998991201"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:222-326 | core/engine/src/builtins/temporal/duration/mod.rs:1274-1430 \u2014 These two members are one piece of code written twice and then edited apart: 105 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bf6d352c19abd8d156d7ca9ecca1873b8f53cec4c4eecf4653a588893c7a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): core/engine/src/vm/opcode/get/name.rs:52-115 | core/engine/src/vm/opcode/get/property.rs:13-80 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/get/name.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e118ad60ad5820cebd13f08d1e9149f1c56a59f5cef34da76858c393eb01e9c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 69\u002B corresponding lines): core/engine/src/builtins/intl/date_time_format/mod.rs:944-1012 | core/engine/src/builtins/intl/list_format/mod.rs:265-358 | core/engine/src/builtins/intl/number_format/mod.rs:646-733 \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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd222f5394df3c6325ee2efaa3f3b06bef2a217b6bb34eaaf21c1531778def8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): core/ast/src/module_item_list/mod.rs:50-123 | core/ast/src/module_item_list/mod.rs:130-195 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/module_item_list/mod.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ad44373ebd370b179fb91e0a8841734f2872971e67d7517c69a8a2129218db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): core/parser/src/parser/function/mod.rs:251-311 | core/parser/src/parser/function/mod.rs:348-411 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39040fcec2359bc4d210f29dd6c669c3bd817e0c6a3e8d95df1b71c8ae72819"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): core/engine/src/builtins/iterable/async_from_sync_iterator.rs:138-212 | core/engine/src/builtins/iterable/async_from_sync_iterator.rs:220-306 \u2014 These two members are one piece of code written twice and then edited apart: 75 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/async_from_sync_iterator.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ca477057f4014894eda0f5cca2fe4171edeeb2b2aa7fa96f99c350257d6002"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (91 corresponding lines): core/engine/src/builtins/map/mod.rs:706-804 | core/engine/src/builtins/object/mod.rs:1339-1429 \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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5dd8768318007ed1f23ed355617544134fbd9e647a044d208933bd68633a5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:1318-1392 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1660-1722 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"174430cfeeed8627f6ac346c4a30c7a6b991754878d5b63f7dede0c85d611006"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): core/engine/src/value/operations.rs:55-78 | core/engine/src/value/operations.rs:81-106 | core/engine/src/value/operations.rs:109-147 \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":"core/engine/src/value/operations.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd25a6f47013d05b50f3511b6a5d32c417956008d7b04f5cea97564727ee8430"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): core/engine/src/builtins/array/mod.rs:2825-2905 | core/engine/src/builtins/array/mod.rs:2922-2999 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d1f67a2dc7aa062c2eaff64f5cc8acb1e5af34d0214efe34646192212dc550"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): core/engine/src/builtins/generator/mod.rs:265-333 | core/engine/src/builtins/generator/mod.rs:345-424 \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":"core/engine/src/builtins/generator/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7cd0558a2a96cbf1e3c25142b0d75eaae9014ffbd3c1e8a94749fcbc7a1d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): core/engine/src/builtins/typed_array/builtin_uint8.rs:38-102 | core/engine/src/builtins/typed_array/builtin_uint8.rs:295-361 \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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"225640a8c523e969ee509f20d732395879276834b0c4f1f3e3ecafdefe804262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): core/engine/src/builtins/intl/date_time_format/mod.rs:169-251 | core/engine/src/builtins/intl/number_format/mod.rs:216-298 \u2014 These two members are one piece of code written twice and then edited apart: 83 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f11f4c630fe7c422cfa0578ad03b3e570ce2e86732b30747e0a6387b7c137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): core/engine/src/builtins/intl/list_format/mod.rs:105-189 | core/engine/src/builtins/intl/plural_rules/mod.rs:89-165 \u2014 These two members are one piece of code written twice and then edited apart: 77 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a50dc8424c436281adb7fc2a207a285bbf5c4c66ff4a65adcc79c119cf84d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): core/engine/src/builtins/dataview/mod.rs:448-518 | core/engine/src/builtins/dataview/mod.rs:790-864 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08c11c38ee8e668843949ba225c9191866f0a2695ee95af43779652de7a057e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:64-119 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:59-105 \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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8134a89b088cc6caa260ea59a7e9f94660bea2f330d32218b5a2606ae10fd780"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): core/engine/src/vm/opcode/call/mod.rs:29-87 | core/engine/src/vm/opcode/call/mod.rs:105-168 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7c9af6d2358e443a79c08337fd0842b2d8176972383c17f93e3f13ffd3dc7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/ast/src/statement/mod.rs:207-231 | core/ast/src/statement/mod.rs:236-260 \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":"core/ast/src/statement/mod.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc625c79e2684ac72e942ed5fecbf0fdf3f9cf937406e59d3d91127435fc4268"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): core/parser/src/parser/statement/declaration/export.rs:241-288 | core/parser/src/parser/statement/declaration/import.rs:206-253 \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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b9f9b2c2adaf644cdcd9f1fa293f24bbdb9d9a23f8c59da1967df4dc95b8e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): core/engine/src/builtins/iterable/iterator_prototype.rs:292-359 | core/engine/src/builtins/iterable/iterator_prototype.rs:367-433 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b27c8bbe4819aab8d20f65a788c6425fb4aab87ceddd5f3f1777733fe348a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): core/ast/src/scope_analyzer.rs:205-235 | core/ast/src/scope_analyzer.rs:237-267 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33aa39c9f69395715a3f81ce166a653d00d1e3dcf5914c0469d5c125e99fdb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): core/engine/src/builtins/iterable/iterator_helper/mod.rs:118-199 | core/engine/src/builtins/iterable/iterator_helper/mod.rs:211-316 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_helper/mod.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351433f23113052b57ed0dc51f92fe2195036496012f617446056f4e084fcc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/engine/src/builtins/typed_array/builtin.rs:2267-2310 | core/engine/src/builtins/typed_array/builtin.rs:2319-2366 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6bf0404913d5c936635a7be0f348866d380705325ad6fb8803888b0f75f3d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 28\u002B corresponding lines): core/engine/src/value/operations.rs:250-277 | core/engine/src/value/operations.rs:280-307 | core/engine/src/value/operations.rs:310-337 | core/engine/src/value/operations.rs:340-375 | core/engine/src/value/operations.rs:378-413 | core/engine/src/value/operations.rs:416-449 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/operations.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17e2c739cb6f2619719531b3b6796de8f54dbc730beb2da0d5e118a9be74862"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): core/engine/src/builtins/map/map_iterator.rs:107-150 | core/engine/src/builtins/set/set_iterator.rs:106-147 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/map/map_iterator.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"59286b205e317fecb06cf8fad5ff5b60c11f660a9657dda1a70a962360ef929e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): core/parser/src/parser/statement/block/mod.rs:78-129 | core/parser/src/parser/statement/switch/mod.rs:62-108 \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":"core/parser/src/parser/statement/block/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"70de605d71a6362edd9485b5dcb106e4f73ac47e745f27c1050a56b5af199f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): core/engine/src/builtins/set/mod.rs:211-259 | core/engine/src/builtins/weak_set/mod.rs:76-122 \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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"1901658664148ca794a5a3530fee6fd825b64af1da39944c42e266e39cd09ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): core/parser/src/parser/expression/primary/object_initializer/mod.rs:741-791 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:826-890 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:925-965 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"24058ae49c5dfdef3bc44e16f9a14756efe017ba85c1bc0d0b0c63f92b033e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): core/ast/src/function/class.rs:591-630 | core/ast/src/function/class.rs:635-674 \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":"core/ast/src/function/class.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b18f6cbdba2b643171fb1ee355293732c947f5ca125b76de251a58368d6a1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/engine/src/bytecompiler/mod.rs:777-801 | core/engine/src/bytecompiler/mod.rs:804-833 \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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e8b954fff7aff578859f3bd985e0139efc21cf665a2782f64653dfb35f5ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): core/macros/src/lib.rs:465-502 | core/macros/src/lib.rs:601-638 \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":"core/macros/src/lib.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c094fc6f63045fbf3b58a659f7b2e9e856d67b34c13dea57ddb21764bf886e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): core/ast/src/pattern.rs:470-516 | core/ast/src/pattern.rs:521-567 \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":"core/ast/src/pattern.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9610f9018dd7a7f04ab05e8ac2182682c7234b5c365b626d7a55a1b27a2715ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): core/ast/src/declaration/export.rs:117-150 | core/ast/src/declaration/export.rs:155-188 \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":"core/ast/src/declaration/export.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"10776d120968f1af80b059d26ccebc0990525b56b7e138e13552de0d079d9b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): core/wintertc/src/timers/mod.rs:87-124 | core/wintertc/src/timers/mod.rs:139-171 \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":"core/wintertc/src/timers/mod.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b375fc4205ff749e4223e853be506fe5ce3879daa3972901427ea20fef0d8d88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): core/engine/src/builtins/array/mod.rs:1448-1509 | core/engine/src/builtins/array/mod.rs:2022-2079 \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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2e0c3522ac1c6bc954701ad8d130caee5829f7d33bdb6707edaebd7483d425"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/ast/src/function/class.rs:92-116 | core/ast/src/function/class.rs:255-284 \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":"core/ast/src/function/class.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef36431a50b89640b5afcc1d83192e2015a80917b5bec00f6d57b5a549b7b27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/ast/src/pattern.rs:723-766 | core/ast/src/pattern.rs:771-814 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/pattern.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f3c310dcccb4250d04c582b3775a18b1b57bf8d2be1f95144a13457b47f05c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/engine/src/builtins/array/mod.rs:2705-2757 | core/engine/src/builtins/array/mod.rs:2768-2811 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa9f0b1ddeaa335ee7fea2d31ab3fb2fcd3cb0fdfe246a444ca9205e9356c43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): core/engine/src/builtins/typed_array/builtin.rs:1064-1116 | core/engine/src/builtins/typed_array/builtin.rs:1128-1183 \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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42268c995ae7cac2f4695276ce60b80cc979d784a31d6dec199deb83efbdafc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): core/engine/src/object/operations.rs:435-465 | core/engine/src/object/operations.rs:486-524 \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":"core/engine/src/object/operations.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"56897e7aafd7510c6af3e1d4756159ce45ad2df8aea60cf92cd3a23177aaab67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): core/engine/src/builtins/intl/date_time_format/mod.rs:1215-1256 | core/engine/src/builtins/intl/number_format/mod.rs:930-970 \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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9c97dd35e2d96ea44a8dc37d98e22b82707e262c8fee8dcb0e9194079a811a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): core/engine/src/builtins/weak_map/mod.rs:302-340 | core/engine/src/builtins/weak_map/mod.rs:357-409 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca89f6736aa97eb8297a94f5249acb0ad6f49db337916fdce969cf3a8bd823f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): core/ast/src/scope.rs:434-463 | core/ast/src/scope.rs:473-515 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7d0225b52d737719ba18140177df34c0143b651be48dcd0a76526d4fa69403"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): core/engine/src/builtins/async_generator/mod.rs:120-153 | core/engine/src/builtins/async_generator/mod.rs:205-238 | core/engine/src/builtins/async_generator/mod.rs:285-317 \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":"core/engine/src/builtins/async_generator/mod.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84a03dca3f66968fef043c72aa730b0b4cbc8872e8156a5aa167e4c58084587"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): core/engine/src/builtins/string/mod.rs:827-881 | core/engine/src/builtins/string/mod.rs:897-947 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a1c9582d8e367deafb62352b5855558c722f6fbfab679709bdc4a65b14a1f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/engine/src/vm/opcode/unary_ops/decrement.rs:19-37 | core/engine/src/vm/opcode/unary_ops/increment.rs:19-37 \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":"core/engine/src/vm/opcode/unary_ops/decrement.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b873f05f171a4948204ed548267d5967dd77efd484ad57496122508e571aa71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/ast/src/operations/mod.rs:2081-2103 | core/ast/src/operations/mod.rs:2339-2354 \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":"core/ast/src/operations/mod.rs"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1075701b7d3cfb4e3362521541bf342fc7be120c30d7e5dc7b57bf9e6e6473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): core/engine/src/vm/opcode/define/class/method.rs:21-48 | core/engine/src/vm/opcode/define/class/method.rs:69-96 \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":"core/engine/src/vm/opcode/define/class/method.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3282b06e08d81f370612605889afd13dea96f22082e0cd6af2141efeb54c6249"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/engine/src/bigint.rs:219-241 | core/engine/src/bigint.rs:245-263 \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":"core/engine/src/bigint.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3006f8bdb6e7dd9d531682b751468381142bc91e55d1b081c651c27171a00d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 49\u002B corresponding lines): core/engine/src/builtins/iterable/iterator_prototype.rs:713-761 | core/engine/src/builtins/iterable/iterator_prototype.rs:769-820 | core/engine/src/builtins/iterable/iterator_prototype.rs:828-880 | core/engine/src/builtins/iterable/iterator_prototype.rs:888-940 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 49 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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"243db87f449cce5b3d3db5c1e7886a89595314f1bdef841baca332d8c2bd1cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): cli/src/executor.rs:121-151 | cli/src/executor.rs:157-189 \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":"cli/src/executor.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61d61586f77737e0c122c50378df90b5ebd0e24b3129ed45a52fefe9e47f9c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): core/engine/src/builtins/error/mod.rs:236-272 | core/engine/src/builtins/error/mod.rs:457-486 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/error/mod.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d847a219bdf56b40a7e3be8052e52328642cb0f40191dc472004e7b4b14316"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): core/engine/src/builtins/array_buffer/mod.rs:951-989 | core/engine/src/builtins/array_buffer/shared.rs:565-614 \u2014 These two members are one piece of code written twice and then edited apart: 39 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"a839c856fe14ab99ffcff223fbaccd3098a127dbd445319363c760a0ee2c83f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): core/engine/src/builtins/set/mod.rs:799-849 | core/engine/src/builtins/set/mod.rs:866-905 \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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe64fbda0fabb17f8da6104beb313e103c2b108c574fe4446a191d2f83cec3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): core/engine/src/vm/opcode/generator/mod.rs:26-54 | core/engine/src/vm/opcode/generator/mod.rs:72-100 \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":"core/engine/src/vm/opcode/generator/mod.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3c0bba87a5c13cb3228d93ce056c426405e2a4f9ed3f65a88186ed117f1e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): core/engine/src/builtins/proxy/mod.rs:323-374 | core/engine/src/builtins/proxy/mod.rs:970-1024 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"615a900584c7736af4c608407dacd1c3b9c73ec2f2172e44ff0cdbf6a3092925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): core/engine/src/builtins/intl/date_time_format/mod.rs:255-304 | core/engine/src/builtins/intl/number_format/mod.rs:591-637 \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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89768f84873d25cf6c34913338bc108b9f31b2b3dbdb653368fb79e3e2ec1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 30\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:929-964 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1082-1120 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:277-306 | core/engine/src/builtins/temporal/plain_time/mod.rs:526-561 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:545-582 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f7723d80f5aff3ba6df91913158aeec0acb065993c7fee08ba542d386b9c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): core/engine/src/builtins/date/utils.rs:908-932 | core/engine/src/builtins/date/utils.rs:934-956 \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":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"72252a566bcd2497de53752de78463104d67b9c024082494b96a9a105172a469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/engine/src/builtins/temporal/calendar/mod.rs:16-40 | core/engine/src/builtins/temporal/calendar/mod.rs:43-70 \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":"core/engine/src/builtins/temporal/calendar/mod.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a75d1d1ca9512440fd8e21b7b3b47c45f0bb64592d122ad6a8407f35640469e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/engine/src/environments/runtime/mod.rs:573-593 | core/engine/src/environments/runtime/mod.rs:668-691 \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":"core/engine/src/environments/runtime/mod.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"f095f15f059dd4f3d523bf099642d8c4c0d5b0e834df91ed96d05c2c2fb952b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:1066-1088 | core/engine/src/builtins/temporal/instant/mod.rs:617-652 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1419-1447 | core/engine/src/builtins/temporal/plain_time/mod.rs:745-770 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41a026e4377eb7b8308d5a73f3482d77c086027e732c0b9930422eff0a43269"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): core/engine/src/vm/opcode/push/class/field.rs:25-57 | core/engine/src/vm/opcode/push/class/field.rs:78-107 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/push/class/field.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9e895c91780711ec439b5c1fa71d5f183835f316dd1e8a9f97b756be8cad40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): core/parser/src/lexer/regex.rs:209-238 | core/parser/src/lexer/regex.rs:244-273 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/lexer/regex.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3780e0581077ab5d1fd0a567a4fa33e5164fb2e39575af6f7d1e118a3ff3226a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/ast/src/scope_analyzer.rs:1622-1645 | core/ast/src/scope_analyzer.rs:1647-1670 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46a3f97aec8730b907bbaefed86a1afc4d85a90bdadc199da21f8584fd76a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): core/engine/src/builtins/bigint/mod.rs:224-250 | core/engine/src/builtins/number/mod.rs:309-340 \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":"core/engine/src/builtins/bigint/mod.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa761421fb54eebc618f59a2ed6a49e244a63bdaef9943b7a801cef5454dd9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): core/engine/src/builtins/iterable/mod.rs:267-310 | core/engine/src/builtins/iterable/mod.rs:338-375 \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":"core/engine/src/builtins/iterable/mod.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"28559c44bf0693f4621c65f765406f06003aa4c6e9c2428b1e5cc3834339bb07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/engine/src/bytecompiler/mod.rs:1030-1059 | core/engine/src/bytecompiler/mod.rs:1067-1090 \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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"9509aba11b11a7875e6f2906695d596ece9217215788a1f36cdd228f69ed5679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): core/engine/src/vm/opcode/define/own_property.rs:61-83 | core/engine/src/vm/opcode/set/property.rs:270-293 | core/engine/src/vm/opcode/set/property.rs:363-387 \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":"core/engine/src/vm/opcode/define/own_property.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea2bfbf5683a2d71ab2a8463c88e06f2528a75d9e0dfd0834841ef0f1993d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): core/engine/src/object/internal_methods/mod.rs:713-749 | core/engine/src/object/internal_methods/mod.rs:766-802 \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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bc6ff22c090a21c8f6b5e589558a7b58ffe5dde25a13f26e5c789dbd82da85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/engine/src/object/shape/shared_shape/mod.rs:189-212 | core/engine/src/object/shape/shared_shape/mod.rs:215-245 \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":"core/engine/src/object/shape/shared_shape/mod.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d35de78248554a7c3a0b3aa5aaeb50345d7496aafc1010954c0e3fe7bb146bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): core/parser/src/parser/expression/assignment/arrow_function.rs:192-211 | core/parser/src/parser/expression/assignment/async_arrow_function.rs:185-204 \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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc90bb50eb23b2659e9b91052d80a0f074a1afd1504947eba112331f4920a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): core/ast/src/scope_analyzer.rs:1419-1444 | core/ast/src/scope_analyzer.rs:1449-1475 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"6244c67e381d964d201319aea6502562517bdd536a70a1a621e0c7a0648bd2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/parser/src/parser/statement/iteration/while_statement.rs:53-74 | core/parser/src/parser/statement/with/mod.rs:55-85 \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":"core/parser/src/parser/statement/iteration/while_statement.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbba909ecbcb7cd3f3cea1b843048c2ae7b77427a1d91eb820bbe7cf89a7664"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): core/engine/src/vm/mod.rs:953-986 | core/engine/src/vm/mod.rs:988-1014 \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":"core/engine/src/vm/mod.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"db18c4070504fd24e97ea2f51f7428855045ad4870166a39a7946a9cc2872046"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/builtins/builder.rs:273-288 | core/engine/src/builtins/builder.rs:353-368 \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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d322afa1958342f1c7ed3ebcf317090bb566e71603baed2062cba8373117e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): core/engine/src/builtins/map/mod.rs:134-170 | core/engine/src/builtins/weak_map/mod.rs:87-119 \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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b61e8cd653f4603252fa1bb7cdbdee4276392ae18083d5d7ae6eea79057e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): core/engine/src/builtins/iterable/iterator_prototype.rs:214-244 | core/engine/src/builtins/iterable/iterator_prototype.rs:252-284 | core/engine/src/builtins/iterable/iterator_prototype.rs:441-473 \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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a19d759e9842efd31ade446d21c85ab5ed957163eb8d9cc3a2dd31bd9528bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): core/engine/src/vm/opcode/control_flow/jump.rs:131-146 | core/engine/src/vm/opcode/control_flow/jump.rs:167-182 | core/engine/src/vm/opcode/control_flow/jump.rs:203-218 | core/engine/src/vm/opcode/control_flow/jump.rs:239-254 \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":"core/engine/src/vm/opcode/control_flow/jump.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"686006f248e90d33328e68bec19e61c87ec28f952e9c1dd247283c60cbb21c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/engine/src/native_function/mod.rs:202-226 | core/engine/src/object/builtins/jspromise.rs:303-323 \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":"core/engine/src/native_function/mod.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d589f1c947e7ce281f82e27ec298d19c76e0d99a31f648e108a7fc5ac7af76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): core/engine/src/builtins/map/mod.rs:523-556 | core/engine/src/builtins/set/mod.rs:484-517 \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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"25105bd2a3df70cc9c8f53039da651fd96794a5469c148068992a795e0b96de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/engine/src/builtins/string/mod.rs:1488-1512 | core/engine/src/builtins/string/mod.rs:2234-2258 \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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2933af8fde41150198d62fc09cff047fda9ad88fe503a820abff05169f48e358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): core/engine/src/builtins/proxy/mod.rs:382-416 | core/engine/src/builtins/proxy/mod.rs:427-460 \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":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c54a42f5e2f0818f25539b658a6cf4b5ee8337d01a4bc718635bfac710b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/engine/src/builtins/async_generator/mod.rs:73-100 | core/engine/src/builtins/generator/mod.rs:157-178 \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":"core/engine/src/builtins/async_generator/mod.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"882d46186877ca36aa5e1e4c324d7a74ff91455f291aea9abf5ec3cb5534b0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): core/wintertc/src/console/mod.rs:816-838 | core/wintertc/src/console/mod.rs:856-882 \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":"core/wintertc/src/console/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc5982531446b2a3b40206156b2325510df2d8032de12812b9f846aa6777a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:749-762 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1019-1040 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e5717cc30c696a9d366fe56023bcc3e95aabfb4108854d7e8ac16cbfaee721"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): core/engine/src/builtins/intl/locale/mod.rs:348-373 | core/engine/src/builtins/intl/locale/mod.rs:386-412 \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":"core/engine/src/builtins/intl/locale/mod.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"084436a1139d8347ac35af2e5638b82b996460a5a504325f79339232ce43606d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): core/engine/src/builtins/array/mod.rs:948-974 | core/engine/src/builtins/array/mod.rs:1351-1384 | core/engine/src/builtins/array/mod.rs:1401-1434 | core/engine/src/builtins/array/mod.rs:2596-2628 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"793973f7f5080e68e1196179ef428a7cc14ff19e9f1e99f99da19e17118b0762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:857-880 | core/engine/src/builtins/temporal/plain_date/mod.rs:893-916 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1190-1211 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1224-1247 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1528-1556 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1337-1355 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1368-1386 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed90651849ace3acb572f6b3903e7a19e1944bef745c145a7929ebc5d904fd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/engine/src/vm/opcode/delete/mod.rs:20-37 | core/engine/src/vm/opcode/delete/mod.rs:58-77 \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":"core/engine/src/vm/opcode/delete/mod.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bc641fd2b02b73048036c9569e2f74a5943711ed71524a83bd15a7cb8d177f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/object/property_map.rs:84-99 | core/engine/src/object/property_map.rs:1016-1031 \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":"core/engine/src/object/property_map.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"763f594eea5730213adc31b26d24e41a367095e1fa4bceb4ab416d4f84472b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/engine/src/property/mod.rs:281-301 | core/engine/src/property/mod.rs:331-351 \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":"core/engine/src/property/mod.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b888821fe012d6f2f020b7717db5b6d4ccf3dadf745a2c8b8ef8b07501ae4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/wintertc/src/console/table.rs:63-83 | core/wintertc/src/console/table.rs:86-101 \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":"core/wintertc/src/console/table.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d1bcc2df0cf717dc4e27a47b352837826716452afc047706530de62e88cdc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/ast/src/scope_analyzer.rs:106-123 | core/ast/src/scope_analyzer.rs:125-144 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf05c65d8092541d23c6bea2552137ca9d61308d9c1f51bd7788e4f6ab98936"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): core/engine/src/builtins/dataview/mod.rs:360-387 | core/engine/src/builtins/dataview/mod.rs:404-431 \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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42da4b35aa301c4d23a3376c9b78f368291d8f985648c923b47a8835b5b2eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): core/engine/src/builtins/function/arguments.rs:33-76 | core/engine/src/builtins/function/arguments.rs:220-273 \u2014 These two members are one piece of code written twice and then edited apart: 44 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/arguments.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34d8042476cadd1568e7a19fc3904b746d15ef2bb4f3b562c5a646b6986d637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/engine/src/value/variant.rs:66-87 | core/engine/src/value/variant.rs:91-112 \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":"core/engine/src/value/variant.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e1f2529a898df352ea7035bb127090d1693ffdd8beb681fcc43dab96f47150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:416-435 | core/engine/src/builtins/temporal/instant/mod.rs:452-469 | core/engine/src/builtins/temporal/plain_time/mod.rs:574-591 | core/engine/src/builtins/temporal/plain_time/mod.rs:604-621 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f77a1f8dcbef7f8ab9c19723186a1a24cb70b89abd3682718c62a773244767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:1007-1025 | core/engine/src/builtins/temporal/plain_date/mod.rs:1038-1056 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:631-653 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:666-688 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1399-1417 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1430-1448 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf90ad9f478e4c9a9f1ea5b419ea65a2785217dd78b9d98e900080d4bd4edcc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): core/engine/src/value/display/map.rs:11-37 | core/engine/src/value/display/map.rs:45-71 | core/engine/src/value/display/set.rs:43-67 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/map.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0f295959e28a887b051a8f4213b0fdc0ab2878acfb72fb4c62675dedb7b13b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/vm/opcode/binary_ops/mod.rs:74-89 | core/engine/src/vm/opcode/binary_ops/mod.rs:110-138 \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":"core/engine/src/vm/opcode/binary_ops/mod.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b535e8dfbd1cec8a6d568e6c6c3caac519b319f0bb8b3b93243b0e72fc023cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): core/engine/src/vm/opcode/push/class/private.rs:93-118 | core/engine/src/vm/opcode/push/class/private.rs:139-164 | core/engine/src/vm/opcode/set/private.rs:146-167 | core/engine/src/vm/opcode/set/private.rs:188-209 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/push/class/private.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79fac51dc688ec03c6ddd1cd2237b27fe6afa9ee4ac3b351d37ee14f5460041"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): core/engine/src/builtins/weak_map/mod.rs:253-285 | core/engine/src/builtins/weak_set/mod.rs:140-174 \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":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"628306d27234df88eaff266702b490e8bae7917f416351fcaef8f0c3439c0018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/engine/src/builtins/intl/collator/mod.rs:72-96 | core/engine/src/builtins/intl/number_format/mod.rs:165-190 \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":"core/engine/src/builtins/intl/collator/mod.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8677b18c24c4a4a7f310b48d5f7751e9accd080164beeb1fdf7748d5dba6734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): core/engine/src/object/builtins/jspromise.rs:780-799 | core/engine/src/object/builtins/jspromise.rs:869-889 | core/engine/src/object/builtins/jspromise.rs:936-955 | core/engine/src/object/builtins/jspromise.rs:1010-1029 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 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":"core/engine/src/object/builtins/jspromise.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1237172b7fa583af962b9f69286f85b3e5f84b39936d023442ba4df4abb1ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): core/engine/src/optimizer/pass/strength_reduction.rs:42-71 | core/engine/src/optimizer/pass/strength_reduction.rs:73-95 \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":"core/engine/src/optimizer/pass/strength_reduction.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"61198ffb060b2278b8fec9dabd0650a6189f6fdf62cf42352dcf933cd01dc5aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): cli/src/executor.rs:71-92 | cli/src/executor.rs:96-115 \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":"cli/src/executor.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c0b17fa51fff1bd55ea2049540e2d88e0dcb8b0e8afef479d51da2dd73e6ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): core/engine/src/builtins/math/mod.rs:665-693 | core/engine/src/builtins/math/mod.rs:703-731 \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":"core/engine/src/builtins/math/mod.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9dab170a3a2900e2b9b80b46159d2d3fe094cddcde0f3f4e4ceab1900a3ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): core/engine/src/builtins/atomics/futex.rs:299-330 | core/engine/src/builtins/atomics/futex.rs:337-372 \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":"core/engine/src/builtins/atomics/futex.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"937bd9be98c1f364aee21ac151c576e974441d764cee9df9dc11ef8efcb27c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/parser/src/parser/statement/break_stm/mod.rs:59-78 | core/parser/src/parser/statement/return_stm/mod.rs:47-64 \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":"core/parser/src/parser/statement/break_stm/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"853e30729572f3a29c7161ff1e6f7b11b9d2420989978b40d48b6a25fa97bd3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): core/engine/src/builtins/object/mod.rs:278-305 | core/engine/src/builtins/object/mod.rs:321-348 \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":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c916c3d0afdd6f7218647e0fc57edee696f3b17e2fc38e1707ed502cf7bf030"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:1198-1212 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:345-366 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:726-747 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccf5216860a76089e6a3118f143fadc9f457f4ee64e350c91ce1695a94c52cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:64-83 | core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:95-128 \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":"core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e1edf3270f921444c28fb442917616bc0132f93b7287b062f3e5b5d742e3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): core/engine/src/value/operations.rs:694-704 | core/engine/src/value/operations.rs:708-718 | core/engine/src/value/operations.rs:722-733 | core/engine/src/value/operations.rs:738-749 \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":"core/engine/src/value/operations.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0678b4e8cff54a5d031ff54efca7dcdb5846b27c8e560a5b714ad79494974f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/string/src/lib.rs:386-399 | core/string/src/lib.rs:404-418 \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":"core/string/src/lib.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd50d45282ce3f29a1f0bad559b65e533bc518dec26dd39a805561ec84f0df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): core/engine/src/builtins/array/mod.rs:743-766 | core/engine/src/builtins/string/mod.rs:523-548 \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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ef17fe6556025302ac924f041470f41b75632c6206c061402f2465945a4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): core/engine/src/vm/opcode/get/name.rs:21-31 | core/engine/src/vm/opcode/get/name.rs:163-175 | core/engine/src/vm/opcode/get/name.rs:196-217 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/get/name.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a59d8410b79111d5072fec531490c463749fff0fa5fe525f9bf9355b538765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/engine/src/vm/opcode/get/private.rs:18-36 | core/engine/src/vm/opcode/set/private.rs:20-38 \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":"core/engine/src/vm/opcode/get/private.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"db174ee6d68f24ee35d51999d14db3b1e05361a8f4ed7e02679594280d79fc45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:1098-1117 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1137-1152 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1252-1270 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e9f80e1ef892cd49ee0243b00aa452a7a351231d51172f7045838d2fe4118d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/engine/src/bytecompiler/mod.rs:325-343 | core/engine/src/bytecompiler/mod.rs:347-365 \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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"da145b961172ad21b34bfd212476403404a25faa1f57eabad9e1085e924d666c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cli/src/debug/function.rs:12-28 | cli/src/debug/function.rs:30-48 \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":"cli/src/debug/function.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa87aaae0214a2e8ffeadda8fd572a9886e72125f85cc87e96ccf6902e06215a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:739-759 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1283-1298 \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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b489b220139728fcf5fc9f7d93e1c623eeea1506822b3138651e533f8d9ee6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): cli/src/debug/object.rs:7-22 | cli/src/debug/string.rs:6-21 | cli/src/debug/string.rs:23-42 \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":"cli/src/debug/object.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4e8cf7b00ceec0d72ae7985a1e26d466102d54bdc14abf11256d763c29f0d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/ast/src/scope_analyzer.rs:908-919 | core/ast/src/scope_analyzer.rs:921-935 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d753b3fe9387f426f9c0861879d241f17db45d7ece30fd75cbf88f41fbfa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/vm/opcode/define/mod.rs:85-99 | core/engine/src/vm/opcode/set/name.rs:52-65 \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":"core/engine/src/vm/opcode/define/mod.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a957c6b5ebd2e34cd5ff7b91f66980f81a08386e3f904d1c6fc263726da8c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/wintertc/src/store/from.rs:190-209 | core/wintertc/src/store/from.rs:217-235 \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":"core/wintertc/src/store/from.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b99933435e9dda34e317f344fc3019b1bb87959199d0db30026df0c9df511f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): core/engine/src/builtins/array_buffer/mod.rs:873-917 | core/engine/src/builtins/array_buffer/shared.rs:495-552 \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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"e828e5bf10bd35c533fb8a482e645b838a2992a104ecc9a5abe1537474a576fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/ast/src/scope_analyzer.rs:146-159 | core/ast/src/scope_analyzer.rs:161-176 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f583babc285e309aec0958bf635cfd4ef5869745286ef501961bfe5efa030794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/gc/src/lib.rs:131-146 | core/gc/src/lib.rs:150-165 \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":"core/gc/src/lib.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"50257a0196cfa0aaae3def0861f1dc8e42e7a4f3a42231730a5ce60da2c95a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): core/engine/src/builtins/reflect/mod.rs:152-173 | core/engine/src/builtins/reflect/mod.rs:207-228 | core/engine/src/builtins/reflect/mod.rs:383-403 \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":"core/engine/src/builtins/reflect/mod.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d972c2ef3fce86eadc86e125dd852eb81ad6509285d8489b733f82700287a15f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): core/parser/src/parser/statement/declaration/hoistable/async_function_decl/mod.rs:81-102 | core/parser/src/parser/statement/declaration/hoistable/async_generator_decl/mod.rs:96-118 | core/parser/src/parser/statement/declaration/hoistable/generator_decl/mod.rs:81-97 \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":"core/parser/src/parser/statement/declaration/hoistable/async_function_decl/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5124725d5ab2c10d26dec8512592ab3c9f47c3ef785aba56f09f45525f732f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/property/mod.rs:306-327 | core/engine/src/property/mod.rs:355-370 \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":"core/engine/src/property/mod.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d250db2c0a886acd2b9b4fb1f00059b68e6831c322402c1eb56df23e8e0855"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/runtime/src/fetch/request.rs:285-296 | core/runtime/src/fetch/response.rs:523-535 \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":"core/runtime/src/fetch/request.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c6a813c67f47efcc9a399774f348c92ff3ee63a9b34a07985b1b3ec32a2028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): core/engine/src/builtins/builder.rs:227-246 | core/engine/src/builtins/builder.rs:307-326 \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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44152a41a0e0614e820799ed2ae8849241e216063b31a2e25743abde73321c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): core/engine/src/builtins/typed_array/builtin.rs:431-454 | core/engine/src/builtins/typed_array/builtin.rs:462-489 | core/engine/src/builtins/typed_array/builtin.rs:1326-1351 \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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac5c5fd9892d15dfbb05916df810c2955f27733ea484ad7f3e8712820145cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/vm/opcode/unary_ops/mod.rs:72-85 | core/engine/src/vm/opcode/unary_ops/mod.rs:103-118 \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":"core/engine/src/vm/opcode/unary_ops/mod.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b89dae0aee51523b1b985b24405570327182aad7e8939064c9e0ec0c9ff54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:663-680 | core/engine/src/builtins/temporal/instant/mod.rs:691-707 \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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"645aef38eef9c771487601962a066c28e8a3af25a22742ae2d1256ef99eef1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:978-994 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1311-1324 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0cd2e65323b1d8aa0e9255dd9b07d3869e798bc5e01f62be93ecad2031ad86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): core/engine/src/builtins/string/mod.rs:490-510 | core/engine/src/builtins/string/mod.rs:568-591 | core/engine/src/builtins/string/mod.rs:611-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 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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b248362fc40ae8c91f97352b1948cb233fcfc8bd4454815e57f9d02ae2965e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): core/engine/src/builtins/weak_map/mod.rs:135-161 | core/engine/src/builtins/weak_map/mod.rs:217-239 | core/engine/src/builtins/weak_set/mod.rs:190-216 | core/engine/src/builtins/weak_set/mod.rs:232-255 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"70aa2dea09ea4db195336cd0de46acfc4250545139d5cc41ae3c986bef8cb3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/engine/src/context/mod.rs:292-309 | core/engine/src/context/mod.rs:325-342 \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":"core/engine/src/context/mod.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bfa1002a1b50203e7aeedb46a5ca1c7fd682a1b72ab2dcb117cf5cc9775a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/engine/src/object/property_map.rs:716-728 | core/engine/src/object/property_map.rs:804-815 \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":"core/engine/src/object/property_map.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ca2e30d4672cfdb5ee264c8bb250e39a870afbd2cd2851b081d03be3df19da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/engine/src/builtins/array_buffer/mod.rs:433-451 | core/engine/src/builtins/array_buffer/shared.rs:180-198 \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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"499971fd822fa35648490a55bc0c0640b6b2eedbfeedcc0d48f5b0e841ecbdf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/engine/src/context/mod.rs:671-702 | core/engine/src/context/mod.rs:826-847 \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":"core/engine/src/context/mod.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f8a73e86b585cf1bfd8cd05e39db51a7560b4a2d272a3f58a6953fce47b292"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/ast/src/function/arrow_function.rs:118-131 | core/ast/src/function/async_arrow_function.rs:119-132 \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":"core/ast/src/function/arrow_function.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbb2601bb00bed0904d0decc3b550dab72b3d69f394106bf43daff1d3e45e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/ast/src/function/class.rs:140-152 | core/ast/src/function/class.rs:316-330 \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":"core/ast/src/function/class.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"756170e9a034345da9cccff0e4aed1f92a4a030697764512b7829e15eeac2003"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/engine/src/builtins/builder.rs:520-532 | core/engine/src/object/mod.rs:447-459 \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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075679946e172ba1a857616af2fa69b9ff641d9fb8bbc82b9699e74e1772fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/engine/src/vm/opcode/define/mod.rs:19-33 | core/engine/src/vm/opcode/define/mod.rs:47-64 \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":"core/engine/src/vm/opcode/define/mod.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd9e9aa37fe86986fb3f39a83c564a761ab776801f1d6c1416309a52865dc41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:1099-1113 | core/engine/src/builtins/temporal/duration/mod.rs:1128-1143 \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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c19f7454ad3e16b925d633c02d76a083708b15f2598dd28ef5ea355f5cd106a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/builtins/intl/list_format/mod.rs:228-250 | core/engine/src/builtins/intl/plural_rules/mod.rs:178-193 \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":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a1b8bf6bc52edc2066f3a9d501e77950adddd47e76b7512a1fc26185e8f116"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:824-839 | core/engine/src/builtins/temporal/duration/mod.rs:856-871 | core/engine/src/builtins/temporal/instant/mod.rs:350-366 | core/engine/src/builtins/temporal/instant/mod.rs:383-399 \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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1dad7d562c4f3eb5b2c9dbefb0770b300a818974fe88fb7411514665323b6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 30\u002B corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:1234-1268 | core/engine/src/builtins/temporal/plain_date/mod.rs:1280-1309 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1613-1654 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:488-520 | core/engine/src/builtins/temporal/plain_time/mod.rs:844-875 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:930-963 \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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f7fe1ca9bc132b68fdfb2b2112d714bec279334a6ddc4d5d599896a9be58a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:1069-1081 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1383-1406 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:319-332 | core/engine/src/builtins/temporal/plain_time/mod.rs:711-732 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:701-713 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8d4b36ed050a5cdbd5001a051ff4942e0b628e872b16bb19f6ff0b038e4144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/engine/src/optimizer/mod.rs:106-124 | core/engine/src/optimizer/mod.rs:131-147 \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":"core/engine/src/optimizer/mod.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac5d7a74de1d3396009895b3d1d26aec65b6503cb3f059b385a33d1dc2636d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/ast/src/statement/iteration/mod.rs:74-82 | core/ast/src/statement/iteration/mod.rs:87-95 \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":"core/ast/src/statement/iteration/mod.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d3ef51e99af061d03e8a364b3f14c2269ca21226eb505082f1e9c7035626e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): core/engine/src/builtins/intl/list_format/mod.rs:57-73 | core/engine/src/builtins/intl/plural_rules/mod.rs:50-66 | core/engine/src/builtins/intl/segmenter/mod.rs:106-121 \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":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a83c0fd8fd77fcad6095feb51205f6e458defe31231c37f0fceaae42a40cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/ast/src/function/class.rs:123-135 | core/ast/src/function/class.rs:297-311 \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":"core/ast/src/function/class.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd73ce255c936599b68f51514c1246a8851fe74a60d77c313b768e5eeaea7a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): core/engine/src/builtins/builder.rs:639-656 | core/engine/src/object/mod.rs:536-554 | core/engine/src/object/mod.rs:664-682 | core/engine/src/object/mod.rs:693-711 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/builder.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"924c0aeda575e8445e6df0674e46f71c75e2ece267cec5a58d64f3a4bd1aa157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): core/engine/src/builtins/map/mod.rs:258-282 | core/engine/src/builtins/map/mod.rs:326-346 | core/engine/src/builtins/map/mod.rs:358-375 | core/engine/src/builtins/map/mod.rs:418-437 | core/engine/src/builtins/set/mod.rs:289-310 | core/engine/src/builtins/set/mod.rs:353-373 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87b35d2677e1b8a36e221890d2361e9f355a2ddb43070e4ea9f2745c921c8c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/value/operations.rs:887-894 | core/engine/src/value/operations.rs:899-906 \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":"core/engine/src/value/operations.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c53b02966cf1e0b99ac7fd1220ae6037b1be827c6acb49abedbb058ed8d78d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/vm/flowgraph/graph.rs:272-290 | core/engine/src/vm/flowgraph/graph.rs:294-309 \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":"core/engine/src/vm/flowgraph/graph.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0bc4abb3cc3832a29816ade5c0556ea618dd436a710fb19e4e134bfe65ddb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/parser/src/lexer/comment.rs:29-44 | core/parser/src/lexer/comment.rs:115-129 \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":"core/parser/src/lexer/comment.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf75df97518cf296a4a18cf0999f0d6f193274ce752f646f3f0a9c6587cee670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/engine/src/builtins/array/mod.rs:3233-3249 | core/engine/src/builtins/array/mod.rs:3256-3278 \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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":3233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e894503139500d4b17b0705b8cceb921c1dfcae09e71a98fac211d30b4c97e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): core/engine/src/builtins/temporal/now.rs:123-134 | core/engine/src/builtins/temporal/now.rs:152-161 | core/engine/src/builtins/temporal/now.rs:175-185 | core/engine/src/builtins/temporal/now.rs:199-209 \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":"core/engine/src/builtins/temporal/now.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55226119f2824ebd172cf95fcc51be24aa27a8c3c4e5d858cf2ceda2aec9945"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/engine/src/object/shape/shared_shape/template.rs:110-123 | core/engine/src/object/shape/shared_shape/template.rs:134-146 \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":"core/engine/src/object/shape/shared_shape/template.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56071bfda3b81e18d4a2cf264771149858e9bbf6db7ce962b31fb0181fff960"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/vm/shadow_stack.rs:178-193 | core/engine/src/vm/shadow_stack.rs:195-212 \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":"core/engine/src/vm/shadow_stack.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b975b5f07616c58a242e06f102db03a9ba5a89460041948aea32702c30174593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/gc/src/cell.rs:158-173 | core/gc/src/cell.rs:185-202 \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":"core/gc/src/cell.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3955667214cd9f8694fec519a41022e561dfec9e6a8269d5d3aaedf35ee978fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/engine/src/builtins/typed_array/builtin.rs:2813-2834 | core/engine/src/builtins/typed_array/builtin.rs:3148-3169 \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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":2813}}}],"partialFingerprints":{"codehealthFindingId/v1":"304d08f6b32280f10dc7cb1767943f35ee059a1d87315e57de8199151db38c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/engine/src/host_defined.rs:89-98 | core/engine/src/host_defined.rs:161-172 \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":"core/engine/src/host_defined.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeec27f47530971b61ec5260499ffc6bfca9ebaeac997dbf9ed7b5e39901b406"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/engine/src/object/operations.rs:803-827 | core/engine/src/object/operations.rs:1370-1384 \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":"core/engine/src/object/operations.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"c655e6b3a2d2adcd8a5378cf11aa263460f29d553eb9b0d0d2ee75a9db5f3618"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/icu_provider/src/lib.rs:57-70 | core/icu_provider/src/lib.rs:78-91 \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":"core/icu_provider/src/lib.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44e76676bd03a594bf4951e3dc988ba609aeec09cad82ed7bf0707057668a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): cli/src/debug/limits.rs:23-32 | cli/src/debug/limits.rs:39-48 | cli/src/debug/limits.rs:55-64 \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":"cli/src/debug/limits.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"24717dac1e2a0d5c89636847fbdd8ff2d80e25803565ab27a2509dc33e13a471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): core/engine/src/object/jsobject.rs:214-227 | core/engine/src/object/jsobject.rs:240-256 | core/engine/src/object/jsobject.rs:1079-1095 | core/engine/src/object/jsobject.rs:1114-1127 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/jsobject.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccbf5eba2f2c799112e305f8927c64fdc58a6061556f4796f7bfd157b283167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/macros/src/value.rs:17-29 | core/macros/src/value.rs:61-71 \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":"core/macros/src/value.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"927eab4084c86f5da93f89f3afbc6cd81289b1b907373b60c63283b934b5018a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/ast/src/declaration/export.rs:45-56 | core/ast/src/declaration/export.rs:61-72 \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":"core/ast/src/declaration/export.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a09d2ae42d76c403963bb8608c50e25dfcc59fc2858fcf860b80acead8f2a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/ast/src/scope_analyzer.rs:889-906 | core/ast/src/scope_analyzer.rs:1529-1545 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"684569cd5d640d216c0e5bc2380341c16b76396e332277958623aac81f8a11e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): core/engine/src/builtins/array/mod.rs:1601-1624 | core/engine/src/builtins/array/mod.rs:1642-1665 | core/engine/src/builtins/array/mod.rs:1681-1704 | core/engine/src/builtins/array/mod.rs:1720-1743 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"21df181be8ffbabfb4de2e3f6efeee87458008218fd0907646df1b13cd8e117a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/engine/src/builtins/boolean/mod.rs:64-76 | core/engine/src/builtins/number/mod.rs:119-132 \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":"core/engine/src/builtins/boolean/mod.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6838b46162ae70735239fd729a7e17f0196a9a90902d342fbc959171c8a6ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/reflect/mod.rs:187-197 | core/engine/src/builtins/reflect/mod.rs:288-301 \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":"core/engine/src/builtins/reflect/mod.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e224312e253b3ae9d3bd13bffb40cac4d4cecb3d3d37a0b61841bae434c5e18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/engine/src/object/shape/shared_shape/forward_transition.rs:57-66 | core/engine/src/object/shape/shared_shape/forward_transition.rs:69-78 \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":"core/engine/src/object/shape/shared_shape/forward_transition.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2026c4aad65f093f7e3f0ba24d230ecf55309330a24b6b417f5a74c3c2106e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/wintertc/src/store/to.rs:32-42 | core/wintertc/src/store/to.rs:112-122 \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":"core/wintertc/src/store/to.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdde2abc49faf308537dccf41057bbf4680203a98c6b76c842469d8e54b4e4bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:316-329 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:833-843 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"062dc05a0f038a3c262bd9753c2dc8c8fbb229fafeeb89565a0abaa2cf7850d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:333-343 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:489-499 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2249bde7a7e8aaa1def9d6b4e9230db5f4fbdb45fbadac6a63b4be1948e72c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/ast/src/lib.rs:123-131 | core/engine/src/bytecompiler/mod.rs:100-108 \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":"core/ast/src/lib.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8095ab50ecbcb77d7dd72f3162842fb4a242663f01392106052a4cc8ed6da15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/engine/src/object/property_map.rs:919-927 | core/engine/src/object/property_map.rs:1034-1042 \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":"core/engine/src/object/property_map.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b3f78ec2ba726ec9d8f5afdac2c61cbc751ccdf27c97e8301a612973f6ec05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/engine/src/object/property_map.rs:932-940 | core/engine/src/object/property_map.rs:1047-1055 \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":"core/engine/src/object/property_map.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc9df78600356f3e4167f188d438f350a24d2d0784f3c0c83326f520756414b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): core/engine/src/builtins/async_function/mod.rs:27-39 | core/engine/src/builtins/async_generator_function/mod.rs:27-44 | core/engine/src/builtins/generator_function/mod.rs:32-49 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/async_function/mod.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"194c3d309a101bb7ad0423827e8730d685fa17a6fcaccb0ce2e5cfc158940d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/engine/src/builtins/iterable/mod.rs:243-255 | core/engine/src/builtins/iterable/mod.rs:319-331 \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":"core/engine/src/builtins/iterable/mod.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d641d634abc127eac30db82a6ccca7686cf3475593edfca69dfb3805a2c0ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:766-779 | core/engine/src/builtins/temporal/duration/mod.rs:792-807 \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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c89f0ebe8b408f522c7fa026e2070b6083dd3bec8279308fea07dfe9fa68f7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/engine/src/module/source.rs:122-130 | core/engine/src/module/source.rs:135-155 \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":"core/engine/src/module/source.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d434a32ddf14911a4e5006770d1a49abbf9bc18988120a1111394d860cb849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/parser/src/parser/mod.rs:165-172 | core/parser/src/parser/mod.rs:208-215 \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":"core/parser/src/parser/mod.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"69120276b175bcdddf4ff15d18bc447f38e80d561b46b9abc4bdbbcb8fc16472"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:1223-1234 | core/engine/src/builtins/temporal/plain_date/mod.rs:1245-1255 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a36a26b7050dddbc0af924ed42501e9424c9732dd78db04142df28ab55faf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_month_day/mod.rs:381-392 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:403-413 \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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c790ec71d191b2f09bf102261766212aa7e19cc2e5cb28a2c969ad1eed3c6bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): core/engine/src/builtins/temporal/plain_year_month/mod.rs:449-459 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:472-482 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:495-505 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"175b2e6195218ae6e1c8f1b7a0587a86365b2ac0963839357b8890121258732b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/engine/src/vm/opcode/environment/mod.rs:24-41 | core/engine/src/vm/opcode/meta/mod.rs:18-32 \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":"core/engine/src/vm/opcode/environment/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"623ec00ea8b87011acf4165d1332383e068780677fe6a3afa423176276f30483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/vm/opcode/function.rs:96-109 | core/engine/src/vm/opcode/push/literal.rs:48-55 \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":"core/engine/src/vm/opcode/function.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"43af29f012c7b15bb2689cd8a8839ca7b0784fd188bf8ee82361dc7f4ffe12a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/ast/src/scope.rs:288-302 | core/ast/src/scope.rs:306-324 \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":"core/ast/src/scope.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"512cd6515ab60e37953f21617ba85f32a4ef11d28a4d5ab59acfb490543a7553"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): core/ast/src/scope_analyzer.rs:531-539 | core/ast/src/scope_analyzer.rs:937-945 | core/ast/src/scope_analyzer.rs:1145-1153 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e42ace580cc07f09341f0bd86523ee0a74433f13f879c22a828622cfd6ed144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/builtins/temporal/plain_date/mod.rs:801-814 | core/engine/src/builtins/temporal/plain_date/mod.rs:831-844 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9a938d42f419a731f23d085e29972f1fcf0de0be32a5fbcd81c3546b1bee11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:480-490 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:503-518 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:626-636 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1112-1122 \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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ef735003542be732b434e03accab25ffc3a668b222d6c0f41c91bb8f41c70a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): core/engine/src/object/builtins/jsregexp.rs:170-177 | core/engine/src/object/builtins/jsregexp.rs:195-202 | core/engine/src/object/builtins/jsregexp.rs:265-272 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsregexp.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5f1fd7d39008dacb73105b915047b4f0592e09de4c59d92e6a6af419cd9cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): core/engine/src/builtins/temporal/plain_time/mod.rs:468-484 | core/engine/src/builtins/temporal/plain_time/mod.rs:497-513 | core/engine/src/builtins/temporal/plain_time/mod.rs:781-795 \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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5efec2701b13e17ca03c1ce918f269497ef3afab7553db4e0841e2989d7980"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:531-544 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1691-1704 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1811-1822 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1835-1846 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1863-1874 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb63d488bbfcbdc2f1d38bc3983c3a842863296f801eafb60daec5c568e19c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/engine/src/object/builtins/jsfunction.rs:83-97 | core/engine/src/object/builtins/jsfunction.rs:191-203 \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":"core/engine/src/object/builtins/jsfunction.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f12fee15f515d1d700d005efc0ea3d8403b7ca1873d2e7680750292187b089"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): core/engine/src/value/operations.rs:842-849 | core/engine/src/value/operations.rs:853-860 | core/engine/src/value/operations.rs:864-871 | core/engine/src/value/operations.rs:875-882 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/operations.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12cd04384188e6e9e7b05ed99dab7c825e83d212fbb897ed104f94b433c7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/runtime/src/fetch/mod.rs:79-94 | core/runtime/src/message/mod.rs:78-97 \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":"core/runtime/src/fetch/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"da344ca3db4b31112b8db314a7c12be5ab5fbc1516690f663da5175680d336ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/ast/src/scope_analyzer.rs:1547-1558 | core/ast/src/scope_analyzer.rs:1560-1574 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d39fee632cd3836bd747e23fa7b2b071cbf4fb2ea348cd2eb39af675369101"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1458-1472 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1569-1580 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1593-1604 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"9737dfa853496fc4c4337dffde8b7b3cd2c188bd3476f71382c3c21b42325f99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): core/engine/src/bytecompiler/jump_control.rs:492-503 | core/engine/src/bytecompiler/jump_control.rs:558-568 | core/engine/src/bytecompiler/jump_control.rs:592-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 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/jump_control.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"fadb63a5cdf01b77c1521698c2de2662085246d1e6c609a80f3802b385935811"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): core/engine/src/object/shape/mod.rs:109-120 | core/engine/src/object/shape/mod.rs:129-146 | core/engine/src/object/shape/mod.rs:151-162 | core/engine/src/object/shape/mod.rs:165-176 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/shape/mod.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1fafc98a05a3b6bc2ab189dd1b0024b63188a7b21cfa3d76d6716914ac7555"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/ast/src/operations/mod.rs:1784-1794 | core/ast/src/operations/mod.rs:2025-2033 \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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"16687111c21d3bfbc3bd01b38b236cd27eb2f4f9f305c518e4c897d9125dd76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): core/engine/src/builtins/iterable/async_from_sync_iterator.rs:29-42 | core/engine/src/builtins/iterable/iterator_helper/mod.rs:89-100 | core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:37-43 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/async_from_sync_iterator.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08a452be669db293dd7eb2ddde66145c031d877a413703cebd07b2eec6e36df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/vm/opcode/iteration/iterator.rs:133-148 | core/engine/src/vm/opcode/iteration/iterator.rs:197-213 \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":"core/engine/src/vm/opcode/iteration/iterator.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b4a9be682b60bf8aca29f65c6b9be2912a4f4a6ab8d9b99c9931994211be14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/ast/src/expression/literal/object.rs:440-454 | core/ast/src/function/class.rs:713-729 \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":"core/ast/src/expression/literal/object.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"085f0be23a0300674af205a5d0eb51dc36955321544adc89b76ab3643c242736"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/ast/src/statement/iteration/for_in_loop.rs:39-52 | core/ast/src/statement/iteration/for_of_loop.rs:50-64 \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":"core/ast/src/statement/iteration/for_in_loop.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2370882d80c202e41b49fc7bfe2b1e3bac6270952a137d31a30b103bfcfe24cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/builtins/typed_array/base64.rs:211-231 | core/engine/src/builtins/typed_array/hex.rs:53-68 \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":"core/engine/src/builtins/typed_array/base64.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bde0502c63c7894169b1cc9e7a0888452654357d39615d0385341a083b210e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/string/src/vtable/sequence.rs:128-137 | core/string/src/vtable/slice.rs:59-68 \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":"core/string/src/vtable/sequence.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b22e9054630da62b955c12addadabd659131b78572c5be6d78d4225044978a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/ast/src/declaration/import.rs:45-56 | core/ast/src/declaration/import.rs:61-72 \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":"core/ast/src/declaration/import.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5c3a66a8b69e0b3bbff950bbe3c26a88216d1702a0e2a4bde9b5cfa4d56e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/builtins/array_buffer/mod.rs:555-570 | core/engine/src/builtins/array_buffer/shared.rs:251-266 \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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"75075ab725890bfee9b068ef916d43b3cd2b8070617e88737db6127872e48cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/engine/src/builtins/temporal/duration/mod.rs:522-537 | core/engine/src/builtins/temporal/duration/mod.rs:550-567 \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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ddbba39250a839528d3f04add0aae1b9446ffdd379d8bd1b2c8376340f1d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:285-299 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:810-820 \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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2cf2a3a1868120d48166a980f1649985adc1064cc6abd0941611ff09982e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:539-549 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:557-567 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"93315d912b928283b3636504d57aacdcd49fa22c66aaa71e5bc6f40303039735"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:562-572 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:580-590 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"087f8bc3a5c3ac785fc0d2f4f52c2f3af0448431f91ecb39a8bab1b1bbe96307"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:585-595 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:603-613 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c637b5c8f7fa5af1b5a1f1208550cad803ca1d80990891365698abfd11fca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:631-641 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:649-659 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d4f9720f85c4d3b6b89601d2ddb9a9029da41bc5ad8ae0d72f522a0bb82503"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:654-667 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:672-682 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d02bdc62b7791e0ec52d40273da126d24dcdf46aed47c3c7321ff11cff1dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:680-693 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:695-705 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"75db25a8fc76e6fbcecfe246844ebfbba300a1fef358c8910131de12a322b6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:706-719 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:718-728 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b96509f9b22b3ef0841b4e9ca52829d5fff11c1595b6f9ba57f49e74a23dc49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:732-745 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:741-751 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bc27a2d29931225928e9043e0ba4c42bb1cd03db2c8070b963ba8f2f139475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:758-771 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:764-774 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c9f8c088088144aeff2d4ee615e493ba8662bdad7e6bcdeeeda67c10e3391f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:784-797 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:787-797 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31e84479892cbca75e1690df7b045a2e4b55b0842344b536b6636d33088a4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:810-820 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:856-866 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"d828ab1272ad53859f214f83b7ab58cacde13c56da3e1aa5982412e9abaafeaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:833-843 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:879-889 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae820fdce4604d013ada2067a66ae5a0c5abd0d120a2748e915a92c1191b4b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:856-866 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:902-912 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"b212bac58b394c3ce67a9a3419153e16321646ba0c4250d8c8cbde44a8e2507f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:879-889 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:925-935 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"9560e86fa04f868b6413b64b36f24a98e4b5bcde8768d899ac5599d3a55c8b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:902-912 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:974-984 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f94960feb0aea62dae5cc01ee8bc99632c41ba00ce0ade2b4c9033e81c25ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:925-935 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:997-1007 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62ef6c71e46d7d01b76f02335a990cf3e79cb26092b3b6c3f350d89f410fd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:948-958 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1020-1030 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c3505e5062266e6823ecd18098638ea5d6d7582c71d4776088e2570fdd6bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:971-981 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1043-1053 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e20850537f25517ee1d3c3a5eff7f23a209067c28e9f823b46b6ec4ab5698ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/builtins/temporal/plain_date_time/mod.rs:994-1004 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1066-1076 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c9fde8c83fe71c226bc4acf8651cfa98abbd1172230766c72f3269986cec0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): core/engine/src/builtins/temporal/plain_time/mod.rs:266-279 | core/engine/src/builtins/temporal/plain_time/mod.rs:292-305 | core/engine/src/builtins/temporal/plain_time/mod.rs:318-331 | core/engine/src/builtins/temporal/plain_time/mod.rs:344-357 | core/engine/src/builtins/temporal/plain_time/mod.rs:370-383 | core/engine/src/builtins/temporal/plain_time/mod.rs:396-409 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce703e2402d0d2f4e704eef0671aacbfd6f66299c65f8bc69f212c36a2ad095"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 15\u002B corresponding lines): core/engine/src/object/builtins/jsarray.rs:173-188 | core/engine/src/object/builtins/jsarray.rs:199-214 | core/engine/src/object/builtins/jstypedarray.rs:545-559 | core/engine/src/object/builtins/jstypedarray.rs:653-667 | core/engine/src/object/builtins/jstypedarray.rs:777-792 | core/engine/src/object/builtins/jstypedarray.rs:803-818 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac959f8193db7704c27eb9b13ffcf7b586ed930fdd7553bf7062e0638817d822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): core/engine/src/object/builtins/jsasyncgenerator.rs:44-53 | core/engine/src/object/builtins/jsasyncgenerator.rs:64-72 | core/engine/src/object/builtins/jsasyncgenerator.rs:83-91 \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":"core/engine/src/object/builtins/jsasyncgenerator.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbc6b2691c7279822dfde39485ab16452ce3e6eb1c72f7d8ba5eaede3880d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/object/builtins/jsdataview.rs:175-182 | core/engine/src/object/builtins/jsdataview.rs:186-193 \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":"core/engine/src/object/builtins/jsdataview.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a46d8ba601e03bf37543d45f1fba42f7b479e54d3e3c7e47bab6c5fe720f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): core/engine/src/property/mod.rs:469-483 | core/engine/src/property/mod.rs:506-518 | core/engine/src/property/mod.rs:522-534 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/property/mod.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e524b30d301156838cc9f1c3cb143d456561f04e950f5915dbd85c042c2200"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/engine/src/vm/opcode/binary_ops/mod.rs:22-27 | core/engine/src/vm/opcode/binary_ops/mod.rs:48-53 \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":"core/engine/src/vm/opcode/binary_ops/mod.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f6aacd2b045cad228774e2f2d5d697fb4c8ad0c5a1d61272186e2eb25a75b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): core/engine/src/builtins/bigint/mod.rs:143-161 | core/engine/src/builtins/boolean/mod.rs:86-99 | core/engine/src/builtins/number/mod.rs:191-204 | core/engine/src/builtins/string/mod.rs:280-297 | core/engine/src/builtins/symbol/mod.rs:237-250 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/bigint/mod.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f225674d03d1ff990bfe994e775ea3ee24c69d7ae669b7a3ff12254828d5ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/engine/src/builtins/map/mod.rs:387-406 | core/engine/src/builtins/set/mod.rs:322-340 \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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"89523980b3ab75c2152eec4c7eea29a4ee374e10f7348270f847e73752807b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): core/engine/src/builtins/temporal/plain_year_month/mod.rs:355-369 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:382-391 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:518-528 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:762-773 \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":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38e565d2bdb786bf7b642d83361a0f2d0f2b180567f463538eb56e5607918d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): core/engine/src/builtins/object/mod.rs:1098-1112 | core/engine/src/builtins/object/mod.rs:1143-1157 | core/engine/src/builtins/object/mod.rs:1192-1207 \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":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3e01100d964d1daed4babc6a1df7f0e6ede87ec1bdc3c8fe548d9985164405"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): core/engine/src/bytecompiler/mod.rs:235-246 | core/engine/src/bytecompiler/mod.rs:250-261 | core/engine/src/bytecompiler/mod.rs:265-276 | core/engine/src/bytecompiler/mod.rs:280-291 | core/engine/src/bytecompiler/mod.rs:295-306 | core/engine/src/bytecompiler/mod.rs:310-321 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ee43a633759eba579a6e0759397fd2327f129eba45574af6b5a17d290d3a60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/builtins/builder.rs:551-564 | core/engine/src/builtins/builder.rs:570-583 \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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43cb26373a680c7f5cc81f67cf05cb38962ee95a7805b0bfc6160c93c08617a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/engine/src/builtins/function/arguments.rs:420-437 | core/engine/src/builtins/function/arguments.rs:450-467 \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":"core/engine/src/builtins/function/arguments.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d4f6cd922533a6104852a40a4f31071fc9499489e6def9c175301b5a38a444"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/engine/src/error/mod.rs:1529-1541 | core/engine/src/error/mod.rs:1777-1792 \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":"core/engine/src/error/mod.rs"},"region":{"startLine":1529}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f48fe4efa4437704a5d15b32a5d835ed39458a09be86f4e3ee16e6192517db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/vm/opcode/iteration/for_in.rs:16-29 | core/engine/src/vm/opcode/iteration/iterator.rs:64-79 \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":"core/engine/src/vm/opcode/iteration/for_in.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5140dc24fc38f3b8e381e17036aaa513f7bce2f82d17b7988466df0dc50b93d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 6\u002B corresponding lines): utils/small_btree/src/lib.rs:173-178 | utils/small_btree/src/lib.rs:189-197 | utils/small_btree/src/lib.rs:219-227 | utils/small_btree/src/lib.rs:274-282 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/small_btree/src/lib.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"878763e776021307f73860ea114ed712a063e80005a63a01ba8bb895bd82befd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): core/engine/src/builtins/intl/date_time_format/options.rs:356-363 | core/engine/src/builtins/intl/date_time_format/options.rs:394-401 | core/engine/src/builtins/intl/date_time_format/options.rs:442-451 | core/engine/src/builtins/intl/date_time_format/options.rs:488-495 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/options.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b77d069f6e4e621b16d2a2a07cf0429d3c08a6980543997e11b162cd5b4761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): core/engine/src/builtins/object/mod.rs:1018-1033 | core/engine/src/builtins/object/mod.rs:1043-1058 | core/engine/src/builtins/object/mod.rs:1072-1088 \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":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"e148a98466048c14b60a8c41075dc83dfd6e4ee0329d8a4631bba7e47a8bb92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/engine/src/context/mod.rs:262-273 | core/engine/src/realm.rs:223-234 \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":"core/engine/src/context/mod.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cc70e3c75431feacb5a20fadae9f7f943e1768431e8c14efedb6b8a151c745"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): core/engine/src/vm/mod.rs:433-446 | core/engine/src/vm/mod.rs:450-461 | core/engine/src/vm/mod.rs:469-480 \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":"core/engine/src/vm/mod.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f1fa79be9373c0b98e3bed9500589c5634f74a0dec82c3d843f9f8c80992eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/property/mod.rs:1035-1043 | core/engine/src/property/mod.rs:1048-1054 \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":"core/engine/src/property/mod.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fa542efd74419ceaf6f52183f8aaa30090fa61a216e1f8e7a5217cc8c144de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): core/engine/src/builtins/async_function/mod.rs:68-85 | core/engine/src/builtins/async_generator_function/mod.rs:73-90 | core/engine/src/builtins/generator_function/mod.rs:78-95 \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":"core/engine/src/builtins/async_function/mod.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6d8fb6f391c8ca4f8e8e380d899d748caa9ee40594ea898a7fdffc67ad695c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/engine/src/builtins/promise/mod.rs:1788-1797 | core/engine/src/builtins/promise/mod.rs:1832-1843 \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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4abfff3a9730257bc61852eb8620f937bf5ab3015f635d20db78463aa2be99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): core/engine/src/object/builtins/jsset.rs:219-229 | core/engine/src/object/builtins/jsweakmap.rs:168-178 | core/engine/src/object/builtins/jsweakset.rs:112-122 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsset.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aafa571ef0d9e1a0cfa0493ccd6419e0b7d40cc65fb90317359d20498f9feb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/engine/src/vm/opcode/environment/mod.rs:97-114 | core/engine/src/vm/opcode/object.rs:55-68 \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":"core/engine/src/vm/opcode/environment/mod.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd78ce0d4e2b668cbf4f733d9bea5c1fa27fd8f5748d22e20e0c86d71f1e2f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/vm/opcode/switch/mod.rs:20-26 | core/engine/src/vm/opcode/control_flow/jump.rs:275-281 \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":"core/engine/src/vm/opcode/switch/mod.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec331666b2a953ba023eed34bbc1764306ec09e5c308c93aaa59f937191a1cc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/parser/src/parser/statement/throw/mod.rs:45-56 | core/parser/src/parser/statement/variable/mod.rs:56-65 \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":"core/parser/src/parser/statement/throw/mod.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53d9e83992f612ef7f9adcedf7743a6934907d01bbf450c579129e568776499"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/engine/src/object/builtins/jsarray.rs:454-462 | core/engine/src/object/builtins/jstypedarray.rs:869-878 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04a7f766f5998c32e674e2e8d2fae720b17715219409091aa540fd9715f9756"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/object/builtins/jsarray.rs:276-286 | core/engine/src/object/builtins/jstypedarray.rs:241-251 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d1716ddcdc59c37d60118a703bc356e0c38b14f162a94ceb2505381c0fcc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/engine/src/object/builtins/jsarray.rs:295-305 | core/engine/src/object/builtins/jstypedarray.rs:260-270 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"9406b95e09b715609fe31c4b8b375e98b1132eb97e377b7e047ad48152d491d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): core/engine/src/object/operations.rs:232-246 | core/engine/src/object/operations.rs:300-318 | core/engine/src/object/operations.rs:329-343 \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":"core/engine/src/object/operations.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b448e00a808aac693ef16e9bcbf10d41b95918c8b8ec4b605f498ddca7d136"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/vm/opcode/delete/mod.rs:98-105 | core/engine/src/vm/opcode/get/name.rs:133-141 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/delete/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02e087db0d5aad09814e55cae3783258db9dd2cb1bb5f14a2fecfd8a508d9d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/ast/src/scope_analyzer.rs:49-61 | core/ast/src/scope_analyzer.rs:75-87 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f09d0479aab894d6a66097f57be373ad7d4ce798c1a6b8a79a519e96b4938ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/engine/src/module/source.rs:295-303 | core/engine/src/module/source.rs:308-323 \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":"core/engine/src/module/source.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d673774972ce29fa411228cb8a70f8a8accac1926688603dde7927462e42ae35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): core/engine/src/object/builtins/jsarray.rs:438-450 | core/engine/src/object/builtins/jstypedarray.rs:198-210 | core/engine/src/object/builtins/jstypedarray.rs:313-325 | core/engine/src/object/builtins/jstypedarray.rs:349-361 | core/engine/src/object/builtins/jstypedarray.rs:370-382 | core/engine/src/object/builtins/jstypedarray.rs:474-486 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d74d9ad2f1164ad0625bfb302977808a13d39839a9ba5b0f808d7d50f1f2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/runtime/src/fetch/request.rs:269-278 | core/runtime/src/fetch/response.rs:512-521 \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":"core/runtime/src/fetch/request.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb89105053ea3d8b9b09bd06f6fd067856e5eff57dd23f1937917601b7a7372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/builtins/temporal/instant/mod.rs:257-264 | core/engine/src/builtins/temporal/plain_time/mod.rs:441-451 \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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"573b75b34112407bb0c872a3f59e9f6164a8b01ca48cce63a2d0bfc681784647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/engine/src/object/builtins/jsweakmap.rs:73-76 | core/engine/src/object/builtins/jsweakset.rs:72-75 \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":"core/engine/src/object/builtins/jsweakmap.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70ed7235b41e4a92eff34892a02befcd3a1ecce56e8c10e04934d62c32a8f14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/engine/src/object/builtins/jsweakmap.rs:86-89 | core/engine/src/object/builtins/jsweakset.rs:60-63 \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":"core/engine/src/object/builtins/jsweakmap.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fff64db5b4be5a61d43d606db2f6fcd37328ece1edf52a91f98b78d45572a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/engine/src/vm/opcode/to/mod.rs:16-21 | core/engine/src/vm/opcode/unary_ops/mod.rs:139-147 \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":"core/engine/src/vm/opcode/to/mod.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2290b3c2bc722e70843df3d073b0d95c4bc093d47a336f71ce53df864d73434c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/engine/src/builtins/finalization_registry/mod.rs:77-87 | core/engine/src/builtins/weak/weak_ref.rs:33-42 \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":"core/engine/src/builtins/finalization_registry/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3bb3a487f8bbeaf67dabfb7faf793ba7ff90b543062ed16dab37935f3eb4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): cli/src/executor.rs:47-53 | core/engine/src/job.rs:880-885 \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":"cli/src/executor.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"870a2735f49aa6e412a77c5c45caee3f0fa5a9c95aafdff09470b7ec7676787b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/engine/src/object/builtins/jsarray.rs:422-430 | core/engine/src/object/builtins/jstypedarray.rs:837-845 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ecde208946b6a285d43d61b76e2e9f52ee1cb58388844c9b130ebe44eeea81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): cli/src/debug/shape.rs:63-69 | cli/src/debug/object.rs:48-57 \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":"cli/src/debug/shape.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45afe8af4216bf006a2f68475f25756b56263f8781d7d2bd7ff1e2e24b9717c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): core/engine/src/builtins/array/array_iterator.rs:79-86 | core/engine/src/builtins/regexp/regexp_string_iterator.rs:84-108 | core/engine/src/builtins/set/set_iterator.rs:85-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/array_iterator.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5f6b3ac9bce262080923cca90e172547316cf2fb5e054822bcbe94b69b3ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/module/mod.rs:177-183 | core/engine/src/script.rs:37-43 \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":"core/engine/src/module/mod.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"759c5512b98a3882567aba106f166a135b7cef2d24145b084d8d2ea73f1bd074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): core/ast/src/function/async_function.rs:103-110 | core/ast/src/function/async_generator.rs:104-111 | core/ast/src/function/generator.rs:101-108 | core/ast/src/function/ordinary_function.rs:104-111 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/function/async_function.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb8d1febd963859d14fe28b6757438a7ca5a2cf64f6fde50bd1bd6c259c151a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/vm/opcode/push/array.rs:17-24 | core/engine/src/vm/opcode/push/object.rs:16-23 \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":"core/engine/src/vm/opcode/push/array.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0566a33efbc3d9542b75699ac8dc3739b76aff1cb59ed279c28a6132e450a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/builtins/map/ordered_map.rs:214-220 | core/engine/src/builtins/set/ordered_set.rs:160-166 \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":"core/engine/src/builtins/map/ordered_map.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"581e7a8000b602fad6c375d303cdb49b05de37c6dbd51946949b85f73f4e1324"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): core/engine/src/object/builtins/jsarraybuffer.rs:150-159 | core/engine/src/object/builtins/jsdataview.rs:156-165 | core/engine/src/object/builtins/jssharedarraybuffer.rs:72-81 \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":"core/engine/src/object/builtins/jsarraybuffer.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"436b64cad9aabf9e008b351dbd224700be23e251ccb565b06036e2903aca085c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/engine/src/vm/opcode/binary_ops/logical.rs:15-20 | core/engine/src/vm/opcode/control_flow/jump.rs:59-64 \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":"core/engine/src/vm/opcode/binary_ops/logical.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1beaecfe9f90a386ad7a35b6e913bd4cac5ddd8f97f9ab6ff7e1eac867ca42e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/ast/src/function/ordinary_function.rs:284-289 | core/ast/src/source.rs:60-65 \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":"core/ast/src/function/ordinary_function.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"96255791987ce3134243725325385826a445e43597ade3c66f99a096ed13c6b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/engine/src/vm/opcode/binary_ops/logical.rs:38-43 | core/engine/src/vm/opcode/control_flow/jump.rs:36-41 \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":"core/engine/src/vm/opcode/binary_ops/logical.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a4cfa98755d7afab33228f59d167e189d63248f436724d5e62af8ad72e7102"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/engine/src/vm/opcode/binary_ops/logical.rs:61-66 | core/engine/src/vm/opcode/control_flow/jump.rs:82-87 \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":"core/engine/src/vm/opcode/binary_ops/logical.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"462d73772575c9b2e208a9675e0c9f74530458dc07f6051c6b1e66e34b8b7dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/engine/src/module/synthetic.rs:119-134 | core/engine/src/native_function/continuation.rs:107-121 \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":"core/engine/src/module/synthetic.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"de53b931af30aa06e4c19d45601ede1fb70b133dc86901167bbc594c0b092cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/engine/src/builtins/builder.rs:686-700 | core/engine/src/object/mod.rs:759-770 \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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf789d68cc1fbbfd63f374587bf832e43a7bd27455825bf516b67ad12419fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): core/engine/src/builtins/regexp/mod.rs:830-847 | core/string/src/lib.rs:56-74 \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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"4226a06fe703b62e26805ceb90b582d8a8684f33455c898f05c6d3edfa385611"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/engine/src/vm/opcode/iteration/iterator.rs:231-240 | core/engine/src/vm/opcode/value/mod.rs:44-47 \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":"core/engine/src/vm/opcode/iteration/iterator.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aef5d19a678028ec675e03102d31c0cd2d0e575b629b7fcca3eba715695583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): core/engine/src/builtins/intl/segmenter/iterator.rs:82-103 | core/engine/src/builtins/intl/segmenter/segments.rs:38-50 | core/engine/src/builtins/string/string_iterator.rs:53-67 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/segmenter/iterator.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"87133691b88f71ac01f2bda9bb7cc7f79a9a7457a6ff0ab84738168e1b2149e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/object/builtins/jsarray.rs:223-229 | core/engine/src/object/builtins/jstypedarray.rs:495-501 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"71726b1b393c630973bc46e2df1e5b2276537a9295cf17dd1520b405a157dc69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/object/builtins/jsarray.rs:397-403 | core/engine/src/object/builtins/jstypedarray.rs:391-397 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"93939fbec75cb832c17f53bc2e78dac2c0c37a0e8fcbb536af72a080d125816e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/engine/src/object/builtins/jsarray.rs:412-418 | core/engine/src/object/builtins/jstypedarray.rs:406-412 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c81f96f94e1dbf1a22bfa4a0da7e30012747c1dbd1fba67933b15697f6fb8ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): core/engine/src/optimizer/pass/dead_code_elimination.rs:63-70 | core/engine/src/optimizer/pass/strength_reduction.rs:25-32 \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":"core/engine/src/optimizer/pass/dead_code_elimination.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8378669f19fa3452141be81747aa330b5cbc6f621ac0fdf5d0b378cd163053a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/wintertc/src/store/from.rs:20-23 | core/wintertc/src/store/to.rs:16-19 \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":"core/wintertc/src/store/from.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c817a498e9874d7134bc60cc681274307dc6830092566c6e8fea0d11ee2015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/ast/src/declaration/variable.rs:391-396 | core/ast/src/expression/operator/assign/mod.rs:206-212 \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":"core/ast/src/declaration/variable.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a593a8bbab94a5548f7dc2ede9b8f47fb9d4ae1cb2351081f78a6624b17c959e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/ast/src/declaration/variable.rs:401-406 | core/ast/src/expression/operator/assign/mod.rs:217-223 \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":"core/ast/src/declaration/variable.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f80dc6b670d41ea4f57cb24f41662552445188318cc4406ba12d487195bc77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): core/engine/src/builtins/array_buffer/mod.rs:462-471 | core/engine/src/builtins/error/mod.rs:429-442 \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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8837f940a015bc463a06e8db3c5a8fd40363303828b9bc3e3705915842ddd86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/engine/src/object/builtins/jsarray.rs:112-115 | core/engine/src/object/builtins/jstypedarray.rs:416-419 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9f18842ee05d0c5903c65b76bbb741d33fd38419d395b744200f88d6104a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/engine/src/object/builtins/jsarray.rs:94-96 | core/engine/src/object/builtins/jstypedarray.rs:77-79 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5ec545094574c0f7a080e707ace78d584802be089e7bf9f275f666c8f9bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/parser/src/parser/statement/declaration/lexical.rs:227-235 | core/parser/src/parser/statement/mod.rs:262-271 \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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1854a92deb9a9938631992244c2054eccdc1067f0957c65f20638312b44cc831"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/wintertc/src/store/from.rs:25-28 | core/wintertc/src/store/to.rs:21-24 \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":"core/wintertc/src/store/from.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fccbf233fc52a977b6380a82f48ba01c4effff1b67ee6577119c949d3f96e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/engine/src/object/builtins/jsweakmap.rs:47-49 | core/engine/src/object/builtins/jsweakset.rs:47-50 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsweakmap.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e619a808789f291f0c41a1438dcac10989fa111540a98171c4bf4ab1e53ed759"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/engine/src/vm/opcode/control_flow/return.rs:99-102 | core/engine/src/vm/opcode/generator/yield_stm.rs:25-29 \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":"core/engine/src/vm/opcode/control_flow/return.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e94e44ee68052213e85812f6dce6bd573d88131d2ae4d59c14ab7ea7c3d762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): core/ast/src/expression/operator/assign/mod.rs:77-79 | core/ast/src/expression/operator/binary/mod.rs:92-94 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/expression/operator/assign/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b10006c2221331035d0ada439f330f9b51aa9d2812000ee3800826184e2d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/string/src/vtable/sequence.rs:188-192 | core/string/src/vtable/slice.rs:104-108 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/vtable/sequence.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e61ff78bd8609b91beb8272cb92e7d35d9c9a71f2f22e5704025bdbb601d81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/ast/src/statement/iteration/for_of_loop.rs:110-117 | core/ast/src/statement/iteration/while_loop.rs:55-61 \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":"core/ast/src/statement/iteration/for_of_loop.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0df6e62de0897c77829cc7c3f4bad10ed0b5f018a2c1b14ef5933c05b5b38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:434-508 | core/engine/src/bytecompiler/declarations.rs:705-779 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/declarations.rs:434\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, \u0060core/engine/src/bytecompiler/declarations.rs:431\u0060 calls \u0060reverse\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs:702\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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb52415d6867095d46f920ddc5539983a43ff1911efc3aa6558e3325478e0e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): core/ast/src/operations/mod.rs:1192-1255 | core/ast/src/operations/mod.rs:1261-1324 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060\u0026\u0027ast ClassExpression\u0060 in one and \u0060\u0026\u0027ast ClassDeclaration\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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e3e319e834ae0c2a60ef3474c89d2cb974a4d6378fbe94daa677a4dccdb2e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:1734-1780 | core/engine/src/builtins/date/utils.rs:541-587 \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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"888470cafad08391b620dd89fa73e2547d9b7f3f9e60a2836a88b9c6ae667c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): core/engine/src/module/namespace.rs:315-360 | core/engine/src/module/namespace.rs:403-448 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/module/namespace.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/module/namespace.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"794a4358fdf51b5ca52fb45445419ba028578fc209368704b9d444716db2cfb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201346 lines \u00D7 2): core/parser/src/parser/expression/left_hand_side/mod.rs:162-207 | core/parser/src/parser/expression/left_hand_side/mod.rs:222-264 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/expression/left_hand_side/mod.rs:162\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":"core/parser/src/parser/expression/left_hand_side/mod.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9321200dbe6d188071597e725cf26361a24e1a43cd42bdeba98554b64ab7200b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin_uint8.rs:58-102 | core/engine/src/builtins/typed_array/builtin_uint8.rs:318-361 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:58\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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3698edd4bd904a40c4b6b77238435eb30dea13f9ddf1a84c2f3d3a85d78c52af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1779-1819 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2150-2190 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:1779\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f64812d51b181acecbf91eca45d9767a9b5695d90a2f3256572b106b89eab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1030-1065 | core/ast/src/scope_analyzer.rs:1097-1132 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:1030\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 \u0060node\u0060 to \u0060\u0026\u0027ast mut ForInLoop\u0060 in one and \u0060\u0026\u0027ast mut ForOfLoop\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"5698612b1e753d9a1e5285a627eaa62b9a58d463ead974554cdaa95009df1705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): core/engine/src/object/builtins/jspromise.rs:1235-1267 | core/engine/src/object/builtins/jspromise.rs:1299-1333 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/builtins/jspromise.rs:1235\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":"core/engine/src/object/builtins/jspromise.rs"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec586fee8b96430075d259598a548be07c7d77cde018219f2c12df52ec93382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): core/engine/src/builtins/iterable/async_from_sync_iterator.rs:176-208 | core/engine/src/builtins/iterable/async_from_sync_iterator.rs:269-302 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/iterable/async_from_sync_iterator.rs:176\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":"core/engine/src/builtins/iterable/async_from_sync_iterator.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a880cc7ac238246857a19aef2c177b3847776d1b089ec13a89a9eed53feb238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201333 lines \u00D7 5): core/engine/src/builtins/temporal/duration/mod.rs:897-928 | core/engine/src/builtins/temporal/instant/mod.rs:495-525 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1323-1351 | core/engine/src/builtins/temporal/plain_time/mod.rs:643-671 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1470-1502 \u2014 \u0060core/engine/src/builtins/temporal/duration/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/instant/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 3 separate duplicated blocks between them, totalling at least 50 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 \u0060core/engine/src/builtins/temporal/duration/mod.rs:897\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa388ec9a4eaf30559f6cc6230d9bad508eee2575ed46998864fc1c95ad774ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:2171-2203 | core/engine/src/builtins/typed_array/builtin.rs:2505-2536 \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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2171}}}],"partialFingerprints":{"codehealthFindingId/v1":"478249d5629e04b1ecee294ac16953a92881c7bf499598e8ce8ede77f708ae8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): core/engine/src/builtins/intl/date_time_format/mod.rs:219-251 | core/engine/src/builtins/intl/number_format/mod.rs:268-298 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/number_format/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 7 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 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs:219\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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6efa789de666de43f5446aa77a2135bb968279d7c94902410e08d19b4d3adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:917-949 | core/engine/src/builtins/promise/mod.rs:1007-1039 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:917\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dee910895695bf87d74280116baa3abae3041a6d7238bd46b18ed0bcabcf160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): core/engine/src/native_function/mod.rs:339-371 | core/engine/src/native_function/mod.rs:403-434 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/native_function/mod.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf5e841afa34f8d8fa5b8d8e0a496fa7132d32f875d562620e4f0d67a70fa46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 3): core/parser/src/parser/expression/primary/object_initializer/mod.rs:760-791 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:859-890 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:936-965 \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 \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:760\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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5310c1a19055b8d3d9bccd34818b613305800de2bee1173438f55496700b65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): core/engine/src/builtins/intl/date_time_format/mod.rs:979-1009 | core/engine/src/builtins/intl/number_format/mod.rs:700-730 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/number_format/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 7 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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"361ce756f62affbb2af946031997f0b0677b3d5f3ba25fed94d2bb145e9e6c56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): core/engine/src/builtins/object/mod.rs:366-395 | core/engine/src/builtins/object/mod.rs:412-441 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/object/mod.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ec5ab1fafc860614a2ff6f5ae8709c284b3c20df70bfc0edf37a34332a603a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): core/engine/src/module/source.rs:2044-2073 | core/engine/src/module/source.rs:2199-2228 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/module/source.rs:2044\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":"core/engine/src/module/source.rs"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b11e9324fc3df9a024999c423287c270ace69b96ab6c0b26587c1cfb67c464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:649-676 | core/engine/src/builtins/promise/mod.rs:1542-1570 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:649\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cfdcb7e91651938b0022ae4c68a54cda03b83b0578a68ef3bd7f2ed718cd79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201329 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin_uint8.rs:178-206 | core/engine/src/builtins/typed_array/builtin_uint8.rs:458-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 \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:178\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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7d2e6e6572d9028a48dc1dfd51938ccad62b7dadd88702e8c2b9c06c833d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201328 lines \u00D7 2): core/engine/src/builtins/intl/collator/mod.rs:423-450 | core/engine/src/builtins/intl/list_format/mod.rs:380-402 \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 \u0060core/engine/src/builtins/intl/collator/mod.rs:423\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":"core/engine/src/builtins/intl/collator/mod.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"42089b405f8f0c7ad753a35af78b16c6a6064d8406c255abaccc5e4ae076006a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): core/engine/src/builtins/intl/list_format/mod.rs:110-137 | core/engine/src/builtins/intl/segmenter/mod.rs:149-175 \u2014 \u0060core/engine/src/builtins/intl/list_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/segmenter/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 3 separate duplicated blocks between them, totalling at least 57 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 \u0060core/engine/src/builtins/intl/list_format/mod.rs:110\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":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b289945840f0d23b0e23047a0ee21c40c134edb44f4dd8b0850c7bc4b2e38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_helper/mod.rs:128-155 | core/engine/src/builtins/iterable/iterator_helper/mod.rs:230-256 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/iterable/iterator_helper/mod.rs:128\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":"core/engine/src/builtins/iterable/iterator_helper/mod.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e097575e0bb55b0a0f51ce0a0562d9cc9f1dcb894551a0972396b748c5cb36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:881-908 | core/engine/src/builtins/promise/mod.rs:971-998 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f271a799df0ef79ec70b7ba5264d0f5ac5c08df65c7928ccbe50aa78444bba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): core/parser/src/parser/expression/assignment/async_arrow_function.rs:115-140 | core/parser/src/parser/expression/assignment/mod.rs:187-214 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs\u0060 and \u0060core/parser/src/parser/expression/assignment/mod.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 88 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs:115\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":"core/parser/src/parser/expression/assignment/async_arrow_function.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2064188eb41608e05b1d978e1bfd85fcf11e60ef270b389a442528fb5e5ef168"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): core/parser/src/parser/statement/mod.rs:598-624 | core/parser/src/parser/statement/mod.rs:629-656 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/mod.rs:598\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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e756a15ed9a42d03282f995c88de6e026f69a7dee26d56a8b2cdfbf3f552656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 5): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:115-140 | core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:148-172 | core/parser/src/parser/expression/primary/function_expression/mod.rs:110-135 | core/parser/src/parser/expression/primary/generator_expression/mod.rs:117-142 | core/parser/src/parser/statement/declaration/hoistable/mod.rs:214-236 \u2014 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs\u0060 and \u0060core/parser/src/parser/expression/primary/async_generator_expression/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 5 separate duplicated blocks between them, totalling at least 82 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 \u0060core/parser/src/parser/statement/declaration/hoistable/mod.rs:214\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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"710fb4ea848453a1cae3be5c63d308f0fe0b198055391e0314e198044240e9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 3): core/engine/src/bytecompiler/class.rs:416-441 | core/engine/src/bytecompiler/class.rs:519-542 | core/engine/src/bytecompiler/class.rs:563-586 \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 \u0060core/engine/src/bytecompiler/class.rs:416\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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc23076eccce9296c0b73acbf1955c7f08315b6841af509b1a11a8536fa47ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): core/engine/src/builtins/array/from_async.rs:472-497 | core/engine/src/builtins/array/from_async.rs:649-674 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/from_async.rs:472\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":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced03116507638c4e33995476bc690c32c90b7894e4a78620b41daca385fcfad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201326 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:871-896 | core/engine/src/builtins/promise/mod.rs:1252-1265 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:871\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb079aa6560738f322040e3b292b277ab937107d3f805ee01bdc3fcbb110a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:2325-2350 | core/engine/src/bytecompiler/mod.rs:2366-2391 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:2325\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f014c238f36024124212dfe43a5bfc59c08e90e87ae5f003310fe1f0eac9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): core/parser/src/parser/expression/left_hand_side/call.rs:134-159 | core/parser/src/parser/expression/left_hand_side/member.rs:248-273 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/left_hand_side/call.rs\u0060 and \u0060core/parser/src/parser/expression/left_hand_side/member.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/parser/src/parser/expression/left_hand_side/call.rs:134\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":"core/parser/src/parser/expression/left_hand_side/call.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7df748ef559643e64e6ddbcfe83706c8dbc7573201dccb6e8fa358f290c7b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:78-102 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:81-105 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:81-105 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:78\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"72756518f43cbe632a265f9e651ece9b8cfe27b247d50fef980d985f4d16ca8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): core/engine/src/builtins/function/mod.rs:1065-1088 | core/engine/src/builtins/function/mod.rs:1173-1197 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/function/mod.rs:1065\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":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"d383c47e98dfee0cd9d2055df2c1d8a40c9c5f5f2d6f25d1acc1e1fdb29f2788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 5): core/parser/src/parser/expression/primary/object_initializer/mod.rs:433-456 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:499-521 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:767-788 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:866-887 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:941-962 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:433\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:494\u0060 calls \u0060parse\u0060 and \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:427\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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9af371e56a6cb7c1678bee73ac9f73d744207d115e0391101be2823c4f8bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): core/ast/src/scope_analyzer.rs:1783-1806 | core/ast/src/scope_analyzer.rs:2163-2186 | core/ast/src/scope_analyzer.rs:2481-2504 \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 \u0060core/ast/src/scope_analyzer.rs:1783\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0e16648f3b1d310cfa8ed4a328f4d058de288643e56660230ecc05414855b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): core/ast/src/scope.rs:435-458 | core/ast/src/scope.rs:487-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 \u0060core/ast/src/scope.rs:435\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":"core/ast/src/scope.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46b19c6ec9d0163a33c04973b62f7f91622dbe3a5f7c36b24763c49e00f9897"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): core/engine/src/builtins/builder.rs:437-460 | core/engine/src/builtins/builder.rs:469-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 \u0060core/engine/src/builtins/builder.rs:437\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 \u0060self\u0060 to \u0060crate) fn build(mut\u0060 in one and \u0060crate) fn build_without_prototype(mut\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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f668ba79b3fb9b9cb388d7520cb0df62d81512b08c812a54ce3e84f5937ace0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:1292-1315 | core/engine/src/builtins/promise/mod.rs:1367-1388 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:1292\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, \u0060core/engine/src/builtins/promise/mod.rs:1316\u0060 calls \u0060clone\u0060 and \u0060core/engine/src/builtins/promise/mod.rs:1389\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"55989497150e1661f11a431d7a12cee2efb106a599e77f42a38e0b92124ce617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:2288-2310 | core/engine/src/builtins/typed_array/builtin.rs:2343-2366 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:2288\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, \u0060core/engine/src/builtins/typed_array/builtin.rs:2339\u0060 calls \u0060from_kind_and_length\u0060, \u0060borrow\u0060, \u0060data\u0060 and \u0060core/engine/src/builtins/typed_array/builtin.rs:2284\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0254375ee1533eb694f0ea28c4c57e6a1b83d1fe7a497b6884f3e78d2de254"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): core/engine/src/builtins/async_generator/mod.rs:122-144 | core/engine/src/builtins/async_generator/mod.rs:207-229 | core/engine/src/builtins/async_generator/mod.rs:287-309 \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":"core/engine/src/builtins/async_generator/mod.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e46ee13dd63f28323e60cea21d9605f5a4d14329ee45fd46aef2fd351f5c239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:107-129 | core/engine/src/builtins/temporal/plain_time/mod.rs:60-82 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:107-129 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cff12df3b91967bd354ff289fd13c9de04de10257e71f2310a9411a1040b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/ast/src/function/class.rs:94-116 | core/ast/src/function/class.rs:262-284 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/function/class.rs:94\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/function/class.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41773708a69bc36aafa8e17e6a6f480484c39fb11cbeedfd020b5e5399c0945"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1943-1965 | core/engine/src/bytecompiler/declarations.rs:944-966 \u2014 before extracting anything, compare \u0060core/ast/src/scope_analyzer.rs\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6955ae39f61974f567bc3978d9b03467731df5789f5846104f27f169fd7aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:1471-1493 | core/engine/src/builtins/array/mod.rs:2045-2067 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/mod.rs:1471\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7103790ab11b0934c46dbc068f4b9a63c7960c3ecf50a5632b2d4af0d16fa20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin_uint8.rs:135-157 | core/engine/src/builtins/typed_array/builtin_uint8.rs:394-416 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:135\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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c263225ae265f4b6c6111e1444436ad0c2e5b3214c09c1dd6bca8c13b8d53a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): core/engine/src/object/builtins/jspromise.rs:1269-1291 | core/engine/src/object/builtins/jspromise.rs:1336-1357 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/builtins/jspromise.rs:1269\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":"core/engine/src/object/builtins/jspromise.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1642fccdac35f72c36eb6a6c2c86996605d0eb60ab0fbd1a54e82a26e366c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): core/engine/src/object/property_map.rs:211-233 | core/engine/src/object/property_map.rs:248-270 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/property_map.rs:211\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, \u0060core/engine/src/object/property_map.rs:210\u0060 calls \u0060DenseF64\u0060 and \u0060core/engine/src/object/property_map.rs:247\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":"core/engine/src/object/property_map.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab428e24a901e7975590c476e5583508e1c0cc1badadffaba175cc6e5e04074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): core/parser/src/parser/expression/primary/object_initializer/mod.rs:222-244 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:253-272 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:222\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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea39958e7b62943d91497833f2630b9cdd5e0a1eb30b9ad6b22b429fa1ad46ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:1433-1453 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1765-1785 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1033-1054 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2136-2156 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1433\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2d1a83ce951d7a408479187e72bdc82fd3dcff9ca08861d382897b23584c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): core/engine/src/builtins/promise/mod.rs:590-611 | core/engine/src/builtins/promise/mod.rs:805-826 | core/engine/src/builtins/promise/mod.rs:1482-1503 \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 \u0060core/engine/src/builtins/promise/mod.rs:590\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"315584f870f9189288c57fbcd3d0f672763ad904ad0c79b342f4aba78fc3e14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): core/engine/src/vm/opcode/define/class/setter.rs:40-60 | core/engine/src/vm/opcode/define/class/setter.rs:98-119 | core/engine/src/vm/opcode/define/class/setter.rs:208-229 \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 \u0060core/engine/src/vm/opcode/define/class/setter.rs:40\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":"core/engine/src/vm/opcode/define/class/setter.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"376fa5982d4cd2d5958ad3cb959044811d42e0c291bd424d51b76f453090ef4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): core/parser/src/parser/expression/assignment/arrow_function.rs:100-121 | core/parser/src/parser/expression/assignment/async_arrow_function.rs:106-127 | core/parser/src/parser/expression/assignment/mod.rs:178-199 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/assignment/arrow_function.rs\u0060 and \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs:100\u0060 calls \u0060peek_expect_no_lineterminator\u0060, \u0060expect\u0060, \u0060parse\u0060 and \u0060core/parser/src/parser/expression/assignment/arrow_function.rs:97\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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea5030fa111575275f2bec26ddd766f45f8fdea96730f736a2646dc2db8fa00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1738-1759 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2109-2130 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:1738\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9003a6111ef6751f9ac91ba49f10050211babd0a2ba8fe5d4c6073340687b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): core/engine/src/builtins/intl/date_time_format/mod.rs:945-965 | core/engine/src/builtins/intl/list_format/mod.rs:269-288 | core/engine/src/builtins/intl/number_format/mod.rs:647-667 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/list_format/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 3 separate duplicated blocks between them, totalling at least 42 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 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs:945\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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6af7656f2645c85d124fbcaf66eb35923950e2e08d8a81563eb8080094532a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 3): core/parser/src/parser/expression/assignment/arrow_function.rs:138-157 | core/parser/src/parser/expression/assignment/async_arrow_function.rs:132-150 | core/parser/src/parser/expression/assignment/mod.rs:204-224 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/assignment/arrow_function.rs\u0060 and \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 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 \u0060core/parser/src/parser/expression/assignment/arrow_function.rs:138\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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfe0ba387cfad2229298b6576c96841bd5b1e1e324c63d02a2d53d889d38599"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): core/engine/src/builtins/array/from_async.rs:318-337 | core/engine/src/builtins/array/from_async.rs:546-566 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/from_async.rs:318\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 \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":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de91b2ca8ef5d5c4f0ed96460f58bc78d578fa60a68a6cefba7413d1635ad10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:100-120 | core/engine/src/bytecompiler/declarations.rs:705-731 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb3798c44de8d924b5f4fa47582eea2d47648f654e019c348b41565741354d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:411-431 | core/engine/src/bytecompiler/declarations.rs:658-678 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/declarations.rs:411\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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62ab0a8a101f7b701766fcaa94f3752f1cff98e008e20c1c8fbfbc4e1f783cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:871-890 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:973-993 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:871\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50a19d73af5200a31eb9ba36b631c81b69ae6fd6322eacd0d997d44d6dfc439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): core/parser/src/parser/statement/declaration/lexical.rs:398-418 | core/parser/src/parser/statement/declaration/lexical.rs:439-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 \u0060core/parser/src/parser/statement/declaration/lexical.rs:398\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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"04df236f208b8aedb49597fe90f3eb4b5ddfb89946b591bc459d7a94931de47e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201320 lines \u00D7 5): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:95-109 | core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:128-142 | core/parser/src/parser/expression/primary/function_expression/mod.rs:90-104 | core/parser/src/parser/expression/primary/generator_expression/mod.rs:96-111 | core/parser/src/parser/statement/declaration/hoistable/mod.rs:190-209 \u2014 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs\u0060 and \u0060core/parser/src/parser/expression/primary/async_generator_expression/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 5 separate duplicated blocks between them, totalling at least 82 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 \u0060core/parser/src/parser/statement/declaration/hoistable/mod.rs:190\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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e258df6fc48945065c4ce76ea4a966f564bfa4cde2331b4f0474ffd60145b89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 4): core/engine/src/bytecompiler/mod.rs:2254-2269 | core/engine/src/bytecompiler/mod.rs:2304-2319 | core/engine/src/bytecompiler/mod.rs:2345-2364 | core/engine/src/bytecompiler/mod.rs:2386-2404 \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 \u0060core/engine/src/bytecompiler/mod.rs:2254\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72ff4bc2be4e28e3f82251af4e36ae9f2af2dec79c56bbad359182010bce130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): core/engine/src/builtins/promise/mod.rs:565-584 | core/engine/src/builtins/promise/mod.rs:780-799 | core/engine/src/builtins/promise/mod.rs:1457-1476 \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 \u0060core/engine/src/builtins/promise/mod.rs:565\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cc0d9f8393194f5a3c140aa8eae53f2aa843127241ebc64a85e12b18b98f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201320 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:283-295 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:349-364 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:210-229 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:283\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"715dc446a0c25fe3a5a1a2c8fd644470ddc9c276225614e98aa249691a81e187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): core/engine/src/vm/opcode/define/class/getter.rs:40-59 | core/engine/src/vm/opcode/define/class/getter.rs:97-116 | core/engine/src/vm/opcode/define/class/getter.rs:204-223 \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 \u0060core/engine/src/vm/opcode/define/class/getter.rs:40\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":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ad1676b60d1b7b73a21355f3c0f3fe117ea701e032cfcec36b2a272bc708c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/ast/src/scope_analyzer.rs:2102-2121 | core/engine/src/bytecompiler/declarations.rs:1149-1168 \u2014 before extracting anything, compare \u0060core/ast/src/scope_analyzer.rs\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/ast/src/scope_analyzer.rs:2102\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ca0a91b75165426fa3f73a6bc84ac78620bab9b3b1c90908f74f0d0b1d6c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/engine/src/builtins/json/mod.rs:399-418 | core/engine/src/builtins/json/mod.rs:443-462 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/json/mod.rs:399\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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cfc056c20d9a4539991566bb9c9427f320869cc0ce8f85889e1c82b7fcd4f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:2269-2288 | core/engine/src/builtins/typed_array/builtin.rs:2321-2336 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/typed_array/builtin.rs:2336\u0060 calls \u0060borrow\u0060, \u0060data\u0060, \u0060array_length\u0060 and \u0060core/engine/src/builtins/typed_array/builtin.rs:2288\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"667631cecd8a2af2823eb7e4b396e30e0c8622259eb44d5df456ed5e4eec41a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin_uint8.rs:576-595 | core/engine/src/builtins/typed_array/builtin_uint8.rs:630-649 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:576\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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"07335d948014a2bf51dd53f8ad36107a05a251c15ca0354aabcd956f80591fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): core/engine/src/builtins/uri/mod.rs:401-420 | core/engine/src/builtins/uri/mod.rs:468-485 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/uri/mod.rs:401\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":"core/engine/src/builtins/uri/mod.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"44025a5e965161929d1680595954b68e1e298e078a011207615d9e4599391feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:2463-2482 | core/engine/src/bytecompiler/mod.rs:2593-2612 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:2463\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 \u0060self\u0060 to \u0060crate) fn function(\u0026mut\u0060 in one and \u0060\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ad9dcebdbe7bc582b92fbaa2e6417f6958cefa611ca81d14e0eed1b50e37f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): core/engine/src/builtins/iterable/iterator_prototype.rs:732-750 | core/engine/src/builtins/iterable/iterator_prototype.rs:788-805 | core/engine/src/builtins/iterable/iterator_prototype.rs:847-865 \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 \u0060core/engine/src/builtins/iterable/iterator_prototype.rs:732\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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"33904d33aa26cdd2dae63b6571aed186ac128c4717835eabc82d321ec81a7b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): core/engine/src/builtins/dataview/mod.rs:221-239 | core/engine/src/object/builtins/jsdataview.rs:68-85 \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 \u0060core/engine/src/builtins/dataview/mod.rs:221\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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b776b51285d51b579f35dbd03c1886ca2f24e93f87c60e8b61c4ba16d48aea16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/parser/src/parser/statement/block/mod.rs:102-121 | core/parser/src/parser/statement/switch/mod.rs:81-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 \u0060core/parser/src/parser/statement/block/mod.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/block/mod.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18d272c8ae99abdf8f90e5a6de2ab3279cf8a38a97ac96ca27b55bb4741a6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): core/parser/src/parser/statement/declaration/export.rs:244-262 | core/parser/src/parser/statement/declaration/import.rs:209-227 \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 \u0060core/parser/src/parser/statement/declaration/export.rs:244\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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc96931dc92e30160fa9bb9dd05586784be4bcca7fdf4072874cd8b26f53ae0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 5): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:885-901 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:987-1004 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1029-1045 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1116-1131 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1206-1223 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbe86b3fbd3c1ae7e24516333b3104a2aabe63721ee19c188e9d62da5b8be2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cli/src/executor.rs:130-147 | cli/src/executor.rs:170-187 \u2014 both copies are in the same file, so extract the block 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 \u0060cli/src/executor.rs:130\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, \u0060cli/src/executor.rs:149\u0060 calls \u0060borrow_mut\u0060, \u0060clear_kept_objects\u0060 and \u0060cli/src/executor.rs:188\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":"cli/src/executor.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e59c64fce551fc7ee3035da60d6e6a6f596cef97f42201767a5d805503cd61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/ast/src/module_item_list/mod.rs:55-72 | core/ast/src/module_item_list/mod.rs:135-152 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/module_item_list/mod.rs:55\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":"core/ast/src/module_item_list/mod.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a953a6679b677a1bb75e272e430f5e66dec9ec3ff8c49855d2d671e2d9ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:2707-2724 | core/engine/src/builtins/array/mod.rs:2770-2784 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/array/mod.rs:2784\u0060 calls \u0060length_of_array_like\u0060, \u0060array_create\u0060 and \u0060core/engine/src/builtins/array/mod.rs:2724\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1f301edf915e41ee110ee5a5f2ab4349eb7a62f0e95fefc76511347b0a519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): core/engine/src/builtins/atomics/futex.rs:392-409 | core/engine/src/builtins/atomics/futex.rs:503-519 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/atomics/futex.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb91e848f3b393d662a07e246de34d3d40e3676b9ebcce275eabc5df1ac7d631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/date/utils.rs:909-926 | core/engine/src/builtins/date/utils.rs:935-952 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc178a733a53bf74a28b73ff4ecf9fe4891be4a8f8f0ed0667976a4fb99b178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_helper/mod.rs:183-199 | core/engine/src/builtins/iterable/iterator_helper/mod.rs:299-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/iterable/iterator_helper/mod.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":"core/engine/src/builtins/iterable/iterator_helper/mod.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"199401a7e3ce9966667106f73e4bf0f149a61c65da64b8740c1c55421757eb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/iterable/mod.rs:283-300 | core/engine/src/builtins/iterable/mod.rs:351-368 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/iterable/mod.rs:283\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":"core/engine/src/builtins/iterable/mod.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"baae174b93cfc8f3e5e82a367166803f3fa2f047c34e38076d6fb00c73bea601"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): core/engine/src/builtins/json/mod.rs:1073-1090 | core/engine/src/builtins/json/mod.rs:1202-1217 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/json/mod.rs:1073\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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"634aebfd72e6252fff5003ea878416fd6edd339d1dee33ac17ad87a3c373b80d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/map/mod.rs:753-770 | core/engine/src/builtins/object/mod.rs:1381-1398 \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 \u0060core/engine/src/builtins/map/mod.rs:753\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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9fef70f801d9c170a01b6009f22a1ef96b2cc2661f60e32cf401892aa499f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:1996-2013 | core/engine/src/builtins/promise/mod.rs:2047-2064 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:1996\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"426b22893c720ed9af8396df9cb6c303d0fcf98bfd9c5d5d1115a44021629108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:633-649 | core/engine/src/builtins/set/mod.rs:969-986 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/set/mod.rs:633\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"9539932f0e5c7d57f156e415f64e982d0e168d259544e2855bdb39889fd5a3b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/temporal/plain_year_month/mod.rs:633-650 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:668-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33b2833b46cd7390d1bd8d3054ed8ad096a11bf3e2a49e2a4346a1673795333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1617-1634 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1646-1663 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"1307a6aab2c670a24c5d7f13fc1f901220ef830f24e7eb957072f62f2506097b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:1085-1102 | core/engine/src/builtins/typed_array/builtin.rs:1149-1166 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:1085\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"586b38ba1062cf04d7192fa4f395b63a05843ab22e8ee3c6dbe51443d54737fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 2): core/engine/src/vm/opcode/call/mod.rs:35-52 | core/engine/src/vm/opcode/call/mod.rs:119-132 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/call/mod.rs:35\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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea71b14b905c49211362079117ccc98fea54cebf0f5d00d206299c519bac5f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/vm/opcode/environment/mod.rs:145-162 | core/engine/src/vm/opcode/environment/mod.rs:211-228 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/vm/opcode/environment/mod.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e530edba4afd9be0c32fdaf8d7da31a57e96ab88f8b78184590556c49317919f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/vm/opcode/push/class/private.rs:95-112 | core/engine/src/vm/opcode/push/class/private.rs:141-158 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/push/class/private.rs:95\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":"core/engine/src/vm/opcode/push/class/private.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6046b0f35631de6e38ce1eff33114a064daa5a1816436d719e3260eb085d46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/parser/src/parser/statement/mod.rs:859-876 | core/parser/src/parser/statement/mod.rs:883-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 \u0060core/parser/src/parser/statement/mod.rs:859\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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96476e9578f2f2e31d9e9d6b823f005408907dafa49cfae1dee33feae833095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 8): core/parser/src/parser/expression/assignment/arrow_function.rs:137-152 | core/parser/src/parser/expression/assignment/async_arrow_function.rs:131-145 | core/parser/src/parser/expression/assignment/mod.rs:203-219 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:432-448 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:498-513 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:766-780 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:865-879 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:940-954 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/assignment/arrow_function.rs\u0060 and \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:494\u0060 calls \u0060parse\u0060 and \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs:127\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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d0ff25bbd685ba45d2b86f04ad0dbaa0b46f2d64462d51fbb17532a1a8a2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): core/engine/src/builtins/promise/mod.rs:588-604 | core/engine/src/builtins/promise/mod.rs:803-819 | core/engine/src/builtins/promise/mod.rs:1480-1496 | core/engine/src/builtins/promise/mod.rs:1710-1726 \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 \u0060core/engine/src/builtins/promise/mod.rs:588\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"927febc558e3003939a88e52d7b102ac970d1fd30e639bf704241571d26b4932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:122-138 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:149-165 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:87-103 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:161-177 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:122\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2e21a2b8b30fd2fd277ef7e25d7514b6997543492f2f0afb8ea9cd6f3095a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:146-162 | core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:178-194 | core/parser/src/parser/expression/primary/function_expression/mod.rs:141-157 | core/parser/src/parser/expression/primary/generator_expression/mod.rs:157-173 \u2014 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs\u0060 and \u0060core/parser/src/parser/expression/primary/async_generator_expression/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 5 separate duplicated blocks between them, totalling at least 82 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 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs:146\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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b9c068b0fcba9dd089560866a55b9c385ca9757e0aebec9f873a95ee4a732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): core/engine/src/builtins/promise/mod.rs:638-653 | core/engine/src/builtins/promise/mod.rs:853-868 | core/engine/src/builtins/promise/mod.rs:1530-1546 \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 \u0060core/engine/src/builtins/promise/mod.rs:638\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fd7a595fdcaf742d4c5d83a3f7622ca0de207ef23925a572e37f37b4690faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): core/engine/src/vm/opcode/define/class/method.rs:32-48 | core/engine/src/vm/opcode/define/class/method.rs:80-96 | core/engine/src/vm/opcode/define/class/method.rs:173-189 \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 \u0060core/engine/src/vm/opcode/define/class/method.rs:32\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":"core/engine/src/vm/opcode/define/class/method.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a595330345308c6f21896dec8052ec37943f7bce6894b5711df310f330f62658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): core/parser/src/parser/expression/primary/object_initializer/mod.rs:228-244 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:256-272 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:292-308 \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 \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:228\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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fde5e5908b31dafa32dfde3a272bbe78ce30cf9d95f7da739d6fbf6d062b04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:2355-2371 | core/engine/src/builtins/array/mod.rs:2388-2405 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/mod.rs:2355\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, \u0060core/engine/src/builtins/array/mod.rs:2375\u0060 calls \u0060rev\u0060, \u0060delete_property_or_throw\u0060 and \u0060core/engine/src/builtins/array/mod.rs:2406\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f50b174699066c3b4962a2b3c751f2441fd48081b457678e5e3da065c0f6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/array_buffer/mod.rs:435-451 | core/engine/src/builtins/array_buffer/shared.rs:182-198 \u2014 before extracting anything, compare \u0060core/engine/src/builtins/array_buffer/mod.rs\u0060 and \u0060core/engine/src/builtins/array_buffer/shared.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1136114d3438f5ea4df93ef2903d3304342ba30489b187bc5754b2668c5831f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:861-877 | core/engine/src/builtins/date/mod.rs:1062-1078 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/date/mod.rs:861\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c07ab1500a6e0fe73f2b206688996b677ae8adeecc10959c2485b90136622a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/generator/mod.rs:317-333 | core/engine/src/builtins/generator/mod.rs:408-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/generator/mod.rs:317\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":"core/engine/src/builtins/generator/mod.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8270a2c84eebad99faa93fdfa70098221b3b36a14abce8ec8d13385102e303"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/json/mod.rs:1098-1114 | core/engine/src/builtins/json/mod.rs:1225-1241 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/json/mod.rs:1098\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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bae8863a1d0d54550fb635e8370fc984c0b676313e140d8d25c4634d40ab16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/regexp/mod.rs:1439-1455 | core/engine/src/builtins/regexp/mod.rs:1672-1688 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"7123c52abd009077d8927667ed67b5fe3aaf5b8c9eb5728362ed09625870d1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:808-819 | core/engine/src/builtins/set/mod.rs:876-892 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/set/mod.rs:808\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"880738f49f4f6952bc80f7e98fd20597481745006610a7cbad936e94999c58bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): core/engine/src/builtins/string/mod.rs:1134-1150 | core/engine/src/builtins/string/mod.rs:2097-2111 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/string/mod.rs:1134\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, \u0060core/engine/src/builtins/string/mod.rs:1133\u0060 calls \u0060get_or_undefined\u0060 and \u0060core/engine/src/builtins/string/mod.rs:2094\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed85c7edd27f3478758a90c2eb0991ba011c866bb210cfd690965bd3a582f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1824-1840 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2195-2211 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:1824\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac42a3594e2900c0ff4bbf1f0f6100716ec1002ae58ef9230f4567a928ca4ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:2455-2471 | core/engine/src/bytecompiler/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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/bytecompiler/mod.rs:2455\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f1d7bcc836fec739724108885e3b82e121fd49972f39daf5a331ca99dfed7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): core/engine/src/vm/opcode/await/mod.rs:63-77 | core/engine/src/vm/opcode/await/mod.rs:102-118 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/await/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/await/mod.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0073e22a2d0b10bb800410fc9ba17984303dd39702efde26c535cea03f193bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/vm/opcode/set/property.rs:233-249 | core/engine/src/vm/opcode/set/property.rs:277-293 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/set/property.rs:233\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":"core/engine/src/vm/opcode/set/property.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e37eea996f58a8c980001ef86ad58f48960b3ee3101f7fa6ad8a2efcc3442d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/engine/src/vm/opcode/set/property.rs:326-342 | core/engine/src/vm/opcode/set/property.rs:371-387 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/set/property.rs:326\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":"core/engine/src/vm/opcode/set/property.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59ee6ee0939dcffaf68ea8d2b12aa710f829fdae00f80c3b0f8d361366c9472"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/parser/src/parser/statement/declaration/lexical.rs:471-487 | core/parser/src/parser/statement/variable/mod.rs:210-226 \u2014 before extracting anything, compare \u0060core/parser/src/parser/statement/declaration/lexical.rs\u0060 and \u0060core/parser/src/parser/statement/variable/mod.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/parser/src/parser/statement/declaration/lexical.rs:471\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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"081d8b70cffbf16bcac6f9529bac2cb030ea041d9ec1fadc197505ecee21eb7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): core/parser/src/parser/statement/if_stm/mod.rs:87-102 | core/parser/src/parser/statement/if_stm/mod.rs:138-154 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/if_stm/mod.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/if_stm/mod.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9074c446c74c8ecc33c38a7b2dc5c10771be2ea9c5c7e4b3d9847b495bd94655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): core/ast/src/scope_analyzer.rs:667-682 | core/ast/src/scope_analyzer.rs:688-703 | core/ast/src/scope_analyzer.rs:709-724 | core/ast/src/scope_analyzer.rs:730-745 \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. 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 \u0060node\u0060 to \u0060\u0026\u0027ast mut FunctionExpression\u0060 in one and \u0060\u0026\u0027ast mut GeneratorExpression\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"4426816fddd975bfe960f3e15492c2173f7c3329ead56f68129421a99e45d624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): core/engine/src/builtins/iterable/iterator_prototype.rs:731-747 | core/engine/src/builtins/iterable/iterator_prototype.rs:787-802 | core/engine/src/builtins/iterable/iterator_prototype.rs:846-862 | core/engine/src/builtins/iterable/iterator_prototype.rs:906-921 \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 \u0060core/engine/src/builtins/iterable/iterator_prototype.rs:731\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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb95d73be887a2ea3504f70f907701015dc384478c59f729991a0fad197438d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): core/engine/src/bytecompiler/class.rs:410-425 | core/engine/src/bytecompiler/class.rs:461-474 | core/engine/src/bytecompiler/class.rs:513-526 | core/engine/src/bytecompiler/class.rs:557-570 \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 \u0060core/engine/src/bytecompiler/class.rs:410\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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"be07a0ef14bfc42d18f8cdc6acd7b5e785898a841fa4b97935cdbf138d4802bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): core/engine/src/builtins/date/mod.rs:883-898 | core/engine/src/builtins/date/mod.rs:1217-1232 | core/engine/src/builtins/date/mod.rs:1279-1294 \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 \u0060core/engine/src/builtins/date/mod.rs:883\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f7eccd12a1b9e70758d27cd09490d6f1f9ff18e87de1ee09e3b44ccede52c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:720-733 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:785-800 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:826-841 \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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4fb79b33acd9f41eec798c76730b3fab12afed898cadd1a23a641fd823c7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/ast/src/operations/mod.rs:262-277 | core/ast/src/operations/mod.rs:282-297 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/operations/mod.rs:262\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 \u0060node\u0060 to \u0060\u0026\u0027ast ArrowFunction\u0060 in one and \u0060\u0026\u0027ast AsyncArrowFunction\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":"core/ast/src/operations/mod.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc296cdd4995084ecb94fb6a1c71e31df0c32d81d193d90818a0154759950f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:1976-1991 | core/engine/src/builtins/array/mod.rs:2101-2116 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d0b80cda191f1c820d3fcceb434154603e8ce17e112e158fcf526f67fbb939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:2223-2238 | core/engine/src/builtins/typed_array/builtin.rs:2550-2563 \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 \u0060core/engine/src/builtins/array/mod.rs:2223\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1446a5ec29a8f71eadbb36e0689371b56abbf0263637248b344544403b81d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:3235-3249 | core/engine/src/builtins/array/mod.rs:3262-3277 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/mod.rs:3262\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, \u0060core/engine/src/builtins/array/mod.rs:3258\u0060 calls \u0060is_undefined\u0060, \u0060Ok\u0060 and \u0060core/engine/src/builtins/array/mod.rs:3233\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":3235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e0a67a30e0406f911c24ed5b7be7e989eb9fd453d071bd89584e0c208298b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/builtins/iterable/async_from_sync_iterator.rs:142-157 | core/engine/src/builtins/iterable/async_from_sync_iterator.rs:224-239 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/iterable/async_from_sync_iterator.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95145e67a4fbf5f7d1e8f4a5ef6fe9a19f584eeb4b9263917cbf6ddb7806ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_prototype.rs:327-342 | core/engine/src/builtins/iterable/iterator_prototype.rs:402-417 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/iterable/iterator_prototype.rs:327\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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b0ca0d6ea9e328e68e8f63c8754e4c1f92a0f3cde340530a9eacbebb818e61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:717-732 | core/engine/src/builtins/promise/mod.rs:1045-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 \u0060core/engine/src/builtins/promise/mod.rs:717\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20ea68337dc293d8a7c9dce205ec760d5df07a3d271f35ce732d540a0317f50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:716-731 | core/engine/src/builtins/promise/mod.rs:1617-1632 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:716\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8f70c68f29fe3df2f59be12816ba6baecb0f98fd541b10b506d6e9dff9b860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:610-624 | core/engine/src/builtins/set/mod.rs:696-711 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/set/mod.rs:610\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95129e893aac6b5a483ed92bbcf92a093a8a1a46fe62605b6d492442d9e2daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/builtins/temporal/instant/mod.rs:665-680 | core/engine/src/builtins/temporal/instant/mod.rs:692-707 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8674ec604bcb8852e914dd37abfe75574eef836dd9e1e4b3a708f6f06a6f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:1871-1886 | core/engine/src/bytecompiler/mod.rs:2110-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 \u0060core/engine/src/bytecompiler/mod.rs:1871\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dbceefcf7b741876bf202fbdac15d01b0e1d73b6396925be33a167ff0c02e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:2568-2583 | core/engine/src/bytecompiler/mod.rs:2618-2633 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:2568\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 \u0060self\u0060 to \u0060crate) fn object_method( \u0026mut\u0060 in one and \u0060\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb32e8e5c46af7b9a8438cd022c9f71e43020186d5e44809414321317fb5cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/parser/src/parser/expression/left_hand_side/call.rs:180-195 | core/parser/src/parser/expression/left_hand_side/member.rs:296-311 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/left_hand_side/call.rs\u0060 and \u0060core/parser/src/parser/expression/left_hand_side/member.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/parser/src/parser/expression/left_hand_side/call.rs:180\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":"core/parser/src/parser/expression/left_hand_side/call.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c002177da4aed45b3759fc1a3fbd1f78c043cef19245078b308cdf7b6e62750d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): core/engine/src/vm/opcode/define/class/getter.rs:34-47 | core/engine/src/vm/opcode/define/class/getter.rs:91-104 | core/engine/src/vm/opcode/define/class/getter.rs:144-158 | core/engine/src/vm/opcode/define/class/getter.rs:198-211 \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 \u0060core/engine/src/vm/opcode/define/class/getter.rs:34\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eca017888e90cb8b22b391e784ee4e4984f1863b58753367c9db718df3e2ae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:294-306 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:139-152 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:222-236 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_month_day/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 8 separate duplicated blocks between them, totalling at least 93 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c361c34948dbc05e4169e3c5517d0ebaae078532d14100eaa3e389f3ceeb4044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1430-1444 | core/ast/src/scope_analyzer.rs:1461-1475 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:1430\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 \u0060node\u0060 to \u0060\u0026\u0027ast mut ClassDeclaration\u0060 in one and \u0060\u0026\u0027ast mut ClassExpression\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7be41fb3a5a25e108d480c800cdf9d2e107238208cd06f18c8b649ebd670407"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): core/engine/src/builtins/error/aggregate.rs:92-106 | core/engine/src/builtins/error/mod.rs:474-483 \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 \u0060core/engine/src/builtins/error/aggregate.rs:92\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":"core/engine/src/builtins/error/aggregate.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d5a37fbca3b4dbdffcc7d32d07216d74b1b41aa8f1fe560f932edc1b8e54a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:227-237 | core/engine/src/builtins/weak_set/mod.rs:90-104 \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 \u0060core/engine/src/builtins/set/mod.rs:227\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"050e648475e32908a6e376232080d9025f1ed839904d504c0727e7353c8429ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:245-259 | core/engine/src/builtins/weak_set/mod.rs:108-122 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/set/mod.rs:245\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b5a849f04d1b4d264f0e8414609f9d4c2068832e9fcbdee687f45dd192fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date/mod.rs:860-874 | core/engine/src/builtins/temporal/plain_date/mod.rs:896-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe87a35e3a7b7b0a2d9d0668e27ba7b872297e2edf4eee1459be5901bbbc2c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1338-1352 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1369-1383 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d5969baddb14b2173700f2e0f7a1144f3d63dbadc05795ad57f73b3695219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:1471-1485 | core/engine/src/builtins/typed_array/builtin.rs:1544-1558 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:1471\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f8a61e01fb898bc2df5985e5f935550b1091b226dca5055bd97df02f849a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:1508-1520 | core/engine/src/bytecompiler/mod.rs:1549-1563 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:1508\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"4947ea4a9ee6f083f465c173497d8f9e217a6df9e5e5790dafb63658f47cfb0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): core/engine/src/value/display/array.rs:27-41 | core/engine/src/value/display/array.rs:90-102 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/value/display/array.rs:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/value/display/array.rs:25\u0060 calls \u0060min\u0060 and \u0060core/engine/src/value/display/array.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":"core/engine/src/value/display/array.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd9f47718a6f4d4dd7ca0676325e2a7a35f61415b4b1fcd63d54fef382d8e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/value/display/array.rs:103-117 | core/engine/src/value/display/object.rs:203-217 \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 \u0060core/engine/src/value/display/array.rs:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/array.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cfd1bca1679c28d1c439974cbe52f0afe59d44a3cf33b57271342cb3eec468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/vm/opcode/call/mod.rs:69-83 | core/engine/src/vm/opcode/call/mod.rs:144-158 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/call/mod.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. 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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dccbc4fb4858e4206009b964108532d150d575a7022830b4629ef7903302a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/vm/opcode/push/class/field.rs:32-46 | core/engine/src/vm/opcode/push/class/field.rs:87-101 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/vm/opcode/push/class/field.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d8b3c0535ca712939454cedc7872e7c3051180772d78c42fd22b7a9d650bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1166-1180 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1234-1248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5a055811a330f977144af335b6fe5b91adf8150d6a83848872591a5791a051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/wintertc/src/timers/mod.rs:110-124 | core/wintertc/src/timers/mod.rs:157-171 \u2014 both copies are in the same file, so extract the block 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 \u0060core/wintertc/src/timers/mod.rs:110\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":"core/wintertc/src/timers/mod.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"90918d6cd15ac6f803d278bb21c0a07b4baf74249cf7025440293b5dfedc26f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): core/ast/src/operations/mod.rs:1517-1530 | core/ast/src/operations/mod.rs:1535-1548 | core/ast/src/operations/mod.rs:1553-1566 | core/ast/src/operations/mod.rs:1571-1584 | core/ast/src/operations/mod.rs:1589-1602 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/ast/src/operations/mod.rs:1517\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 \u0060node\u0060 to \u0060\u0026\u0027ast crate::statement::DoWhileLoop\u0060 in one and \u0060\u0026\u0027ast crate::statement::WhileLoop\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":"core/ast/src/operations/mod.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54cfaccb196c705003304c599bf2668cab18ae6a6b6aa90a68da23586a1ec2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:1459-1471 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1815-1828 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:561-574 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1060-1072 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1459\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ead77eabf37a77ac34d2cea104403fef995a5ec7a02568b9fe8bfa54f56ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): core/engine/src/builtins/typed_array/builtin_uint8.rs:117-130 | core/engine/src/builtins/typed_array/builtin_uint8.rs:229-242 | core/engine/src/builtins/typed_array/builtin_uint8.rs:376-389 | core/engine/src/builtins/typed_array/builtin_uint8.rs:504-517 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c501a023c46c2797deb868523a723d1717ced46359ff9d829a29f01af423bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): core/engine/src/vm/opcode/define/class/setter.rs:34-47 | core/engine/src/vm/opcode/define/class/setter.rs:92-105 | core/engine/src/vm/opcode/define/class/setter.rs:147-160 | core/engine/src/vm/opcode/define/class/setter.rs:202-215 \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 \u0060core/engine/src/vm/opcode/define/class/setter.rs:34\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/class/setter.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09f520bcded610abe96e6ad9b205a82c92d54e426a73318a83ceaba34cfd0aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): core/parser/src/parser/statement/declaration/lexical.rs:393-406 | core/parser/src/parser/statement/declaration/lexical.rs:434-447 | core/parser/src/parser/statement/variable/mod.rs:170-183 | core/parser/src/parser/statement/variable/mod.rs:189-202 \u2014 before extracting anything, compare \u0060core/parser/src/parser/statement/declaration/lexical.rs\u0060 and \u0060core/parser/src/parser/statement/variable/mod.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/parser/src/parser/statement/declaration/lexical.rs:393\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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d96b26ff39f52a8a3a777ee3dcdd7de17e2b42f5a273edecfe9c6d80340b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): core/ast/src/function/async_function.rs:180-193 | core/ast/src/function/async_generator.rs:181-194 | core/ast/src/function/generator.rs:178-191 \u2014 before extracting anything, compare \u0060core/ast/src/function/async_function.rs\u0060 and \u0060core/ast/src/function/async_generator.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/function/async_function.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6247e5724070f2dd69ffdfd884eb9b8e4eac9f8470fcc557a08ec9987ac99483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): core/ast/src/function/async_generator.rs:263-276 | core/ast/src/function/generator.rs:260-273 | core/ast/src/function/ordinary_function.rs:295-308 \u2014 before extracting anything, compare \u0060core/ast/src/function/async_generator.rs\u0060 and \u0060core/ast/src/function/generator.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ast/src/function/async_generator.rs:263\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":"core/ast/src/function/async_generator.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"65353c9c6d7c896fc871ac1d3a265289e0634efce3136930923de468100a8a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): core/engine/src/builtins/date/mod.rs:956-969 | core/engine/src/builtins/date/mod.rs:1030-1043 | core/engine/src/builtins/date/mod.rs:1156-1169 \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 \u0060core/engine/src/builtins/date/mod.rs:956\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5cd1d36016bbc35cb0170a0672226510180933b4a2ab3ab9a2e5a33978798d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): core/engine/src/builtins/intl/list_format/mod.rs:124-138 | core/engine/src/builtins/intl/plural_rules/mod.rs:118-131 | core/engine/src/builtins/intl/segmenter/mod.rs:162-179 \u2014 \u0060core/engine/src/builtins/intl/list_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/segmenter/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 3 separate duplicated blocks between them, totalling at least 57 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. 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":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec38e577b76fad065db699aa1ad67f0459c4b2a5df0c5cffaded2945559f68b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/async_generator/mod.rs:595-608 | core/engine/src/builtins/async_generator/mod.rs:626-639 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/async_generator/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/async_generator/mod.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"1383d38d091d5848579b72b0bcf446564837a6a4a0ef177bf9ad71c3511be5a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/async_generator/mod.rs:601-614 | core/engine/src/vm/opcode/await/mod.rs:91-104 \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 \u0060core/engine/src/builtins/async_generator/mod.rs:601\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":"core/engine/src/builtins/async_generator/mod.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f358cb1cdf6f4d60a6ad1d829fa0c55c769d67ccd4ff33b2970213d8771279e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/intl/date_time_format/mod.rs:1233-1246 | core/engine/src/builtins/intl/number_format/mod.rs:947-960 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/number_format/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 7 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 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs:1233\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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61f7d67e85252c9ca506e3122b3be7206e641362e9f52299a6edca5b9a5ba07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/intl/number_format/mod.rs:824-837 | core/engine/src/builtins/intl/plural_rules/mod.rs:363-376 \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 \u0060core/engine/src/builtins/intl/number_format/mod.rs:824\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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"814ebf6c25f8435d7b3e6a342c2e64d1cb192b3542520983b3c2f3174e0d6b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/string/mod.rs:1031-1044 | core/engine/src/builtins/string/mod.rs:1158-1171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/string/mod.rs:1031\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"da329d4b482338a773792176afbf8dcaa81e984c66287939b89fdde6ddceca58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/temporal/duration/mod.rs:1100-1113 | core/engine/src/builtins/temporal/duration/mod.rs:1130-1143 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d5c962069957923525d7a9f141f1a6c4f3713165bae70f652b7ac951890176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): core/engine/src/builtins/temporal/instant/mod.rs:419-432 | core/engine/src/builtins/temporal/instant/mod.rs:455-466 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae3b08797bbdb4758edb401414ea1c690b347943feec7df5fbab7bb99de6070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date/mod.rs:946-959 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:292-302 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_month_day/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 8 separate duplicated blocks between them, totalling at least 93 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:946\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"192e94074a4fafc795ef8a5f39a9e35dfddc1d4129e2901412951ba7991084d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:394-407 | core/engine/src/builtins/temporal/plain_time/mod.rs:194-207 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:394\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"353302520f90e32be9a5b3341daa8178308901f071697e41d9124fc7c4530057"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1193-1206 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1227-1240 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97a933aea502d5f7602f65209f967d9e4854e7426f8718bffef91407579eb7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1401-1414 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1432-1445 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e7e80fda6ec2aa5a7a34ec27e0a3f1cf6790dfe577da116b6aab706c35496e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:1621-1634 | core/engine/src/bytecompiler/mod.rs:1671-1684 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/bytecompiler/mod.rs:1685\u0060 calls \u0060dealloc\u0060 and \u0060core/engine/src/bytecompiler/mod.rs:1635\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a7be19a96174471c236a53a49722f92baf88408926c70a73f0eaef02f8385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/value/display/array.rs:46-59 | core/engine/src/value/display/array.rs:113-126 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/value/display/array.rs:46\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":"core/engine/src/value/display/array.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e5eb5709f4daf3c2400a5776957bca318ffc062b6a4d2184f018d4f150c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/vm/mod.rs:956-969 | core/engine/src/vm/mod.rs:989-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 \u0060core/engine/src/vm/mod.rs:956\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) async fn run_async_with_budget(\u0026mut\u0060 in one and \u0060crate) fn run(\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":"core/engine/src/vm/mod.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"a672f62736ee56df172786e4a311b24f351819e98eaba3c4f79621ee0e4c6367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): core/engine/src/vm/opcode/call/mod.rs:54-67 | core/engine/src/vm/opcode/call/mod.rs:133-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/vm/opcode/call/mod.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. 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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83f80bcd975b2dfc5588047205397743cf80597033e078695dc46b080236f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/parser/src/parser/expression/update.rs:97-110 | core/parser/src/parser/expression/update.rs:125-138 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/expression/update.rs:97\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":"core/parser/src/parser/expression/update.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3ed7250ba435c08482eec3e9090eb09523a08e3708f40b128bbadb4d884d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): core/parser/src/parser/function/mod.rs:258-271 | core/parser/src/parser/function/mod.rs:284-296 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/function/mod.rs:258\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":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0233a8d7df2a746f9b937932d7aefd0e1a38c462efa36e3f599c0a20c6513e13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/parser/src/parser/function/mod.rs:353-366 | core/parser/src/parser/function/mod.rs:369-382 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/function/mod.rs:353\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":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"52886d6c5d255b2e13204f2dfddebd1651142f064e1ec11ba3545ae922c5816a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/wintertc/src/timers/mod.rs:88-101 | core/wintertc/src/timers/mod.rs:140-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/wintertc/src/timers/mod.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc04b32aebf7c2454914f0529268f3a8ac26a037085d470e20435eb971af484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 5): core/engine/src/bytecompiler/mod.rs:2203-2209 | core/engine/src/bytecompiler/mod.rs:2253-2261 | core/engine/src/bytecompiler/mod.rs:2303-2311 | core/engine/src/bytecompiler/mod.rs:2344-2356 | core/engine/src/bytecompiler/mod.rs:2385-2396 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/bytecompiler/mod.rs:2203\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0be38d346e6065ccf0b9c47e48c2597e3cbd77623bae53887ebe81fa8ab8c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:86-98 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:89-101 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:75-87 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:89-101 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:86\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d5c3333c624fcc5f30e18f259f2a816e687880737bff7dcdf3f0aaea26233e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:102-114 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:129-141 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:137-149 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbc2094419b4824738208035a4736e4aa3b31e14d9841e67e278895a29dc64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:1453-1464 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1809-1821 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2180-2192 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1453\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6638f4066ddaf37e749f8d2860080356d85a9d586122b4c40361cdc13d046e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/ast/src/operations/mod.rs:2463-2475 | core/ast/src/operations/mod.rs:2481-2493 \u2014 both copies are in the same file, so extract the block 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060\u0026\u0027ast crate::statement::ForInLoop\u0060 in one and \u0060\u0026\u0027ast crate::statement::ForOfLoop\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":"core/ast/src/operations/mod.rs"},"region":{"startLine":2463}}}],"partialFingerprints":{"codehealthFindingId/v1":"889e0befd912471e6953274df2ade46a9149082c0550fc35f698506f83b6a3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:1361-1373 | core/engine/src/builtins/array/mod.rs:1414-1425 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/mod.rs:1361\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 before the matched lines, \u0060core/engine/src/builtins/array/mod.rs:1412\u0060 calls \u0060array_species_create\u0060 and \u0060core/engine/src/builtins/array/mod.rs:1359\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0b1b5e6c6e3972075ca647c29f5766a6f4c2cec31dd635181130228b27b24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_constructor.rs:252-264 | core/engine/src/builtins/iterable/iterator_constructor.rs:310-322 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/iterable/iterator_constructor.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"936d660b50d47e2160641d6c12264cb3a7841dd882959cb0331487ea90f9909a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:1255-1267 | core/engine/src/builtins/promise/mod.rs:1337-1349 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:1255\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/promise/mod.rs:1272\u0060 calls \u0060borrow_mut\u0060 and \u0060core/engine/src/builtins/promise/mod.rs:1352\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea01eca277e02edc79e500a14c1dedd5dfb4ba0d33f0ddfc0fdfba7a7135f43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1460-1472 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1484-1496 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c749c037f84e455cc5c076863674d33df13e0111fa47067cd8966c2b1dd221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/temporal/plain_month_day/mod.rs:354-366 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:735-747 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 13 separate duplicated blocks between them, totalling at least 135 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 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs:354\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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c64f5a068184a1a5f851f1156f5aea7d85362c6532afc7491ea0d4f458b1111"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/engine/src/builtins/temporal/plain_month_day/mod.rs:458-470 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2238-2249 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 63 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 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs:458\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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab45f3b153fe66b39bf140ab8dfbaca2f8c9c20078d7304b2e3d919376086be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/temporal/plain_time/mod.rs:783-795 | core/engine/src/builtins/temporal/plain_time/mod.rs:807-819 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffcc5f2fd7e4ed9fd9e98e9d9bbdec1036ca94802c82f197588c5f955abdff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1464-1476 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1725-1736 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/temporal/zoneddatetime/mod.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. 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b98d9870be96f9d331df2e0a5381a47d77caa986b2b77ec8c594a65310b4e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin_uint8.rs:269-281 | core/engine/src/builtins/typed_array/builtin_uint8.rs:534-546 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:533\u0060 calls \u0060byte_offset\u0060 and \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:267\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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"abdf1eb6a3455b27efd712ddecd6649bd085abfa58cade9d0386db3889945382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:85-97 | core/engine/src/bytecompiler/declarations.rs:250-261 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/declarations.rs:85\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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9839619bc9e21acd7ccf076d4bc4f764091d785d003861da33febf908cf98c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:942-955 | core/engine/src/bytecompiler/mod.rs:970-983 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"5845c3868f7a8c643ec5f3ebfec95365c3d58648d2456383db2ad1f366325f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/bytecompiler/statement/try.rs:90-102 | core/engine/src/bytecompiler/statement/try.rs:129-141 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/statement/try.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede110936d30987cd9e3dc2dea74b88ff1b765e4b5c1a233a495c4069dfa289d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/engine/src/module/namespace.rs:301-313 | core/engine/src/module/namespace.rs:390-401 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/module/namespace.rs:301\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":"core/engine/src/module/namespace.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e788080f8442b60d8734cb491a0972d4ee69dde38e2d53dff98358a4122f26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/object/jsobject.rs:241-253 | core/engine/src/object/jsobject.rs:1080-1092 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/object/jsobject.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111562c46523fa13f10e846f3fc135c0c00a57d9ace5196551c66a96858fda0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): core/engine/src/object/operations.rs:815-827 | core/engine/src/object/operations.rs:1376-1384 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/operations.rs:815\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":"core/engine/src/object/operations.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff883b9387bfc63c21b2bf1c68bad426436ad79ca0b5c265de0bb5b0632c18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/engine/src/vm/opcode/set/property.rs:224-235 | core/engine/src/vm/opcode/set/property.rs:316-328 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/set/property.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f370fd91ddcba6268cbd816a25832b0bf25d5a42a30e61c38b67d5a045c575d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/macros/src/lib.rs:467-478 | core/macros/src/lib.rs:603-615 \u2014 both copies are in the same file, so extract the block 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 \u0060core/macros/src/lib.rs:467\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":"core/macros/src/lib.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd6b516a4185c20e7a2c290d2e2719fbf19b99aa31b0028ffefb49fc1468d28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/macros/src/value.rs:219-231 | core/macros/src/value.rs:250-262 \u2014 both copies are in the same file, so extract the block 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":"core/macros/src/value.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c4b34822ce321772905fb26ec1928e786b266780dd6e1344acd0da7abeec84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/parser/src/parser/expression/assignment/arrow_function.rs:199-211 | core/parser/src/parser/expression/assignment/async_arrow_function.rs:192-204 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/assignment/arrow_function.rs\u0060 and \u0060core/parser/src/parser/expression/assignment/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 73 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 \u0060core/parser/src/parser/expression/assignment/arrow_function.rs:199\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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"085e84f59da41246f93adb949310777a074043cbc3783786f940fce17d41cbbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:357-369 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:387-399 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:357\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d35d96c2a7b1ec83f3b6a18f753c7ec59de3eb13fcc903f426c01a8fc74b8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/parser/src/parser/statement/mod.rs:780-792 | core/parser/src/parser/statement/mod.rs:839-852 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/mod.rs:839\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. 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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d93c37654cdc45c558bd4c371c66ab2d557caa1287bae499e4cf34ade020ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): core/engine/src/vm/opcode/define/class/getter.rs:24-36 | core/engine/src/vm/opcode/define/class/getter.rs:81-93 | core/engine/src/vm/opcode/define/class/method.rs:22-34 | core/engine/src/vm/opcode/define/class/method.rs:70-82 | core/engine/src/vm/opcode/define/class/setter.rs:24-36 | core/engine/src/vm/opcode/define/class/setter.rs:82-94 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/define/class/getter.rs\u0060 and \u0060core/engine/src/vm/opcode/define/class/setter.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. 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 \u0060core/engine/src/vm/opcode/define/class/getter.rs:24\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":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bcc67d34c99aafe3912548f5da1df950edcd897df0f658036b2a2d75fdc5fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): core/engine/src/builtins/temporal/plain_date/mod.rs:298-309 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:444-455 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:144-155 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:228-239 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:441-452 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a80152227c39eccec880edbf0d296b661b7f84b150b4a428cd148dc8867b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): core/engine/src/builtins/typed_array/object.rs:366-377 | core/engine/src/builtins/typed_array/object.rs:406-417 | core/engine/src/builtins/typed_array/object.rs:437-448 | core/engine/src/builtins/typed_array/object.rs:503-514 | core/engine/src/builtins/typed_array/object.rs:535-546 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/typed_array/object.rs:366\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/object.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd882115a240fec310a6945a4a0f199f501280d841b351565f267d42fc7ce2d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): core/engine/src/builtins/temporal/plain_date_time/mod.rs:407-418 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:421-432 | core/engine/src/builtins/temporal/plain_time/mod.rs:207-218 | core/engine/src/builtins/temporal/plain_time/mod.rs:221-232 | core/engine/src/builtins/temporal/plain_time/mod.rs:233-244 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:406\u0060 calls \u0060to_finitef64\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/mod.rs:233\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"532e8953d509d316ca9496b6d2f2f703aad844277f4e4b35d0671ca7af1d0024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): core/engine/src/builtins/typed_array/builtin_uint8.rs:133-144 | core/engine/src/builtins/typed_array/builtin_uint8.rs:256-267 | core/engine/src/builtins/typed_array/builtin_uint8.rs:392-403 | core/engine/src/builtins/typed_array/builtin_uint8.rs:520-531 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:533\u0060 calls \u0060byte_offset\u0060 and \u0060core/engine/src/builtins/typed_array/builtin_uint8.rs:269\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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca8fbb35735f7044f8575d9ea189803ef95aef12d16162384b068137294eff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): core/engine/src/value/mod.rs:1143-1154 | core/engine/src/value/mod.rs:1172-1183 | core/engine/src/value/mod.rs:1244-1255 | core/engine/src/value/mod.rs:1273-1284 \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, \u0060core/engine/src/value/mod.rs:1157\u0060 calls \u0060pow\u0060, \u0060Ok\u0060 and \u0060core/engine/src/value/mod.rs:1186\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":"core/engine/src/value/mod.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"152e173262be53c5bdec338ffc010a9538fd099586c74547c0fd224f723f1746"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/ast/src/scope_analyzer.rs:950-961 | core/ast/src/scope_analyzer.rs:1033-1044 | core/ast/src/scope_analyzer.rs:1100-1111 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c78a66d4ffef3844c524670d2196801ae0243398cca96f3377487878971a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): core/engine/src/builtins/array_buffer/utils.rs:468-479 | core/engine/src/builtins/array_buffer/utils.rs:551-560 | core/engine/src/builtins/array_buffer/utils.rs:695-703 \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 \u0060core/engine/src/builtins/array_buffer/utils.rs:468\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 \u0060dest\u0060 to \u0060*const AtomicU8\u0060 in one and \u0060*mut u8\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":"core/engine/src/builtins/array_buffer/utils.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ad210ab885247bd139ad54b7c64beb1acfbc8e53318497224fc849e8f6307c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): core/engine/src/builtins/string/mod.rs:492-503 | core/engine/src/builtins/string/mod.rs:570-580 | core/engine/src/builtins/string/mod.rs:613-623 \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 \u0060core/engine/src/builtins/string/mod.rs:492\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4b55a2a648d4b3e5ac63dbfaf759e60716501761b9c5618eb6c39d0c8b1250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/engine/src/bytecompiler/mod.rs:1874-1885 | core/engine/src/bytecompiler/mod.rs:1902-1913 | core/engine/src/bytecompiler/mod.rs:2113-2124 \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 \u0060core/engine/src/bytecompiler/mod.rs:1874\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee8201627ea87191013ebc69c8cdbe0f8c3db6b9685534721f4c48b180524a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/ast/src/function/arrow_function.rs:120-131 | core/ast/src/function/async_arrow_function.rs:121-132 \u2014 before extracting anything, compare \u0060core/ast/src/function/arrow_function.rs\u0060 and \u0060core/ast/src/function/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ast/src/function/arrow_function.rs:120\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":"core/ast/src/function/arrow_function.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"78dda1d15631b9dce91cd55cde7c0648fb8b44b97cf0923124c82c46447c8064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/array_buffer/mod.rs:968-979 | core/engine/src/builtins/array_buffer/shared.rs:593-604 \u2014 before extracting anything, compare \u0060core/engine/src/builtins/array_buffer/mod.rs\u0060 and \u0060core/engine/src/builtins/array_buffer/shared.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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/builtins/array_buffer/shared.rs:582\u0060 calls \u0060Ok\u0060, \u0060into_boxed_slice\u0060 and \u0060core/engine/src/builtins/array_buffer/mod.rs:966\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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"0453631b9867d64de4977d1e59159842098a13a135a7a03203933fc8c02afd70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:1195-1206 | core/engine/src/builtins/date/mod.rs:1257-1268 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/date/mod.rs:1195\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98bc698cb2e0fef7c6ac531019b39199c5284bee76e3ae56cec60e9ea4edec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_constructor.rs:443-454 | core/engine/src/builtins/iterable/iterator_constructor.rs:517-528 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/iterable/iterator_constructor.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbae177fb5b86b5ac14e6435c5fe753cbb09511d4cd6a284e7a19a2be57f4a41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:608-619 | core/engine/src/builtins/set/mod.rs:940-950 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/set/mod.rs:608\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c74a24af2a5b9960b2a241ef03294fe86cdbc69b10eec3d94c4210f38cc7347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date/mod.rs:1011-1022 | core/engine/src/builtins/temporal/plain_date/mod.rs:1042-1053 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"3786475be90c48aee993211fc58e7fb0deaba79ee3ef6c9002302ecdf072e446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201312 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:435-446 | core/engine/src/builtins/typed_array/builtin.rs:1330-1336 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d303dc430df9775d34e8ff282c2ede196fbc8b1bcc33bfdec23b95e422d81449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:874-885 | core/engine/src/builtins/typed_array/builtin.rs:946-957 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:874\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a555a1b5551b96fb1ab798cecfcf3c4443faf933c765635a6bd50df39ae8e859"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:910-921 | core/engine/src/builtins/typed_array/builtin.rs:982-993 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:910\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"5893e3fb459019cc4ec5fa4314d2408a687f8f4784136873763b4b688b3590c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:1172-1183 | core/engine/src/builtins/typed_array/builtin.rs:1307-1318 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:1172\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f15718614f190de49db06df6f37a02b89d927b70fdcb50c1be2e28949a6936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:1731-1742 | core/engine/src/builtins/typed_array/builtin.rs:1750-1761 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:1731\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41b2acaf51ad3b9a478b2a5ee79b01deac607e20ea4e5852a149bc5be6683ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/builtins/typed_array/object.rs:568-579 | core/engine/src/builtins/typed_array/object.rs:610-621 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/object.rs:568\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":"core/engine/src/builtins/typed_array/object.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c85552fb1febe4a3bc11d8ea7ac9921ac9a6a28831d51846dbba2f263846124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): core/engine/src/bytecompiler/class.rs:436-447 | core/engine/src/bytecompiler/class.rs:482-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f104bb74910a752821ef80c5e13e0e989025aa7a81e0f248ab20154c3b55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:778-789 | core/engine/src/bytecompiler/mod.rs:805-816 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:778\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 \u0060binding\u0060 to \u0060\u0026IdentifierReference\u0060 in one and \u0060IdentifierReference\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"006209ae8d365193a578b49a886bf7c8d9681f9f3136644689ab77da29eca9e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:793-801 | core/engine/src/bytecompiler/mod.rs:822-833 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:793\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 \u0060binding\u0060 to \u0060\u0026IdentifierReference\u0060 in one and \u0060IdentifierReference\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ffbe01ac415ff47a1281f42e869f5c1f8f9d63add9be2721ee26190100a3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:2473-2484 | core/engine/src/bytecompiler/mod.rs:2553-2564 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:2473\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 \u0060self\u0060 to \u0060crate) fn function(\u0026mut\u0060 in one and \u0060crate) fn object_method( \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/bytecompiler/mod.rs:2565\u0060 calls \u0060method\u0060 and \u0060core/engine/src/bytecompiler/mod.rs:2485\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b913065ca221af7a38ef07d3c626e172629c67015cfd3226b1c20a25cbdbb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/property/mod.rs:308-319 | core/engine/src/property/mod.rs:389-400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/property/mod.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0bbd77487a855c3cf61f1cd81e1aa2dd3361ed657d1bb2c0e917d47eead6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/vm/opcode/define/class/method.rs:121-132 | core/engine/src/vm/opcode/define/class/method.rs:170-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/class/method.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d314ecb0aa054da480889f1cd6965798bffed5c924ffef63c47349d7844d1f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/vm/opcode/templates/mod.rs:61-72 | core/engine/src/vm/opcode/templates/mod.rs:74-85 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/vm/opcode/templates/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9df2790ceaaac09e9facd9ec3bcac46d08e15769a18cd84cb6fac25ab35d7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): core/parser/src/parser/expression/primary/object_initializer/mod.rs:493-504 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:889-900 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:992-1003 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1033-1044 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1120-1130 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1211-1222 \u2014 there are 6 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebfa0ae8375a037a3b2a53e69562a17fe152ed252e6600c3260550a9b989d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): core/engine/src/vm/opcode/define/class/setter.rs:43-53 | core/engine/src/vm/opcode/define/class/setter.rs:101-111 | core/engine/src/vm/opcode/define/class/setter.rs:211-221 | core/engine/src/vm/opcode/set/property.rs:326-335 | core/engine/src/vm/opcode/set/property.rs:371-380 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/vm/opcode/define/class/setter.rs:43\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":"core/engine/src/vm/opcode/define/class/setter.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f286f3f893efd816d9fc5af27c597f1fa892b9c7af87f1c67c1892b581f4727"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): core/engine/src/builtins/date/mod.rs:1006-1016 | core/engine/src/builtins/date/mod.rs:1135-1145 | core/engine/src/builtins/date/mod.rs:1198-1208 | core/engine/src/builtins/date/mod.rs:1260-1270 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/builtins/date/mod.rs:1000\u0060 calls \u0060get\u0060, \u0060to_number\u0060, \u0060transpose\u0060 and \u0060core/engine/src/builtins/date/mod.rs:1195\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38af488c30db57b96f900f95b69cf77d7813532a8b0eee6f4973f59cf3d5777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): core/engine/src/builtins/temporal/duration/mod.rs:946-956 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1353-1363 | core/engine/src/builtins/temporal/plain_time/mod.rs:674-684 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1505-1515 \u2014 \u0060core/engine/src/builtins/temporal/duration/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 5 separate duplicated blocks between them, totalling at least 66 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 \u0060core/engine/src/builtins/temporal/duration/mod.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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d99193d0995a052ce29d98c57b2fa32ff3a9dcf62f697782615b2547bb1bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): cli/src/debug/string.rs:7-17 | cli/src/debug/string.rs:24-34 | cli/src/debug/string.rs:45-55 \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. 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":"cli/src/debug/string.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66ef349c9b4ad573edc4f2b9c8162b42531496cec78a4a8c5cbdc49188d73fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): core/engine/src/builtins/promise/mod.rs:881-896 | core/engine/src/builtins/promise/mod.rs:971-986 | core/engine/src/builtins/promise/mod.rs:1255-1265 \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 \u0060core/engine/src/builtins/promise/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"050886c6ac4625968c887f95ab7b592c82a0cb7f66e42a050aca7046231b780c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): cli/src/debug/object.rs:8-18 | cli/src/debug/object.rs:26-36 \u2014 both copies are in the same file, so extract the block 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":"cli/src/debug/object.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e03d05d6d8dab1a2b9c1554f139e0a499e9d99e128d9e0e694275f855231a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ast/src/function/class.rs:125-135 | core/ast/src/function/class.rs:301-311 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/function/class.rs:125\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":"core/ast/src/function/class.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48d08d3ee04cad34cb122bbc4940790fc867f255b4c62c7e98ff63ff0cd4596"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ast/src/function/class.rs:142-152 | core/ast/src/function/class.rs:320-330 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/function/class.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/function/class.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abe402efecc3c32f2c5d4da5037c666d55ba3235942485e52cdb80c1bd8f43e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ast/src/operations/mod.rs:194-204 | core/ast/src/operations/mod.rs:209-219 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/operations/mod.rs:194\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 \u0060node\u0060 to \u0060\u0026\u0027ast ClassExpression\u0060 in one and \u0060\u0026\u0027ast ClassDeclaration\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":"core/ast/src/operations/mod.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b8088abe658f86763fb679317752583ff73f1f06e7c32c15a50ca8c73f1506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/ast/src/scope_analyzer.rs:216-226 | core/ast/src/scope_analyzer.rs:248-258 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:216\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 \u0060node\u0060 to \u0060\u0026\u0027ast mut ForInLoop\u0060 in one and \u0060\u0026\u0027ast mut ForOfLoop\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a93fbb8079cc3a79ee94fceb83f62f260443357f7c6ebd9cdf4ca02b68e9683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/date/utils.rs:343-353 | core/engine/src/builtins/date/utils.rs:371-381 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/date/utils.rs:343\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":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0a860f882a8845f9253348ce71b821f796e4cd1686778f91e354d543f9e2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): core/engine/src/builtins/date/utils.rs:721-730 | core/engine/src/builtins/date/utils.rs:733-743 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31b37e41824c66449761e974b998a50e27f94ff3684ffc1ef088ba45dfba86c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/json/mod.rs:696-706 | core/engine/src/builtins/json/mod.rs:799-809 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/json/mod.rs:696\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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"900d446fcc40622ae9b06b30f25fa4c8f7216e7a4f4553b97a8374a4df29ac54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/json/mod.rs:969-979 | core/engine/src/builtins/json/mod.rs:1128-1138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe41a2a986f392b947f73824b889afbe1b94ad076c7eaaf7cffe743466b6a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/json/mod.rs:1023-1033 | core/engine/src/builtins/json/mod.rs:1160-1170 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/json/mod.rs:1023\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":"core/engine/src/builtins/json/mod.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"65db2e988d5fd827d174113f2395f5ec52cf79f72ed8fe0059ecd1857a62c2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/math/mod.rs:673-683 | core/engine/src/builtins/math/mod.rs:711-721 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/math/mod.rs:673\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":"core/engine/src/builtins/math/mod.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78b149f685840708edaf02a474ecc3a418f438d95d734322c91e020cfc2e4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:2018-2029 | core/engine/src/builtins/promise/mod.rs:2069-2079 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:2018\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f6d1ede3b60032a62ec156449342268628e4f956d32dc8bc710b9fd703096a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/string/mod.rs:1498-1508 | core/engine/src/builtins/string/mod.rs:2244-2254 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/string/mod.rs:1498\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb047d28c76cb620ef41dea049e5b4ee620ded5244019cef55475accf8cbf06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/temporal/instant/mod.rs:353-363 | core/engine/src/builtins/temporal/instant/mod.rs:386-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da3f36267a44029064a984bc9779c2266e2749eb3e3d7abdc43e7d9c8f3366e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1262-1272 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1290-1300 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd91ee12fdb91c5206931dd063d36d521f012ab15be2c0c5e4943fe0c921169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/temporal/plain_time/mod.rs:576-586 | core/engine/src/builtins/temporal/plain_time/mod.rs:606-616 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5848c80848d251622ba8793e92e1c88988cdb226f45f59f0ceab03f813015ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1930-1940 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1988-1996 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9021f5c13462e0d2a7cb7a7b7a88df4d1be17fbad39bca1c5e0fc59d8cf603"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin_uint8.rs:40-50 | core/engine/src/builtins/typed_array/builtin_uint8.rs:151-161 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3bbd6ba771b5316aeef2821186f3df0e6a3c61ccb1fc0a7432d8e7a5909461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:75-85 | core/engine/src/bytecompiler/declarations.rs:401-411 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/declarations.rs:75\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a052a3576b23de82b92e3399a2a1c47a2dcc8a6b799fc9b860bf86f968e44c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:510-520 | core/engine/src/bytecompiler/declarations.rs:783-793 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/declarations.rs:510\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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee406a1e14b85c5034ca6ffebea9db2e21733c00fcf091979fa3f8f646ac94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/bytecompiler/declarations.rs:1134-1144 | core/engine/src/bytecompiler/declarations.rs:1169-1181 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/bytecompiler/declarations.rs:1184\u0060 calls \u0060insert\u0060, \u0060push\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs:1145\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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9bb6311ea104c95ab3bad5e4f94cee63c8df88323c216985a0b6c46e3d02b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:869-877 | core/engine/src/bytecompiler/mod.rs:1593-1603 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"833f1ae1df67f84937f629ddb9f8b6f3702c2eba2c38ba0c5af6a95779bb4973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:2486-2496 | core/engine/src/bytecompiler/mod.rs:2567-2577 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:2486\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 \u0060self\u0060 to \u0060crate) fn function(\u0026mut\u0060 in one and \u0060crate) fn object_method( \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/bytecompiler/mod.rs:2565\u0060 calls \u0060method\u0060 and \u0060core/engine/src/bytecompiler/mod.rs:2484\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b542d3d4b2d0fcbf60e7db8a40a85c2266c2a2aedae35de2ed21f4b7cb0d53f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/bytecompiler/statement/try.rs:31-41 | core/engine/src/bytecompiler/statement/try.rs:46-56 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/statement/try.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f26f2c8ee7caf7f071efdde0f74738001f4f1ab66735da8eaf1134a3277b9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/native_function/mod.rs:212-222 | core/engine/src/object/builtins/jspromise.rs:310-320 \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 \u0060core/engine/src/native_function/mod.rs:212\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":"core/engine/src/native_function/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ca85d153d0b491418ecedff69253f2a3aa3bcdbb7d45568a3f6b62632cbb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/object/operations.rs:452-462 | core/engine/src/object/operations.rs:508-518 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/object/operations.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf3d5f5e5728837a8f6fe52dd4f9d60089620e8216da9f6fce2adbc6bbb3a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/optimizer/pass/constant_folding.rs:178-188 | core/engine/src/optimizer/pass/constant_folding.rs:204-214 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/optimizer/pass/constant_folding.rs:178\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":"core/engine/src/optimizer/pass/constant_folding.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dae80283b7971a99ccfa3460cab183f102ad7a9c69f87fd0c4fe618ab4a926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): core/engine/src/value/display/arguments.rs:75-84 | core/engine/src/value/display/object.rs:213-223 \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 \u0060core/engine/src/value/display/arguments.rs:75\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":"core/engine/src/value/display/arguments.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22dfcd924d20c61bbbf1b3a4a089e635af8630613c27ac3b7b111bb44d65985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/vm/opcode/get/name.rs:62-76 | core/engine/src/vm/opcode/get/property.rs:41-55 \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 \u0060core/engine/src/vm/opcode/get/name.rs:62\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":"core/engine/src/vm/opcode/get/name.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2dbc2f3b5b7d014cb83984313fe777a771136b079592f64425623f7f83981f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): core/engine/src/vm/opcode/push/class/private.rs:45-55 | core/engine/src/vm/opcode/set/private.rs:110-117 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/push/class/private.rs\u0060 and \u0060core/engine/src/vm/opcode/set/private.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/vm/opcode/push/class/private.rs:45\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":"core/engine/src/vm/opcode/push/class/private.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0173991837d93ca6211b363d43957c7ee7461d7604a9db1333febd0806e4bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/parser/src/parser/expression/assignment/arrow_function.rs:123-133 | core/parser/src/parser/expression/assignment/mod.rs:165-175 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/assignment/arrow_function.rs\u0060 and \u0060core/parser/src/parser/expression/assignment/mod.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43ecc663dc638cb575f734f37b75ae5ba7205d3315f847fb4668b5a7d59c966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): core/parser/src/parser/expression/primary/mod.rs:133-143 | core/parser/src/parser/statement/mod.rs:457-466 \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 \u0060core/parser/src/parser/expression/primary/mod.rs:133\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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc5068734678ac5a87becf8307cfdf9d3dec63681b0f0889a33ae01e01e5814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): core/parser/src/parser/expression/primary/object_initializer/mod.rs:206-216 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:752-761 \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 \u0060core/parser/src/parser/expression/primary/object_initializer/mod.rs:206\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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b659d1d2e85abd6dae7aa68f8d50c8f93a2e8753258a5714703b6f6a989f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 14): core/engine/src/builtins/temporal/plain_date/mod.rs:361-370 | core/engine/src/builtins/temporal/plain_date/mod.rs:392-398 | core/engine/src/builtins/temporal/plain_date/mod.rs:419-425 | core/engine/src/builtins/temporal/plain_date/mod.rs:446-452 | core/engine/src/builtins/temporal/plain_date/mod.rs:500-506 | core/engine/src/builtins/temporal/plain_date/mod.rs:525-531 | core/engine/src/builtins/temporal/plain_date/mod.rs:550-556 | core/engine/src/builtins/temporal/plain_date/mod.rs:575-581 | core/engine/src/builtins/temporal/plain_date/mod.rs:600-606 | core/engine/src/builtins/temporal/plain_date/mod.rs:625-631 | core/engine/src/builtins/temporal/plain_date/mod.rs:650-656 | core/engine/src/builtins/temporal/plain_date/mod.rs:675-681 | core/engine/src/builtins/temporal/plain_date/mod.rs:700-706 | core/engine/src/builtins/temporal/plain_date/mod.rs:725-731 \u2014 all 14 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:361\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d2eb3036aa0653ca85d27f13c49876f5cd8a3435a8d529d3dfc31d11c136f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): core/engine/src/builtins/temporal/plain_date/mod.rs:1466-1474 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1823-1832 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:569-578 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1067-1076 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2194-2203 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1466\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a68b21860d4b1aa93b8bc16421a0b1744adaa0bb3d7dfa6a32831683df26f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): core/engine/src/bytecompiler/class.rs:412-423 | core/engine/src/bytecompiler/class.rs:463-472 | core/engine/src/bytecompiler/class.rs:515-524 | core/engine/src/bytecompiler/class.rs:559-568 | core/engine/src/bytecompiler/class.rs:602-611 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/bytecompiler/class.rs:412\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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5785b1fdc7d34dd9ab70c6404370061ce4ac68744d01dd4d28df47009a17ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): core/engine/src/vm/opcode/define/class/getter.rs:43-52 | core/engine/src/vm/opcode/define/class/getter.rs:100-109 | core/engine/src/vm/opcode/define/class/getter.rs:207-216 | core/engine/src/vm/opcode/set/property.rs:233-242 | core/engine/src/vm/opcode/set/property.rs:277-286 \u2014 there are 5 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 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/vm/opcode/define/class/getter.rs:43\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":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3125b639c9a288646ac8a534a84e35ca25ae9bcead7d0f5f7ff7554a0868f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): core/engine/src/builtins/array_buffer/utils.rs:466-478 | core/engine/src/builtins/array_buffer/utils.rs:544-559 | core/engine/src/builtins/array_buffer/utils.rs:621-630 | core/engine/src/builtins/array_buffer/utils.rs:693-702 \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 \u0060core/engine/src/builtins/array_buffer/utils.rs:466\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 \u0060src\u0060 to \u0060*const AtomicU8\u0060 in one and \u0060*const u8\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":"core/engine/src/builtins/array_buffer/utils.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5e4dac0531dbd30a960424ff494f62a098ec9f9c4984459b1d60b3b84cdd0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): core/engine/src/builtins/date/mod.rs:991-1000 | core/engine/src/builtins/date/mod.rs:1123-1132 | core/engine/src/builtins/date/mod.rs:1189-1198 | core/engine/src/builtins/date/mod.rs:1251-1260 \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 \u0060core/engine/src/builtins/date/mod.rs:991\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, \u0060core/engine/src/builtins/date/mod.rs:1006\u0060 calls \u0060get\u0060, \u0060to_number\u0060, \u0060transpose\u0060 and \u0060core/engine/src/builtins/date/mod.rs:1138\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"717092d3682ca662b76ffc0af6b115596e1652210de907701cf3cb219ca226c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date_time/mod.rs:371-379 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:382-391 | core/engine/src/builtins/temporal/plain_time/mod.rs:172-180 | core/engine/src/builtins/temporal/plain_time/mod.rs:183-191 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:371\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"10efef3347b3e53f918f3cd3fceee5b88fa12a7525120c5fa988d9c59e78125d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): core/engine/src/module/namespace.rs:265-274 | core/engine/src/module/namespace.rs:301-310 | core/engine/src/module/namespace.rs:390-399 | core/engine/src/module/namespace.rs:492-501 \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 \u0060core/engine/src/module/namespace.rs:265\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":"core/engine/src/module/namespace.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"838357fc4310ed383563e88276724407e28c0072a0d295d893aff294255fffb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/ast/src/scope_analyzer.rs:187-196 | core/ast/src/scope_analyzer.rs:995-1004 | core/ast/src/scope_analyzer.rs:1608-1617 \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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adce1eef6868356ca7d089d1f0841f64b330b317ebeb028203d1c5272eeacf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): core/ast/src/scope_analyzer.rs:1924-1932 | core/engine/src/bytecompiler/declarations.rs:78-87 | core/engine/src/bytecompiler/declarations.rs:404-413 \u2014 before extracting anything, compare \u0060core/ast/src/scope_analyzer.rs\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/ast/src/scope_analyzer.rs:1924\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"02425f1a833ea4f00cafe88ff5a20916d711f84515031575cafe661090f12ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:1010-1018 | core/engine/src/builtins/temporal/plain_date/mod.rs:1041-1050 | core/engine/src/builtins/temporal/plain_date/mod.rs:1070-1078 \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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d1fc5e4c8d07b74cf90b5317d07291fc5ea0e55617729e24c504b55290bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:1420-1429 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1752-1761 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2123-2132 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1420\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3a8a63aa56fd9cf7f2edf2802b759990a8952bdb01794cfb97ce2f0b6b5882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1261-1269 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1289-1297 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1386-1395 \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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"3729aef3e73f80f6c6517c108c8d17cbc495f2762e9aaa11884122d52999d298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): core/engine/src/builtins/temporal/plain_time/mod.rs:575-583 | core/engine/src/builtins/temporal/plain_time/mod.rs:605-613 | core/engine/src/builtins/temporal/plain_time/mod.rs:714-723 \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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7cdf0f72c7999a9bcb5e0944e98da8bca47118f4dd07c62389dfb29f88d46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:875-884 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:977-986 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1074-1083 \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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:875\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"52123c7b144b4f9415a449370f044d5ac0bbadf8eb8321a078de5958a7de96b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1930-1939 | core/ast/src/scope_analyzer.rs:2400-2409 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:1930\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, \u0060core/ast/src/scope_analyzer.rs:2412\u0060 calls \u0060push\u0060, \u0060clone\u0060 and \u0060core/ast/src/scope_analyzer.rs:1940\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eba9a69b81abcedfc5de35f418390af66caec2610e7f46f9568ccfa235688f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:538-547 | core/engine/src/builtins/date/mod.rs:829-838 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/date/mod.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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80b9b88eb0237efd8e5a7178c01f3e24b196cd1161d990ad093b6fdb0bd91a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:1409-1418 | core/engine/src/builtins/date/mod.rs:1687-1696 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/date/mod.rs:1409\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e82ef1f0b9a4c194082d4021e0fce4db3a277ab912d6e000dc71d8c2bcfcf19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/date/utils.rs:1014-1023 | core/engine/src/builtins/date/utils.rs:1026-1035 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/date/utils.rs:1014\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":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"c13912f1db7bd7538f79648b601e2883afe7a7e59d1d8a6732d8437c5ef16121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/promise/mod.rs:1320-1329 | core/engine/src/builtins/promise/mod.rs:1393-1402 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/promise/mod.rs:1320\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1400f64563701b404693dc0c5061bdfc9babaa0bcd005360b08615b2115d1ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/regexp/mod.rs:1528-1539 | core/engine/src/builtins/regexp/mod.rs:1896-1905 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/regexp/mod.rs:1528\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":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97b77a038a9f4b91d2c3028f289fefe018b67a89bea215bd30f5bff6f77197d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/engine/src/builtins/temporal/duration/mod.rs:827-836 | core/engine/src/builtins/temporal/duration/mod.rs:859-867 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1b2d58a1518af75a7b491d6901c1e596183414ed08a5065dadba660008cbe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date/mod.rs:1225-1234 | core/engine/src/builtins/temporal/plain_date/mod.rs:1246-1255 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3607cc1df189eac4e3371ccfa35c4ef13aa76dfafc81d0775cac25a2b8556e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/temporal/plain_month_day/mod.rs:383-392 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:404-413 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db092fc9dced73387fc7eeefa8e07e0284edf7769f6a1e5f5b9716b979be4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/temporal/plain_time/mod.rs:471-480 | core/engine/src/builtins/temporal/plain_time/mod.rs:500-509 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a20751117234f03e6a75fa6c85a4c0599594212a6e5073991c85112199448db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/temporal/plain_year_month/mod.rs:764-773 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:785-794 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29fb6ec5f398e747788e780c9c17fc4c91c555ce3dfe84737e00b41be1f4bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:795-804 | core/engine/src/builtins/typed_array/builtin.rs:1366-1375 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:795\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b160848de855f05b0c357140db6a43d2a165ab732bc426dfa7c4378b2d4c1f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:956-965 | core/engine/src/bytecompiler/mod.rs:987-996 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:956\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, \u0060core/engine/src/bytecompiler/mod.rs:986\u0060 calls \u0060emit_get_name\u0060, \u0060variable\u0060, \u0060into\u0060 and \u0060core/engine/src/bytecompiler/mod.rs:955\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7bf0aee4223dbc7a424b4ae4892ad57aeb4a47a68ce31c2136c7f1674b5e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/bytecompiler/statement/try.rs:133-142 | core/engine/src/bytecompiler/statement/try.rs:163-172 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/statement/try.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ba54e154259cb23c4a3978a9f5e162d34d868eb08ab755c9b352f48fc2999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/object/jsobject.rs:215-224 | core/engine/src/object/jsobject.rs:1115-1124 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/object/jsobject.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a375705e5a7112e4dfdf1f68dc658656e2ff182574e0e1380c831f467507fb61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/vm/opcode/environment/mod.rs:187-196 | core/engine/src/vm/opcode/new/mod.rs:52-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/environment/mod.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42c24efad1027c2a5e9ad968544eace64cbf3a775b16d300794f48f1f0b4000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/vm/opcode/generator/mod.rs:27-36 | core/engine/src/vm/opcode/generator/mod.rs:73-82 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/vm/opcode/generator/mod.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0e5e770293dea77c9ae453d7f5814e8aff81e0199a255667e257aebd761079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/icu_provider/src/lib.rs:58-67 | core/icu_provider/src/lib.rs:79-88 \u2014 both copies are in the same file, so extract the block 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":"core/icu_provider/src/lib.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2285b752e0fd62a9df872e76ed0e040a954e33f2ca1f507ebcbef4ec3ab2006f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/parser/src/parser/expression/mod.rs:268-278 | core/parser/src/parser/expression/mod.rs:287-296 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/parser/expression/mod.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47836a82403ce61e5bec88ad0fa81068d2404c7d43efda9ccabb312114d70df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/parser/src/parser/expression/mod.rs:579-588 | core/parser/src/parser/expression/mod.rs:599-608 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/parser/expression/mod.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2fbd2cf29ef89f71e271d30e93a929b42e7687f253d91259d27133c303e0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/parser/src/parser/expression/primary/mod.rs:337-345 | core/parser/src/parser/expression/primary/mod.rs:389-398 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/expression/primary/mod.rs:337\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/parser/src/parser/expression/primary/mod.rs:388\u0060 calls \u0060Some\u0060, \u0060span\u0060 and \u0060core/parser/src/parser/expression/primary/mod.rs:336\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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"070d388d69914c82d5eb059a2dd89cedae25a550d34b07c4793055942f90ff89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): core/parser/src/parser/function/mod.rs:491-500 | core/parser/src/parser/statement/mod.rs:965-972 \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 \u0060core/parser/src/parser/function/mod.rs:491\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":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa2162eddf514e6194478369e44896189d9433f1723db142e9be774cb912e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:917-926 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1153-1162 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:917\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30b13de0e7e4cf6db6f83d6e9ea7a240111bb74618ae050fe059323381af2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:942-951 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1045-1053 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:942\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a2d49e6eedd32ba840090e8fa9c0f630e315b118768aa0ea3a8e3a62a81e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): core/parser/src/parser/statement/declaration/mod.rs:158-167 | core/parser/src/parser/statement/declaration/mod.rs:244-252 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/parser/statement/declaration/mod.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f283e29daa63b48101ddea099dbeb6b483b13f0238b00d916079cde9f895e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): core/runtime/src/fetch/fetchers.rs:46-53 | core/runtime/src/fetch/fetchers.rs:73-82 \u2014 both copies are in the same file, so extract the block 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 \u0060core/runtime/src/fetch/fetchers.rs:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/runtime/src/fetch/fetchers.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0919e92ca9ce57629e0d640313d787e93c9f8f5221b9e157921633135c7f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 15): core/engine/src/builtins/temporal/plain_date/mod.rs:359-367 | core/engine/src/builtins/temporal/plain_date/mod.rs:390-398 | core/engine/src/builtins/temporal/plain_date/mod.rs:417-425 | core/engine/src/builtins/temporal/plain_date/mod.rs:444-452 | core/engine/src/builtins/temporal/plain_date/mod.rs:471-479 | core/engine/src/builtins/temporal/plain_date/mod.rs:498-506 | core/engine/src/builtins/temporal/plain_date/mod.rs:523-531 | core/engine/src/builtins/temporal/plain_date/mod.rs:548-556 | core/engine/src/builtins/temporal/plain_date/mod.rs:573-581 | core/engine/src/builtins/temporal/plain_date/mod.rs:598-606 | core/engine/src/builtins/temporal/plain_date/mod.rs:623-631 | core/engine/src/builtins/temporal/plain_date/mod.rs:648-656 | core/engine/src/builtins/temporal/plain_date/mod.rs:673-681 | core/engine/src/builtins/temporal/plain_date/mod.rs:698-706 | core/engine/src/builtins/temporal/plain_date/mod.rs:723-731 \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. 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c366e468eac0e022ae9408aed24a690cc60a195d56e105e557e9cece31cc9f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): core/engine/src/builtins/date/mod.rs:496-504 | core/engine/src/builtins/date/mod.rs:570-578 | core/engine/src/builtins/date/mod.rs:608-616 | core/engine/src/builtins/date/mod.rs:646-654 | core/engine/src/builtins/date/mod.rs:684-692 | core/engine/src/builtins/date/mod.rs:723-731 | core/engine/src/builtins/date/mod.rs:761-769 \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 \u0060core/engine/src/builtins/date/mod.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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0bd0b4de87c363ded5f572471e89526bbb0c701e2275b61e91e5d85d293499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): core/engine/src/builtins/date/mod.rs:858-867 | core/engine/src/builtins/date/mod.rs:988-997 | core/engine/src/builtins/date/mod.rs:1059-1068 | core/engine/src/builtins/date/mod.rs:1120-1129 | core/engine/src/builtins/date/mod.rs:1186-1195 | core/engine/src/builtins/date/mod.rs:1248-1257 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/date/mod.rs:1000\u0060 calls \u0060get\u0060, \u0060to_number\u0060, \u0060transpose\u0060 and \u0060core/engine/src/builtins/date/mod.rs:870\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"7514e72d18df8ea5a1c20e812f03ea8cf7f140facc570bb515cc63695dd18517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): core/engine/src/builtins/temporal/plain_date_time/mod.rs:368-377 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:379-388 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:391-400 | core/engine/src/builtins/temporal/plain_time/mod.rs:169-178 | core/engine/src/builtins/temporal/plain_time/mod.rs:180-189 | core/engine/src/builtins/temporal/plain_time/mod.rs:191-200 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:376\u0060 calls \u0060Ok\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/mod.rs:166\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa09bc85dd883246e0c0645239d0c9db59e8acae120c088da542ed72e61b50a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): core/engine/src/builtins/typed_array/builtin.rs:658-665 | core/engine/src/builtins/typed_array/builtin.rs:1018-1026 | core/engine/src/builtins/typed_array/builtin.rs:1425-1433 | core/engine/src/builtins/typed_array/builtin.rs:1500-1507 | core/engine/src/builtins/typed_array/builtin.rs:2214-2221 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/typed_array/builtin.rs:658\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"96106ccdbeb62c2709247a3ce8d921f9e1efb58ac0a00ab6a263548ab96b2da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): core/engine/src/vm/opcode/push/class/field.rs:79-87 | core/engine/src/vm/opcode/push/class/private.rs:94-100 | core/engine/src/vm/opcode/push/class/private.rs:140-146 | core/engine/src/vm/opcode/set/private.rs:147-153 | core/engine/src/vm/opcode/set/private.rs:189-195 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/push/class/private.rs\u0060 and \u0060core/engine/src/vm/opcode/set/private.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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, \u0060core/engine/src/vm/opcode/push/class/private.rs:100\u0060 calls \u0060constant_string\u0060, \u0060into\u0060, \u0060as_callable\u0060 and \u0060core/engine/src/vm/opcode/push/class/field.rs:87\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":"core/engine/src/vm/opcode/push/class/field.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7052ef538ab4f77f0f9d543ab0baac6ab1579daeffb361f31a8a8c8bfff37a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): core/ast/src/scope_analyzer.rs:395-403 | core/ast/src/scope_analyzer.rs:420-428 | core/ast/src/scope_analyzer.rs:787-795 | core/ast/src/scope_analyzer.rs:817-825 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060\u0026\u0027ast mut ClassDeclaration\u0060 in one and \u0060\u0026\u0027ast mut ClassExpression\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1faa998d73c63e90d82cde91845d96db5dfb9696756002c1a311779acd019b53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:1423-1431 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1755-1763 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1023-1031 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2126-2134 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1423\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb74881d312fba8d678483fbdceeca8197292d81b7fe71865e779b756ac269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:1472-1479 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1845-1853 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:575-583 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1073-1081 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1472\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"97946319bf093be354009701305f86aec1556cdf26f91dade12544f519b11d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): core/engine/src/bytecompiler/mod.rs:178-186 | core/engine/src/bytecompiler/mod.rs:193-201 | core/engine/src/bytecompiler/mod.rs:208-216 | core/engine/src/bytecompiler/mod.rs:223-231 \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 \u0060core/engine/src/bytecompiler/mod.rs:178\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 \u0060function\u0060 to \u0060\u0026\u0027a FunctionDeclaration\u0060 in one and \u0060\u0026\u0027a GeneratorDeclaration\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2f2eb6ab2178368889d598663ece077af0fbbf8a80bff42652ec4ff4cdc627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:62-69 | core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:75-82 | core/parser/src/parser/expression/primary/function_expression/mod.rs:60-68 | core/parser/src/parser/expression/primary/generator_expression/mod.rs:66-73 \u2014 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs\u0060 and \u0060core/parser/src/parser/expression/primary/async_generator_expression/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 5 separate duplicated blocks between them, totalling at least 82 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 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs:62\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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a01d4b3baf1aa9666842c6a0e48fd48354611c9efa8feaccacfd9cbd8a6102c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): core/parser/src/parser/expression/update.rs:102-110 | core/parser/src/parser/expression/update.rs:130-138 | core/parser/src/parser/expression/update.rs:171-179 | core/parser/src/parser/expression/update.rs:194-202 \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 \u0060core/parser/src/parser/expression/update.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/parser/src/parser/expression/update.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"030af1c27d80ddec68385bbf5217104bbc2b749ebd53703fc0e2bc5b97b5e6b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): core/parser/src/parser/statement/iteration/do_while_statement.rs:66-74 | core/parser/src/parser/statement/iteration/for_statement.rs:211-219 | core/parser/src/parser/statement/iteration/for_statement.rs:298-306 | core/parser/src/parser/statement/iteration/while_statement.rs:63-71 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. 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":"core/parser/src/parser/statement/iteration/do_while_statement.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1aba7d94cc559678d809559d9becc64b3c4d7aaf21b1964ab75c9ec2c2c8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/ast/src/scope_analyzer.rs:2393-2401 | core/engine/src/bytecompiler/declarations.rs:243-251 | core/engine/src/bytecompiler/declarations.rs:651-659 \u2014 before extracting anything, compare \u0060core/ast/src/scope_analyzer.rs\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/ast/src/scope_analyzer.rs:2393\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5505fb76724976925185584beb0e25d8aca030e2dba6ae57dbde91e4525c53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/date/mod.rs:1407-1415 | core/engine/src/builtins/date/mod.rs:1685-1693 | core/engine/src/builtins/date/mod.rs:1723-1731 \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 \u0060core/engine/src/builtins/date/mod.rs:1407\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4df345e7a75f3bd7840d8275ff62ccc94b180ddd396744a0ff8effde5339b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:1413-1421 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1738-1747 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2109-2118 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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. 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f095fca0e29630ed951942553389a02c8a4f9444206fe8caeda038f1c02e57db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_year_month/mod.rs:632-640 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:667-675 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:702-710 \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":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df1d29f17d71009174896d417a92a4229bfba5f80796d5cd9dd345aa96b3b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1400-1408 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1431-1439 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1539-1547 \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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"827a2f138e69541658fdd9e073736031239b34c85d5b5f16b622abaa351b37b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/typed_array/builtin.rs:748-756 | core/engine/src/builtins/typed_array/builtin.rs:1731-1739 | core/engine/src/builtins/typed_array/builtin.rs:1750-1758 \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 \u0060core/engine/src/builtins/typed_array/builtin.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. 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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1e6b7da23a1acbb961a7e5f3469c25c51c005313a1f5f541e31ddf6e235ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/bytecompiler/mod.rs:283-291 | core/engine/src/bytecompiler/mod.rs:298-306 | core/engine/src/bytecompiler/mod.rs:313-321 \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 \u0060core/engine/src/bytecompiler/mod.rs:283\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 \u0060function\u0060 to \u0060\u0026\u0027a AsyncFunctionExpression\u0060 in one and \u0060\u0026\u0027a GeneratorExpression\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d25c5d599efd1badd80bf5c14f93b99059656705913ce0228e98fe84079ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/vm/opcode/call/mod.rs:107-115 | core/engine/src/vm/opcode/environment/mod.rs:186-194 | core/engine/src/vm/opcode/new/mod.rs:51-59 \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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f377d8cf7e9d54ea065eaa8ed1311ae687cf054b933b47806d48777e83f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/parser/src/parser/function/mod.rs:493-501 | core/parser/src/parser/mod.rs:422-430 | core/parser/src/parser/statement/mod.rs:965-973 \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 \u0060core/parser/src/parser/function/mod.rs:493\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":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420d5990b7ebd51e5cadc8df5c6b6c2be7c307bc17d4d828b1a4caeaef79894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:764-772 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:872-880 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:974-982 \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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:764\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47e2e072994a902a950dc13edb46981cbde3f9ab1b377f24aec5530ff20982b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/ast/src/scope_analyzer.rs:851-859 | core/ast/src/scope_analyzer.rs:862-870 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:851\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e4b44eb96dc2ce7bcf83c0f9fe5574fe8723e62e84b6262eadcee629b9d50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1495-1503 | core/ast/src/scope_analyzer.rs:1506-1514 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:1495\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"541ff819cfb2c69c8cfc2ec725a09f3d81b85f8a549daa8f997b52fce011eed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1632-1640 | core/ast/src/scope_analyzer.rs:1657-1665 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:1632\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 \u0060node\u0060 to \u0060\u0026\u0027ast mut ForInLoop\u0060 in one and \u0060\u0026\u0027ast mut ForOfLoop\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd60d5c20743293237a016929b1bf2e7810e037fa5673191688f110ffbadbef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/array_buffer/mod.rs:331-339 | core/engine/src/builtins/array_buffer/shared.rs:100-108 \u2014 before extracting anything, compare \u0060core/engine/src/builtins/array_buffer/mod.rs\u0060 and \u0060core/engine/src/builtins/array_buffer/shared.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. 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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"859d79791696d0b9ad6b21c48f7b7746f1008dbd488b4f5ab8270db854fd074a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/async_generator/mod.rs:74-82 | core/engine/src/builtins/iterable/async_from_sync_iterator.rs:30-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/async_generator/mod.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ebe254eae20b976180ba736e54ce6b7dfe66b5c88b13d00896104b46e862ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): core/engine/src/builtins/atomics/mod.rs:220-226 | core/engine/src/builtins/atomics/mod.rs:272-280 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/atomics/mod.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95e60581edc0643e9fc88177d8a539d4e32c7c92fbff79a416c79686df0e75b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_helper/flat_map.rs:98-106 | core/engine/src/builtins/iterable/iterator_helper/map.rs:54-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/iterable/iterator_helper/flat_map.rs:98\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 before the matched lines, \u0060core/engine/src/builtins/iterable/iterator_helper/map.rs:50\u0060 calls \u0060if_abrupt_close_iterator\u0060 and \u0060core/engine/src/builtins/iterable/iterator_helper/flat_map.rs:97\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":"core/engine/src/builtins/iterable/iterator_helper/flat_map.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"849cb4be6d0df34e945da5f46318ee62e0ee440c2c2668b9514d86319fd02a98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/string/mod.rs:899-908 | core/engine/src/builtins/string/mod.rs:965-973 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/string/mod.rs:899\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd634ad20c813f88ef9670d4206f8e7323a8b5083696eb7f44f7a8469e067a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1426-1434 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1572-1579 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:1426\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1579\u0060 calls \u0060get_digits_option\u0060, \u0060unwrap_or\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:1434\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2b6c3f8024e475afccc70fb98bedde597e3242326e569f1d34dde1ad925183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1838-1846 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2214-2222 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:1838\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea74f7444cb4892b037efe1679f6b05727c3d6b05c53c2e3bc9c4cfa5d5ac3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_month_day/mod.rs:545-553 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:843-851 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 13 separate duplicated blocks between them, totalling at least 135 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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a956f58ae2f080d766c30958676e0b9788fdc58a7ef4a09e0274bf1870c53fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:1131-1139 | core/engine/src/builtins/typed_array/builtin.rs:1270-1278 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6b84f78718ac962a7cee90192a9220e2d551dabd275d9378e35469f259d6b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/bytecompiler/class.rs:225-234 | core/engine/src/bytecompiler/class.rs:285-293 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/class.rs:225\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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"28286057e6513e4d8486bf79bb4f2f1207ba3b95f056c98826b66d7ea8adf175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/bytecompiler/class.rs:641-649 | core/engine/src/bytecompiler/class.rs:657-665 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/bytecompiler/class.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"077cedf337cba39a5650d7c84f17b926f3c10c6f7923d94e8675fa5e3644f824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/bytecompiler/mod.rs:1031-1039 | core/engine/src/bytecompiler/mod.rs:1068-1076 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/bytecompiler/mod.rs:1031\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":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12e9b6a5c22b948bd69cebd596edf4aa94a232f4a9909593a17c31d9aa9ae97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/object/internal_methods/mod.rs:1055-1063 | core/engine/src/property/mod.rs:308-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 \u0060core/engine/src/object/internal_methods/mod.rs:1055\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":"core/engine/src/object/internal_methods/mod.rs"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"efda4584c65657c03ec5f74428ed9d9361bfea2eda63527cf5db660403ea7e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/value/display/array.rs:12-20 | core/engine/src/value/display/array.rs:80-88 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/value/display/array.rs:25\u0060 calls \u0060min\u0060 and \u0060core/engine/src/value/display/array.rs:90\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":"core/engine/src/value/display/array.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"80395bf0ae38e03f95f973fe7b0349eda327d2162280ef1870e71ceeb5bdaf72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/vm/opcode/get/name.rs:79-87 | core/engine/src/vm/opcode/get/property.rs:58-66 \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 \u0060core/engine/src/vm/opcode/get/name.rs:79\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":"core/engine/src/vm/opcode/get/name.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad20f47b5208fe259609697547ab085d2a07f3a2ac8232c00760cef8af40d918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/parser/src/lexer/regex.rs:215-223 | core/parser/src/lexer/regex.rs:247-255 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/lexer/regex.rs:215\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":"core/parser/src/lexer/regex.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"344c26e0f133c3c1b7c955a27668dceb914e3a5f3babb6a3f1862ab838963461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/parser/src/parser/expression/primary/class_expression/mod.rs:54-62 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:81-89 \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 \u0060core/parser/src/parser/expression/primary/class_expression/mod.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/class_expression/mod.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c100890cc7ce3090171aa2c4098ef095a6cecc7bee270339099eb840428b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:430-438 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:449-457 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc101170cccda65b426e22da40cc36210febc16d376a40f08255730124061340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:915-923 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1018-1026 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:915\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, \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:924\u0060 calls \u0060span\u0060, \u0060start\u0060 and \u0060core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1027\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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12971d3bdb2faaa93147fb13531583d768078936d3bcff850f5322e9f11dd6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/runtime/src/fetch/headers.rs:111-119 | core/runtime/src/fetch/headers.rs:121-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/fetch/headers.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"de37f95a8e8f5efd24d7582eace38d74a52eec817b53905f00b53573bea962c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/runtime/src/url.rs:207-215 | core/runtime/src/url.rs:217-225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/url.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0db03be871de3f50283f4fd8ad9b800bccb127386bbf4106ac7be8faa6b949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14): core/engine/src/builtins/date/mod.rs:454-461 | core/engine/src/builtins/date/mod.rs:493-500 | core/engine/src/builtins/date/mod.rs:535-542 | core/engine/src/builtins/date/mod.rs:567-574 | core/engine/src/builtins/date/mod.rs:605-612 | core/engine/src/builtins/date/mod.rs:643-650 | core/engine/src/builtins/date/mod.rs:681-688 | core/engine/src/builtins/date/mod.rs:720-727 | core/engine/src/builtins/date/mod.rs:758-765 | core/engine/src/builtins/date/mod.rs:826-833 | core/engine/src/builtins/date/mod.rs:1406-1413 | core/engine/src/builtins/date/mod.rs:1543-1550 | core/engine/src/builtins/date/mod.rs:1684-1691 | core/engine/src/builtins/date/mod.rs:1722-1729 \u2014 all 14 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 \u0060core/engine/src/builtins/date/mod.rs:454\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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f7338ccd824e186f4aca49262629f4bb604efe6d1fb0cc66d768e2aea31238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): core/engine/src/vm/opcode/define/class/getter.rs:38-45 | core/engine/src/vm/opcode/define/class/getter.rs:95-102 | core/engine/src/vm/opcode/define/class/getter.rs:148-156 | core/engine/src/vm/opcode/define/class/getter.rs:202-209 | core/engine/src/vm/opcode/define/class/setter.rs:38-45 | core/engine/src/vm/opcode/define/class/setter.rs:96-103 | core/engine/src/vm/opcode/define/class/setter.rs:151-158 | core/engine/src/vm/opcode/define/class/setter.rs:206-213 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/define/class/getter.rs\u0060 and \u0060core/engine/src/vm/opcode/define/class/setter.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. 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 \u0060core/engine/src/vm/opcode/define/class/getter.rs:38\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":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"372906e43431a4cb83cb7bca5827d7fd1250dac96c94272a66e2aa4eed52973b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 4): core/engine/src/vm/opcode/define/own_property.rs:22-27 | core/engine/src/vm/opcode/push/class/private.rs:30-35 | core/engine/src/vm/opcode/set/private.rs:61-68 | core/engine/src/vm/opcode/set/private.rs:98-103 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/push/class/private.rs\u0060 and \u0060core/engine/src/vm/opcode/set/private.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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, \u0060core/engine/src/vm/opcode/push/class/private.rs:28\u0060 calls \u0060get_register\u0060, \u0060into\u0060, \u0060clone\u0060 and \u0060core/engine/src/vm/opcode/define/own_property.rs:20\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":"core/engine/src/vm/opcode/define/own_property.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0913f4eec27763f51f0d7a3d53fc250343e306777c546fbbb3cf347d84774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/plain_year_month/mod.rs:450-457 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:473-480 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:496-503 \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":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b751e44f3603ac7d1f8e442a482f76cd6ba36062136d1582e8497952c0ba1df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ast/src/scope_analyzer.rs:107-114 | core/ast/src/scope_analyzer.rs:127-134 \u2014 both copies are in the same file, so extract the block 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 \u0060node\u0060 to \u0060\u0026\u0027ast mut Block\u0060 in one and \u0060\u0026\u0027ast mut Switch\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f5d19f1e7c64579c7f25cc3f86689c3cf0966bae6a46174ac9e0d896e23d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/ast/src/scope_analyzer.rs:228-235 | core/ast/src/scope_analyzer.rs:260-267 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:228\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 \u0060node\u0060 to \u0060\u0026\u0027ast mut ForInLoop\u0060 in one and \u0060\u0026\u0027ast mut ForOfLoop\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"882c5be4895ac5c20be16f825bed055181c8613b145c572410507db5b751ca60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:1207-1214 | core/engine/src/builtins/array/mod.rs:1216-1223 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b49c8e127fa7cbd721045e0bd179ef0f9208cff1736d01277a1c4b9630fa78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/atomics/mod.rs:244-251 | core/engine/src/builtins/atomics/mod.rs:292-299 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/atomics/mod.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4057d955ebe245d561c3bf66131776188ba103a06dd954e7007cdad09770578e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/dataview/mod.rs:451-458 | core/engine/src/builtins/dataview/mod.rs:793-800 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e4eb90cae3ce2844036fde3c4bc4b64572f30ef3e86efde6e6344c47d576bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/generator/mod.rs:267-274 | core/engine/src/builtins/generator/mod.rs:347-354 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/generator/mod.rs:267\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":"core/engine/src/builtins/generator/mod.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e1891aeaba18c60f35e50ee6f787d8d4091d8a2810997cfcf4cab0e55954da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/intl/date_time_format/mod.rs:210-217 | core/engine/src/builtins/intl/number_format/mod.rs:249-266 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/number_format/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 7 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 \u0060core/engine/src/builtins/intl/number_format/mod.rs:249\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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"296e1b21834d686c2210aaf2fd8761775af77f349a50d4aaceea88f5dac8950b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:67-74 | core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:98-105 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:78\u0060 calls \u0060next_method\u0060, \u0060clone\u0060 and \u0060core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs:108\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":"core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a87cb026ce42b3abefc62372df21e8979627fda0f3eae531779b20cb5ddf40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/context/mod.rs:674-681 | core/engine/src/context/mod.rs:829-836 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/context/mod.rs:674\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) fn can_declare_global_function(\u0026mut\u0060 in one and \u0060crate) fn has_restricted_global_property(\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":"core/engine/src/context/mod.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c0dd23278050a21e6884ba933b7c822ccea9945453afe9f38c9635a0f460c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/object/property_map.rs:391-398 | core/engine/src/object/property_map.rs:402-409 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/property_map.rs:391\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":"core/engine/src/object/property_map.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2832604aa4acd26d7030ae4e01e2fee87c43e8b27108d42b3f19d66964f768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/object/property_map.rs:422-429 | core/engine/src/object/property_map.rs:431-438 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/object/property_map.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"27edf56d960cd1140730303d26f65469766aa38ec28ace7b82892c412b4ff436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/object/property_map.rs:920-927 | core/engine/src/object/property_map.rs:1035-1042 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/object/property_map.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82f777fb0efe19b014621e5242fe83ee42c503fc0b04c53ac9d773d7cf68aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/object/property_map.rs:933-940 | core/engine/src/object/property_map.rs:1048-1055 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/object/property_map.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e920cc44b2e2a29fa7bf0ee42e43e5e23c2b0937d02c408ca3c81c8fb4c9a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 4): core/engine/src/vm/opcode/define/own_property.rs:63-65 | core/engine/src/vm/opcode/set/property.rs:160-162 | core/engine/src/vm/opcode/set/property.rs:273-279 | core/engine/src/vm/opcode/set/property.rs:366-373 \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. 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, \u0060core/engine/src/vm/opcode/set/property.rs:158\u0060 calls \u0060get_register\u0060, \u0060into\u0060, \u0060clone\u0060 and \u0060core/engine/src/vm/opcode/define/own_property.rs:61\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":"core/engine/src/vm/opcode/define/own_property.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf98cbc9a786582f42af3410a11a131ec128dba64302c4cb4dd7bd0624d28e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1088-1095 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:1181-1188 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"af591ab71785b39ba8ce9b4ebd5ec31c1c5d2f5038e877682256f4b22a2179e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/runtime/src/fetch/response.rs:295-302 | core/runtime/src/fetch/response.rs:311-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/runtime/src/fetch/response.rs:295\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 \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":"core/runtime/src/fetch/response.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d64f8106f4aeeef19ff7260682500ccb5773a6393015952d51ed06e3d21571a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): core/engine/src/object/builtins/jsdataview.rs:204-210 | core/engine/src/object/builtins/jsdataview.rs:225-231 | core/engine/src/object/builtins/jsdataview.rs:246-252 | core/engine/src/object/builtins/jsdataview.rs:287-293 | core/engine/src/object/builtins/jsdataview.rs:308-314 | core/engine/src/object/builtins/jsdataview.rs:329-335 | core/engine/src/object/builtins/jsdataview.rs:350-356 | core/engine/src/object/builtins/jsdataview.rs:371-377 | core/engine/src/object/builtins/jsdataview.rs:392-398 \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 \u0060core/engine/src/object/builtins/jsdataview.rs:204\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":"core/engine/src/object/builtins/jsdataview.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73545d992c7aa492353b91b4201c378e925900dc834e05aaa1dd0eba2143f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): core/engine/src/builtins/temporal/plain_date/mod.rs:1474-1480 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1848-1854 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:464-470 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:578-584 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:1076-1082 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:2240-2246 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1471\u0060 calls \u0060from_str\u0060, \u0060to_std_string_escaped\u0060, \u0060map_err\u0060 and \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs:458\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0503f41f83ecd4d1ec3503f289f62c65e524f51b6167e3e94deb276da4a0d534"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): core/engine/src/vm/opcode/define/class/getter.rs:139-146 | core/engine/src/vm/opcode/define/class/getter.rs:193-200 | core/engine/src/vm/opcode/define/class/method.rs:119-126 | core/engine/src/vm/opcode/define/class/method.rs:168-175 | core/engine/src/vm/opcode/define/class/setter.rs:142-149 | core/engine/src/vm/opcode/define/class/setter.rs:197-204 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/define/class/getter.rs\u0060 and \u0060core/engine/src/vm/opcode/define/class/setter.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. 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 \u0060core/engine/src/vm/opcode/define/class/getter.rs:139\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":"core/engine/src/vm/opcode/define/class/getter.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e16a4455be4b621774233d6a244cf27e0d1ff1b257a52dda186c1b2ce8678e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): core/engine/src/vm/opcode/define/own_property.rs:21-26 | core/engine/src/vm/opcode/push/class/private.rs:29-34 | core/engine/src/vm/opcode/set/private.rs:60-65 | core/engine/src/vm/opcode/set/private.rs:97-102 | core/engine/src/vm/opcode/set/property.rs:223-229 | core/engine/src/vm/opcode/set/property.rs:315-321 \u2014 before extracting anything, compare \u0060core/engine/src/vm/opcode/push/class/private.rs\u0060 and \u0060core/engine/src/vm/opcode/set/private.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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, \u0060core/engine/src/vm/opcode/push/class/private.rs:28\u0060 calls \u0060get_register\u0060, \u0060into\u0060, \u0060clone\u0060 and \u0060core/engine/src/vm/opcode/define/own_property.rs:20\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":"core/engine/src/vm/opcode/define/own_property.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b17472be87499f4f0ed5fff4a0f24e943e243fadf7e29b2802e5f99b02f5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): core/parser/src/parser/statement/declaration/lexical.rs:393-399 | core/parser/src/parser/statement/declaration/lexical.rs:434-440 | core/parser/src/parser/statement/variable/mod.rs:170-176 | core/parser/src/parser/statement/variable/mod.rs:189-195 | core/parser/src/parser/statement/variable/mod.rs:208-214 \u2014 before extracting anything, compare \u0060core/parser/src/parser/statement/declaration/lexical.rs\u0060 and \u0060core/parser/src/parser/statement/variable/mod.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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/parser/src/parser/statement/declaration/lexical.rs:393\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":"core/parser/src/parser/statement/declaration/lexical.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4f52a02bac21cab58dc613b72030bc8b9f7ea231343136c2129093831c3bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): core/engine/src/builtins/typed_array/builtin.rs:874-880 | core/engine/src/builtins/typed_array/builtin.rs:910-916 | core/engine/src/builtins/typed_array/builtin.rs:946-952 | core/engine/src/builtins/typed_array/builtin.rs:982-988 \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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea39f05580042682a3d90d28e8244cdd55f7dcf472eeefb3a1f52b7418e2a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/engine/src/builtins/intl/date_time_format/mod.rs:989-998 | core/engine/src/builtins/intl/list_format/mod.rs:332-338 | core/engine/src/builtins/intl/number_format/mod.rs:711-719 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/list_format/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 3 separate duplicated blocks between them, totalling at least 42 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 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs:989\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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"2556fc02689fbfdbf1dc7ad4536ea88d2c770748466d209138ef18c122d26f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/engine/src/builtins/string/mod.rs:1498-1505 | core/engine/src/builtins/string/mod.rs:2120-2126 | core/engine/src/builtins/string/mod.rs:2244-2251 \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 \u0060core/engine/src/builtins/string/mod.rs:1498\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":"core/engine/src/builtins/string/mod.rs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"13777988ae00b4b35c4f624fe542008bf4d8373c597259a0cab075137e32cabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ast/src/scope_analyzer.rs:449-455 | core/ast/src/scope_analyzer.rs:458-464 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:449\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13d8c389b7b1db436b3d85c1366e68a53fe5e713f3f1f1126574fbc8d9cbce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ast/src/scope_analyzer.rs:1019-1025 | core/ast/src/scope_analyzer.rs:1086-1092 \u2014 both copies are in the same file, so extract the block 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 \u0060core/ast/src/scope_analyzer.rs:1019\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cb72cef01e7d707515c98663db878efa15983141b0a4f3f8671ab4f94ae1bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/builtins/array_buffer/utils.rs:439-445 | core/engine/src/builtins/array_buffer/utils.rs:517-523 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array_buffer/utils.rs:439\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":"core/engine/src/builtins/array_buffer/utils.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"99447bbd566a779534cca99dca080acc2bfc9ddcd62f702afa82013cccd8ddf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/vm/code_block.rs:1095-1101 | core/engine/src/vm/code_block.rs:1163-1169 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/vm/code_block.rs:1170\u0060 calls \u0060has_prototype_property\u0060 and \u0060core/engine/src/vm/code_block.rs:1102\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":"core/engine/src/vm/code_block.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ababebdd283223effd520bcde532eb46b8dbffe5df0ae7991cd91378280b275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/vm/opcode/call/mod.rs:420-426 | core/engine/src/vm/opcode/call/mod.rs:437-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 \u0060core/engine/src/vm/opcode/call/mod.rs:420\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"759e56d35d26155e155a36abacd29bee9a47fc87e8f2525dece7522d460fe1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/macros/src/lib.rs:534-540 | core/macros/src/lib.rs:669-675 \u2014 both copies are in the same file, so extract the block 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 \u0060core/macros/src/lib.rs:534\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, \u0060core/macros/src/lib.rs:676\u0060 calls \u0060is_ident\u0060, \u0060is_empty\u0060, \u0060Ok\u0060 and \u0060core/macros/src/lib.rs:541\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":"core/macros/src/lib.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b2a6944703412a56ec2aadb9efd61a4ae98ff18383d2e6101884ac3ce9dde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/runtime/src/fetch/request.rs:290-296 | core/runtime/src/fetch/response.rs:528-535 \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 \u0060core/runtime/src/fetch/request.rs:290\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":"core/runtime/src/fetch/request.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d8977959580ea198a0aa4f9d0ac2de9f3deae07b0ce59245612c91068b593a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/runtime/src/url.rs:493-499 | core/runtime/src/url.rs:576-582 \u2014 both copies are in the same file, so extract the block 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":"core/runtime/src/url.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dd8e63e75387f2fe241b1c9ab469ddc77f51a69b7fe9787a2021e6ac014f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): cli/src/debug/limits.rs:24-29 | cli/src/debug/limits.rs:40-45 | cli/src/debug/limits.rs:56-61 \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. 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":"cli/src/debug/limits.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f6de669c5129cc99c1c1f316ad97d0edfc1d2209e2dcda9ec3d42971609b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/engine/src/builtins/temporal/duration/mod.rs:1073-1078 | core/engine/src/builtins/temporal/instant/mod.rs:625-631 | core/engine/src/builtins/temporal/plain_time/mod.rs:752-758 \u2014 \u0060core/engine/src/builtins/temporal/duration/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/instant/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 3 separate duplicated blocks between them, totalling at least 50 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 \u0060core/engine/src/builtins/temporal/duration/mod.rs:1073\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cca6001647207cea681a6209a01efd3dd2bc52ac40ae2cafd6f6cdeae68868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:917-922 | core/engine/src/builtins/date/mod.rs:1318-1323 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87bcf11f46bc793e1faca5cde38d519fbf58ce6afab6a81d66f6fb5e463f24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/engine/src/builtins/intl/number_format/mod.rs:1037-1042 | core/string/src/str.rs:326-331 \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 \u0060core/engine/src/builtins/intl/number_format/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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dffc14a8bef6fe1fa69c82ab55c22008fcbfed655cabc55da80860293f0e838"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/engine/src/builtins/temporal/calendar/mod.rs:24-29 | core/engine/src/builtins/temporal/calendar/mod.rs:53-58 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/temporal/calendar/mod.rs:24\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":"core/engine/src/builtins/temporal/calendar/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e888b6fb276bf5cdc97d4c1316311b42c32c781e99124f3345a81d1dcefb2610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/engine/src/object/builtins/jsregexp.rs:172-177 | core/engine/src/object/builtins/jsregexp.rs:197-202 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/builtins/jsregexp.rs:172\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":"core/engine/src/object/builtins/jsregexp.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f97ef94a04f3de82ebfe438260f764b1b3c757fec52ad88698a84a5b9debc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/engine/src/value/display/value.rs:107-112 | core/engine/src/value/display/value.rs:229-237 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/value/display/value.rs:107\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":"core/engine/src/value/display/value.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d84b744a8db111e5d60aca1f6f718522b3caa08fce899eeb92a853a4073bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/gc/src/lib.rs:133-138 | core/gc/src/lib.rs:152-157 \u2014 both copies are in the same file, so extract the block 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 \u0060core/gc/src/lib.rs:133\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":"core/gc/src/lib.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64484efe0d8aab339ec28f6572b1618f69ad4156eec5833721607741d13f9bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): core/ast/src/scope_analyzer.rs:1929-1934 | core/ast/src/scope_analyzer.rs:2399-2404 | core/engine/src/bytecompiler/declarations.rs:84-89 | core/engine/src/bytecompiler/declarations.rs:249-254 | core/engine/src/bytecompiler/declarations.rs:410-415 | core/engine/src/bytecompiler/declarations.rs:657-662 \u2014 before extracting anything, compare \u0060core/ast/src/scope_analyzer.rs\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/ast/src/scope_analyzer.rs:2412\u0060 calls \u0060push\u0060, \u0060clone\u0060 and \u0060core/ast/src/scope_analyzer.rs:1940\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb06d46d9d13621a6816e36869fda3deb34f766d08039f82fb28787b7197f6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/ast/src/scope_analyzer.rs:2398-2402 | core/ast/src/scope_analyzer.rs:2509-2513 | core/engine/src/bytecompiler/declarations.rs:248-252 | core/engine/src/bytecompiler/declarations.rs:656-660 \u2014 before extracting anything, compare \u0060core/ast/src/scope_analyzer.rs\u0060 and \u0060core/engine/src/bytecompiler/declarations.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060core/ast/src/scope_analyzer.rs:2398\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":"core/ast/src/scope_analyzer.rs"},"region":{"startLine":2398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e629fb5582482b7d04977160e82681e42b6941bbc1b539b22a24a2838d135bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/engine/src/value/display/arguments.rs:73-79 | core/engine/src/value/display/array.rs:46-50 | core/engine/src/value/display/array.rs:111-117 | core/engine/src/value/display/object.rs:211-217 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/value/display/arguments.rs:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/arguments.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"12deda1e941d1b9c4a3c35aa37a2e35092c121768d053376637c169d520abc55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): core/engine/src/builtins/temporal/duration/mod.rs:199-203 | core/engine/src/builtins/temporal/plain_date/mod.rs:256-260 | core/engine/src/builtins/temporal/plain_time/mod.rs:136-140 \u2014 \u0060core/engine/src/builtins/temporal/duration/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 5 separate duplicated blocks between them, totalling at least 66 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 \u0060core/engine/src/builtins/temporal/duration/mod.rs:199\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f05285818ec64bcf67afd0ea7fbbcdab1520bda9f2b6c2794ca745e71f1530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:2724-2728 | core/engine/src/builtins/array/mod.rs:2790-2794 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/builtins/array/mod.rs:2787\u0060 calls \u0060array_create\u0060 and \u0060core/engine/src/builtins/array/mod.rs:2721\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"926905eac426354e76a1534b6689a0d4dc4464afd06a3c029dbc9526fa3b4176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/engine/src/builtins/builder.rs:275-279 | core/engine/src/builtins/builder.rs:355-359 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/builder.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a075546b9452601bc42edefcba7be5c696c4b0835c32e1a1e3975f40b06af86e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/engine/src/builtins/date/mod.rs:1471-1475 | core/engine/src/builtins/date/utils.rs:504-512 \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":"core/engine/src/builtins/date/mod.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4a625e4209ae6581e3cdbd0f56921c3eab7c287f3c0624596b8679e048225a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date/mod.rs:1021-1025 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1271-1275 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1021\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c821f0adacaba7a242640ade853001c49e05389d003c3d3f70d3ed680e6935"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date/mod.rs:1052-1056 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1299-1303 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:1052\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb18e518fd7ef1c90215a5129ce2641531c554cf1867b29066fff02bb8ca350"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/engine/src/builtins/temporal/plain_month_day/mod.rs:101-105 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:181-185 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 13 separate duplicated blocks between them, totalling at least 135 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 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs:101\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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b14753a78639b45eef019dd51b0db07abb41ee137165e413098a965f634812"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1219-1225 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1951-1957 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0425e8fbabfa99e293318cc38d7466a7822752ef50427cf99a6695230d8378c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/vm/opcode/call/mod.rs:585-591 | core/engine/src/vm/opcode/call/mod.rs:595-601 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/vm/opcode/call/mod.rs:585\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":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61aab2822fd701747b5c60b8cba017bf11a4795bbaeee0c7cb44e92c2c118fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/vm/opcode/get/name.rs:22-28 | core/engine/src/vm/opcode/get/name.rs:164-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/vm/opcode/get/name.rs:172\u0060 calls \u0060frame_mut\u0060, \u0060push\u0060 and \u0060core/engine/src/vm/opcode/get/name.rs:29\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":"core/engine/src/vm/opcode/get/name.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd174d7dc7a48df5b653a4aa6f6b893360b276b2dd27e5c29c8d544e4df8ba08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/parser/src/parser/statement/declaration/mod.rs:83-87 | core/parser/src/parser/statement/mod.rs:440-444 \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 \u0060core/parser/src/parser/statement/declaration/mod.rs:83\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":"core/parser/src/parser/statement/declaration/mod.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5681017d8eb1d0a905583886dd6897dae1769db68d9bdca4462ffcf502ae36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ast/src/expression/yield.rs:84-90 | core/ast/src/statement/return.rs:66-72 \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":"core/ast/src/expression/yield.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"328908f45e136c0b4272a178a0fb85e7b48c018510ca187c99edd0b6ab4a629f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ast/src/expression/yield.rs:95-101 | core/ast/src/statement/return.rs:77-83 \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":"core/ast/src/expression/yield.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6040efa398700e08cf9c4607d98635077f8e07ef265991c67ab7a934c124161"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/ast/src/function/arrow_function.rs:47-59 | core/ast/src/function/async_arrow_function.rs:48-60 \u2014 before extracting anything, compare \u0060core/ast/src/function/arrow_function.rs\u0060 and \u0060core/ast/src/function/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ast/src/function/arrow_function.rs:47\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":"core/ast/src/function/arrow_function.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84bf4c0d339b5adcfdb708dac8a1668c154c20f0bc40f0305a92df4813ca607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): core/ast/src/function/arrow_function.rs:144-150 | core/ast/src/function/async_arrow_function.rs:145-151 | core/ast/src/function/async_function.rs:293-299 | core/ast/src/function/async_generator.rs:290-296 | core/ast/src/function/generator.rs:287-293 | core/ast/src/function/ordinary_function.rs:322-328 \u2014 before extracting anything, compare \u0060core/ast/src/function/arrow_function.rs\u0060 and \u0060core/ast/src/function/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"core/ast/src/function/arrow_function.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9763686d0896b8790b4b41757859b9fe6461670c8bf2f733bccfb6d05f76911d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): core/ast/src/function/arrow_function.rs:155-161 | core/ast/src/function/async_arrow_function.rs:156-162 | core/ast/src/function/async_function.rs:304-310 | core/ast/src/function/async_generator.rs:301-307 | core/ast/src/function/generator.rs:298-304 | core/ast/src/function/ordinary_function.rs:333-339 \u2014 before extracting anything, compare \u0060core/ast/src/function/arrow_function.rs\u0060 and \u0060core/ast/src/function/async_arrow_function.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"core/ast/src/function/arrow_function.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"637377d0a564b9c1be8d6c4f4d323017503bd1dfa415929249ae7a6126100a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): core/ast/src/function/async_function.rs:46-57 | core/ast/src/function/async_generator.rs:47-58 | core/ast/src/function/generator.rs:44-55 | core/ast/src/function/ordinary_function.rs:47-58 \u2014 before extracting anything, compare \u0060core/ast/src/function/async_function.rs\u0060 and \u0060core/ast/src/function/async_generator.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ast/src/function/async_function.rs:46\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":"core/ast/src/function/async_function.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"352fc974fee63ea5b81765a6242f13bcf14598c19d3cca1dfe2542610b15db98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/ast/src/function/async_function.rs:117-121 | core/ast/src/function/async_generator.rs:118-122 | core/ast/src/function/generator.rs:115-119 | core/ast/src/function/ordinary_function.rs:118-122 \u2014 before extracting anything, compare \u0060core/ast/src/function/async_function.rs\u0060 and \u0060core/ast/src/function/async_generator.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"core/ast/src/function/async_function.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b129e9690f4e78e3ec1891de7ffd2c7d0ed1db7126dca20fe29a1dae65d516a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/ast/src/function/async_function.rs:126-130 | core/ast/src/function/async_generator.rs:127-131 | core/ast/src/function/generator.rs:124-128 | core/ast/src/function/ordinary_function.rs:127-131 \u2014 before extracting anything, compare \u0060core/ast/src/function/async_function.rs\u0060 and \u0060core/ast/src/function/async_generator.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"core/ast/src/function/async_function.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b3fd322ee64dd46f85c05c7567c55b2cd795a7a8b685cbda864f876a87b195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ast/src/statement/iteration/break.rs:61-67 | core/ast/src/statement/iteration/continue.rs:59-65 \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":"core/ast/src/statement/iteration/break.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"998a312bd426f960a5975a7e7d258174a9c59b05078e78aabff91ceffdcbf172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/ast/src/statement/iteration/break.rs:72-78 | core/ast/src/statement/iteration/continue.rs:70-76 \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":"core/ast/src/statement/iteration/break.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"42093d2d4afa349e03b24bb6e511cdfc4bb3d2b6c4b25b8c8aad744547e05879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): core/engine/src/builtins/intl/collator/mod.rs:314-324 | core/engine/src/builtins/intl/date_time_format/mod.rs:398-408 | core/engine/src/builtins/intl/list_format/mod.rs:207-217 | core/engine/src/builtins/intl/number_format/mod.rs:576-586 | core/engine/src/builtins/intl/plural_rules/mod.rs:277-287 | core/engine/src/builtins/intl/segmenter/mod.rs:240-250 \u2014 \u0060core/engine/src/builtins/intl/date_time_format/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/list_format/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 3 separate duplicated blocks between them, totalling at least 42 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 \u0060core/engine/src/builtins/intl/collator/mod.rs:314\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":"core/engine/src/builtins/intl/collator/mod.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb1322dd11ce7f6fc0a0dcde721ef3701ffb4ecccfd0c2f320220e060ee0554"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/parser/src/parser/expression/mod.rs:239-246 | core/parser/src/parser/statement/declaration/lexical.rs:61-68 | core/parser/src/parser/statement/declaration/lexical.rs:357-364 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/mod.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d18e5ebae517d604bc17142a7581a30d05649c0a81dcfb5291ca60c909ae228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/ast/src/declaration/variable.rs:379-384 | core/ast/src/expression/operator/update/mod.rs:137-142 \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":"core/ast/src/declaration/variable.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d80f52b8df1f57f9fbfc13f469b8e481421273d02b7db0286415779f58141e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/engine/src/builtins/builder.rs:663-674 | core/engine/src/object/mod.rs:718-729 | core/engine/src/object/mod.rs:736-747 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/builder.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba619fe516d5ea5eb42a444a2fb7f38db36d5604c75180e3dedb55900f5edeb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/engine/src/builtins/temporal/plain_date/mod.rs:775-780 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1053-1065 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:288-292 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1156-1161 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd3d142adb61787dfffe2c885fb4f3dd2dce3017130331d09b2d3faf8ce5559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/object/builtins/jsarray.rs:151-162 | core/engine/src/object/builtins/jstypedarray.rs:222-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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0e71894f2226cc9baa240393f014d730abc42eb6ae81ea54409480d54fa4f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/object/builtins/jsarray.rs:309-317 | core/engine/src/object/builtins/jstypedarray.rs:274-282 \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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4002572d01102ad8431f60e0c72c52d03d728fe66c92caa4f10e6fdc8cc9ee3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/object/builtins/jsarraybuffer.rs:61-75 | core/engine/src/object/builtins/jssharedarraybuffer.rs:36-50 \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":"core/engine/src/object/builtins/jsarraybuffer.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a167c4a9deda030e69bb67bc8c6d3b0650c8b360015db08f824f87dbeada39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/object/builtins/jsfinalization_registry.rs:23-31 | core/engine/src/object/builtins/jstypedarray.rs:31-39 \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":"core/engine/src/object/builtins/jsfinalization_registry.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6e89e94ea48e439ea0694bbab808511bee71483886312728efebbec262551a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/object/builtins/jsmap.rs:407-413 | core/engine/src/object/builtins/jsset.rs:140-146 \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 \u0060core/engine/src/object/builtins/jsmap.rs:407\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsmap.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a10ddd16938c186136fdfcfeb3e873090101712b65a650bf3f3a3ad15a6926"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/object/builtins/jsweakmap.rs:28-37 | core/engine/src/object/builtins/jsweakset.rs:28-37 \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":"core/engine/src/object/builtins/jsweakmap.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee605dfc8a6e42ac0c1aef692274f5c73060ea9e328807d8b0b178f17eb2c8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/object/builtins/jsweakmap.rs:136-142 | core/engine/src/object/builtins/jsweakset.rs:80-86 \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":"core/engine/src/object/builtins/jsweakmap.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d43871a649ed705ffef6e99bbe50d5547a5375510cdeece1cb9fe739a35f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): utils/small_btree/src/entry.rs:209-214 | utils/small_btree/src/lib.rs:158-163 | utils/small_btree/src/lib.rs:501-506 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/small_btree/src/entry.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30fc4f35e0e3e75562f2f218c17100459d89ea42aeeda59dbf6fd3b8902f037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/intl/collator/mod.rs:147-169 | core/engine/src/builtins/intl/plural_rules/mod.rs:109-119 \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. 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":"core/engine/src/builtins/intl/collator/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c2c387af320e181da56f4320d1a57483ca3afcb18de206308227c2ebea1d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_prototype.rs:305-322 | core/engine/src/builtins/iterable/iterator_prototype.rs:380-397 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/iterable/iterator_prototype.rs:305\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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7da32de58c12114569dcc77f646d5a74d0fcd539047a54f00dc9cd8ee08b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): core/engine/src/builtins/iterable/iterator_prototype.rs:623-638 | core/engine/src/builtins/iterable/iterator_prototype.rs:718-733 | core/engine/src/builtins/iterable/iterator_prototype.rs:777-789 | core/engine/src/builtins/iterable/iterator_prototype.rs:836-848 | core/engine/src/builtins/iterable/iterator_prototype.rs:896-908 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/iterable/iterator_prototype.rs:623\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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba12bdebd4298767dd1c6bca90cd653e2d7e09f2fa7289d98656ecdd73fdd751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/parser/src/parser/statement/declaration/export.rs:273-288 | core/parser/src/parser/statement/declaration/import.rs:238-253 \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 \u0060core/parser/src/parser/statement/declaration/export.rs:273\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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"caea70d20d855718f804734d8e30a55aae3516416b2ef1a7eb4c731715c624f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): core/engine/src/builtins/promise/mod.rs:564-578 | core/engine/src/builtins/promise/mod.rs:779-793 | core/engine/src/builtins/promise/mod.rs:1456-1470 | core/engine/src/builtins/promise/mod.rs:1688-1699 \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 \u0060core/engine/src/builtins/promise/mod.rs:564\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/engine/src/builtins/promise/mod.rs:1684\u0060 calls \u0060get_or_undefined\u0060 and \u0060core/engine/src/builtins/promise/mod.rs:561\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":"core/engine/src/builtins/promise/mod.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"af35233a7f480aca1c80c2b9b7d5977d597cd46ded5c74bfc35ee76482c62eb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/engine/src/builtins/intl/locale/mod.rs:685-699 | core/engine/src/builtins/intl/locale/mod.rs:716-730 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/intl/locale/mod.rs:685\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":"core/engine/src/builtins/intl/locale/mod.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eeb7fa8e19688388d9acb782cf9cfc86a4f10c8a0fe74aa7afbabc7622a94c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): core/engine/src/builtins/intl/locale/mod.rs:473-484 | core/engine/src/builtins/intl/locale/mod.rs:503-514 | core/engine/src/builtins/intl/locale/mod.rs:533-544 | core/engine/src/builtins/intl/locale/mod.rs:563-574 | core/engine/src/builtins/intl/locale/mod.rs:628-639 | core/engine/src/builtins/intl/locale/mod.rs:684-698 | core/engine/src/builtins/intl/locale/mod.rs:715-729 \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 \u0060core/engine/src/builtins/intl/locale/mod.rs:473\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":"core/engine/src/builtins/intl/locale/mod.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbb111157bd0ca2ed093015f5912c4c9473aceaea82e86a9dec5e42f39eaf5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/intl/plural_rules/mod.rs:208-216 | core/engine/src/builtins/intl/plural_rules/mod.rs:302-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"core/engine/src/builtins/intl/plural_rules/mod.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3693a0b708de8e9948dbc88ce11255d386144834318818e0370e48972c946be1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/engine/src/builtins/iterable/iterator_prototype.rs:228-237 | core/engine/src/builtins/iterable/iterator_prototype.rs:266-279 | core/engine/src/builtins/iterable/iterator_prototype.rs:455-468 \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. 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":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b50afa9fad9cce980699c526890d432f39409df57198666e05dd41f432f11ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/parser/src/parser/expression/left_hand_side/call.rs:161-174 | core/parser/src/parser/expression/left_hand_side/member.rs:275-288 \u2014 before extracting anything, compare \u0060core/parser/src/parser/expression/left_hand_side/call.rs\u0060 and \u0060core/parser/src/parser/expression/left_hand_side/member.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/parser/src/parser/expression/left_hand_side/call.rs:161\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":"core/parser/src/parser/expression/left_hand_side/call.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eedbfb979b123737182ae18be51d6d6c824f25ceec794a4fe89e1ba2eb07ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:1435-1448 | core/engine/src/builtins/typed_array/builtin.rs:1509-1522 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:1435\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d40005f68bb7a28e4bed23cb110fe24924fe5986b56b01997927687d5347c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:666-678 | core/engine/src/builtins/typed_array/builtin.rs:2222-2234 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:666\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3eada18d22ef2bbf6ed299a60390cf5bd6429a4e37f3fe6dcbabe30b362779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/temporal/instant/mod.rs:743-755 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1285-1294 \u2014 \u0060core/engine/src/builtins/temporal/instant/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 5 separate duplicated blocks between them, totalling at least 76 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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4665d8c4cc19cfbdc392747de3095e299afaf47a548e649713e500913932f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/engine/src/builtins/temporal/duration/mod.rs:1315-1327 | core/engine/src/builtins/temporal/duration/mod.rs:1363-1375 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/temporal/duration/mod.rs:1315\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b4c67a232dda74786a06f289b68af3f7fa3a7287c53c5023e4bf0909787572"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): core/engine/src/vm/opcode/environment/mod.rs:146-158 | core/engine/src/vm/opcode/environment/mod.rs:212-224 | core/engine/src/vm/opcode/environment/mod.rs:252-263 \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 \u0060core/engine/src/vm/opcode/environment/mod.rs:146\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":"core/engine/src/vm/opcode/environment/mod.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9839c7e4a83740b9aa39a054a8a1f1adb960d9a99c39c3a690a6e8110a1f3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): core/engine/src/builtins/temporal/duration/mod.rs:1291-1303 | core/engine/src/builtins/temporal/duration/mod.rs:1327-1339 | core/engine/src/builtins/temporal/duration/mod.rs:1351-1363 | core/engine/src/builtins/temporal/duration/mod.rs:1375-1387 \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 \u0060core/engine/src/builtins/temporal/duration/mod.rs:1291\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"930641fbd894ef3722bb55d0c2ed1e0e7c360a661733ad2a799f61fb6bc67cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): core/engine/src/builtins/temporal/duration/mod.rs:1294-1306 | core/engine/src/builtins/temporal/duration/mod.rs:1318-1330 | core/engine/src/builtins/temporal/duration/mod.rs:1342-1354 | core/engine/src/builtins/temporal/duration/mod.rs:1366-1378 | core/engine/src/builtins/temporal/duration/mod.rs:1390-1402 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/temporal/duration/mod.rs:1294\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa7184e29a9f93cc18ee7ab44167aecb604721bd34148bcd0443c19e91dd667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): core/engine/src/builtins/temporal/plain_date/mod.rs:1200-1208 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1421-1430 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:349-360 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:730-741 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1567-1576 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"45517ab2692eb44b59c941ff1e253345347c979446715d55c8bf5ab8e10fcc6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/object/builtins/jstypedarray.rs:781-792 | core/engine/src/object/builtins/jstypedarray.rs:807-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 \u0060core/engine/src/object/builtins/jstypedarray.rs:781\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":"core/engine/src/object/builtins/jstypedarray.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead676b699f2b81813e9e8ba63e7ec0dfe8f7b58633dee096df794b2e437bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/map/mod.rs:259-268 | core/engine/src/builtins/map/mod.rs:607-618 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f3a3775d3b5328123177e69674d9c5a6ecd9df13c533f547f056facbfcc88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cli/src/debug/limits.rs:125-136 | cli/src/debug/optimizer.rs:67-78 \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 \u0060cli/src/debug/limits.rs:125\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":"cli/src/debug/limits.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"27916b2528212439d93e819d3fe720cebd734d245b10dbdbf32af87eb0db61fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:937-947 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1090-1100 | core/engine/src/builtins/temporal/plain_time/mod.rs:534-545 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.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. 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"c092d3a64921d8501678ac35131d1d779593e46fa8d9b901f9f342aa91ddd657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/dataview/mod.rs:273-284 | core/engine/src/object/builtins/jsdataview.rs:114-124 \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 \u0060core/engine/src/builtins/dataview/mod.rs:273\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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e451f861a1ed0d9a1ff310bdf95f3e085cdbb53254fe5c0e0071a16a26e69c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/object/builtins/jsarray.rs:177-188 | core/engine/src/object/builtins/jsarray.rs:203-214 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/builtins/jsarray.rs:177\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":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8888eeeae041d443e2a0ebe52726c5d163646a00c4ab7027d70394040c442b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/engine/src/object/builtins/jstypedarray.rs:548-559 | core/engine/src/object/builtins/jstypedarray.rs:656-667 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/builtins/jstypedarray.rs:548\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":"core/engine/src/object/builtins/jstypedarray.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"62598633eff1f1216dcf860e0f3aa42121cecf3c318fc14168330b4ad4f71dea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/parser/src/parser/expression/primary/mod.rs:614-625 | core/parser/src/parser/expression/primary/mod.rs:627-638 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5502bcd0c2c2c20422ef57500168bfafd9e871cbb1e29d9c7db94a3b641396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/typed_array/builtin.rs:209-219 | core/engine/src/builtins/typed_array/builtin.rs:2270-2277 | core/engine/src/builtins/typed_array/builtin.rs:2322-2329 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/typed_array/builtin.rs:2339\u0060 calls \u0060from_kind_and_length\u0060, \u0060borrow\u0060, \u0060data\u0060 and \u0060core/engine/src/builtins/typed_array/builtin.rs:2288\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbae6f65ea2630093c63eec493786579cfaf66542924ee3403e61e4e72aae6df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/duration/mod.rs:334-344 | core/engine/src/builtins/temporal/plain_month_day/mod.rs:195-203 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:300-308 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 13 separate duplicated blocks between them, totalling at least 135 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 \u0060core/engine/src/builtins/temporal/duration/mod.rs:334\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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"64424810d645e44987f4022c2bbe16d4b6f4eaf5e5b4d666f7eb335849fffbf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/weak_map/mod.rs:179-189 | core/engine/src/builtins/weak_map/mod.rs:221-231 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/weak_map/mod.rs:179\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":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40bdc7d7503daea2f1aa55bac294b5b2db6c022ad0d79086b65ca2e8bb096fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/iterable/iterator_prototype.rs:255-265 | core/engine/src/builtins/iterable/iterator_prototype.rs:444-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_prototype.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe1418aca2baf8551a7a145c9271bc1d673f11a5117113d6ebb770f5c66103b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/builtins/intl/list_format/mod.rs:232-238 | core/engine/src/builtins/intl/list_format/mod.rs:300-310 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3779df4831105b8e9a8eb4d717eff6712cff5ea1b6dc6b356c5cf256686b26b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:513-523 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:356-366 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 15 separate duplicated blocks between them, totalling at least 187 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:513\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe7ec98a3df5a85cb74fc446300ea1c858425d0b6c636cb586e6284e625ed1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/array_buffer/mod.rs:560-570 | core/engine/src/builtins/array_buffer/shared.rs:256-266 \u2014 before extracting anything, compare \u0060core/engine/src/builtins/array_buffer/mod.rs\u0060 and \u0060core/engine/src/builtins/array_buffer/shared.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. 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 \u0060core/engine/src/builtins/array_buffer/mod.rs:560\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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa13d05386fd51ae5ec020602950688afd92cdee60295b962949784def5526fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/instant/mod.rs:289-299 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:812-820 \u2014 \u0060core/engine/src/builtins/temporal/instant/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 5 separate duplicated blocks between them, totalling at least 76 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 \u0060core/engine/src/builtins/temporal/instant/mod.rs:289\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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad894be2f533da7822302f7cd7e17e3b8975bfcb5c737b4fc883663501067c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/engine/src/builtins/intl/plural_rules/mod.rs:51-61 | core/engine/src/builtins/intl/segmenter/mod.rs:107-117 \u2014 \u0060core/engine/src/builtins/intl/plural_rules/mod.rs\u0060 and \u0060core/engine/src/builtins/intl/segmenter/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 3 separate duplicated blocks between them, totalling at least 40 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/intl/plural_rules/mod.rs:64\u0060 calls \u0060method\u0060 and \u0060core/engine/src/builtins/intl/segmenter/mod.rs:120\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":"core/engine/src/builtins/intl/plural_rules/mod.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3aed632f2bbbae17fd37e17072ebbbb8c02425f1ee1358dd55e4361ece408f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/parser/src/lexer/string.rs:255-265 | core/parser/src/lexer/string.rs:332-342 \u2014 both copies are in the same file, so extract the block 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":"core/parser/src/lexer/string.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2a41846b8e470aa8bb5e7449ada7549ac7f22b6c346f9814862b61f37254bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/parser/src/lexer/number.rs:220-230 | core/parser/src/lexer/number.rs:237-247 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/lexer/number.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":"core/parser/src/lexer/number.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5865c5e50cf3076b3b40b6c8ab226d06b0e3690d8cadb4ab58f5327a31cc0008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:1101-1111 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1138-1147 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1253-1262 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"378c54bf2f45a77db5a9b98a74e7ab1b810e0a88a2dcf06078f74aa294ee3141"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:102-111 | core/parser/src/parser/expression/primary/object_initializer/mod.rs:841-851 \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 \u0060core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"core/parser/src/parser/expression/primary/async_generator_expression/mod.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5e65c1fe777ff47045e0902e67d03c300509f6cf2d6e7319ced1b690ca3ccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/parser/src/parser/statement/switch/mod.rs:166-176 | core/parser/src/parser/statement/switch/mod.rs:190-200 \u2014 both copies are in the same file, so extract the block 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, \u0060core/parser/src/parser/statement/switch/mod.rs:161\u0060 calls \u0060Keyword\u0060, \u0060parse\u0060 and \u0060core/parser/src/parser/statement/switch/mod.rs:188\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":"core/parser/src/parser/statement/switch/mod.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d94ca01176b1152e6d09b41c2caae057411af6a438a7f75d473de6152f1cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/instant/mod.rs:743-752 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1532-1539 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1285-1292 \u2014 \u0060core/engine/src/builtins/temporal/instant/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 5 separate duplicated blocks between them, totalling at least 76 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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"00994ac0b49d9658b7b8f98b5fcb2995490836679b24d835f8e70e1a8c759c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): core/engine/src/builtins/proxy/mod.rs:473-482 | core/engine/src/builtins/proxy/mod.rs:602-611 | core/engine/src/builtins/proxy/mod.rs:717-726 | core/engine/src/builtins/proxy/mod.rs:809-818 | core/engine/src/builtins/proxy/mod.rs:886-895 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/proxy/mod.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e505abeb08e4acd232ee5c6aa9d9caf8f36be744464845720a67258ed606ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:710-719 | core/engine/src/builtins/temporal/plain_time/mod.rs:322-331 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:720-728 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:710\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d80a1b62dbe4ee77f9064c59f7da74125556be2f83edeb5e7f278270cbe1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:2827-2836 | core/engine/src/builtins/array/mod.rs:2924-2933 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c83e2088bb3190143b12fe27a3ad23da62db558e195bdc7fc40c60b9afc57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:736-745 | core/engine/src/builtins/temporal/plain_time/mod.rs:348-357 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:743-751 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:736\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ea668fdfb3220d5e45d1dfd2dbcc57f57e3a97755ce9f825e0b3edf4413394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): core/engine/src/builtins/temporal/duration/mod.rs:991-999 | core/engine/src/builtins/temporal/instant/mod.rs:588-597 | core/engine/src/builtins/temporal/plain_date/mod.rs:1137-1145 | core/engine/src/builtins/temporal/plain_time/mod.rs:471-479 | core/engine/src/builtins/temporal/plain_time/mod.rs:500-508 \u2014 \u0060core/engine/src/builtins/temporal/duration/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/instant/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 3 separate duplicated blocks between them, totalling at least 50 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":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"d422713ac5cb1e351b2c2ebf5d73a702cb48bcc2528a18980b945e302088d135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:684-693 | core/engine/src/builtins/temporal/plain_time/mod.rs:296-305 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:697-705 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:684\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03d4a45500c5d6b43de2ea1f434c1e1fb5facec6dcd992b63f8c83ce1c0d30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/engine/src/object/jsobject.rs:724-733 | core/engine/src/object/jsobject.rs:741-750 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/jsobject.rs:724\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":"core/engine/src/object/jsobject.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63b4b79e96b428045d6dc5a6a452bdc595912b91f381502edd5e6bf168758d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:788-797 | core/engine/src/builtins/temporal/plain_time/mod.rs:400-409 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:789-797 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:788\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc0d980b2a29c4089ad6d69a1608ff2f59b13f00c0be58d25ad9ef73bcadf78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/map/mod.rs:459-468 | core/engine/src/builtins/map/mod.rs:659-667 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/map/mod.rs:459\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/engine/src/builtins/map/mod.rs:667\u0060 calls \u0060Err\u0060 and \u0060core/engine/src/builtins/map/mod.rs:468\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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f02abc8f5f5b42761e4d711d2f252b7ec3b7c7eab809ff3864341a1ab776a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): core/engine/src/object/builtins/jsproxy.rs:417-426 | core/engine/src/object/builtins/jsproxy.rs:428-437 | core/engine/src/object/builtins/jsproxy.rs:447-456 | core/engine/src/object/builtins/jsproxy.rs:458-467 | core/engine/src/object/builtins/jsproxy.rs:477-486 | core/engine/src/object/builtins/jsproxy.rs:497-506 \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 \u0060core/engine/src/object/builtins/jsproxy.rs:417\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":"core/engine/src/object/builtins/jsproxy.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5029907b48850cb326340344cd08e2969883166caad8d1ac8bd432aaea91b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:762-771 | core/engine/src/builtins/temporal/plain_time/mod.rs:374-383 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:766-774 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:762\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb789544142d3515d6d3ddf04189f31a49130f79e68de3aec6f2255eb633598b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:47-56 | core/parser/src/parser/expression/primary/async_generator_expression/mod.rs:55-64 \u2014 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs\u0060 and \u0060core/parser/src/parser/expression/primary/async_generator_expression/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 5 separate duplicated blocks between them, totalling at least 82 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 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs:47\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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eec55cbe3d874f719820d6452a8b1b1afbd80179dbf4b8c65b55a8aaed37767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:658-667 | core/engine/src/builtins/temporal/plain_time/mod.rs:270-279 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:674-682 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_time/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 185 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:658\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4423cc6a8ab73f2c424c614349c7ee817a5c992c02369efdeb2d2c066cfd93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/parser/src/parser/expression/primary/async_function_expression/mod.rs:72-80 | core/parser/src/parser/expression/primary/function_expression/mod.rs:71-79 | core/parser/src/parser/expression/primary/generator_expression/mod.rs:76-84 \u2014 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs\u0060 and \u0060core/parser/src/parser/expression/primary/function_expression/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 5 separate duplicated blocks between them, totalling at least 81 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 \u0060core/parser/src/parser/expression/primary/async_function_expression/mod.rs:72\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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc83b97a9a5d1da58ddb61a097ac52aca6d6fe9de661dea49955d39d0b8ba9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): cli/src/debug/limits.rs:70-78 | cli/src/debug/limits.rs:81-89 | cli/src/debug/limits.rs:92-99 \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 \u0060cli/src/debug/limits.rs:70\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":"cli/src/debug/limits.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0725ccba75f0174918daee5dc06e0260f9e7e0d63b41f6116ce80d3263a825"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/array_buffer/mod.rs:652-660 | core/engine/src/builtins/typed_array/object.rs:200-207 \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 \u0060core/engine/src/builtins/array_buffer/mod.rs:652\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":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9e1fdd654e50c82119b3e95dc0e34c3bed3858c442614f29aeb91e209c5a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:973-981 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1045-1053 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:973\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5df96b5d9014bb058dac9adfc51a2451b55654856f46f45992b64a7252c6d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:982-990 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:1167-1174 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1313-1320 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"837fddf01788ed73310fe447e16de44e8018761a664834b4f5858866922d4295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:1403-1409 | core/engine/src/builtins/array/mod.rs:1819-1827 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06d314c5ddad7c6da26acbd251a2a91fe1742c507ff8cf5e9dfdaac18ef7218"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:633-641 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:651-659 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:633\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddf097613d40522dd0b6a951a2767f0edd9706d5b43eebc0db2452e9fb6b482"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/typed_array/builtin.rs:546-554 | core/engine/src/builtins/typed_array/builtin.rs:2910-2918 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/typed_array/builtin.rs:546\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":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"19929de2390e5c0704fa87a74b458d6ebd6e7dd0fcc072584479e6b3b07300ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_month_day/mod.rs:447-455 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:828-836 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 13 separate duplicated blocks between them, totalling at least 135 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 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.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. 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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"41126986109ff8092b11554385e95a45c7a65c98dd618be85eeeb9f47ad993a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/set/mod.rs:293-300 | core/engine/src/builtins/set/mod.rs:357-365 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/set/mod.rs:293\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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00a31b6811fe838eed65935c31fbdf8a78d72ef2999a2f5f52e698cb81c38b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/intl/locale/mod.rs:424-432 | core/engine/src/builtins/intl/locale/mod.rs:448-456 | core/engine/src/builtins/intl/locale/mod.rs:658-666 \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":"core/engine/src/builtins/intl/locale/mod.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e7c0486b6edcb4ed7aace00843b842da7179062a0104a2e29fb6e2f4efed38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:835-843 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:881-889 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:835\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a498094ba84608504b3af54f1f22ec88bdfeb2eddf8a07b4393f9e8a10897a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:904-912 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:976-984 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:904\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ff22bfc5c1ba2143c03fe89168209aed8653ff6a80e6a1a844dcecdc93d20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/engine/src/builtins/map/mod.rs:331-337 | core/engine/src/builtins/map/mod.rs:363-369 | core/engine/src/builtins/map/mod.rs:423-431 \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 \u0060core/engine/src/builtins/map/mod.rs:331\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":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"139cc8a15330fdf45605d08d8d3f5c0543ab2650f8468a5761df785e310bcc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1570-1578 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1812-1820 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b6a76c74e624284eeadf9ab55ab62b794e4a5a8ad38d92ce386356eb2b8e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/plain_month_day/mod.rs:281-289 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:549-557 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1182-1189 \u2014 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 13 separate duplicated blocks between them, totalling at least 135 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 \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs:281\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":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"227d266de7ac38a4cae14c1a7e8c18026ec3e54f48d83d62f02649d55b011b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:952-959 | core/engine/src/builtins/array/mod.rs:2600-2608 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/array/mod.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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d1a9bca9ea53890c3b9930e258440e3ed59fe2a2d2bd771db37d451e6965d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:881-889 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:927-935 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:881\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"331a290daab8e9da8d1820e5998a18063df2df1d52ef8b6a62b98a25c7f01847"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/builtins/array/mod.rs:1353-1359 | core/engine/src/builtins/array/mod.rs:2534-2542 \u2014 both copies are in the same file, so extract the block 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, \u0060core/engine/src/builtins/array/mod.rs:2546\u0060 calls \u0060array_species_create\u0060 and \u0060core/engine/src/builtins/array/mod.rs:1365\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":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f033fa04fffc5ca6587ec315b6084a6850fb79365448a6600517e315335a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:950-958 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1022-1030 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"618b0b1c882125299ea8548fed21ae9b8b445a9bb7ddf9e2989536266d93c1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:587-595 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:605-613 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:587\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7c8756e767dd3d14179aa56d969800d9ac87929d3f500276162811467a0180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:564-572 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:582-590 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:564\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"60387f1055fd73271629e6d9b951742eccf36e111af09b8905760371e67e0fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:1594-1602 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1836-1844 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a968c314dea4e4c2289c215325b000df81c509c07e6a91e2be112de411e10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/temporal/instant/mod.rs:321-329 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:836-843 \u2014 \u0060core/engine/src/builtins/temporal/instant/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 5 separate duplicated blocks between them, totalling at least 76 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 \u0060core/engine/src/builtins/temporal/instant/mod.rs:321\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":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"697cacae9919cc1007a0e9b05791b8cb5258facab0f246867d20b73b922dae74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:812-820 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:858-866 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:812\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b89fc4ca9b01a26efa8bddd2c4e608fc1412d08769c9b79e5311a1b2526bb98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_time/mod.rs:1012-1020 | core/engine/src/builtins/temporal/plain_time/mod.rs:1022-1030 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/builtins/temporal/plain_time/mod.rs:1012\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":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"664066efbe44daaeecf0b609a6562ae6bbec1113524cba65f84d94ac5c0c22a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): cli/src/debug/function.rs:92-100 | cli/src/debug/object.rs:10-18 | cli/src/debug/object.rs:28-36 \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 \u0060cli/src/debug/function.rs:92\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":"cli/src/debug/function.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"621eb2edd2e3b6bda519db5729cfacca4401d12e8a3e7f13f976cb4b7a6355c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:541-549 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:384-391 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:559-567 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 15 separate duplicated blocks between them, totalling at least 187 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:541\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"39860102b008503ef9f3f49c75968639350fd0d3b008343c6da79d1a3ba18c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:927-935 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:999-1007 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:927\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5310722f29b88f1dbcfeb9377e4da71dc9b385de9ef84b507800e1e1b48add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:858-866 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:904-912 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:858\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afdf403ec6077e10c0ddf9b85a5bc01b9af05ba141068fd7aad338e16f9899f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date_time/mod.rs:996-1004 | core/engine/src/builtins/temporal/plain_year_month/mod.rs:520-528 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:1068-1076 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_year_month/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 15 separate duplicated blocks between them, totalling at least 187 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:996\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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec43a5792f95d7842b99bac8a79207dc6735fa23a055191f300a73148e0b686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/dataview/mod.rs:373-380 | core/engine/src/builtins/typed_array/builtin.rs:2908-2915 \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. 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":"core/engine/src/builtins/dataview/mod.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9757b9dc0227aa953c1d418fcd237ba810c2e29f60a1399dc2c6e7d8f9e07a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:113-120 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:140-147 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:152-159 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:113\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"197722902b2a3deee1f02c26a2533f23bfdafe1167b1f3a7a66ac1eb37963db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): core/engine/src/object/builtins/jsproxy.rs:400-406 | core/engine/src/object/builtins/jsproxy.rs:408-415 | core/engine/src/object/builtins/jsproxy.rs:439-445 | core/engine/src/object/builtins/jsproxy.rs:469-475 | core/engine/src/object/builtins/jsproxy.rs:488-495 | core/engine/src/object/builtins/jsproxy.rs:508-514 \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 \u0060core/engine/src/object/builtins/jsproxy.rs:400\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":"core/engine/src/object/builtins/jsproxy.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a657792ece218d9aeb981972446017d75dcecf4ea279911abb4c98acc29b626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): core/ast/src/function/async_function.rs:262-266 | core/ast/src/function/async_generator.rs:263-270 | core/ast/src/function/generator.rs:260-267 | core/ast/src/function/ordinary_function.rs:295-302 \u2014 before extracting anything, compare \u0060core/ast/src/function/async_function.rs\u0060 and \u0060core/ast/src/function/async_generator.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060core/ast/src/function/async_generator.rs:263\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":"core/ast/src/function/async_function.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"484eaeeea849d60989896a110bc13f44dedf2f69a73ac2091c266eb85e934f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): core/engine/src/builtins/array/array_iterator.rs:43-50 | core/engine/src/builtins/map/map_iterator.rs:58-65 | core/engine/src/builtins/regexp/regexp_string_iterator.rs:46-53 | core/engine/src/builtins/set/set_iterator.rs:58-65 | core/engine/src/builtins/string/string_iterator.rs:37-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/engine/src/builtins/array/array_iterator.rs:43\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":"core/engine/src/builtins/array/array_iterator.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a6e210d2e2187582459fc97875d77ab707dd67c053e564be9f6ffa0fd50b3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/temporal/plain_date_time/mod.rs:611-618 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:629-636 \u2014 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/zoneddatetime/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 49 separate duplicated blocks between them, totalling at least 600 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 \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"081781125e8fd19f75712cf3ed7cc47e71931e33a41753794f7f1a8022e45b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): core/engine/src/builtins/temporal/plain_date/mod.rs:336-343 | core/engine/src/builtins/temporal/plain_date_time/mod.rs:492-499 | core/engine/src/builtins/temporal/zoneddatetime/mod.rs:483-490 \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060 and \u0060core/engine/src/builtins/temporal/plain_date_time/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 24 separate duplicated blocks between them, totalling at least 287 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 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs:336\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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"504b38f47587d8ce973b9e4d75aaf3bdd8d20cdfe7aedb3e07271680f5688dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/engine/src/builtins/weak_map/mod.rs:305-312 | core/engine/src/builtins/weak_map/mod.rs:360-367 \u2014 both copies are in the same file, so extract the block 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":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"71876706db8c2b58a623e7109b3b2ef5f3bb64112a3d15aa13d64c674a618def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): core/engine/src/builtins/set/mod.rs:598-604 | core/engine/src/builtins/set/mod.rs:682-688 | core/engine/src/builtins/set/mod.rs:748-754 | core/engine/src/builtins/set/mod.rs:802-808 | core/engine/src/builtins/set/mod.rs:870-876 | core/engine/src/builtins/set/mod.rs:927-933 \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":"core/engine/src/builtins/set/mod.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dbae5bf62b4bc5448b65ad04bd438288d2de06e1bbaf0c284637ca010fb20e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/parser/src/lexer/string.rs:300-304 | core/parser/src/lexer/string.rs:332-338 \u2014 both copies are in the same file, so extract the block 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 \u0060core/parser/src/lexer/string.rs:300\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":"core/parser/src/lexer/string.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfadc8b5c3f20124518224dd0d33c25d61b38c98febff89c770c448bc29baa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/engine/src/builtins/map/map_iterator.rs:108-114 | core/engine/src/builtins/set/set_iterator.rs:107-113 \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":"core/engine/src/builtins/map/map_iterator.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe5298e352ec11fe5ca0e190e22a19e354f85db07da93597694aef5934d9e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:590-596 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:885-890 | core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs:987-993 \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. 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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7de5b79e8e81d31549fc5c3970429dc7da4ad11ca58c609f03cf4ea63099b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): cli/src/debug/limits.rs:68-73 | cli/src/debug/limits.rs:79-84 | cli/src/debug/limits.rs:90-95 | cli/src/debug/limits.rs:100-105 \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":"cli/src/debug/limits.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7580061d800be908af607a96e1dad0318367c813a5126c0d7b41fcb40862b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): core/engine/src/builtins/intl/date_time_format/options.rs:357-363 | core/engine/src/builtins/intl/date_time_format/options.rs:395-401 | core/engine/src/builtins/intl/date_time_format/options.rs:489-495 \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":"core/engine/src/builtins/intl/date_time_format/options.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bd7e606ff08fde34c8c8a8c4d4f39576c5d4a4fae1948326314189da331c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/parser/src/parser/statement/declaration/export.rs:68-73 | core/parser/src/parser/statement/declaration/mod.rs:231-236 \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 \u0060core/parser/src/parser/statement/declaration/export.rs:68\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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc054771a99c1c5bf6d3357c2265fb51f55f2942cb7794ca400b02503246e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/engine/src/object/builtins/jsdataview.rs:177-182 | core/engine/src/object/builtins/jsdataview.rs:188-193 \u2014 both copies are in the same file, so extract the block 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 \u0060core/engine/src/object/builtins/jsdataview.rs:177\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":"core/engine/src/object/builtins/jsdataview.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58224ce1ffae8da108ce5b78b1227f547bb89452d7699fdc9286ec91a6816c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): core/engine/src/object/builtins/jsregexp.rs:172-177 | core/engine/src/object/builtins/jsregexp.rs:197-202 | core/engine/src/object/builtins/jsregexp.rs:267-272 \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 \u0060core/engine/src/object/builtins/jsregexp.rs:172\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":"core/engine/src/object/builtins/jsregexp.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fc9994ee0c8770ac2f785f188c542cd2688524354fb173c10c0363d3588258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/ast/src/operations/mod.rs:884-888 | core/ast/src/operations/mod.rs:2083-2087 \u2014 both copies are in the same file, so extract the block 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":"core/ast/src/operations/mod.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeede06692b3d23fa5d79ddaa64ca30c56af70b03144502e602fa4a0e6c24a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): core/engine/src/builtins/error/aggregate.rs:31-38 | core/engine/src/builtins/error/eval.rs:33-40 | core/engine/src/builtins/error/range.rs:31-38 | core/engine/src/builtins/error/reference.rs:30-37 | core/engine/src/builtins/error/syntax.rs:33-40 | core/engine/src/builtins/error/type.rs:39-46 | core/engine/src/builtins/error/uri.rs:32-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 7 call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/error/aggregate.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d62a6aaa8ce849061995cae63498a3935b814b75e5216438a481cb5c6ad388"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: boa_icu_provider: boa_icu_provider: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63d6cd46a246102984ef226d1b189b85549d71dd9164080003811ecd67c09fe0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: small_btree: small_btree: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ef2a4be4c71781d923d6ea879e9f8031a03db958d0fd020e0b6c369b708facbf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: tag_ptr: tag_ptr: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b56860ebcd44a4ad1cf96b5f16438351794d93256f0457f72c7bcbe13ee5cb17"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: boa_string: boa_string: abstractness 0.24, instability 0.00, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d637251e527c54173c910590ff333081408588638a4aad8d064c51feb7e5d4ba"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VarScopedDeclarationsVisitor (LCOM4 11): VarScopedDeclarationsVisitor\u0027s methods fall into 11 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 11 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/operations/mod.rs"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc48a2b3b9565361fb18ffa8740305f2805983b6cabdc146df0d239fa6c6f90"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ModuleItemList (LCOM4 6): ModuleItemList\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/module_item_list/mod.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1736329dfb3158b9a95f07f2210ce4e558abffd50d076f650db5abf1e412f8b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Context (LCOM4 6): Context\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/context/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0a2586ac6f3ccae5cff9ebb9c496182eec7a6eebf5b7673adaf0ac4039e03"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VarDeclaredNamesVisitor (LCOM4 5): VarDeclaredNamesVisitor\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/operations/mod.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb05205a7558b65ec305aab5818d19bf336dcdc0bbba0a41453153ac61fe07c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: AnnexBFunctionDeclarationNamesVisitor (LCOM4 5): AnnexBFunctionDeclarationNamesVisitor\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/operations/mod.rs"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36d70d6fbb68c1f99c581004b22b4560c6a9f6cb9da8f940b58fb308eda5f71"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JsValue (LCOM4 5): JsValue\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/mod.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ec3346794419bcdc1eb1e7158a490aec8e757f4974bb2e8081e778804e8125"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JumpControlInfo (LCOM4 4): JumpControlInfo\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/jump_control.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3dbdd13185f9c56df9d24da687910271e4390dade1b99b5e3b5ab1d57531a0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CallFrame (LCOM4 4): CallFrame\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/call_frame/mod.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"16baec730d675cff258e2322442964aa8a00dd2a59eb23b29b38f2e5cba40dd7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/function.rs: 0.0% line coverage (0/134)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc0cb5949916063dfea2bf508b945203aa1d0c2491f08261f7f288b96d5f68f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/gc.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/gc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf0fb43eefd1e2491af4e15858764c7eb2712e028446c79f3a4a58fad83eac6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/limits.rs: 0.0% line coverage (0/116)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/limits.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1338fef4cd97d75fb1ac38e03854dfc1e2821eddfc4f94394677fc873f599367"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/mod.rs: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b88d4d85a22ddbb3fd92187c9cca189bde4b607804a2dc903c83a8a2213ad"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/object.rs: 0.0% line coverage (0/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/object.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0674866096b5db4f80f2269b7fe790c0312799796669de9c58935d9c9b8cb9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/optimizer.rs: 0.0% line coverage (0/64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/optimizer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e26aeb0722e12e5b7d4c7df4145d28854e505b4800f3e1b2bd74bfb4ca47e2a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/realm.rs: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/realm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c292b6df4b59ade683246bcfbb070bba81b094ef20b63425156ebbc06b1bda1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/shape.rs: 0.0% line coverage (0/46)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/shape.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcbceef12baac361949e45183a07774b0868ebae5243d79bb14466daa4ffde0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/debug/string.rs: 0.0% line coverage (0/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/debug/string.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5feb137d739880fb582012dd9d95fbfc95d446a3289629e333a4bbf21e7a9c35"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/executor.rs: 0.0% line coverage (0/179)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/executor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4753b5bfbf504a913e4412085294d3c0f5249d0f26c23db368ea792529ea4b31"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/helper.rs: 0.0% line coverage (0/96)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/helper.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5c8efbac8ee5aac1e8f7ec5fafb41d6464659969bd7e5aadc669029ec31a2a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/logger.rs: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/logger.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a25b33064a87e86f05754fba2ef328b29b22cdba05b8cdea3b7c1996f5d0995"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: cli/src/main.rs: 0.0% line coverage (0/452)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf442085dbfbe73cadde5b1ab63ed8c08c317155fd85fb6a985ac2e6b337b9cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/ast/src/expression/operator/binary/op.rs: 30.6% line coverage (22/72)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/expression/operator/binary/op.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc1c96d9a04d5de72031bb4f61de924884003e4bf281c78b7747c14d5672fb8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/ast/src/expression/operator/unary/op.rs: 0.0% line coverage (0/13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/expression/operator/unary/op.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcc3544a7003314435b73f5b5b191840dbafed29840dd0c943e81516bcc5a3a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/ast/src/expression/operator/update/op.rs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/expression/operator/update/op.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aa4ca8063002f99e00f529d53e77ed8ad3c46f3debdba808e45f55c6a37623"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/ast/src/visitor.rs: 28.3% line coverage (67/237)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/visitor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c4de66095848e824dffe8063b67ca96b17a9af25de9ca38de310d8c5cd6d64"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/array/from_async.rs: 0.0% line coverage (0/322)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"971ffb23ca1c64617a4fc6ec6c1b91b71a5478ca0f326b48dcb7e3e00a1ed5e4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/async_function/mod.rs: 33.3% line coverage (11/33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/async_function/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15fb55f947740ae6553d65bed888155e7a103ad76d7eea2aadd165499dbbc75"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/async_generator_function/mod.rs: 38.9% line coverage (14/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/async_generator_function/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a153845b6d737514797592e016ae09c3245bae1af2c27b7fc94a22fffd6de52"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/atomics/futex.rs: 43.4% line coverage (98/226)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/atomics/futex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c6b9314424a5ed48d62021d5df1b8896810e9324d8573c05717b71ca156ef2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/atomics/mod.rs: 44.7% line coverage (153/342)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/atomics/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36617f33358e8e5a84fac92d56a961575db5f31ad46e3da6e147b3c9dddb465"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/error/aggregate.rs: 20.0% line coverage (12/60)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/error/aggregate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f31f87eea624efcc6edeaac989e09d4de6bf45081e6a7e26ef022698ce299b3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/escape/mod.rs: 17.8% line coverage (18/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/escape/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48064d5b9fe2a4084ebf3b46dacd4a42ceecbe59496aba0fb32b84aa3b671c50"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/function/arguments.rs: 43.7% line coverage (94/215)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/arguments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4391d5052e86ef56b45b3903a9b4a20f0dc505de7b74c4a92ed903b8846e340b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/function/bound.rs: 0.0% line coverage (0/78)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/bound.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ec8a640a456bb93a2d31ac8b959e1cc68ea9d9dbea5e42fbfbca9a0c51e522"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/generator_function/mod.rs: 38.9% line coverage (14/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/generator_function/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1925ff1d9c2ce393298761d19e9325722ce05a2d3ea5014ee71250ff28488f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/collator/mod.rs: 8.1% line coverage (18/221)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/collator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa36b781641c731ec7843e9d2cdc0af04db593de1dc973a3d9f87e4b0f3ac2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/collator/options.rs: 0.0% line coverage (0/43)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/collator/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"979abc9841065b27f8ed17e4a887b0b8d6a6fd81445c6543e9f566c29c5a3dab"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/date_time_format/options.rs: 35.0% line coverage (119/340)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b045391813998430bcfd03856dad40c8a1b668f74a2003eceef727fbe60817c4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/list_format/mod.rs: 6.2% line coverage (13/211)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e9de81ba75e772c1cf9c6c6180c1018acd80f3344ed94d9df844685f6dbe6f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/list_format/options.rs: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/list_format/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b14bf864ce16a334263141b67a9cd115ec60eaa971e8eacd755894c6fb90760"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/locale/mod.rs: 23.0% line coverage (87/379)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/locale/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72077533974cce93e2ce78c4013a2b2bb74f7959820e47aefb00cd17b93d207"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/locale/options.rs: 0.0% line coverage (0/59)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/locale/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af20b2be304110da2a1573c228bf4082684d4516273bc5ee1b3aab14327a528"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/number_format/mod.rs: 23.3% line coverage (125/537)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a35d6ab93a89f3afc9e17b33bef6d37c82a636a0e1fbfcdc32e54b3d0a3eac8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/number_format/options.rs: 30.3% line coverage (169/558)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7cb3f26232e28ee00491a793375120a4e607db9b4353e537d650fde6ca379e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/plural_rules/mod.rs: 5.1% line coverage (13/256)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/plural_rules/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be36938bcb9720e3575f4dcaac3ccd140ae82bcc90f9a8089f824a5852dd274"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/plural_rules/options.rs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/plural_rules/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7434b6f464b7fbcdd1bbef486b861d860e86a6c506a9ba6fa32dd5c06b68359"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/segmenter/iterator.rs: 14.3% line coverage (11/77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/segmenter/iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9082313e0dad8fd3e992b0a76a6b43c6a53cb0a52074085b3e9d0b7f0377fd1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/segmenter/mod.rs: 7.7% line coverage (12/155)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/segmenter/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba29c90fea77a9069ae307b477d73ffee8c9dd07d60eab1dabd18f045e00d9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/segmenter/options.rs: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/segmenter/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e707f0df3ac3a3586c20111fb69f8a0ee98f9e92330dce6d378da1b85299478"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/intl/segmenter/segments.rs: 14.3% line coverage (9/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/segmenter/segments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97560892d8a0329edaa9200ce3fc2e40beb66c2bc1b9c5ffdfa8fbbcd1c7b285"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/is_html_dda.rs: 0.0% line coverage (0/17)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/is_html_dda.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b575d5a48db50677166a59962a8aff0494e1b5daf1e2324691f4cbfcc1f1cb36"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/iterable/async_from_sync_iterator.rs: 9.6% line coverage (19/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/async_from_sync_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8848ab98036eaeb378ed2933f44507eb35322c97b0f26763ff2b22361634c14f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/iterable/iterator_constructor.rs: 35.0% line coverage (79/226)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_constructor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c4cb010b81ba6a4752ac01374d51651a967e1d17750bcd0038b2bf96afc2b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/iterable/iterator_helper/zip.rs: 0.0% line coverage (0/138)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/iterator_helper/zip.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba107f4f62484dc1984fd06572708f8fc3010d3b361b59ba5438618d8fcf29"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs: 49.1% line coverage (26/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcf5188b92fe3ecbc2a54fdaac04abdaf22a43cdbf9c43e46483022bde0e53f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/calendar/mod.rs: 28.2% line coverage (11/39)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/calendar/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05fe5f733ece0a68ce6a99fdcd983e00e54ddfd45e32259043973ae43f2a51b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/duration/mod.rs: 38.3% line coverage (274/715)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a278820c8247f4d8ffd927ccc8cee1808af349469687f7a0bc636f243949797"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/error.rs: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f288967a47a6e3eedbcf4b34e431a520659225b72a5c5e24435553bbb23bab00"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/instant/mod.rs: 10.8% line coverage (42/388)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad8fd32260cd297a326b75c900c0c27322a9487ab251907ce40effeeb4dcfee"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/now.rs: 20.5% line coverage (17/83)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/now.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04649e8901d809c582a56e3f015e8d982f3376cda1af8deec9a875520fb59e0e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/options.rs: 0.0% line coverage (0/85)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/options.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee577376558fd4129efe40c9be3e05181c004fee05fb6d40ae959f340d5554e5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/plain_date/mod.rs: 37.1% line coverage (268/722)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23328be7a2abdc60823df7997b4ceb07879ff1d3f10751d0dd88e8a3cf66b9b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/plain_date_time/mod.rs: 30.0% line coverage (295/982)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1addf9768bb2376f49158f46f9daf269933e6dba1ac1719ce3d341a1f77d1dd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/plain_month_day/mod.rs: 11.9% line coverage (36/303)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171c030ebbc5ec4ddf3649555f1c0a8c29fa9982274e7647bac0042d71eb2af0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/plain_time/mod.rs: 32.2% line coverage (166/515)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3adeb9b2db7196ddae0db5e0324ae8e5e4588cbb91b9503e3496ecdf698bd068"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/plain_year_month/mod.rs: 16.2% line coverage (90/556)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0996dd5574e22a5b58de6c44b2af1356212fe51a6d8eda010289e149d93a2002"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/temporal/zoneddatetime/mod.rs: 22.8% line coverage (277/1214)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b1db8155d70576ab379d9a2a833f6986571637b7bddddc3b456c38a2c3cb9d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/typed_array/builtin_uint8.rs: 13.9% line coverage (59/424)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/builtin_uint8.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e97c8d4efc4aa9cc1690db83ab0e52cb811d946c7a9c610339f3f20cf97349"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/typed_array/element/atomic.rs: 25.0% line coverage (9/36)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/element/atomic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42de1debc1d7b1ed1040f1c18c22deb23ac14d54626d6bb85f055b9298232c9"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/typed_array/element/mod.rs: 39.1% line coverage (54/138)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/element/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2d749128c035fc48164d6525371bfb0b595be4690ce6478d06b6b662778b0a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/typed_array/hex.rs: 0.0% line coverage (0/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/hex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"665ed3b5fbe6bae77cf0dbecca923126a98ad1dc3bc495666f8f76f2ee246d56"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/uri/consts.rs: 0.0% line coverage (0/12)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/uri/consts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a39d0dc225446cb2a20bc31d5c838777554c33cfa3fb57b1f20f4dec3a0f65"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/builtins/uri/mod.rs: 46.0% line coverage (104/226)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/uri/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18280e4bf83df2e66250315e1a9ae05ced5aa3420448b02687d54fa4ed4ad752"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/bytecompiler/declaration/declaration_pattern.rs: 34.2% line coverage (97/284)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declaration/declaration_pattern.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d51b12148718493b3a18a95e40da063937932a2453b598fe243fade88c7a740"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/bytecompiler/expression/assign.rs: 42.2% line coverage (106/251)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/expression/assign.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02213e95f306991cf46f8410150138d515639b162d615d5504aad8e6e3507c6d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/bytecompiler/module.rs: 36.2% line coverage (25/69)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d198414c355de6f0817875accc56cf81dda57b0a0717e677d12e6d7373a53b4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/host_defined.rs: 23.4% line coverage (25/107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/host_defined.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c4b7ab18da364792d1184f9de2adc2d359b820b905548823d012e0a357a182"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/interop/into_js_arguments.rs: 44.1% line coverage (49/111)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/interop/into_js_arguments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f60aa967976e70b542c62a6ddec3553b747e71188f6a5cec237e66efdeb7ce"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/module/namespace.rs: 24.1% line coverage (61/253)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/module/namespace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c770d906c6080a6f9a849eae154438ccb4602b77e0c5a0d6a5a2956fabb73f91"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsarray.rs: 20.5% line coverage (63/307)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsarray.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af03c957ad54f0f008eae89ad35ae05075d35dcaf1914cde03c754f6050309ac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsasyncgenerator.rs: 0.0% line coverage (0/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsasyncgenerator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b098255bb107c0adea7b560a5504ba549a7268753bb8cbe02a59150e0722c2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsdataview.rs: 17.5% line coverage (70/399)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsdataview.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d50aa70aa1e67b7d3812fb034a781a7eddcf74eca912b3a00d97930b993af5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsdate.rs: 13.7% line coverage (29/212)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsdate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"050dbb5fc4ed602b083b1a881f66f1a03b9943cbc2404c5d87dd527fc114ab64"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsgenerator.rs: 0.0% line coverage (0/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsgenerator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a918a466d3b8bf2ca77016dfefe7e814a4a60ae7c301f2e0ee3040f5b7edc097"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsgeneratorfunction.rs: 0.0% line coverage (0/40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsgeneratorfunction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c20c43d724ba441b6d2ea2e77d061fad86f6e8acef92fe872b876e2ba34fac"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsmap.rs: 44.1% line coverage (49/111)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsmap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b6ba40704f44b8ca324e853ec6977d697707677b0c692a9c1d12322a1372a0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsmap_iterator.rs: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsmap_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c998c93a4f0468228499e7c8ff69ba7151077abcd135269ca0306baa1af1ee3b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jspromise.rs: 32.2% line coverage (114/354)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jspromise.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"439d21bb6a417abb55ffe1b6ab1b2e2ca4255ffcf982d0f489c0d4ac0abba843"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsproxy.rs: 0.0% line coverage (0/270)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsproxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cce6b66ad8cb7e746b0b741d612502ef64d2a4ae7e9267cc61be4f097887ca3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsregexp.rs: 30.2% line coverage (38/126)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsregexp.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8985a57c850d1e31486d9b5507075461691ddfdafef272d8c52f0dba057906"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsset.rs: 30.8% line coverage (32/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1b11e077a629e72d1880e206de5992bee96b448073ffa395faae3389488317"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsset_iterator.rs: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsset_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13717bfcae5140645bf46d6301d111ff3dd8befb48c01ae6638a00338ff79e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jstypedarray.rs: 37.0% line coverage (215/581)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jstypedarray.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e29e0ecf09126790a6cc56628277411137a4733423d22d2e431744d3d722152"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsweakmap.rs: 0.0% line coverage (0/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsweakmap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea472cc0f2efb995687f6897180c6ec07da022dffbac2bfc9f04567f9ed3d6c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/builtins/jsweakset.rs: 0.0% line coverage (0/44)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsweakset.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a333ea5644a6b91e285a62a9dc36f893a03463ab9faf74ade884f12359fced"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/internal_methods/immutable_prototype.rs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/internal_methods/immutable_prototype.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38200638771fd89231b065c49dc64343166ec52d59fac4f6d8c93730dd967a26"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/internal_methods/string.rs: 42.3% line coverage (30/71)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/internal_methods/string.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b98a22ffaa31b0f2ebe34b45ec722c1ca35d04bd82e593fc2e3727e23b35c8e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/object/weak.rs: 20.8% line coverage (5/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/weak.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a3db23825498cc859159140d7f905dd823de26d827f6710525208e9aade0cc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/optimizer/pass/dead_code_elimination.rs: 45.7% line coverage (43/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/optimizer/pass/dead_code_elimination.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bdac61502406d76637f0f95dff964f94bb2eb85eafb32f327e793e5ada9962"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/conversions/nullable/mod.rs: 20.3% line coverage (16/79)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/conversions/nullable/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20521081366b992d02d5b53d5fb112e8c32da8a4903380fc164a1d7b80ba196f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/array.rs: 38.3% line coverage (36/94)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/array.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3a7802447b849ff712a32724dbd45dfc8869be05ffdce8023b7f8eeaa981f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/map.rs: 49.1% line coverage (28/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33048e1124c7fcfb47a809b6a7d9b6d6893ee835e72cefaefb4f2f26f8f2eeff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/mod.rs: 42.9% line coverage (3/7)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee65c1d49d2f22c433fd3006dd381806126a77dcb5fa1f8e814abb765e7273d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/object.rs: 43.2% line coverage (76/176)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/object.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c48e299e4783f5ecfbd92d0dc71aa0013f8c5b98cf260470ec68b4a733b50b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/set.rs: 49.1% line coverage (26/53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/set.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c47cba918f36839523ea1fdd5df2dda33f53c19f5f63320ec9a007997e0751e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/typed_array.rs: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/typed_array.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc796eece69d5e0adfe3f8c86fbca9f7c496891d0aaf8a35495e036c3dd0bd9d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/display/value.rs: 37.4% line coverage (67/179)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/display/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"573591848e9da51d5700dea331064458bb82f55c25404ee5c6f280c285fbf26a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/value/variant.rs: 49.0% line coverage (24/49)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/variant.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ab6beb9c9839c1f6d842cf85bdd1b89d903c61a772a2d2ac1cd8e64c2fc85"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/flowgraph/color.rs: 0.0% line coverage (0/37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/color.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"929205ce9846867838754cb6d2536dbea8b4336ac01b4e4412b80ef673faba02"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/flowgraph/edge.rs: 0.0% line coverage (0/19)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/edge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c57377b615b9d9a1a871cbb1f43a74115b127db959cc91f9d2dc48f95ddea74"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/flowgraph/graph.rs: 0.0% line coverage (0/179)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4383b2ed0c61fda8d62bf97a2e4bd5e2f569128ebfa1fbc9ee93a2e42862c2e4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/flowgraph/mod.rs: 0.0% line coverage (0/176)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d7d1608df75c1d55c3eaf77160bbe3cd8d53ede308641f34efebc2cac83ae5"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/flowgraph/node.rs: 0.0% line coverage (0/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/node.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c29f29a8f1bbf89602e8bdc96ce97e467d34946fa51ad43f504b4aaf50353da"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/opcode/define/class/setter.rs: 25.7% line coverage (37/144)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/class/setter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55405ee7400328e7a9553b95b171b1dbcfe93116e5e685a71bfd642a9d63539f"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/opcode/nop/mod.rs: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/nop/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45045be3b670e7eb97665df15f3f5a289882857e61b8fe5945ddf91d5a346eb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/opcode/push/class/private.rs: 0.0% line coverage (0/101)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/push/class/private.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01be655f1e8a972a497e42c1a2d75642a18924d44bf8cb6f08198a72522c3200"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/engine/src/vm/opcode/set/private.rs: 15.7% line coverage (18/115)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/set/private.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665e8cd074550aa5f1b139e2f93a5711aa7cf4bf977aad284b3c2a036aca0f0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/gc/src/pointers/weak.rs: 47.1% line coverage (16/34)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/gc/src/pointers/weak.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe45b229ccdd4a31e7c003c488da6b37900d90e1273f3c3f7c07981e829664bf"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/macros/src/class.rs: 0.0% line coverage (0/402)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/class.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a591b7d590376d98d92e92d594d1d72424d9c043cdcfd7750f4f0688842d0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/macros/src/embedded_module_loader.rs: 0.0% line coverage (0/120)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/embedded_module_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8851c5f32ec74bb20a44008cc09d4134923a8e624c0d7890fb19457ba526e81b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/macros/src/lib.rs: 0.0% line coverage (0/292)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e30d3d12f75818d07d7e054a9a7c2cb029d24debbd08afc895f8feef804478"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/macros/src/module.rs: 0.0% line coverage (0/185)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddb9f713d810a6deb9e8f4ca2417d06493f2fb621f3a58e4b2bdf7835c7ddc3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/macros/src/utils.rs: 40.0% line coverage (62/155)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359df83fe0cf39af7c7c5580de8481d5ac84ca1ce05e5848680ebc451a82f61b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/macros/src/value.rs: 0.0% line coverage (0/138)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47d8a885841a8239a03ab6ddcf6408b3f049a66d2e3582d5c68f8572dd6fffe"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/parser/src/lexer/private_identifier.rs: 48.9% line coverage (22/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/lexer/private_identifier.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a5d6d534c6da43e38094ba7c76d91d7876d0dd87c722e2e256b9ec0189ce32"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/parser/src/parser/statement/declaration/export.rs: 48.3% line coverage (87/180)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aa3b601c94d6232c4fd9b63ab126c611f90caf7e205b79a5a05a1005bbb775"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/parser/src/parser/statement/declaration/import.rs: 47.1% line coverage (88/187)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/declaration/import.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0712afc64726968fa0ddd1f728eaa22cdaa0b202d5486cb746618c71f17322a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/parser/src/source/utf16.rs: 43.3% line coverage (13/30)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/source/utf16.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835ca06a1c2a0a7342b800d3709019b3925dff52a70d796cecad4dd76cbdce6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/runtime/src/fetch/fetchers.rs: 0.0% line coverage (0/61)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/fetch/fetchers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"255ed78ef4317d82a42cae4529b832a65b5e91413ee112145626f4656c961cec"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/runtime/src/test262.rs: 0.0% line coverage (0/229)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/test262.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caeb9339e8281c940bfc10120be953a80b15ce625a7b761b3fcd321265a0eed"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/string/src/code_point.rs: 48.6% line coverage (17/35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/code_point.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef1c763f28c40ddce7bfafba0965c1ee416aa62067bab8d80370c6425097a1"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/string/src/common.rs: 21.1% line coverage (8/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d219934a4addceac1adc2fc74b915fff5a344d3af2d975146cdad0412ca8f8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/string/src/display.rs: 42.1% line coverage (24/57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/display.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1e5f325c7b5e2018185ee2169bc62ef346eaa802a4c92fbc8f59cdcf2924bc"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/string/src/vtable/static.rs: 39.5% line coverage (15/38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/vtable/static.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46011bc0e26c943ce3495fa9bae657a8edc33fe159da6d3436a7ad8ca6edf69"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: core/wintertc/src/events/mod.rs: 0.0% line coverage (0/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/wintertc/src/events/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a8485c7f479166045f5328928d47d6e3c7d644dfdc25d8d9573891b94583b2"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: ffi/wasm/src/lib.rs: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ffi/wasm/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4955b2525c1775cf43c0afb4a66a8d5fb585f33ad9c5bd6023e58209ef2795f8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: tools/diplomat-gen/src/main.rs: 0.0% line coverage (0/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/diplomat-gen/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e0345b915113632bda29fc3d1708158d827438e7638aa1ed490b93ed48e154"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: tools/gen-icu4x-data/src/main.rs: 0.0% line coverage (0/45)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/gen-icu4x-data/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dfece0226b715b47e344ec44f99c08493533ea015b3025b279d210640c11ff"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: utils/small_btree/src/entry.rs: 23.6% line coverage (35/148)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/small_btree/src/entry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93483a1ff698c6450708c0f1ed2a5517c2aa1a63570afc147a50be5af674ab7"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: utils/small_btree/src/lib.rs: 6.6% line coverage (20/301)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/small_btree/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f2d65457eae0fb0787430a7e5a0b8065dc97fd01b338e1964471975545d14b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/engine/src/bytecompiler/expression/mod.rs: core/engine/src/bytecompiler/expression/mod.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in ByteCompiler::compile_expr_impl at line 90. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 19:33:05 \u002B00:00\u0027 --until=\u00272026-11-10 19:33:05 \u002B00:00\u0027 --full-history --no-merges -- core/engine/src/bytecompiler/expression/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":"core/engine/src/bytecompiler/expression/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaf59915ecadae7cfb78635798504468ea86ff95d27ecf23f4a3880adb61ee6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/engine/src/bytecompiler/declarations.rs: core/engine/src/bytecompiler/declarations.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ByteCompiler::function_declaration_instantiation at line 876. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 19:33:05 \u002B00:00\u0027 --until=\u00272026-11-10 19:33:05 \u002B00:00\u0027 --full-history --no-merges -- core/engine/src/bytecompiler/declarations.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":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"634dad069c926d1e162d774d7a2b88a9f01d0a1b5e9de7ea51b1bc2e04fe93a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/engine/src/vm/flowgraph/mod.rs: core/engine/src/vm/flowgraph/mod.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in CodeBlock::to_graph at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-12..2026-11-10, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-12 19:33:05 \u002B00:00\u0027 --until=\u00272026-11-10 19:33:05 \u002B00:00\u0027 --full-history --no-merges -- core/engine/src/vm/flowgraph/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":"core/engine/src/vm/flowgraph/mod.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae68fd11b862cf91843d12d1bdc165b7a31bd7c6afcbf048155007cf0b27a6c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: core/macros/src/utils.rs, core/string/src/vtable/sequence.rs, core/string/src/display.rs, core/string/src/vtable/slice.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"24f4f59d0bce1aad967892278ccb0c00e306b94143dd8d898e88f2a2d9d385df"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: core/wintertc/src/lib.rs, core/engine/src/object/builtins/jsregexp.rs, core/wintertc/src/base64/mod.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7341f70720047f5eadd290b8c1ac2feadfd0f17260610e0280d15b125d5811f2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 12 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (21 single-owned of 521 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; 521 of the 664 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) (\u002B6 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: core/runtime/src/process/tests.rs, core/runtime/src/process/mod.rs, core/engine/src/builtins/proxy/tests.rs, core/engine/src/builtins/weak_set/tests.rs, core/runtime/src/url/tests.rs, core/engine/src/builtins/bigint/tests.rs, core/wintertc/src/console/table.rs, core/ast/src/property.rs (\u002B6 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: track https://github.com/rust-lang/rust/issues/96762"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/small_btree/src/lib.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29dea8493c0f5866b068ba094d1c02fd7ce74001bb476bc352fb4c1291de170"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The console-log-large-array.any.js test is too slow. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/wpt/src/lib.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f26e4cc07f7fe71af48b72e5ee5fd375218590f88a3a699ab2db10141158e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: re-enable those when better encoding and options are 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":"tests/wpt/src/lib.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"0255c29abb27bb61d8dc1c5c1ea59dca5bbe1184a8b57d6db7c81776282eef21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Look into what NodeJS or other browserless runtimes do for WPT tests. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/wpt/src/fetcher/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"190dd03e8eb07c5c8ab48c1abad67997c0de06ae3b46acba7e5ed4c8c8b5c372"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: iterate in parallel \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tester/src/read.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f87c5a6c8998c69dd5881037f583c0a63c78101aa31c0cd852496eef0c2d43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/tester/src/exec/mod.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a649c750d4372e353b56363d23cf3530195177272f26f759f1849e5622e6502d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO arbitrary strings literals? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fuzz/fuzz_targets/common.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4e3eeaac03fd2efedc81852a793f62a8dfa79e70737ec212634c357dc8a0b9"}},{"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":"core/wintertc/src/url/mod.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef4315b6516e7d2103c0c95a6934f49722b150cb0b5c9e172dba6372a8a387d"}},{"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":"core/wintertc/src/fetch/mod.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0618b7c2d92307cfdb41541750a2d727e9d2bfc32e0723c17d48b07619a82d"}},{"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":"core/wintertc/src/events/mod.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"af87bba35364183c98f509140449e3410a1daa8ee0e03a9332da0a829e519a74"}},{"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":"core/wintertc/src/encoding/mod.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad0e02618221e33f3b358ec527d2f9aa50ffe2585498aadbbc8217245be5584"}},{"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":"core/wintertc/src/abort/mod.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ae60e1a7419a02959e0f2f0ec85a784a4dbdd2867c73254c25f08f59b757b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove [\u0060str::JsSliceIndex\u0060] and rename this when \u0060JsStr\u0060 is no more. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/string/src/lib.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"db512670a4f4d1f9a5861a0f5e461d864779e07173b49832d2bb0b4ca9bb0046"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: improve initialization of this by using a \u0060[[HostDefined]]\u0060 field on \u0060Context\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/test262.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8dbe4185a5c80161a9dad385c6abc9cb1fde23082ff33bb2aed9202af54b6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider implementing an async version of 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":"core/runtime/src/fetch/mod.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7040f6f4e17a8b6ee008acfa59cff25c89f10a9603108ab360e7aa428f62f723"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(#4688): Replace this manual \u0060[Symbol.iterator]\u0060 wiring once \u0060#[boa(class)]\u0060"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/fetch/mod.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"975de8fea871a6c6e023b78fa21da5228eca813f42b50114f9efa267df089eb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This class does not contain all fields that are defined in the 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":"core/runtime/src/fetch/request.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbc092094c6aed419e0fcc016b2f0f0969466ef273014affe68b8ddf84e00bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more support 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":"core/runtime/src/fetch/request.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"888375411623acc481bf2ca52ccf8937f496fdad412129e2b5f1d3db2848b582"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle other BodyInit types: Blob, FormData, URLSearchParams. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/fetch/response.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fe297a38830f65fe92618e5dc9ea9024d06c6fb1fa6fe9ae192a5a6b43f199"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: track the full URL list to implement this properly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/src/fetch/response.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6b43dee5436405f396e23e92c4e1d82738418a5994bd9a6951042720157834"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060let a = await fn()\u0060 is invalid syntax as of writing. It should be tested here once 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":"core/parser/src/parser/tests/format/expression.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"da87835fe8ec6d75aa6312ce574f7e5d3d86c18297845a75b3564824967561e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Once block labels are implemented, this should be tested: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/tests/format/statement.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3351737b3e4b9906025d34dbde8b92b2619ca747f088aeea6914c792a8ed4fdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add BreakableStatement and divide Whiles, fors and so on to another place. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758de00d8aecd15f960ee0a04c2d4b0d1c54fa16c3f8ecc352f9abc7dc77b5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should store directives in some place \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55fcb9adfe95b60102a3166317b412a61cc0bfa49713b562f2e4809fae557c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Currently parses only BindingIdentifier. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad5d7b3bde12f4b47aeadfa5f59f2c3716797c0eff47c1916f9164359e0afd7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tok currently consumes the token instead of peeking, so the token \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96d35ea3dc3158dd1c99c686043f048f4c0cdffd6db87f18ec4afc69fda53c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use bytes for a bit better performance (using stack) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/parser/src/lexer/string.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96f377fd21400d75f8c0b62b3ec5998d9d91d8632803b80a403af4e0c529e59"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: use phf when const expressions are allowed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/lib.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2888ffb030d4585f81e9ccb8134d3bfe5cbf307234c367e8c9aeedadbac657f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this could possibly skip accessors. Consider using \u0060JsObject::get\u0060 instead. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/lib.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d17e40fa453489978c7332f9e54edf465d5929427f447c89077eef5b962c1c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Enums ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/macros/src/lib.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06200c334fa353c28286516cc17c35ff28c1b5919069f9e3432aaad50c2ac36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO deny once false positive is fixed (https://github.com/rust-lang/rust-clippy/issues/9626)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/interner/src/lib.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"731c73aeda34cd7a69f1bc6c4e3442e22ad6545301f1501db73cfbf5be0b2b16"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a configure later \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/gc/src/lib.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56ee643d09cb2c75f01c400da7aaee043601a6d8a73935498045611b7713ce6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is this true for custom hashers? if not, rewrite \u0060key\u0060 to be 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":"core/gc/src/pointers/weak_map.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"51709c88003c63376c9f08dae65b03d395f39aa09029079dc92f88198cdcf057"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: extract to a file \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/lib.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"66740c5957230a281e723fe0906283a0bf853474747086853b0be43cc06d5acf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The line number increments slower than column, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/source_info/mod.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ebcc979a555dbe6a65dbe2b85395bef23f4836d4223f4c29d42dd37b735fda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Could add more information, like path in which the eval is located. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/source_info/mod.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d1f5fb027b1f52e35d73e5bc73961207fe7a3b89f09926c7570f9105ba55c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Could add more information, like path in which the JSON.parse is located. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/source_info/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"172b198182033b6385981cafbbbb15b7a9335b2dd90f2e8fa1dea1ce3fbaf3eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: document implementation range flattening. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/source_info/builder/mod.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea21550a7c35e9ef64f752b5f3ff5334f3c5006ea0364f37a72cb54ef77b3e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to double check usage. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ce644fb046f676a7ea131de2f6a2745b33864e6541808e75648c902c29b0c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see if this can be exposed on all features. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/mod.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be3c0010b076cf9e082849de04be46ae2b44dd795f951e99a59ad2684458416"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: spec specifies to return \u0060empty\u0060 on empty vars, but we\u0027re trying to initialize. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/mod.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb965ca59ff44d99bc40cbba6bd1968bffc0e6ce5034c4782bfa393ef56546b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: For source phase (phase == 2), implement GetModuleSource() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/call/mod.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"516710f3222a3ffa6568ecb87fb93557230503c7339d5cfbd377fe34f11031e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we may want to have nan-boxing be the default only on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/value/inner/nan_boxed.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab3a81ae8fbee620898f7bdaf3f74b37139b255e20b8497a622c116c212cf39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe panic when trying to convert accessor to data? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/property/mod.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea8334a04a13ec2a37cfdef6b08f9e6254cde2692e4a79b997a25a62b99bed1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe panic when trying to convert accessor to data? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/property/mod.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fc2cf289179132627af283fb450810451d5b2cbc12cc7d4908e7122028a642"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe panic when trying to convert data to accessor? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/property/mod.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf70f6df3e372580ba706921d6762db68ccdbd90210985298231e21ba20099e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe panic when trying to convert data to accessor? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/property/mod.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c738162d70bbfd408e04e94be1bbc8712525c57e22fef4935182b38d2fb4be5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace JStrRef with JsStr this would eliminate the to_vec call. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/optimizer/pass/constant_folding.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be5b43df363526c6d8560003f19d87555ea42cddcd2d7c31fed6cac867b6b4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace JStrRef with JsStr this would eliminate the to_vec call. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"880459f9e2c5c03281399b7914765c7a1564638a98e723e3ffb174287dfa3325"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: extract IsCallable to be callable from Value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/jsobject.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade44883eb77a4af32be78af546bf6e5b1d44c78a479b18513034889f317b6bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: extract IsCallable to be callable from Value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/jsobject.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f13260dc8b7b01dcba4027aef6c2359bc248033791f9c59c0957f5aa76b164a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use super trait casting in Rust 1.75 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/mod.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37bfdfefb6bb88c91b8d6a0187ff9a90f7e8105382fdc967e8a4d7f5047b24b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use super trait casting in Rust 1.75 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c314a94d5820ce074cdec14ce04e984ed406a4c110f1acc35730817e983b32d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: invalidate the pointer. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/shape/unique_shape.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e945497bef6b432c0321b4932db3c2ba0d37cb45d307a1869815bcf1093be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We don\u0027t support indexed keys. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/shape/shared_shape/template.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30274c8980de4286e77c45db23805c4de3d9389a52bb18924df3a9972af445c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add constructors that also take the \u0060detach_key\u0060 as argument. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/object/builtins/jsarraybuffer.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8877c5db68a8e4fab7347898f38bd75b93bed69ed3343f0126878a97cd71a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this count should be part of the \u0060context\u0060 instead, and we should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/module/source.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b428b7402a6e62a6c29942dc86fa18f87b29e34aaa7dc386a7daea792493e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: A bit of a hack to be able to pass the currently active runnable without an \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/module/synthetic.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c0873e5ff8c4543b8527b8e60f88d2d0b2cb1dda841b138ddef8a772fdf989"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support TimeZoneProvider debug names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/context/mod.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bf18c83f1e0123a4489c2e9bbf882f23b5b5b55a95ed7a8312ed610a737e28"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: try to use a custom error here, since most of the \u0060JsError\u0060 APIs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/context/mod.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5344bfb9a5f0b3b25fe4e605562b10718fb05f7206055943959468cf4310150d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support B.3.2.6. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"090447921cd926d1d66a5fa520c72d8c5ba3e4642577878f5d8b6327739f9739"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We can omit checking for return, when constructing for functions, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/jump_control.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36ce2072738d346d811a445138be2f6fb1a596de2b68c30dab9a023b4d09c82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this return \u0060Option\u003CBindingKind\u003E\u0060 instead of making BindingKind::Local \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"97304d02e3d80da4733d846c50e11d4fc68f01941c9a421bbff74287f52fcd84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(@abhinavs1920): Add resource to disposal stack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f17493456673beaa342392fb860a9ba9ce29dd22dbe4a570866419ca4763f86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Same as above \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd4789a4db56ea570f49efef48157af3288058771398dd3b3729dc197857142"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add resource to async disposal stack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1ec2e5582b8f70c8d7cdedea3339c64f3a19042c4d32f1fac1468ed4025d71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: SAME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/mod.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"751e4ec0ccca71fa5a2940b6291d2adf9be4332da39f2fd35921a13c6a11281a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We could probably remove the Get/SetAccumulatorFromStack if we check that there is no break/continues statements. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/statement/try.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab61922b53753712f06e8a0e4e4672d9f7f12f6c9b35afb1ff3dabeb5cf6119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this marker and use \u0060Constructor\u0060 directly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/builder.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8de695e57ed183e0fe55760c37fe3e6e1a7d228ee7c0139ec9b938d00dc018"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this marker and use \u0060ConstructorNoProto\u0060 directly. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/builder.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3fc0e2a2f7332d22abdd0b1f4f48e4908a4db282464675b787549178f2137"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement proper CanBeHeldWeakly once available. For now, only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dde0ddab6654b73572e8801032b06f3acf1ef1009a657cc02758b62cac8ac5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement proper CanBeHeldWeakly once available. For now, only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/weak_map/mod.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3705c6e8c2873b8f1f38a50321fdb8d34159c1d4e7505c9f5b71115ba25ef7c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check behavior around Partial 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":"core/engine/src/builtins/temporal/mod.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fdaa250f9055c1bf0b16fbd071b5f41c6fef599b4df95b45f658819bc7382b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update in temporal_rs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/mod.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe01c12e3e21be639e0f6a88badfae1aecc0c3ca414bb74d89bb008d99ecb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should be optimized once system time zone is in context \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/now.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c74acfa975aec39aad66eb438492e38494271d40ca7facfcab8afa40a5831c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Expand docs on the below options. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/options.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"da65cc738515d8478d162664e43cf0e3242410bdeca2447354d473abe66f40ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4ef51e4d6abd0e31481c40dbeb0795c079b1d459e7bfc38ab2a1210b74ca1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"c103f9ef22b2d646f45490cc0bb3327a196b9e05d452ee4a6028696324cda5b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_time/mod.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"620766e1b212fad9941ec91f2855b318c74b0a6b88a9de3edbfd5c1c23806176"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"524226f488f1aeb8e96bb8d4fc63ade48a7990c39bb14b60f8d2a14d97e8bd37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a88022cbe6d278d72df90cd3222282141778fb40925e168cf2421349841f8de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f39f50899b11ad1f3a64f0e7c1f40d51dd9ffafb7847e2bb040c831f38fe7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f5b66d23d0a2f4eb4410bdcd42a08ee384a64d3089da08e8735070f2f869a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update for ECMA-402 compliance"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/duration/mod.rs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fd46b45afe41121f7af2f4873119a670383eb32603a5bd75a3f1b435ade541"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: step 7 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":1758}}}],"partialFingerprints":{"codehealthFindingId/v1":"49588e970cb154917852439ea6caca9cb0bafcf35c3ff18552dfe41fe3ab4378"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060temporal_rs\u0060 needs a \u0060has_era\u0060 method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":2125}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc316f8c872eaeb22237760ab533b54d0c609de4e655ae1d298cb145717b01e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060temporal_rs\u0060 needs a \u0060has_era\u0060 method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"7749c08622971420ea7757aa299510471a6372930d5ac00005b0553c1979f3c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060temporal_rs\u0060 needs a \u0060has_era\u0060 method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee856cc835b0694b7145808e1c58b9ee183b13a2f457f92f480edd5ebfcd7bba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060temporal_rs\u0060 needs a \u0060has_era\u0060 method \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"910a6d949c7a8c2f0d91b45ac378376283161959bcea75afdb359d186f1d5892"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double check if an invalid monthCode is a range or type 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":"core/engine/src/builtins/temporal/zoneddatetime/mod.rs"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f3ad65afecf5826d77c9930b72bf02ffd3ac588891f5c671f73f411df4824"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double check if an invalid monthCode is a range or type 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":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ab99c65451553431bcf58b37bbf1185a305df2705cc0abb887cc1fef49155"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double check if an invalid monthCode is a range or type 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":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500b0ca8875c945ab8173f1a043c917ef6c913dcd546fbe19cbc8caca4a1da5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double check if an invalid monthCode is a range or type 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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcf4aa5a0c24517f4424e50ae90fbb59ce7871b861e316ed91c47f88256d52b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Disallowed units must be rejected in \u0060temporal_rs\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f732c68329ef23141904ab55ac5ba13db654f0471a127c9bde25c789b23a69e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Disallowed units must be rejected in \u0060temporal_rs\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"8900143bc3e33bfaf3846db1cbb87f68eccc1492f7e0e86fed76b3c0bbbf1072"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle and implement the below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1882d66b0c8bf4594c17153f5fdd6f2d330b2af8c1b721f4bc2382f087fbbafc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move validation to \u0060temporal_rs\u0060. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date_time/mod.rs"},"region":{"startLine":1692}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ebb1ec3f491f773a72de7c46d5bc63a097452ea9441ebe3cc0346fd1b78a07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: For order of operations, \u0060to_partial_date_record\u0060 may need to take a \u0060Option\u003CCalendar\u003E\u0060 arg. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f461efdbd54c7cd098a069fd56bc4b9a295698cf89665b52d4489fd02fc63ecc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Most likely need to use an iterator to handle. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd505e9743d23a83bda058c23785d3b4ee1b29f7db505eba6e2fb1ce1b90da4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should directly parse the JsString instead of converting to String \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254566c972d00db7724043b9150905803deeb38c5f8625e10bc0b2442a44e15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Currently regress does not support latin1 encoding. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/mod.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a68cf138db7f360a7497c60ebe89b8a5ed8795d16180107c0c7b5670f7dd51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: See todos in create_regexp_string_iterator and next. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/regexp_string_iterator.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb88d34216f928d5f37d53cc51ee06b9ce6cf9a87bf8158421ec1e533009cf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement this with closures and generators. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/regexp_string_iterator.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d1185c4bc9eb8a46dbcbf553820a0811dcc7ec6286a16834a281fdfda71fb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is the code that should be created as a closure in create_regexp_string_iterator. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/regexp/regexp_string_iterator.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3cb917e7a4a403d5b1d478264dc890650a54a3dcdacd94fc949af880af809c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: once then_some is const fn, use it 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":"core/engine/src/builtins/number/globals.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"25025402bbf0ac50f3ecca49bd32f24dfbc665f13ae88dc96af329e3838c3e7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Explore adding direct UTF-16 parsing support to fast_float2."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/number/globals.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"734db1b757bbde1b4a6d3e8479789cf3cc4544209228231248049ae1276d6c75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: In addition to parsing numbers from strings, parse them bare As of October 2019 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/number/tests.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"310aa646b88c05d985c0b9c99776207a743fc7462835fdd92428abc3dd0955cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Track https://github.com/unicode-org/icu4x/issues/3284"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/segmenter/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ea62d38b4429856de61a3c9749e2f4fb3adfa02b62aa922a1e9c48c9ee466f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle scientific and engineering notation once ICU4X adds 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":"core/engine/src/builtins/intl/plural_rules/mod.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bc2e372977e1faed28fb8db23af22b8c703b1117f282fd2db3d170c21e0659"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Missing support from ICU4X for Percent/Currency/Unit formatting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42465a8d4b33f0b55c6f62809a6b2607c6bb7f35948803298a44f29720af28f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Missing support from ICU4X for Scientific/Engineering notation. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f43eacc1d906eac3e64be3d1315640fb34f082df43963cf7db639ae8dfa561d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Missing support from ICU4X \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9274d24cf88a51516d590f4f98b9100895f814018d3aee7411a24f1265633de0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change when scientific/engineering have their own formatters. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c3f496652d72c099d8da77929658e7fba79385eda76c562824a4039a0230d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this the correct way to catch literals? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0a3aae93c54487a6cb0a277dd90936b1c0b881d2d24058d733c87a0b38f4e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this the correct way to catch literals? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"325fc62e3afcce6f2e5edf5a7deb94d0061728eeaf948dfa558da5d281d10c45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support in \u0060Decimal\u0060 for infinity and NaN, which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"4255c1c7670e66c9e54579b1cc08340e4a174c98ffa95ff4ae95476a686d1e48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Introduce \u0060Infinity\u0060 and \u0060NaN\u0060 to \u0060Decimal\u0060 to make this 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":"core/engine/src/builtins/intl/number_format/mod.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ac3624429e3f73e18d516670a72c4d3284211219fed69f8ae36409c22de200"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is not optimal for now, but the new JS strings should \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/number_format/options.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea40a0f5dc65014b51592feb50aa821687cc21f6a939a8e21c9610f5fd8a8b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this workaround once ICU4X supports canonicalization of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/locale/utils.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8951fd44d5a2c9dbd23c5f841adc7a5058b5bd1488f91890045d41365f9db852"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support for UTF-16 unpaired surrogates formatting"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5df9bd47213297c94cfed70491ab39a03ecc6153e9b7e969981f4b08495b1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support for UTF-16 unpaired surrogates formatting"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c4d649ccd0d1ccb9339b6b903311bf44b4fb04121a9f5bbfa9c0cc39ecea9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe try to move this into icu4x? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/list_format/mod.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"79530e0ebd82737b079d0b650d14cd2aa40f66b0417babc3bd5ce154ca64ffe5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Potentially remove ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6086abe55a70b3b078800fd2b5e3608e0ad691525533d0ec5ee59f9d73be0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: feature request for ICU4X to expose the inner DateTimeFormatter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f8212d0ba8d6a59ddda4d6fc8363716df7b5f7d88d4e3da1437eef47cdf7b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // 2. Let hour12 be undefined. \u003C- 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":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758fae33836b154fa8f3353c0c84795e9ab57978ddb894a1bf73b3a30c1e8cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The resolved calendar, numbering system, and hour cycle should come from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6f3f5baf51d2bc9fba707857dd773416b512f09d64ae252a0199682d98abef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle hour12 and hc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd0d4a67e597ce76ac84f4e721ae506473196d1756f94497a6806f1d31fe84a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (nekevss): Resolve system time zone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6d78335db8ab7fbfee1c68c2c8e9e855e7da3b1f65e4d0d1691444723a57be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: how should formatMatcher be used? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad242c182fe416071302fcb41465aea8ce79295051e30e910f024b2ac6d04b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (nekevss): implement d-e \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"7158dda94789231e1646fea1aa51109b5318eabf86ff2060abc01b95178e601f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (nekevss): Do we have access to the styles? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6a26bae9acbe2838017e9ce7320375f04547d6ef429a217007d88455813d29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (nekevss): Do we have access to the localized formats via \u0060icu_datetime\u0060. Is there \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/mod.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ede81a1a9244c77a131e8fc0bf4fd65018046651338c4ba95d72b4c28231c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: track https://github.com/unicode-org/icu4x/issues/6597 and"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/date_time_format/options.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ebf1a0cf2fc01d85a701067528c12d824f0a03accd99595519363284811e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Is option 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":"core/engine/src/builtins/intl/date_time_format/options.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccf2040b3372971a2999a0df7544ba7c46868ea13cd317b70f6b8afa8965c50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace with standard \u0060Iterator::intersperse\u0060 iterator method when it\u0027s 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":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"328033f9b600ddb24b6d7a85e262a2bead49c02e6fbb91221e3a076359ca5003"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: create SourceText : \u0022anonymous(\u0022 parameters \\n \u0022) {\u0022 body_parse \u0022}\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9c63f5c5cd63466368720ae334a7c6c01cb6a873e0e6d2d7638425a068914e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO?: 3.a. PrepareForTailCall \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"be07e3a4a60beb3be075f997a994edf69b744ad3515a42048b2d54397226dede"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO?: 5. PrepareForTailCall \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b181e5a081d1f1c9622c24f2e48e12734c692a7ddf8e09a9a3b6ae26cb5a423"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO?: 3. Perform PrepareForTailCall \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"006f336f725c304786aef062517c8943f9a9939ba59be5f44786ec84c5b618c8"}},{"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":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674ccc4333ee430cfa345496be1bb49ba242eb5c8c8611ff27a56725ae9e549"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement Private Names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fbdae2c0b5d54e94a2eedf6d6fbe7c83ebadfe22f5134281be59e35f12fe85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement [[InitialName]] for builtins \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2cb0785976570c761e7875f1c8143c3591a7794d51902e00080f6b16de8049"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement [[InitialName]] for builtins \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed5d202ead7153778302f302ab3080aec36a2ac41f7f0074546f22d3882690d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support Symbols \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/finalization_registry/mod.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b762ab925262a433458fc619d235e1200981947866ad32ff1f99f905c01ce7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support Symbols \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/finalization_registry/mod.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e65afedd447ecc2b1206c828c1a8c59d261fd9c5da52e34ebabe62b836b1d7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support Symbols \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/finalization_registry/mod.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9193b6c13f68f645332a123c38a793de1f55b1755bfa8ebb33b10b2c315c2ebe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it might be better to add a special ref for the value that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/finalization_registry/mod.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc1d369a391cc7334c94b74e3d53d4e936835e85b894d4ec8b368d9a7a00b02"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: rework parser to take an iterator of \u0060u32\u0060 unicode codepoints \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/eval/mod.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"971ef1b49bbd2acd505516b54a1307de2ef6518da191dc1005213af8eb367bec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Could give more information from previous shadow stack. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/eval/mod.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85ab63be6fbd763247317cea190498635db7055ba595d0f8a11f7dca2453f54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Try 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":"core/engine/src/builtins/escape/mod.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab4ecd0c5813dab5caa2985c608d23f7d4a45cc4940548d1be1f71cb5166dac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/rust-lang/rust/issues/77404"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/escape/mod.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3612f93bfd176471c09fee652132d59ea2309649026ab80f78a633b9cbe9d37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://github.com/rust-lang/rust/issues/77404"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/escape/mod.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03b216dd7a9b2d2b277bb29aad6b5ef9dd46a60d3567654663c9ada8f09e504"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: track https://github.com/rust-lang/rfcs/pull/3467 to see if we can use \u0060UnsafeAliased\u0060 instead"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/atomics/futex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83adee5b9aac2a45e341265eb599556fff8d45211f76c1df9e74b19a35bae33f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 7. Let hostHandled be ? HostResizeArrayBuffer(O, newByteLength). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array_buffer/mod.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b58a1ca3d44dc0a1d53e3e2f317d9b44fb295b185e3fce141f23d2266396ddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 5. Let hostHandled be ? HostGrowSharedArrayBuffer(O, newByteLength). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array_buffer/shared.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd039320f8f10f1bb7e42bec58a9de23b97d3dfd34facac9565073c1d51e7e94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this seems to be correct, but maybe we can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/from_async.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc3279e38048404a1166e8d1753107e7d5d5bf19ca5895ae37f33c63caf959a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this optimization could be generalized to many other objects with \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array/mod.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ce1bfb9e90a6cda8520c22e835fadf1c239fb6047fc91c05ce08b80ed2489c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: union Span \u0026 LinearSpan into \u0060SpanBase\u003CT\u003E\u0060 and then: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/position.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55ce869f36d048b602823103a1a29ffcecd403c93d1162109a3e003787b1520"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO recompute flags \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/function/parameters.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2e51fb0aaa830a08c738dbe91a6386ef96ed4c7e3f1e67fb860da6b0db1f11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support all features: https://tc39.es/ecma262/#prod-PropertyDefinition"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/ast/src/expression/literal/object.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a19c857add25b7960e783c9f99bf4c91c021472475cb6dd8cb54e40acda409a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Replace the \u0060__BOA_LOAD_FILE__\u0060 string sentinel with a \u0060CliCommand\u0060 enum \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/main.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd4ddd06b614c5892fe89a58ce5d21d1a4f688ed09e8118bb066fdfee96195b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: would be better to avoid blocking until 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":"cli/src/main.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc89094b902aa49c17baa8fc0faba0e89ec749cc52af6db66fadce42505d768"}},{"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 \u0060cli/Cargo.toml\u0060 makes this repository a deployable product (line 56)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/Cargo.toml"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee59286c118d7f684176f93f8b78191695c358d4e05a536183a2fa28c8f99ebf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clone the object containing the buffer, and transfer it\u0022 repeats the code it sits on: 4 of its 5 words (clone, object, buffer, transfer) are already in \u0060const object2 = structuredClone(object1, { transfer: [buffer] });\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/runtime/tests/clone/transfer.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3afac7d29b24a3afa5f5bdfd3e578c16577310ba62087c133926c0009d5a8d"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 18 project(s) overshoot their size bounds, lowering Project Cohesion to 7.8/10. The most over is \u0060core/engine\u0060 (136148 LoC, 338 module-visible types across 76 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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08: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":"3458d51dff867b678a018b247eacad84a83f74bf026ae454150ba3f7c2dbd7ba"},"taxa":[{"id":"CWE-807","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85e0145f934229b85948743464c1a52397276eca582868e80517d8f54194dfcf"},"taxa":[{"id":"CWE-191","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"aee23c0997519f9a53e2269c98d35b0a266e7a24cad6a6d93c1c088edb4f3e32"},"properties":{"dependency":{"package":"basic-toml","version":"0.1.10","advisory":"RUSTSEC-2026-0374","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":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","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":"core/parser/src/parser/statement/declaration/hoistable/class_decl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cea50d4227082d0fd1749744d3b851f20d14932a7f0665a7a2cacccf1e15b9"}},{"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":"core/parser/src/parser/statement/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0587d18f4c05033001d8a43325259fad7f672f4e3d27663f14d84dfe55b131d"}},{"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":"core/parser/src/parser/expression/primary/object_initializer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d4855c5ec356d661228128060eb464279a7fc49f70b0f594b587429ca7b3c5"}},{"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":"core/engine/src/builtins/date/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ebca3522e2b3a51c145919166caffdf5daf3663e298efb6cfd9fb17f193197"}},{"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":"core/parser/src/parser/expression/primary/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c89c2ba52bc8b442bb8f2a9d413e2f3ebe0ad31a5aa2404f64751e78e6a38"}},{"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":"core/parser/src/parser/expression/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2405ddca5fa0ad896f4d9f28281d26d45e7e3708e0eaca7dbd4ac9fe55124f0"}},{"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":"core/ast/src/position.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cb46baabc883c1f0698d67cea16e0f8c0b85f149988f9b11a5c17732cf31e6"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 84 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: core/parser/src/parser/function/mod.rs, core/gc/src/trace.rs, core/engine/src/object/builtins/jsmap.rs, core/parser/src/parser/statement/declaration/export.rs, core/parser/src/parser/statement/declaration/import.rs, core/parser/src/parser/expression/assignment/mod.rs, core/ast/src/punctuator/tests.rs, core/ast/src/keyword/tests.rs (and 76 more) (91 orphaned of 522 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; 522 of the 664 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":"core/parser/src/parser/function/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79289cc9e4cdf82cfff08652fd4f43f99e529f0ac7d26dbfcc0a24b1da2944bb"}},{"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":"core/gc/src/trace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96456b1fec6c7616b0736ce4e03789ebc37e5e1b7e12f51f762d8204d05ffb2"}},{"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":"core/engine/src/object/builtins/jsmap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"820ea1a522933d21861876aafc35a39da5041c9f0a7f517c49df4d1e50eb2788"}},{"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":"core/parser/src/parser/statement/declaration/export.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d65090372024b10b2fee998e7d6522deea38413c40c9aa960647721deea1ef2"}},{"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":"core/parser/src/parser/statement/declaration/import.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e19384d7baa9ed994ed4b3930b2767530bfd48c577406a48c3d606e42368dc"}},{"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":"core/parser/src/parser/expression/assignment/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe4f5d4f7e4a72129ec2511c9ca16901659c5a7c8663371acb24793f0a22b5d"}},{"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":"core/ast/src/punctuator/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba27443346f34cf16cb7b8b67fca5c59738095657c9d4bbeaa2f208fda2eb69"}},{"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":"core/ast/src/keyword/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be86e2680f81cdb415864ed30a64136272c207b0a714755806977273b9dfaa8"}},{"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":"core/engine/src/interop/into_js_arguments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0303b9cd35cc65f4389cebc736373140932587513a5d7b0503a9cf229b06577"}},{"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":"core/engine/src/value/conversions/nullable/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe008ef406b99caaaadd9f6466f2eb3056b84a6d7e6342c374fd1f74ccde449b"}},{"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":"core/ast/src/function/ordinary_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a70a06af6182a30c2758ed20f320ee4d69bd14d9a0bdb98829bfb6bd2fb20a"}},{"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":"core/engine/src/interop/into_js_function_impls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d16b4d959433b2f011beef03c56c6042f16498e512956030653d3f05e292bf"}},{"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":"core/parser/src/parser/cursor/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebed4432d5ddcbbe1efa7bc9f44bcbf6f0bfea68002d4d2849d07c11d01d7130"}},{"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":"core/parser/src/lexer/template.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23c651e31c6b2c2ac8b3461c70ca5c698df14c7ffb4ed4d9eb124d3fff5c335"}},{"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":"core/engine/src/value/conversions/try_into_js.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe26414306885b0809b332e2f6866b0cbf4f869d28fdf51ae7a5cd198aa4e7a3"}},{"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":"core/ast/src/function/async_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c3590e90866198a3df6bf942ab2bd5f114c9bbd7322fcd6fd659a310b8cde"}},{"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":"core/ast/src/function/async_generator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f42d670fbeec073abf2eebcb97f4f46a2b972f63b42342295bc50b277db6767"}},{"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":"core/parser/src/parser/cursor/buffered_lexer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91eb5bd469be4ac8938ee3505b1c5cdd4d6ae21f7e92ec1a5bc480bbb32dcb67"}},{"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":"core/ast/src/function/generator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d68b2b98080ae6c9b9047d22952e1f5b3112034de9bf46609261369c93e191f"}},{"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":"core/ast/src/punctuator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b90d81d672ef785be32e066c28eb5b2b47da946146bb2b98be0e0c08cb9448"}},{"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":"core/parser/src/parser/expression/assignment/arrow_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa76aa75a4f19931d7a52ab8739e2a403168c3b5404625365e02ef92e5ebc11"}},{"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":"core/ast/src/declaration/import.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a034b5f7045c54a0162c5a627242d8c80b8e586182976262087f73c581c33769"}},{"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":"core/parser/src/parser/expression/update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a09f377fb79ff8dac3bc22df6941c37981cda32108ca1f6039aa4c5293e629"}},{"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":"core/engine/src/bytecompiler/expression/object_literal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35971adc2eb87379cdf90e3be2df1f0c0e22714aee2245369c0f3dceed116459"}},{"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":"core/macros/src/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dcd23f89e1922d92a91815884ec014815d24f0b8328230a0bf5527aa84b22b"}},{"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":"core/engine/src/value/display/object.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b3ad7e0a3c05182af21b94702d0e7bce1cb495d1d143204c9a75bc2b9d594c"}},{"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":"core/parser/src/parser/expression/assignment/async_arrow_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b0ccfaa868ab9ed6028124e75999953307eabc4f7d42f8845d5fc1113373e4"}},{"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":"core/parser/src/lexer/cursor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7714748b7df2d753ad129ee4923a42aba736a19f71b7150da22902e4da752b81"}},{"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":"core/macros/src/embedded_module_loader.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d8e42a554e572833292cc1e60df6e2990707f34311c600da97f5410d2a6240"}},{"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":"core/parser/src/parser/statement/variable/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0416a2a2f581ecec9fce964e858ec0971ffc3be84dedc0961a02490a56b76b8d"}},{"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":"core/parser/src/parser/expression/primary/async_generator_expression/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1a273279487253f93097092accc6d9e32ff25b3a2df1e504ff925cd1ba4650"}},{"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":"core/runtime/src/process/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d744791f003cdea1e7ce80b75380c0a1736bfb598a4dbc889381e5f6d5d7f9db"}},{"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":"core/parser/src/parser/expression/unary.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfdbb44faf1e9df477a14042bae0635c8fe10cc576022bea178f54663aaf423"}},{"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":"core/parser/src/lexer/operator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5500b20eec498d129147ada6975d471695e7c4cb484c9b79c4e263c4d5efd74c"}},{"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":"core/parser/src/parser/expression/primary/generator_expression/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"211ff95b30f2356f06044fb29f67fc87945e801c6df7ba774fe37c9b091b7012"}},{"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":"core/runtime/src/message/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b13170e7d0bb0ee6ad50f69ffb557e0c33eb9f5d14d2cb9d30db456d287fe3"}},{"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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c424b96e9ce9b172b9c25e9219e7db0229310512406f1d01d727fec121d092"}},{"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":"core/engine/src/error/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"307114538ae40b0ddee26f44b88daeda483c5cc3b2103423c8e78a3789f22795"}},{"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":"core/engine/src/builtins/proxy/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"151238312f4cc108da24df0522cb46df2c2baa0f1c30003fd2eda1e3c04a893b"}},{"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":"core/runtime/src/message/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11ce2303242979786ccfdf5b056ec323e79310efa6daeb220aa7b3230aef33c"}},{"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":"core/parser/src/parser/expression/primary/function_expression/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa80415f76220814497af80c89da7bffc993f2a92b87b671cf51de2767396060"}},{"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":"core/engine/src/value/conversions/convert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27b56f0ed6e76d5a81072eaea016acc2ed4a0b563d54e0f018203eedd8841cc"}},{"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":"core/runtime/src/process/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffb2d7b4f66544dba420cdc19b24822821181a9307e2317ea9dadf1f8d2ffb6"}},{"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":"core/parser/src/parser/expression/primary/array_initializer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a66915479b6d81da781c8d59e467f6a32ce2e90cf09309b2a055dd7070bfb2"}},{"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":"core/ast/src/function/async_arrow_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d33e70cf7a66f0a137b48a83cf74fb8e858b2a9a8902e68b0128c5e037a75fa"}},{"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":"core/parser/src/error/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b20837dfccef87a3dcca5e05afbdba1293e95fbd95f119591e01068120d8d9"}},{"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":"core/wintertc/src/base64/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff789551f8d1700b10bcb718d3969436b7948c86d93202865ec1b34d22c5ea2d"}},{"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":"core/engine/src/builtins/iterable/wrap_for_valid_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c189c8f10bb139f915c13573975ab2e3798c6e0637e3f0783b6bb9cd22709448"}},{"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":"core/parser/src/parser/statement/block/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"905beed85b558e4b41dccbe549063180cea2ccfc011d9da3a778031027ae4eca"}},{"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":"core/ast/src/expression/operator/update/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6858135bcf4a4a3d4fd235fa426d4c0b6ece594295e4fe0f847c35353f1b3cc"}},{"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":"core/parser/src/parser/expression/assignment/yield.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"907535020fabca35d47be10602a3fb447034c78d301b31d889acc3ae71ed4800"}},{"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":"core/engine/src/optimizer/pass/dead_code_elimination.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70355cfa18f606a8d7ad2bfbbedc38ecb0d23de3d5df9b83258db93a4d826ea9"}},{"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":"core/engine/src/value/variant.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ac891c803c47cb128f295ee4060ca60828216c5f10ed58f533f687bf3e5303"}},{"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":"core/parser/src/parser/expression/left_hand_side/arguments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c928cd79c45a0b0d02bf9ccac92fc977312b492d28a590929a93a20ad4d8fddb"}},{"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":"core/engine/src/value/display/array.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8bf79782745db992b57cbdc7aa253ebd7649d10feefcad354569bb074802cd"}},{"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":"core/parser/src/parser/expression/primary/template/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7547fcc7e5a6d5f766e535fb25dafa00fa5b8e4d5c54abf2b3f37243b04c9a1"}},{"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":"core/parser/src/parser/statement/iteration/do_while_statement.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf7e8e59a4cf3bfa4c7484e2fe7935ec6c76c1166ddd056ada6604fa39b5e6c"}},{"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":"core/parser/src/parser/statement/try_stm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b18a7dffd974fd1976761dc111c92fb269ddf6a9d0f2ccbc2a733972058eb9f"}},{"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":"core/parser/src/lexer/comment.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"968f06b3a1a5fddb13988c2cc27e6f303608b44e7b19b36e85b0108d17ee37ff"}},{"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":"core/parser/src/parser/statement/expression/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e320e49457c50a836e9460d9f279a6faf9baf8fddebdbcd1ea8ac4353541418"}},{"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":"core/engine/src/interop/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"babaefe57e3e4918ffeddb9e45035f2c6b984248a1e5b15dae15ee4fff399756"}},{"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":"core/parser/src/lexer/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b40c2f9a298b5130eefaefe9af397053c9ccc0d16d1e5c3aaed7ec7a8d79561"}},{"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":"core/engine/src/value/display/arguments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fbe3a22077dde1184e866fe91f7d984dfc97d30f4e677276e783c388c60347"}},{"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":"core/engine/src/builtins/uri/consts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f5f3a91ef78153d9f96e2040846d57985b765cc4fdfda95948bcad06bc9a2b"}},{"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":"core/parser/src/parser/expression/assignment/exponentiation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc473b950e3f5468869a074b2b6f6174983685e459e25aa1cedfaf02979017ee"}},{"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":"core/ast/src/expression/operator/update/op.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1e6121fb6fdfd01e0c581184f8fcbaa0fd72aab54e366166d5e5d634600ae5"}},{"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":"core/parser/src/parser/statement/declaration/hoistable/async_generator_decl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c518cd8703abe1348d613ce376c33a6dc3e5cefbb389db8e26e5fa91875b57"}},{"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":"core/engine/src/builtins/weak_set/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c00c0247a47b27c7f522afe8a471f6c34a1cf2711f8925d671f43c2a4610e3"}},{"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":"core/engine/src/builtins/temporal/calendar/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4372b552adbd10e2e806b8e6af85f1fa4d6467e8bf4189f203a717a67d455a5a"}},{"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":"core/engine/src/optimizer/pass/strength_reduction.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea57a519fb9f909d1fdc8581d23286c0e4473bb2a9101af27352efa7e915cf79"}},{"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":"core/parser/src/parser/statement/declaration/hoistable/async_function_decl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"867b9382c374b49d73351f3a3fbe4c4656afef8c0fb62eafd5ec3abb4a326728"}},{"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":"core/engine/src/builtins/temporal/duration/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdee8da100f2c419a1db39309831de58088aae4f8fa972f4cfeec012536a0ddc"}},{"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":"core/engine/src/spanned_source_text.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09761254cf46a759714926a215658c4f6553c6ab8700bca497a90ef1e6112378"}},{"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":"core/engine/src/value/conversions/try_from_js/collections.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79d0b0e31b410e9a2e78bb7ed9a2da8f671702fa51a6c0b0beac546a5d1bb8a"}},{"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":"core/engine/src/vm/completion_record.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d938228318b1a2e463e8e17130ef9cefbbf83c2bd02f56d1fba6d26de63e55"}},{"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":"core/parser/src/parser/expression/assignment/conditional.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"293acc608bbf71b7fb81de3c7e3a41c29dfe1640b67e8ab15afb6e50003f8338"}},{"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":"core/parser/src/parser/statement/declaration/hoistable/generator_decl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18445183cb347184f1221cdf435c153221c8ddefa926a55e8033b80cc5136f90"}},{"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":"core/engine/src/object/builtins/jsgenerator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e539e0e0e20b0d985f564110f80f6e313420fe612566530bfb786dfd164b9c"}},{"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":"core/string/src/code_point.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"670d41d1f53d1079b989ad81af3fc0c2f390200bf98b00ecba0e85c36907a6ef"}},{"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":"core/parser/src/parser/statement/with/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4fb1bee86026c3f1633f5b6bbdf72be1fc2b4bf4455092eca8930eff392456"}},{"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":"core/parser/src/parser/statement/declaration/hoistable/function_decl/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e16420ee54e94c422c308d8334f07eae04977fa8bb4311938b206e7f1487efc"}},{"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":"core/parser/src/parser/statement/continue_stm/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ac1f4fdaea859f64baa1e88ea0f59ece2d6f6ea6ceff50ac8fb03392bf770c"}},{"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":"core/ast/src/statement/with.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97834d22a9308f037d0c01de838ebd52b180b7e7660673afbfeeebed704f7718"}},{"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":"core/runtime/src/message/senders.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4648a507fa8723d1e5f2c8718417bdc8a96d36141c434e95d5d90c7bd582d14"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: map_iterator.rs \u2194 set_iterator.rs: \u0060core/engine/src/builtins/map/map_iterator.rs\u0060 and \u0060core/engine/src/builtins/set/set_iterator.rs\u0060 change together 90% of the time (9 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 9 shared commits counted here, the most recent 3 are \u0060c41b0310\u0060 Improve strictness around \u0060Map\u0060 and \u0060Set\u0060 objects (#4497); \u006047ab7e0a\u0060 Removed some unsafe_empty_trace!() calls to improve performance (#2233) (at that commit the files were still \u0060boa_engine/src/builtins/map/map_iterator.rs\u0060 and \u0060boa_engine/src/builtins/set/set_iterator.rs\u0060); \u0060518bad81\u0060 Integrate ICU4X into \u0060Intl\u0060 module (#2083) (at that commit the files were still \u0060boa_engine/src/builtins/map/map_iterator.rs\u0060 and \u0060boa_engine/src/builtins/set/set_iterator.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/map/map_iterator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d174e894faed49364a9992109a5c0e9902eace88afd9acc85358c476c81b841"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 mod.rs, mod.rs, mod.rs: \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060 changes together with 3 other files \u2014 \u0060core/engine/src/builtins/temporal/duration/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/zoneddatetime/mod.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_month_day/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fe463f1f210328ef46da58da6e95c11b38f30b90597b19bb6eb5f8089e7098"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 now.rs, mod.rs, mod.rs: \u0060core/engine/src/builtins/temporal/plain_year_month/mod.rs\u0060 changes together with 3 other files \u2014 \u0060core/engine/src/builtins/temporal/now.rs\u0060, \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/zoneddatetime/mod.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/plain_year_month/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"224da1484097388f34f1c4a476efc0683724c46f23a9a41c6577b0227801bce0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: code_block.rs \u2192 mod.rs, declaration_pattern.rs, mod.rs, update.rs, sym.rs: \u0060core/engine/src/vm/code_block.rs\u0060 changes together with 5 other files \u2014 \u0060core/ast/src/expression/mod.rs\u0060, \u0060core/engine/src/bytecompiler/declaration/declaration_pattern.rs\u0060, \u0060core/engine/src/bytecompiler/expression/mod.rs\u0060, \u0060core/engine/src/bytecompiler/expression/update.rs\u0060, \u0060core/interner/src/sym.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/code_block.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3921521aa5ebd0d371784aeec061762f9a1faf4a88d4b50b6a6c5567fd4ef104"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 name.rs: \u0060core/engine/src/vm/opcode/define/mod.rs\u0060 and \u0060core/engine/src/vm/opcode/set/name.rs\u0060 change together 73% of the time (8 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 8 shared commits counted here, the most recent 3 are \u00608f5ef654\u0060 fix eval delete bindings (#5344); \u0060ab0854f7\u0060 Refactor environment stack to remove some panics (#3893); \u0060961d7b4d\u0060 Refactor call frame access to avoid panic checks (#3888) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/define/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"697f2472424031eff906ac4707143fa9b3c369cd367f2d76f384e4108644e93e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: mod.rs, mod.rs, mod.rs: 3 files \u2014 \u0060core/engine/src/builtins/intl/collator/mod.rs\u0060, \u0060core/engine/src/builtins/intl/list_format/mod.rs\u0060, \u0060core/engine/src/builtins/intl/plural_rules/mod.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/intl/collator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac10f99ccc30aac49919b1166a1c4fc094b4270c8d2be301632094a218251ad"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 yield_stm.rs: \u0060core/engine/src/vm/opcode/await/mod.rs\u0060 and \u0060core/engine/src/vm/opcode/generator/yield_stm.rs\u0060 change together 70% of the time (7 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 7 shared commits counted here, the most recent 3 are \u0060f90fd30c\u0060 fix(vm/opcode/push,environment,templates,generator,await,new): conver\u2026; \u0060d3df69cd\u0060 Separate VM registers from calling convention stack (#4867); \u0060d69e7d34\u0060 Extract engine errors as their own \u0060JsError\u0060 variant (#4534) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/await/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fe4ddd0c4940e5a1104705c5224d306ace6de9782d85ab9c300c4a4472038a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 declaration_pattern.rs, declarations.rs, update.rs: \u0060core/engine/src/vm/flowgraph/mod.rs\u0060 changes together with 3 other files \u2014 \u0060core/engine/src/bytecompiler/declaration/declaration_pattern.rs\u0060, \u0060core/engine/src/bytecompiler/declarations.rs\u0060, \u0060core/engine/src/bytecompiler/expression/update.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/flowgraph/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a55db5bdcedebe9818c50e55850d88625670d5b99d78cf2880cacc89d346b3b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 mod.rs, mod.rs, mod.rs, mod.rs, mod.rs: \u0060core/engine/src/builtins/temporal/instant/mod.rs\u0060 changes together with 5 other files \u2014 \u0060core/engine/src/builtins/temporal/plain_date/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/plain_date_time/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/plain_month_day/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/plain_time/mod.rs\u0060, \u0060core/engine/src/builtins/temporal/plain_year_month/mod.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/temporal/instant/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2b8eb8c9634bda5c7b8cfaa2ac1fe03d8e745410ed56e2d194b456671331ae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 set_iterator.rs: \u0060core/engine/src/builtins/map/mod.rs\u0060 and \u0060core/engine/src/builtins/set/set_iterator.rs\u0060 change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u0060c41b0310\u0060 Improve strictness around \u0060Map\u0060 and \u0060Set\u0060 objects (#4497); \u0060518bad81\u0060 Integrate ICU4X into \u0060Intl\u0060 module (#2083) (at that commit the files were still \u0060boa_engine/src/builtins/map/mod.rs\u0060 and \u0060boa_engine/src/builtins/set/set_iterator.rs\u0060); \u00608ba500a2\u0060 Refactor builtin \u0060Map\u0060 intrinsics to follow more closely the spec (#1\u2026 (at that commit the files were still \u0060boa/src/builtins/map/mod.rs\u0060 and \u0060boa/src/builtins/set/set_iterator.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/map/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b31e151feba40288861ef01b6c22209d42b0804ec798cccd95cf1f3a2ce005"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mod.rs \u2192 mod.rs, mod.rs, update.rs: \u0060core/engine/src/vm/opcode/mod.rs\u0060 changes together with 3 other files \u2014 \u0060core/ast/src/expression/mod.rs\u0060, \u0060core/engine/src/bytecompiler/expression/mod.rs\u0060, \u0060core/engine/src/bytecompiler/expression/update.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/vm/opcode/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"465c231f5f25a8d6fc3faefc7991cd23348a2f6e14c5f26b3f75d4f8bb5b1521"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: function.rs \u2194 source.rs: \u0060core/engine/src/bytecompiler/function.rs\u0060 and \u0060core/engine/src/module/source.rs\u0060 change together 50% of the time (8 of the 16 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 8 shared commits counted here, the most recent 3 are \u0060ed40e6b8\u0060 Remove \u0060CompletePromiseCapability\u0060 opcode (#4831); \u0060c480a422\u0060 Implement register allocation (#3942); \u00604419e6df\u0060 Fix base objects in \u0060with\u0060 statements (#3870) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9255dc8d782e6053a3ce83ae4179c592cff5e8607c587f3d3dd2e249f85f47"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: builtin.rs \u2194 jsdataview.rs: \u0060core/engine/src/builtins/typed_array/builtin.rs\u0060 and \u0060core/engine/src/object/builtins/jsdataview.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 \u0060488ef539\u0060 Remove \u0060Box\u0060 from \u0060Object\u0060\u0027s data member (#4342); \u0060a9aeaa5b\u0060 Implement resizable buffers (#3634); \u006020dba13a\u0060 Improve typing of \u0060DataView\u0060 and related objects (#3626) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/typed_array/builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43e93b5d0e86f722c88bb7413755933eef110d48cc40d5b6ac9147f200e1c37"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: utils.rs \u2194 jsdataview.rs: \u0060core/engine/src/builtins/array_buffer/utils.rs\u0060 and \u0060core/engine/src/object/builtins/jsdataview.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 \u0060488ef539\u0060 Remove \u0060Box\u0060 from \u0060Object\u0060\u0027s data member (#4342); \u0060a9aeaa5b\u0060 Implement resizable buffers (#3634); \u006020dba13a\u0060 Improve typing of \u0060DataView\u0060 and related objects (#3626) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/array_buffer/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fca13a0e73cccbbb2f70edae858a125fce3da3738d1442ffa682c25a7a89af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: mod.rs \u2194 yield_stm.rs: \u0060core/engine/src/builtins/generator/mod.rs\u0060 and \u0060core/engine/src/vm/opcode/generator/yield_stm.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 \u0060d3df69cd\u0060 Separate VM registers from calling convention stack (#4867); \u0060d69e7d34\u0060 Extract engine errors as their own \u0060JsError\u0060 variant (#4534); \u0060af9d3953\u0060 Refactor vm calling convention to allow locals (#3496) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/builtins/generator/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b7623b41b7c9258a6b460612540c8843fe0180f14a0140b320d720b71db337"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: declarations.rs \u2194 environment.rs: \u0060core/engine/src/bytecompiler/declarations.rs\u0060 and \u0060core/engine/src/vm/opcode/push/environment.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 \u006069eae8ce\u0060 Remove \u0060environments\u0060 and \u0060realm\u0060 fields from the Vm (#4507); \u0060fee4048b\u0060 Merge \u0060CodeBlock\u0060 constant pools (#3413) (at that commit the files were still \u0060boa_engine/src/bytecompiler/declarations.rs\u0060 and \u0060boa_engine/src/vm/opcode/push/environment.rs\u0060); \u0060ceaaec72\u0060 Fix super() construction with default parameters (#3339) (at that commit the files were still \u0060boa_engine/src/bytecompiler/declarations.rs\u0060 and \u0060boa_engine/src/vm/opcode/push/environment.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/bytecompiler/declarations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de71b5779a8c60cacf71fe3d161cb99976ba1299b54304993cc8debb495cb038"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"M4","level":"note","message":{"text":"README/code drift: tests/fuzz/README.md links to \u0060fuzz/fuzz_targets/common.rs\u0060, but \u0060tests/fuzz/fuzz/fuzz_targets/common.rs\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/fuzz/README.md"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"87658e898a41bd7408ba8982e8b5a46279ae245ab2c560f68bf5e29e2a5f141f"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060cli\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm: \u0060.github/dependabot.yml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entry to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yml"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14c5e8fb421b8614b797a2517de829b3c94f3b85263a50e3283dfd26519afe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(cursor.strict() || body.strict()) \u0026\u0026 params.has_duplicates()\u0060 appears character-identically in 5 files \u2014 core/parser/src/parser/expression/primary/async_function_expression/mod.rs, core/parser/src/parser/expression/primary/async_generator_expression/mod.rs, core/parser/src/parser/expression/primary/function_expression/mod.rs, core/parser/src/parser/expression/primary/generator_expression/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":"core/parser/src/parser/expression/primary/async_function_expression/mod.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ed0c8530408989d4f87d2f632ed631544b36d892e34d76be9f6a4a9a48edf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.strict() \u0026\u0026 !parameters.is_simple()\u0060 appears character-identically in 2 files \u2014 core/engine/src/builtins/function/mod.rs, core/parser/src/parser/expression/assignment/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":"core/engine/src/builtins/function/mod.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"a329d8093eef044b0b3b746f658c0b15102be45c7849d6eee049e1aa2c51081e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060calendar.kind() == AnyCalendarKind::Iso || calendar.kind() == AnyCalendarKind::Chinese || calendar.kind() == AnyCalendarKind::Dangi\u0060 appears character-identically in 4 files \u2014 core/engine/src/builtins/temporal/plain_date/mod.rs, core/engine/src/builtins/temporal/plain_date_time/mod.rs, core/engine/src/builtins/temporal/plain_year_month/mod.rs, core/engine/src/builtins/temporal/zoneddatetime/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":"core/engine/src/builtins/temporal/plain_date/mod.rs"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"678ba693ee8a0357452d8145a7782e1fcc8652cf1f5c88e86d9a90103483b2cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg!(not(feature = \u0022annex-b\u0022)) || strict\u0060 appears character-identically in 2 files \u2014 core/parser/src/parser/statement/if_stm/mod.rs, core/parser/src/parser/statement/labelled_stm/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":"core/parser/src/parser/statement/if_stm/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f7f8ce10c3fd85f905f4f8fbdde80b920115a5d73102597b5632fc9b8a925"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060slot.attributes.has_get() \u0026\u0026 result.is_object()\u0060 appears character-identically in 2 files \u2014 core/engine/src/vm/opcode/get/name.rs, core/engine/src/vm/opcode/get/property.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":"core/engine/src/vm/opcode/get/name.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6b9179323812b47cb96edace26c4c2895ebf082c03ec798706f7ac34cadce3"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060short_path.starts_with(\u0022..\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060short_path.starts_with(\u0022..\u0022)\u0060 also satisfies \u0060short_path.starts_with(\u0022.\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/engine/src/module/loader/mod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b90ac8ba5900cd80ba1155cb06e1af0a036cfd2f5dc88ebc2521d996ffd409a"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-191","guid":"31b5d115-a84b-875f-a016-48689827db3c","name":"CWE-191","shortDescription":{"text":"CWE-191"},"helpUri":"https://cwe.mitre.org/data/definitions/191.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.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-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-807","guid":"7b9d7bab-2171-935b-9279-889089164770","name":"Reliance on Untrusted Inputs in a Security Decision","shortDescription":{"text":"Reliance on Untrusted Inputs in a Security Decision"},"helpUri":"https://cwe.mitre.org/data/definitions/807.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"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-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":9,"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."]}]}