{"$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":"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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"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":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"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":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"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":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 145 shared lines): bindings/binding_html_node/src/lib.rs:294-497 | bindings/binding_html_wasm/src/lib.rs:338-541 | crates/swc_html_minifier/src/lib.rs:2679-2834 \u2014 These 3 members are variants of one another: a block of 145 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":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc8b18948b436fd1574071871a1ed74597b7a5128123ba75ee8e2e45464ecf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (95 shared lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:117-393 | crates/swc_ecma_parser/src/parser/pat.rs:231-524 \u2014 These two members are variants of one another: 95 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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7523015bfb5a4bbcd3b551c6789c357db228be538a13e7d1ee3f8b34d57f177"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (78 shared lines): crates/ast_node/src/encoding/decode.rs:5-284 | crates/ast_node/src/encoding/encode.rs:5-237 \u2014 These two members are variants of one another: 78 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":"crates/ast_node/src/encoding/decode.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe7164e633fad8e7399b496b43588db545b8dc209c15f664c88b2f1b57b83e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2030-2146 | crates/swc_ecma_parser/src/lexer/mod.rs:2243-2335 \u2014 These two members are variants of one another: 75 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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"7685e2f3a728a72dae90a1358498189a3bc41f8a7f41872dfe01d23917c52874"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (74 shared lines): crates/swc_ecma_parser/src/parser/expr.rs:1308-1580 | crates/swc_ecma_parser/src/parser/expr.rs:1588-1743 \u2014 These two members are variants of one another: 74 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a30683c9e56262762570b712842c11af84a12d02e5049702442c8acc0bf7407"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1435-1551 | crates/swc_ecma_parser/src/lexer/mod.rs:1676-1791 \u2014 These two members are variants of one another: 69 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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffe35814ab438f95b66c88373cfd38c2ebea81b94d7ab13c2545c5e9c3ffee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): crates/swc_html_parser/src/parser/mod.rs:395-522 | crates/swc_xml_parser/src/parser/mod.rs:112-196 \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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e67b6b57c254a3db4b4e6f4e07a7e8603cf57bfad457c641e5291f0b90cb734"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (52 shared lines): crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:19-126 | crates/swc_ecma_transforms_proposal/src/export_default_from.rs:13-113 \u2014 These two members are variants of one another: 52 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":"crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd91d2f84e06de64c93f73bee8b0a67840fcd762527105baf03d9106c5a02ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): bindings/binding_minifier_node/src/minify.rs:48-225 | crates/swc/src/lib.rs:1034-1221 \u2014 These two members are variants of one another: 51 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_minifier_node/src/minify.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fb7f6f86cba713d5f513abca28509a5990ef61c60a9437a1ada39d51af6aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:824-875 | crates/swc_ecma_parser/src/parser/stmt.rs:943-994 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0f262c5ff36d7dfdaea4854b98a6a962ac7ccf2e1d6906a6634dc9bcc573ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:697-849 | crates/swc_ecma_parser/src/lexer/mod.rs:1126-1258 \u2014 These two members are variants of one another: 44 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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"49913f7a94a23f8a5b1653b0e73beb28eca4bcecff692aa788549748028cbcdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): crates/swc_ecma_transforms_base/src/rename/ops.rs:396-455 | crates/swc_ecma_transforms_base/src/rename/ops.rs:530-589 \u2014 These two members are variants of one another: 42 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/ops.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"80810055d4ab3cc7398eb13069ed1e6955ad8be01afc4c0c3bb08973cfffd7e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): crates/swc_html_parser/src/parser/mod.rs:8364-8495 | crates/swc_xml_parser/src/parser/mod.rs:508-570 \u2014 These two members are variants of one another: 35 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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8364}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8fa234d56e5543fd3a760b2ffc8b98ad7c98389c66e1dc09e0028f1800dc82"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (25 shared lines): crates/swc_ecma_parser/src/parser/stmt.rs:1797-1851 | crates/swc_ecma_parser/src/parser/stmt.rs:1853-1928 \u2014 These two members are variants of one another: 25 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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1797}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e0f63edc6af35b47566f24fa15b9e24d9dafdea854a3624b101cb3e9705a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/swc_ecma_lexer/src/common/parser/module_item.rs:67-89 | crates/swc_ecma_lexer/src/common/parser/module_item.rs:760-949 \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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"962c64a42a8d45d41d5d544377d30e8825ef95ce8954a2d08afab93b60076b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): crates/swc_ecma_lints/src/rules/dot_notation.rs:54-70 | crates/swc_ecma_lints/src/rules/eqeqeq.rs:46-58 | crates/swc_ecma_lints/src/rules/no_alert.rs:64-76 | crates/swc_ecma_lints/src/rules/no_bitwise.rs:98-110 | crates/swc_ecma_lints/src/rules/no_compare_neg_zero.rs:29-41 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:189-209 | crates/swc_ecma_lints/src/rules/no_empty_pattern.rs:29-41 | crates/swc_ecma_lints/src/rules/no_loop_func.rs:52-82 | crates/swc_ecma_lints/src/rules/no_obj_calls.rs:41-53 | crates/swc_ecma_lints/src/rules/no_param_reassign.rs:55-67 | crates/swc_ecma_lints/src/rules/no_prototype_builtins.rs:43-56 | crates/swc_ecma_lints/src/rules/prefer_const.rs:79-91 | crates/swc_ecma_lints/src/rules/yoda.rs:58-75 \u2014 These 13 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/dot_notation.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"16447d52b7e0adc81ee3927bf2da76fe6acea34651154652973c7499202ef3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2001-2042 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2049-2095 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2102-2145 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2152-2195 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2202-2248 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2255-2298 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2305-2344 \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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"18120134398eb4f44198bb170d3395cbdd6ca373ffecf4fffe6f35bdc6808f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/swc_html_parser/src/lexer/mod.rs:428-454 | crates/swc_html_parser/src/lexer/mod.rs:483-518 | crates/swc_html_parser/src/lexer/mod.rs:523-558 | crates/swc_html_parser/src/lexer/mod.rs:893-928 | crates/swc_html_parser/src/lexer/mod.rs:1030-1065 \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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"885e7db58f303cd778d74a2ac4858d87d1140ec36955b9fcc45eec7338548271"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/swc_html_parser/src/lexer/mod.rs:459-478 | crates/swc_html_parser/src/lexer/mod.rs:681-700 | crates/swc_html_parser/src/lexer/mod.rs:745-765 | crates/swc_html_parser/src/lexer/mod.rs:770-789 | crates/swc_html_parser/src/lexer/mod.rs:794-817 \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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c41e509a8eedb25e7f569ad240179fb48291b600990b6affe26c1a92acd5f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/binding_core_node/src/parse.rs:43-80 | bindings/binding_core_node/src/parse.rs:92-133 | bindings/binding_core_node/src/parse.rs:181-225 | bindings/binding_core_node/src/parse.rs:228-266 \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":"bindings/binding_core_node/src/parse.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b403690506441b6b107a874964feaee0ff3467577af6f143d9d2c52db6f1d337"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): bindings/binding_core_node/src/util.rs:36-65 | bindings/binding_html_node/src/util.rs:8-36 | bindings/binding_html_wasm/src/util.rs:8-36 | bindings/binding_minifier_node/src/util.rs:29-58 \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":"bindings/binding_core_node/src/util.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe444d70fe60fd3b7875e2f3d4cd6d8a1196ef8bab556f8bb0a43816b27fbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_css_codegen/src/writer/basic.rs:113-140 | crates/swc_ecma_codegen/src/text_writer/basic_impl.rs:97-121 | crates/swc_html_codegen/src/writer/basic.rs:111-138 | crates/swc_xml_codegen/src/writer/basic.rs:111-138 \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":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a2230431d64e9e2638a74baaa0a332e225bfad10b5e52626434ab3015f5ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_css_parser/src/lexer/mod.rs:738-848 | crates/swc_css_parser/src/lexer/mod.rs:852-1043 | crates/swc_css_parser/src/lexer/mod.rs:1050-1144 | crates/swc_css_parser/src/lexer/mod.rs:1465-1523 \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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad3cce6ff89c666bedb4ddf21d64773516ae96e9f32f57f46c0896e1c62498e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_lexer/src/common/lexer/mod.rs:260-368 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:371-503 | crates/swc_ecma_parser/src/lexer/mod.rs:739-847 | crates/swc_ecma_parser/src/lexer/mod.rs:850-970 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea96400986cafdbcc2a46be29c58d63d676fffdb796d3cd09dcd073060b417c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:930-1369 | crates/swc_ecma_lexer/src/common/parser/object.rs:156-407 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1120-1690 | crates/swc_ecma_parser/src/parser/object.rs:191-501 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ed1a55a386116753dc4c2a36937e03d3a3486478500367ca4394c94214e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_lexer/src/common/parser/expr.rs:366-469 | crates/swc_ecma_lexer/src/common/parser/typescript.rs:2881-2950 | crates/swc_ecma_parser/src/parser/expr.rs:146-257 | crates/swc_ecma_parser/src/parser/typescript.rs:5547-5621 \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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb97d147498f278f73d8c6ca8c86c51085cdd2c1a1ded65ffdd0990037fec16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_lexer/src/common/parser/expr.rs:1852-2097 | crates/swc_ecma_lexer/src/common/parser/pat.rs:517-645 | crates/swc_ecma_parser/src/parser/expr.rs:2547-2838 | crates/swc_ecma_parser/src/parser/pat.rs:653-790 \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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da95715f12c455ca19b61cffef0e0c1c501a811f77790b07d6ca6a5d343473f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_lexer/src/common/parser/mod.rs:234-242 | crates/swc_ecma_lexer/src/common/parser/mod.rs:245-253 | crates/swc_ecma_parser/src/parser/mod.rs:1339-1347 | crates/swc_ecma_parser/src/parser/mod.rs:1350-1358 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"173e388ac39d8774eba60dccdef49fec91fea0e2449b867806433359497e4f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_transformer/src/es2015/instanceof.rs:92-107 | crates/swc_ecma_transformer/src/es2015/instanceof.rs:109-124 | crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:180-193 | crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:195-208 \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":"crates/swc_ecma_transformer/src/es2015/instanceof.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3930714eb5d199b68b728d47710ffce19cb3383705e9cbf00c068663d4bd89aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_ecma_transforms_base/src/resolver/mod.rs:1333-1345 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1347-1361 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1363-1375 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1436-1448 \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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"deeadafd0631f75d24ee9a32dfff8ae8e7f3a88545a16027179061434b4de635"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_estree_ast/src/class.rs:157-210 | crates/swc_estree_ast/src/class.rs:329-374 | crates/swc_estree_ast/src/object.rs:96-146 | crates/swc_estree_ast/src/object.rs:238-278 \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":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d218ccce5d522818f04dadea240db1bbabed07dc381ac1bb1510cd7f68ab2f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_estree_compat/src/babelify/typescript.rs:227-240 | crates/swc_estree_compat/src/babelify/typescript.rs:246-259 | crates/swc_estree_compat/src/babelify/typescript.rs:282-298 | crates/swc_estree_compat/src/babelify/typescript.rs:304-317 \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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"181d15b3794c381b80c594a161b0bb76f84e60d947baba9d0cae650fa6b6e4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/swc_plugin_runner/src/imported_fn/comments.rs:156-178 | crates/swc_plugin_runner/src/imported_fn/comments.rs:191-213 | crates/swc_plugin_runner/src/imported_fn/comments.rs:270-292 | crates/swc_plugin_runner/src/imported_fn/comments.rs:300-322 \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":"crates/swc_plugin_runner/src/imported_fn/comments.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2487ffe2926c722fcef3adb2e49fe68c25ce9b6b0f1080b388d731ac1f280c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (391 corresponding lines): crates/swc_ecma_lexer/src/common/parser/module_item.rs:368-758 | crates/swc_ecma_parser/src/parser/module_item.rs:413-900 \u2014 These two members are one piece of code written twice and then edited apart: 391 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8eec90cf90fccf3d8b204db758c18471c9fa02d71027e845ce3de07c0dd3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (270 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:1080-1349 | crates/swc_ecma_parser/src/parser/stmt.rs:1973-2294 \u2014 These two members are one piece of code written twice and then edited apart: 270 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"604e7d813569f63e6cbf01304c181ab616e53856503e1e0f80428ca8897b50cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (215 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1371-1589 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1692-1906 \u2014 These two members are one piece of code written twice and then edited apart: 215 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1a7a0c4bbb9bb11a89883e5771d3b1ebb0838678299dfc489ff70d836a3a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (135 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:374-508 | crates/swc_ecma_parser/src/parser/stmt.rs:399-565 \u2014 These two members are one piece of code written twice and then edited apart: 135 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fc4cc0db8d2b57a5e4ab1c6566c4ad487adc3f2bd752a4e0a2a816524b65c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (136 corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:1127-1262 | crates/swc_ecma_parser/src/parser/expr.rs:1929-2071 \u2014 These two members are one piece of code written twice and then edited apart: 136 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"007707f4e6c5bd5b68c9fed96fcab79f72a57dae6f7593d678d77e55fcae86a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1668-1772 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2042-2171 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"7802af8d7f5baf213eae0c0d752df9537769519430392e7eaed4b35a79dbffcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (136 corresponding lines): crates/swc_css_minifier/src/compressor/rules.rs:375-510 | crates/swc_css_minifier/src/compressor/rules.rs:512-663 \u2014 These two members are one piece of code written twice and then edited apart: 136 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/rules.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d36ecccf72d2b8bacc30cdddef951784b50fcd217d5eb07ed14240165f4cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (105 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:199-305 | crates/swc_ecma_parser/src/parser/stmt.rs:217-321 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bdd35c3bf6ffc36d9a9b870f8ca0fd3d3b883e07782a7a3d0df6bcd049b052"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (92 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1216-1307 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1309-1421 \u2014 These two members are one piece of code written twice and then edited apart: 92 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f54a9765c813c77e1bcf4283e10e689c729d08ae14f7d26d1bbbc522ebc6fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:954-1040 | crates/swc_ecma_parser/src/parser/typescript.rs:2168-2259 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"3939299a46014863a348fe936d8492e3f60e90c17f7cfff71f8ef5a9d8b5b021"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (101 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1695-1795 | crates/swc_ecma_parser/src/lexer/mod.rs:1916-2020 \u2014 These two members are one piece of code written twice and then edited apart: 101 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08688097624bfac8d6adc81eb8c05e976a5be7455cc40ee8208d18be347609d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (83 corresponding lines): crates/swc_sourcemap/src/lazy/mod.rs:511-600 | crates/swc_sourcemap/src/types.rs:1483-1565 \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":"crates/swc_sourcemap/src/lazy/mod.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"381244d349a3381e3fb7bc94a9f1b6208ef255372c7431ebb50ab06bc25aceac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (88 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1043-1140 | crates/swc_ecma_parser/src/lexer/mod.rs:1427-1514 \u2014 These two members are one piece of code written twice and then edited apart: 88 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a980446041efa3ef95c59fd0a5be37d6f0a967a3257b75fc9fa5617c766fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (99 corresponding lines): crates/swc_ecma_lexer/src/common/parser/module_item.rs:94-192 | crates/swc_ecma_parser/src/parser/module_item.rs:65-166 \u2014 These two members are one piece of code written twice and then edited apart: 99 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63f3fe70d152b909f0fc774db056cf28c80eef4d4c0eb1d3648465d7fe50167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): crates/swc_compiler_base/src/source_map_scopes.rs:443-525 | crates/swc_compiler_base/src/source_map_scopes.rs:534-608 \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":"crates/swc_compiler_base/src/source_map_scopes.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"d295cb2cf0b76ef581f3ae33d101f75bbdf2d8623b0d0e876a387cfd85a443c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): crates/swc_ecma_compat_es2015/src/classes/mod.rs:104-199 | crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:313-414 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/classes/mod.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"da75c2bd3da3c6325690137a5ef12e2862d0845317bbd9c0d48818538a5f8a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:832-903 | crates/swc_ecma_parser/src/parser/pat.rs:1045-1116 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3d2337ed4d79788534cf71144da3fd4dc39eec26e4e3c3ed4cdad570a6e3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (96 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:599-694 | crates/swc_ecma_parser/src/parser/stmt.rs:709-815 \u2014 These two members are one piece of code written twice and then edited apart: 96 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be4c295da0679ec58f5bfb55c7ac1bebe23a7d128edd4712e76a1ab441b0ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:54-113 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:36-95 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2ea15060944726b7b5deb168d16e543cd22db5116e5d9a0ac7b9a4aa1773ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:116-197 | crates/swc_ecma_parser/src/parser/stmt.rs:130-215 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"082fc12b3c1d21037271325b5e48b9d7e3a87af7ff3c6b7d5494bfbbeec34999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:576-651 | crates/swc_ecma_parser/src/lexer/mod.rs:1002-1080 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d4378eb87cc4a323696eddbe1918ddb0308b3c1575b9aa5eb02031995d8c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/swc_common/src/private/content.rs:336-367 | crates/swc_common/src/private/content.rs:725-756 \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":"crates/swc_common/src/private/content.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee715efc84afeab8f3da7dfa2ac89a040720b9c51e59f489bde2ce4c0c626a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): crates/swc_ecma_transforms_classes/src/super_field.rs:74-140 | crates/swc_ecma_transforms_classes/src/super_field.rs:199-278 \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":"crates/swc_ecma_transforms_classes/src/super_field.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3e52db9ea4635a2ee7ea584f48605814089980e3c0afd3077982b54af4e85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:945-1007 | crates/swc_ecma_parser/src/parser/stmt.rs:1064-1129 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7118bd03c5ed5c00c97ddc8297ee58ad9a6ccc33dfbea561c92819a1546c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:453-512 | crates/swc_ecma_parser/src/parser/pat.rs:588-648 \u2014 These two members are one piece of code written twice and then edited apart: 60 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"69567a7b1844380cb7c9dc42959ad86aea66cb0f367dfbd69ad5af7457ca9a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3430-3520 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3766-3832 \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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b66a9c68f5a48898d2c8bbdeccdbbbb6cefcfe7dbf1017a41ca69ea94892a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:593-664 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:652-725 \u2014 These two members are one piece of code written twice and then edited apart: 72 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dec6b51d36299c017b7468c5a73d573fe42eaa7f452344fd788f219ed63224f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1979-2044 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2052-2116 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfb745410c4169f897180ea4072ec502793b650b8dc96da0a678f3c6f9752c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/swc_css_compat/src/compiler/custom_media.rs:70-152 | crates/swc_css_compat/src/compiler/custom_media.rs:157-225 \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":"crates/swc_css_compat/src/compiler/custom_media.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c694cdb14b8e280278048f592f54db40880208f570cf77959d9afd93da0f4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): crates/swc_ecma_lexer/src/lexer/mod.rs:265-349 | crates/swc_ecma_parser/src/lexer/mod.rs:440-509 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fa649e9394c37492de9e7bfc9e8eb8a6f8acefb124ca806d95aec3f1fc9134"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:475-527 | crates/swc_ecma_parser/src/parser/expr.rs:1128-1180 \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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"011d964abefb683f6152cf12df5097792198d7b873941940bdbcaa2d9cb11cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_ast/src/stmt.rs:176-201 | crates/swc_ecma_ast/src/typescript.rs:399-425 \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":"crates/swc_ecma_ast/src/stmt.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"889b18be69cc274a816b2ca0b8cf4a6fef4fc4e8bd6f49c6aa6d97918057a583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:311-372 | crates/swc_ecma_parser/src/parser/stmt.rs:327-391 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86e7aef8f422ae37f15da82ebf4f01cbf47c7005a93b5a6707c49497d361818"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2228-2286 | crates/swc_ecma_parser/src/parser/typescript.rs:4473-4529 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7719db8bde290a809441da417312b5c72f108cd6897b33b9ddbb8fc3cc8ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/swc_ecma_transformer/src/common/statement_injector.rs:113-159 | crates/swc_ecma_transformer/src/common/statement_injector.rs:161-204 \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":"crates/swc_ecma_transformer/src/common/statement_injector.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d244634ce1dc4fd67e6c780b557164ab5e02c2ae0bb8929fbfa5d34cd6444fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/swc_html_codegen/src/lib.rs:1046-1129 | crates/swc_xml_codegen/src/lib.rs:370-430 \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":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f3aa221738d1cca367bffc3723945588a227e26b2536db73aa2b3ad4a99b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1904-1965 | crates/swc_ecma_parser/src/lexer/mod.rs:2122-2180 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aca0def31a0d91a72f10a583ebf750aa7964b53cd0a1e5660247a3fe8203f28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/swc_ecma_codegen/src/util/token_boundaries.rs:65-99 | crates/swc_ecma_codegen/src/util/token_boundaries.rs:108-136 \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":"crates/swc_ecma_codegen/src/util/token_boundaries.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c260ad053fe00e5785f729b06d2e551ac94ffc538afb48870ce2b86dc04c252"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/swc_ecma_compat_es2015/src/object_super.rs:214-267 | crates/swc_ecma_transforms_classes/src/super_field.rs:302-366 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/object_super.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8427b4b9776b9f22b6dae577f0b48959999bbb16078ac9f3bafb57edd002d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:105-156 | crates/swc_ecma_parser/src/parser/expr.rs:679-733 \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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d28b93fb1a8602c11ce49bc029167557fa3cca5aa546c88ba2147e7be5d2439"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:49-85 | crates/swc_ecma_parser/src/parser/pat.rs:144-183 \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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efafb9efa980e6d82d5ce289d8a5066f996a7d7f35eb5e6b5da491eb76ba805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 57\u002B corresponding lines): crates/swc_css_codegen_macros/src/lib.rs:19-77 | crates/swc_html_codegen_macros/src/lib.rs:19-76 | crates/swc_xml_codegen_macros/src/lib.rs:19-75 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 57 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":"crates/swc_css_codegen_macros/src/lib.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff4d9d15cf5b237eb57f8dc7ed14c83f9fef58a6c162c7d2c2ccca8c4fd19d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/swc_ecma_lints/src/rules/no_loop_func.rs:91-131 | crates/swc_ecma_lints/src/rules/no_use_before_define.rs:147-181 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/no_loop_func.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"12817453aceb9137e5191b53d9c024f5cde4deecdcddf710201979334ffd4de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:418-449 | crates/swc_ecma_parser/src/parser/typescript.rs:1129-1161 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e51e71d080ce1206d760f1a686a3bf4dc472e6e4f970382e68bf39bd66c6040"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): bindings/binding_core_node/src/transform.rs:166-211 | bindings/binding_core_node/src/transform.rs:239-279 \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":"bindings/binding_core_node/src/transform.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bc45d052222d806de842b6315255ff3a9651fa39825d72ed30e95bf5c3a571"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): bindings/binding_core_wasm/src/lib.rs:47-47 | bindings/binding_minifier_wasm/src/lib.rs:13-13 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_core_wasm/src/lib.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"46df182ecb769f1bd88e66bd5017b4f8d10f3dd429b6494d14347589bd873e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/swc_sourcemap/src/encoder.rs:105-147 | crates/swc_sourcemap/src/lazy/mod.rs:649-691 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_sourcemap/src/encoder.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe880ca77e30ba0259458d78f3ab514019b2f46e220962804caa46ae0f27ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/swc_ecma_transforms_testing/src/lib.rs:536-574 | crates/swc_ecma_transforms_testing/src/lib.rs:581-626 \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":"crates/swc_ecma_transforms_testing/src/lib.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae5355e1a899fc6b46a2644cab5c250e545450c617919fb05cad065f3f6a6d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1284-1325 | crates/swc_ecma_parser/src/parser/typescript.rs:2612-2657 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8608ed927b588652b764cbef7fad02a81157f7d5bdcfd9071675f08645a14eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:651-684 | crates/swc_ecma_parser/src/parser/pat.rs:796-829 \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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29396b9e3a04bfdf0699cd6607f00fd87a79be5de4c8bb2e768cfb4d45ea522"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/swc_ecma_parser/src/parser/mod.rs:448-483 | crates/swc_ecma_parser/src/parser/mod.rs:707-742 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e931c5545b8db9e62333e29746d9319f6ce309bd1dfe4f79c2a0007e504c2835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/swc_sourcemap/src/encoder.rs:59-103 | crates/swc_sourcemap/src/lazy/mod.rs:603-647 \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":"crates/swc_sourcemap/src/encoder.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83b7abd94afdb941e2c6ed03da85b940c2d6ef8a54ef550bc5c508398aaec71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:763-795 | crates/swc_ecma_parser/src/parser/stmt.rs:882-914 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4f0dd5b7a653fd42289500d7c78b47fe4a50e8639cbe6d987cb3e5c7c1ddd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/misc.rs:398-443 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:446-491 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"76073d7230ac115ee9a9eabf5fcb179eff30b72bc7b42857aaaa1c6569749caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/swc_ecma_utils/src/function/fn_env_hoister.rs:75-119 | crates/swc_ecma_utils/src/function/fn_env_hoister.rs:138-198 \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":"crates/swc_ecma_utils/src/function/fn_env_hoister.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1970655762f94831eb98525e8dbc2c602e3fdcc7a4b57bf33e883982d7d57144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/swc_ecma_codegen/src/lib.rs:1623-1652 | crates/swc_ecma_codegen/src/lib.rs:1658-1687 \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":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d01e525528f2bd2d61fae60599a680fcddf7103dbb84118c385d25de32e8d73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2364-2394 | crates/swc_ecma_parser/src/parser/typescript.rs:4638-4672 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb7f346a452e4ceac66f43348e2ea09bdca5b47f12644872c0fad75a1834411"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/swc_ecma_lexer/src/common/parser/jsx.rs:97-121 | crates/swc_ecma_parser/src/parser/jsx.rs:119-144 \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":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"308c913fccf454db612f2bdb8d7b5e8058788f08fb862b03983645a47b801729"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1878-1898 | crates/swc_ecma_parser/src/lexer/mod.rs:2097-2117 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2f9f2db03d9d25691cf9306b248c86bf473c80ca02e1422feab1fdb5dba40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:2518-2556 | crates/swc_ecma_parser/src/parser/expr.rs:3343-3377 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c621d67e4feca65b4ceb12f528b80d7c8d7d16e09c140dc11eed8a1c6fad5bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1487-1520 | crates/swc_ecma_parser/src/parser/typescript.rs:2913-2950 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"9448a3cb4dda9ad43220e3bf88533184e2a1844074aee407173eec048fdf9341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2611-2655 | crates/swc_ecma_parser/src/parser/typescript.rs:5004-5055 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2611}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff6e88e64ec9587499752222ef94b9e0a10db97e716b42fc4563fce3c7caffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): crates/swc_css_codegen/src/lib.rs:2623-2671 | crates/swc_css_codegen/src/lib.rs:2673-2718 | crates/swc_css_codegen/src/lib.rs:2720-2784 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":2623}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b27036ffe398c43e29f1e5911d7d19fd60bd21effe27ef291f229d69c9d67e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1573-1608 | crates/swc_ecma_parser/src/parser/typescript.rs:3055-3101 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1573}}}],"partialFingerprints":{"codehealthFindingId/v1":"03161f620f598aa2edf96df47eca0386edd13d2984f7e19e48ef42ad191ab8f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/swc_ecma_lexer/src/common/parser/object.rs:104-136 | crates/swc_ecma_parser/src/parser/object.rs:134-167 \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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94df868d627afadb519d9351bc0a7c6db82bba4dbc03278891726edf8d1223e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1564-1597 | crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1599-1643 \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":"crates/swc_ecma_transformer/src/es2017/async_to_generator.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73694f5e7f5356651716fff937c197ff9c383039eeabba061595bdf607916b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/swc_html_parser/src/parser/mod.rs:524-581 | crates/swc_xml_parser/src/parser/mod.rs:198-234 \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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e9a4c9d31c2e61eb84c86abcb3abe4f39d892127e63f6d7aa2310d78620a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_codegen/src/scope_helpers.rs:8-33 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:1055-1090 \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":"crates/swc_ecma_codegen/src/scope_helpers.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0441a3e949c681be1a2a5a09d0703829b5cb68c08ff881dcb5c07ae3545f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:432-470 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:3053-3085 \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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"917683b20cfa7acb490350f61158efca038f1fe4eaaf598076ba0972276fe004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:203-234 | crates/swc_ecma_parser/src/parser/typescript.rs:889-920 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"23816853ae33d63d5eec4341f4e22bbf691a2c00e16d6203fcd99db43547ea81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2400-2428 | crates/swc_ecma_parser/src/parser/typescript.rs:4678-4706 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"0744accab1147a13642b41023482b1ae490d238e34fe165bb0d77b5a97107e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): bindings/binding_core_node/src/print.rs:56-82 | bindings/binding_core_node/src/print.rs:111-145 \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":"bindings/binding_core_node/src/print.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"838342bb5d6cc9b0ae0f1cf11c2354b1f3872db71246c0c6190b95d818915995"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/swc_ecma_lexer/src/lexer/mod.rs:216-260 | crates/swc_ecma_parser/src/lexer/mod.rs:395-436 \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":"crates/swc_ecma_lexer/src/lexer/mod.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb4d80ae12f39b137dbf9c43698da66d32b3cc4f7111658d15ece653c4a8e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:109-145 | crates/swc_ecma_parser/src/parser/typescript.rs:808-844 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2e2a8ea92a8e47597f9ece0a0be70b60f912044fa60d347363db802bba1214"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1830-1859 | crates/swc_ecma_parser/src/parser/typescript.rs:3804-3834 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"905311d241f3f7e7fea1ffa1a9d874037db1c4a270c4a04f7c245838ab53bdb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1816-1843 | crates/swc_ecma_parser/src/lexer/mod.rs:2040-2065 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2dbf875aeba8895ddb9229fc6b003ef3dc4429c49a920a1dde13c109596d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1706-1744 | crates/swc_ecma_parser/src/parser/typescript.rs:3397-3435 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"038e9a8c4052d8daf91dd682f3bc3c98aaae83737e2bdef10635edb359993afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/swc_css_minifier/src/compressor/calc_sum.rs:38-71 | crates/swc_css_minifier/src/compressor/calc_sum.rs:73-106 \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":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf978fa81e90476d1c05f683452fde7d68a70a7987a92a83a722a41a941d10d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:851-878 | crates/swc_ecma_parser/src/lexer/mod.rs:1260-1287 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"90af49ededebcf67773f82e564a90ab4bb842cba74c15f295639d3dc0c763239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_lints/src/rules/prefer_const.rs:167-188 | crates/swc_ecma_lints/src/rules/prefer_const.rs:242-273 \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":"crates/swc_ecma_lints/src/rules/prefer_const.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"993758ab70776bbcf0f431e2edc2ef8a49bbf8b7c14f98aeb977bf653838d1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:992-1017 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1023-1045 \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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c20264fa6451d7e2a4392f6c14ab5a60da4ca4a4cc7ac00da2a78431023611c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:1045-1072 | crates/swc_ecma_parser/src/parser/stmt.rs:2370-2397 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f7032e066dc7a4e334a8cfce4a654b7367bad6bc86891284ca52d1a7cf7261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/swc_ecma_lexer/src/common/parser/object.rs:27-51 | crates/swc_ecma_parser/src/parser/object.rs:25-49 \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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2e7a2e337b20ce1673f48c0fdc1539153d06dbf6878314f5823a0a3ccebb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2563-2594 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2728-2759 \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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"c124a18c7ce50d1b7b4ca4abc64fba8001566f3d4be2055bae88fd538c7fbff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/swc_ecma_parser/src/parser/expr.rs:790-822 | crates/swc_ecma_parser/src/parser/expr.rs:948-970 \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"19163d9314d6cf992b60342faa61f223e350a77432fcce216964f7492dc458b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1630-1659 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2003-2033 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd48e3dacb867749022320e288675ad0f34594f5dfb02c1a42dc3c3b6f9a836"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:583-630 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:745-779 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"66009a29d85c22570aee94d666a932b17e6f043de838d748666de81ea5327f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs:99-138 | crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs:140-183 \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":"crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bca32bff42148df743db5cc57dc1400c30f2a5d837fe73be279138c9801e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:1276-1302 | crates/swc_ecma_parser/src/parser/expr.rs:2109-2135 \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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c3b1c5c8f8b85e91def8f72c131a6743640233527a541f629a21fc67e87d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/swc_estree_compat/src/swcify/expr.rs:303-322 | crates/swc_estree_compat/src/swcify/expr.rs:518-537 \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":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e3e91f628c8822b1caff326128c003acfe959c25227dcb6a86d1ede670f4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_html_minifier/src/lib.rs:935-966 | crates/swc_html_minifier/src/lib.rs:972-997 \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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dc57fdafef524b6fe41c06476c20173a9b539b288e08d9f5d1ec2c45f9b62f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/swc_ecma_compat_es2015/src/arrow.rs:85-111 | crates/swc_ecma_compat_es2015/src/parameters.rs:578-612 \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":"crates/swc_ecma_compat_es2015/src/arrow.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcfd1f5d602ad9ae1dee16f8e9b72eb1cd48934538422640a53a62cee513ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/swc_ecma_lexer/src/lexer/mod.rs:172-214 | crates/swc_ecma_parser/src/lexer/mod.rs:359-393 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/mod.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"551f32b11110edce6a59904dbc2c4da487fe001995dd4fbcdea459bc63d71cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_css_codegen/src/lib.rs:613-631 | crates/swc_css_codegen/src/lib.rs:921-939 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d9411415e594382ff105c3c82472a8bfe30260a03b3ef5fb8824d6e96ac3c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/misc.rs:1621-1659 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:1665-1699 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"de145006b256ba4015967c915878893491aafdf3985cad8666b2391e75c94e17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:1500-1527 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:1529-1565 \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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebb6b59d5e931a912272cc2ecd3b68d86bd3a8f1d65229da43626c8c9235db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:1069-1094 | crates/swc_ecma_parser/src/parser/expr.rs:1885-1910 \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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4142a65403ae78c8f18cde551b1e1bba2966bb80d5e1edff22813e4d0de790"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1154-1185 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1198-1222 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac1a24a8a2de0ffacec09228c44d75f26ec67b80240adb28963f1583a25bea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_parser/src/parser/jsx.rs:99-117 | crates/swc_ecma_parser/src/parser/jsx.rs:294-312 \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":"crates/swc_ecma_parser/src/parser/jsx.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea58d0c34ba0ffd6bd208cae92c16e7642069358e27492681443da7fe59a638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/util.rs:360-386 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:403-424 \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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9562d99cd4d5f7eb32e8c279e9191206a62fdd525a6d0c5d76e616043f7dcc5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_html_parser/src/parser/mod.rs:136-164 | crates/swc_xml_parser/src/parser/mod.rs:68-89 \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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"09047af17179d9b98c2f0c0555e7fc6a440c29e7b3091dbce0e37fc3a1efa10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:934-963 | crates/swc_ecma_parser/src/lexer/mod.rs:1341-1375 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6156fb71d9d2a787e2902c25ee744776ae3fdb9a870b5a7498713f10f111e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs:478-501 | crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs:503-527 | crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs:529-552 \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":"crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ddd2bd1146db4560e0c92401c98f3b18302ae4df7fac1286338c09ac699a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:192-214 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:195-220 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"381c82b1373921a07ad13cc46b4d0099fb706a41fe2193b6acc8824ef6404213"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_lexer/src/common/parser/mod.rs:411-432 | crates/swc_ecma_parser/src/parser/expr.rs:93-116 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"396ad24e3b53ec0b1a8cac5d3de43cee1e477a0837270e1a728381b89b87ffde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): crates/swc_common/src/syntax_pos/hygiene.rs:180-216 | crates/swc_common/src/syntax_pos/hygiene.rs:233-264 | crates/swc_common/src/syntax_pos/hygiene.rs:408-438 \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":"crates/swc_common/src/syntax_pos/hygiene.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f45d270043e1ffd98348403b5d1ed2be059515a842c898b6e7f0dd63e06174"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/swc_common/src/comments.rs:92-127 | crates/swc_common/src/comments.rs:548-571 | crates/swc_node_comments/src/lib.rs:136-159 \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":"crates/swc_common/src/comments.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cfd49642aba7fce07c1ccd3c764d11c583829d5ee7351f9b355162674cae45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1786-1818 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2327-2350 | crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs:481-509 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f55c26d0b153353116782feed282a84f3d7725ceaead728a7c579189ac36bbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_transforms_proposal/src/decorators/legacy/mod.rs:411-432 | crates/swc_ecma_transforms_proposal/src/decorators/legacy/mod.rs:434-455 \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":"crates/swc_ecma_transforms_proposal/src/decorators/legacy/mod.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1797375c1aad959d17115b6c4dbec703aaad838e557a9bbf1bd0b00affc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:50-75 | crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:77-101 \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":"crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c9359e5a1b469cb13864933d2c39e1982a41b6f7435089646f70950dcebf61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/swc_ecma_lints/src/rules/no_alert.rs:132-161 | crates/swc_ecma_lints/src/rules/radix.rs:200-229 \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":"crates/swc_ecma_lints/src/rules/no_alert.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1fb223d8b106eed60e27c111f18c38ce111087fb1de7b72550471ebae5c667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_estree_compat/src/babelify/module.rs:54-76 | crates/swc_estree_compat/src/babelify/module.rs:82-100 \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":"crates/swc_estree_compat/src/babelify/module.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"00437ac43de7c2a7aad5c48818fc954e32c43119372499ceea31d4e36a67d7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_bundler/src/modules/mod.rs:75-89 | crates/swc_bundler/src/modules/mod.rs:91-105 \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":"crates/swc_bundler/src/modules/mod.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"842a993e03c6e80001f3da10a701831ef430b5827b92f8ba440054bd63d63748"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_compat_es2015/src/generator.rs:3489-3510 | crates/swc_ecma_compat_es2015/src/generator.rs:3517-3543 \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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97427a7285dac7eb80cb6873668b642a9d892ab72c55a86723140997eb61d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2288-2306 | crates/swc_ecma_parser/src/parser/typescript.rs:4531-4549 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33126dd7690523d50271eabb75f215809d4d94f667afdfcfa0b0dd8d7a33a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:235-260 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:310-334 \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":"crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18d0df85d38de068fede3a681afaf52da93a3d68a6fb35c011f06bb7912928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:77-103 | crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:105-130 \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":"crates/swc_ecma_compat_es2022/src/class_properties/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec53d22746f03f0f35e878fac87aec74f4a0d1c9d32fba15f21746190ca4ea20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/swc_ecma_ast/src/prop.rs:130-149 | crates/swc_ecma_utils/src/lib.rs:1554-1573 \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":"crates/swc_ecma_ast/src/prop.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf72a2c20700ab8ec28650d9dc1db2d64144f2ab5325e68af7d23b5a80714c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/swc_ecma_ast/src/source_map.rs:68-91 | crates/swc_ecma_ast/src/source_map.rs:98-122 \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":"crates/swc_ecma_ast/src/source_map.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f462fea28e4a53f00c5ad9d37e852bd793a99bc3b7bc7348c5b179c9407b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:128-149 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:130-149 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bc44811672db70c886fe1c6539122ad8ebfa6a8cea42dee238bb7bf287a6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/swc_config/src/glob.rs:16-33 | crates/swc_config/src/regex.rs:56-71 | crates/swc_config/src/regex_js.rs:30-48 \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":"crates/swc_config/src/glob.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5382f9762f96100c0ce18ac5f40131106e2105550339838aa256979cb03da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1971-1999 | crates/swc_ecma_parser/src/lexer/mod.rs:2185-2213 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2cd2865a585438abcdac8f0ceab50be2fb4f4f56f3207cca203c3113496843"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2218-2249 | crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs:293-318 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5c45f8475a3c523aa90f442563ce5a8e32fced979e083b5088ec142913fee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_transforms_module/src/module_record.rs:741-766 | crates/swc_ecma_transforms_module/src/module_record.rs:770-796 \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":"crates/swc_ecma_transforms_module/src/module_record.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8656f214b8273ae162e6193362222717a67f32433bbc246c103375bd01a66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/swc_ts_fast_strip/src/erase/classes.rs:167-190 | crates/swc_ts_fast_strip/src/erase/classes.rs:217-240 \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":"crates/swc_ts_fast_strip/src/erase/classes.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e921e9ac4e82852f6d9021603dd32f427f7e13b37d871d533786ffd68c8a13d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/swc_ecma_lexer/src/parser/mod.rs:163-185 | crates/swc_ecma_lexer/src/parser/mod.rs:271-293 \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":"crates/swc_ecma_lexer/src/parser/mod.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc73d7094a345d54a0e7c222dbbf1979ac9f0e9552d614269129ab6f738a2d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1490-1511 | crates/swc_ecma_minifier/src/compress/pure/bools.rs:28-55 \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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fe7dabc8f0b961335fd55b2b16601bcf3ee615caaa576719914eaf16ecdff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:490-511 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:513-534 \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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd1a6289e00745b62df7203030e20ed9ab4da58575175fe5a65d196bf63b480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hstr/src/lib.rs:271-284 | crates/hstr/src/wtf8_atom.rs:367-380 \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":"crates/hstr/src/lib.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f733b134822b5d73a6c042db00773d1b5fc17390427184d211100623930f94b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:672-698 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:731-756 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a26fb220ae0423227856953fc77a0ced7b5e70c74101e44b8ba6d257cf0b0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_typescript/src/fast_dts/util/ast_ext.rs:83-98 | crates/swc_typescript/src/fast_dts/util/ast_ext.rs:100-115 \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":"crates/swc_typescript/src/fast_dts/util/ast_ext.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"954c0af33154b210fe565d9ae3c8c8e48f46a9639514438001aa46b4789f68c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:918-943 | crates/swc_ecma_parser/src/parser/stmt.rs:1037-1062 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6aaf17338d3974fa187afd335a5fe28a3ecb135d8e47345a763f17f3f4091b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): crates/swc_ecma_lints/src/rules/no_empty_function.rs:292-317 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:319-344 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:346-372 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/no_empty_function.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"019337734a37b2412a745512db93722350d2974918d3bc26893fa641a1ba1a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_utils/src/ts_bindings.rs:685-699 | crates/swc_typescript/src/fast_dts/util/ast_ext.rs:251-265 \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":"crates/swc_ecma_utils/src/ts_bindings.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab32a3b4138409733504f2d42e82cc36127b60069b13e8ca3df6ac7ca651db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2178-2219 | crates/swc_ecma_parser/src/lexer/mod.rs:2356-2390 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b587bbdf125808a11ecfa468d2a31722377c731a07c83c797a2ef9a75aa64342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:742-760 | crates/swc_ecma_parser/src/parser/stmt.rs:861-879 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"49686d63a48fdd30051ae340b6aa02ed2a1ba9a87d01929434874afe2375eedd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/swc_ecma_lexer/src/common/parser/expr.rs:161-180 | crates/swc_ecma_lexer/src/common/parser/typescript.rs:1102-1125 | crates/swc_ecma_parser/src/parser/typescript.rs:2330-2353 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a23ecd48a6cf85f8a0938a37d20ad188635385754a13213ce9bd715d21492c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1809-1827 | crates/swc_ecma_parser/src/parser/typescript.rs:3783-3801 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"570d7d07d6eff6cdb506f5d1faecf14e5bb51315e3a27dd7633dba486cefb096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/testing/src/lib.rs:120-133 | crates/testing/src/lib.rs:139-150 \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":"crates/testing/src/lib.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05d92742a900e4441f2f581186627b8d2dbd85e9946e60449f79d54bebc9eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_common/src/source_map.rs:706-722 | crates/swc_common/src/source_map.rs:742-754 \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":"crates/swc_common/src/source_map.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc381a0f571055d896700dbc3f46488f8be8093f2a350c11a2119df99da6baa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1825-1850 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1857-1890 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1897-1928 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2424-2450 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"9719328839f8ab81ccaca6a67f70af8d0d9d73ac07db57d0576489006c811352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_typescript/src/fast_dts/util/ast_ext.rs:219-230 | crates/swc_typescript/src/fast_dts/util/ast_ext.rs:232-243 \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":"crates/swc_typescript/src/fast_dts/util/ast_ext.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a97b914023ddf5de79f0233bb653602f87623f60d1d9269ba708fa6caaff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:463-476 | crates/swc_estree_compat/src/babelify/expr.rs:482-497 \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":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"779ed0f6a21a9adc5c8781e6be77e60da002d8024673f5d0e82e892398fa93a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/swc_estree_compat/src/swcify/stmt.rs:435-459 | crates/swc_estree_compat/src/swcify/stmt.rs:526-551 | crates/swc_estree_compat/src/swcify/stmt.rs:623-652 \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":"crates/swc_estree_compat/src/swcify/stmt.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e00aa96e02e40c94b05efe0e482d7d683098d877c097984b3b3f8b3c5f02bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_css_minifier/src/compressor/calc_sum.rs:523-533 | crates/swc_css_minifier/src/compressor/calc_sum.rs:539-549 \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":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd27b39081e9833ed1088e40eafbd71c580fc8b53ea69f6fcdcb3338ca14c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_transforms_base/src/rename/mod.rs:442-481 | crates/swc_ecma_transforms_base/src/rename/mod.rs:483-501 \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":"crates/swc_ecma_transforms_base/src/rename/mod.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01ae2ea95dfbcd4656b74c71fcc5df3ee761c6fbb9f6ced6d262fb8ff05ac12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/swc_ecma_compat_es2015/src/parameters.rs:76-95 | crates/swc_ecma_compat_es2015/src/parameters.rs:734-753 \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":"crates/swc_ecma_compat_es2015/src/parameters.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a963180b540ac0cd25f6f4ca7e1c98801bcd8de56b15c85671f95a1a1d325690"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_lexer/src/common/parser/mod.rs:434-455 | crates/swc_ecma_parser/src/parser/expr.rs:67-88 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"218b114247d93a851f9326fc29f924259bef179f26c4fa1cbfe0bfa92a53d452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:54-70 | crates/swc_ecma_parser/src/parser/stmt.rs:66-83 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd67e41008e91978c77fa4dc8e38e321fd05136cfd96ab3fbe6497bd6fb870b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_transforms_typescript/src/transform.rs:424-439 | crates/swc_ecma_transforms_typescript/src/transform.rs:441-463 \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":"crates/swc_ecma_transforms_typescript/src/transform.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ff0d2bbe2e73fc4291d6d47e321cf1d731a526f3340f696ca0bc46679a3feb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_utils/src/lib.rs:1523-1533 | crates/swc_ecma_utils/src/lib.rs:1537-1552 \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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"496dbd97ba67201d418620c579e009fb3eac5429346e9abbcbd12dbb2a7a25ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/jsdoc/src/lib.rs:585-599 | crates/jsdoc/src/lib.rs:601-613 \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":"crates/jsdoc/src/lib.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf77a4a358b40c4490a5e53e0f5438788f95e8e423d351124a393af6f77f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:234-254 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:274-293 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b08225bd483056524445965f15e4472e5cbc7a41ae2a6dbb00488481632992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_parser/src/parser/mod.rs:253-267 | crates/swc_ecma_parser/src/parser/mod.rs:270-283 \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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7e10a0a4576946cd9c92f0d035046e749a996d314872f77435344095a74e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_typescript/src/fast_dts/visitors/type_usage.rs:342-358 | crates/swc_typescript/src/fast_dts/visitors/type_usage.rs:366-377 \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":"crates/swc_typescript/src/fast_dts/visitors/type_usage.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb69b3d9e8a25e9dc84f5a1be191ce28ad76e5bf234767896a135ed638e968"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/swc_ecma_transforms_react/src/jsx/mod.rs:416-439 | crates/swc_ecma_transforms_react/src/jsx/mod.rs:447-467 \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":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b3fe5d26a6e1e046919d45eb42c21b292010733b14410c0c5e55c8312255fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1029-1041 | crates/swc_ecma_parser/src/lexer/mod.rs:1413-1425 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf197b602e74ee59c5152b523309fbeb1d9f476333e434f33142edea1417f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1204-1222 | crates/swc_ecma_parser/src/parser/typescript.rs:2456-2475 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b76edabd5d8323288447a46a6c852f5e4ef6757d73ac095028997a8ddd5270"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/swc_xml_parser/src/lexer/mod.rs:567-590 | crates/swc_xml_parser/src/lexer/mod.rs:889-914 \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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf092fa0b428e1707c891d3c6f5b44c32422d4e11d1e3c65659dbc58adb91a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:89-113 | crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:126-154 \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":"crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3a571d390f92910847a9f54882ac17b3e555fdf0bcdd868036f52243a01034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_parser/src/parser/expr.rs:738-753 | crates/swc_ecma_parser/src/parser/expr.rs:930-945 \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4236abf293cd64027911a55a658a678b736904b26ec35c624d24b8c1c869d40d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/swc_ecma_transforms_module/src/module_record.rs:282-303 | crates/swc_ecma_transforms_module/src/module_record.rs:328-354 \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":"crates/swc_ecma_transforms_module/src/module_record.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"227005a242501e095440ce253ae72bd2c0982c626322d7fff2c42ab6b7dff4ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2457-2474 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2481-2498 \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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc90d1978168118cab58017d11a04f1cf07662d6e63659cc3b816637da67a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:567-587 | crates/swc_ecma_parser/src/parser/typescript.rs:1375-1392 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb30f28d1a3341a733ca3d8b78422ac5981ba6183dccba5f91ae1bcbf9219f91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_parser/src/lexer/state.rs:303-317 | crates/swc_ecma_parser/src/lexer/state.rs:319-334 \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":"crates/swc_ecma_parser/src/lexer/state.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3e2b3e5b502e4e20abb99544b67aa3d65ad734c60ccd94dbafc89bb3691039"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_transforms_typescript/src/transform.rs:663-684 | crates/swc_ecma_utils/src/lib.rs:2766-2781 \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":"crates/swc_ecma_transforms_typescript/src/transform.rs"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c21cbe6a6218801d93e7519d33417e2ef9fda5ea8d5d68c69cc3420b5754e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:633-649 | crates/swc_ecma_parser/src/parser/typescript.rs:1435-1451 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94d3f15afbb9b817782adb167113e0e5180b98c56a9579aea1d5e5816792773"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:342-353 | crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:355-366 | crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:368-380 \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":"crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4800273901c9fa9387eda46fdc5094cf0e851ff44746fee7f55c7ccc8058cf20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:126-141 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:143-158 \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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbdb939e72e1592b5ce5f43a823a310fcc8982104f2b093355881092b9eb23d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_css_codegen/src/lib.rs:675-685 | crates/swc_css_codegen/src/lib.rs:994-1010 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1187883eed335c3e61fe8f98ed6812efd4404a521b061666184f97e7d005969"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/swc_css_codegen/src/writer/basic.rs:68-94 | crates/swc_html_codegen/src/writer/basic.rs:68-94 | crates/swc_xml_codegen/src/writer/basic.rs:68-94 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63e4def12b02d5def5437a9885f062de05868f08eb82cc81650a7ecb55fbb72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/swc_ecma_lexer/src/common/lexer/number.rs:31-60 | crates/swc_ecma_lexer/src/common/lexer/number.rs:62-72 | crates/swc_ecma_lexer/src/common/lexer/number.rs:74-84 \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":"crates/swc_ecma_lexer/src/common/lexer/number.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43dd37573796753aaa0ce8cae7fad326fe8dd6e55878ded3117fbd32927de84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:612-630 | crates/swc_ecma_parser/src/parser/typescript.rs:1414-1432 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c306cc224ffac8af62cd3d5bea0ab8341a8a469d2d5cfed0a8cd77885496d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/swc_html_parser/src/parser/open_elements_stack.rs:169-200 | crates/swc_html_parser/src/parser/open_elements_stack.rs:297-326 \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":"crates/swc_html_parser/src/parser/open_elements_stack.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99424d02f5ba24a88ddb80f32920df11c04e901709e2bb19de5d8afd3ba5e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_lexer/src/common/parser/mod.rs:155-165 | crates/swc_ecma_parser/src/parser/mod.rs:1139-1149 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfcbf589715791fb27f6e7c3023e78201554b0b7687248274718b440ba03727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/module_item.rs:35-54 | crates/swc_ecma_parser/src/parser/module_item.rs:1120-1138 \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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"55280f089beb1f385bd0eee76ce21b4de0e96ec20422fd33da0fbb41d65bb772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1686-1700 | crates/swc_ecma_parser/src/parser/typescript.rs:3321-3338 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc5d8b638976c29e9b791ffb726c930625dc62e3fc3c39161a4e87582775a73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:709-725 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:843-861 \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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf88e5683ca3204837a4356448b92ec6299f901912938d1d781776820c45f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc/src/lib.rs:390-400 | crates/swc_ecma_transforms_typescript/src/retain.rs:151-163 \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":"crates/swc/src/lib.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc51da8107b0c8a1e58c39373e228904bfb578ae09995f1685d2d443ed2eca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:529-544 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:589-603 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc98f1a5cef25a737033e5c842c1d5a6456d7e7079ef45d47803590b4fa3c698"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2151-2173 | crates/swc_ecma_parser/src/lexer/mod.rs:2337-2351 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ef0b18d218f59122af310f7280c056fdb853158cde2871ed4eef4a68dcd28f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_minifier/src/pass/mangle_names/preserver.rs:145-161 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:806-825 \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":"crates/swc_ecma_minifier/src/pass/mangle_names/preserver.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d4c5fd8e1b7bf8cdef8f815f4b4d9933723cf8d28a9c92609859d4ab5fa28"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_transforms_base/src/helpers/mod.rs:255-273 | crates/swc_ecma_transforms_base/src/helpers/mod.rs:276-290 \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":"crates/swc_ecma_transforms_base/src/helpers/mod.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b5e8e10d1f539c86e190b6f1370940e6f68bfc500e24e48158a68832d6d221"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ts_fast_strip/src/erase/declarations.rs:41-57 | crates/swc_ts_fast_strip/src/erase/declarations.rs:59-75 \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":"crates/swc_ts_fast_strip/src/erase/declarations.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"427cc53223de1c78709f91c3b20611ad00a36bd6b34fab0d94a55d96cba9b745"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:244-258 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:270-281 \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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fb76a3cb882c9d92bf6d9e082aee024911bbe127bdf509de01456b6c2d26f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_parser/src/parser/mod.rs:220-234 | crates/swc_ecma_parser/src/parser/mod.rs:237-250 \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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"94200e37880614c01fb1635167064681c79d9dd140b92ac47e99cbdf593338f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_estree_compat/src/babelify/jsx.rs:223-232 | crates/swc_estree_compat/src/babelify/jsx.rs:267-277 \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":"crates/swc_estree_compat/src/babelify/jsx.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbbadbaaed0839e106966d4481ba229382ac264880eed5694c31794160aef79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1014-1027 | crates/swc_ecma_parser/src/lexer/mod.rs:1399-1411 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a1907b31bf1bdad3e522d432d348f291798bb4ba6dc968533c21dc3bcabfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:926-940 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:992-1009 \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":"crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc0ab053877f87f9adb4c1ae4abfd2e8f33abe619c3942002613577eb3377f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_bundler/src/bundler/export.rs:72-90 | crates/swc_bundler/src/bundler/import/mod.rs:149-161 \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":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e45679fb6aeb30474ead03d8d12c457208d02da18d0f48b466bd695d8f48d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_bundler/src/bundler/helpers/mod.rs:15-28 | crates/swc_ecma_transforms_base/src/helpers/mod.rs:26-48 \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":"crates/swc_bundler/src/bundler/helpers/mod.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"816ceaadf3fdefcecb2444040c81d49751a16aee928f1ace94943dbd83bb3bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/search.rs:12-35 | crates/swc_ecma_parser/src/lexer/search.rs:12-35 \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":"crates/swc_ecma_lexer/src/common/lexer/search.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24accb7364910c4136ffaff46560f361c212aab7dd7778651688fd612a1542d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:540-559 | crates/swc_ecma_parser/src/parser/typescript.rs:1348-1367 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fa918223a07b3b36f0380142072f772ffe3872a5abe2f1b083ad57b35bec9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_css_codegen/src/lib.rs:2345-2360 | crates/swc_css_codegen/src/lib.rs:2428-2444 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"80406c624dcabc031b248fcf6d34d8170d4ea2c7cf142be86398b086fb1b8e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/swc_ecma_compat_es2015/src/generator.rs:3433-3458 | crates/swc_ecma_compat_es2015/src/generator.rs:3464-3482 | crates/swc_ecma_compat_es2015/src/generator.rs:3580-3597 \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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d860b88581b16fcaa578d18b360422d701a2f00204d01d4b85f446ba22b6f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:27-44 | crates/swc_ecma_parser/src/parser/pat.rs:33-50 \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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca63e6691c3095653772d9c7cf6241eb3f2dd2e22ed74b09d6c2cc7997aae0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/mod.rs:333-351 | crates/swc_ecma_minifier/src/compress/pure/mod.rs:1469-1488 \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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d62eb0254ae27abecdeb196cdb15bb6a9dace0916e71e5f82065c6a4db1768a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_parser/src/parser/mod.rs:641-651 | crates/swc_ecma_parser/src/parser/mod.rs:653-664 \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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"994dbfb901b154ce905c1336b44d4ba168ab3a68835acd4eb932191b1c4a5350"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:291-318 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:336-356 \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":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a40f68daaf131514004b73894e8b2f88f8c8e6d041d64f6102747f91fcac75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/swc_html_parser/src/parser/mod.rs:8297-8320 | crates/swc_html_parser/src/parser/mod.rs:8325-8340 | crates/swc_html_parser/src/parser/mod.rs:8345-8360 \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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8297}}}],"partialFingerprints":{"codehealthFindingId/v1":"021f602f330c3cae565160ce54b92538eea28a3e38adad728486971449dbfac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hstr/src/lib.rs:402-410 | crates/swc_atoms/src/lib.rs:234-244 \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":"crates/hstr/src/lib.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cd75f720e1acdec87b07863ba235982fefe22682b0fb39cf2b1af384a34a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1849-1862 | crates/swc_ecma_parser/src/lexer/mod.rs:2070-2083 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ed66bd5b5e99e0f6662218ad2a4cae46c522a5db6c945db0d37c6c6afcf0d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1904-1917 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1919-1932 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75361297c79e0c67c40751887113e01f250fe9a4b256d01b7afee21d902b416"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_estree_compat/src/swcify/expr.rs:249-262 | crates/swc_estree_compat/src/swcify/expr.rs:433-452 \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":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3a7861487dbd0b7d5a14485dfa0de17973c53c6ccd17e36fe79fee63f90568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/dbg-swc/src/main.rs:39-57 | crates/testing/src/lib.rs:39-52 \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":"crates/dbg-swc/src/main.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6707668dd3e29c28752f06ac0efe271d3a4f374800b0a17c2f4659ac81ecbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:387-403 | crates/swc_ecma_parser/src/parser/typescript.rs:1101-1117 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"61590789b4867a657f9194202fb7ca76289437cf2750610a1d40aba9f5ab7724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_ecma_transformer/src/es2022/private_property_in_object.rs:245-256 | crates/swc_ecma_transformer/src/es2022/private_property_in_object.rs:271-283 \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":"crates/swc_ecma_transformer/src/es2022/private_property_in_object.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd29cb8f1ecb68b99daa739c5ad6b26f883c29ffd045db0387cd73e20db6d520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_estree_compat/src/babelify/typescript.rs:57-68 | crates/swc_estree_compat/src/babelify/typescript.rs:478-490 \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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d734bbbf84f459f39737643afc375f4a0ab377120d463366d9fb5eaec103f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/number.rs:86-94 | crates/swc_ecma_parser/src/lexer/number.rs:106-114 \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":"crates/swc_ecma_lexer/src/common/lexer/number.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e8d160475bd909c28992b13bd44bc3048f0bd9c806bfa9baae2b5ea8d05d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:696-711 | crates/swc_ecma_parser/src/parser/stmt.rs:817-832 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"18eefb7eded915fbc9ef6439eb0c4bf07ec66db6cb7bda04e6a283f8247e343b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:391-401 | crates/swc_estree_compat/src/babelify/expr.rs:421-431 \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":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfffb3cb4c5306c5add3e78db43d1faa11ed405d79b1d6e96705a999eaa6afc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_common/src/input.rs:56-68 | crates/swc_common/src/input.rs:146-161 \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":"crates/swc_common/src/input.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c278097e29b0dd9f3dfbbe2c14c33b80fa899e3436886f9903cc82a9f57eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_common/src/source_map.rs:691-700 | crates/swc_common/src/source_map.rs:727-736 \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":"crates/swc_common/src/source_map.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2b1d3220d7f6c6355e928e3e58f7dc35ff2539d98a01270abd2c42b32b7582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1799-1818 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1935-1952 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2566-2583 \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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0885ac15f2468d2f1db08d81615973b5a1bc74ccd2afb5f2b93b79c92138b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/parser/mod.rs:209-221 | crates/swc_ecma_parser/src/parser/mod.rs:1314-1326 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafed637ec05249223441b46ac72c17c09461ede3bbbb634039697cc86872b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1290-1298 | crates/swc_ecma_parser/src/lexer/mod.rs:1664-1671 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"885b33a7e383731a06402066cebb959e77d4b5b39074bf9bf4f7796cd3932c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/loops.rs:10-28 | crates/swc_ecma_minifier/src/compress/pure/loops.rs:30-47 \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":"crates/swc_ecma_minifier/src/compress/pure/loops.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8993e32a1222809b2525e3eb86dca9a30c90d251b4e40e5a4d9487c0232aeb2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/swc_ecma_compat_es2015/src/spread.rs:204-224 | crates/swc_ecma_compat_es2022/src/optional_chaining_impl.rs:402-425 \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":"crates/swc_ecma_compat_es2015/src/spread.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7ee434c9cb694faac8d49555784f7b2be553047186efe961fd8a6acfd4c262"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2014-2026 | crates/swc_ecma_parser/src/lexer/mod.rs:2227-2239 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cec7be55d7617e803ebc65ee3de3b496df009566e7e5573b0d5d185eddd9739"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/parser/jsx.rs:26-41 | crates/swc_ecma_lexer/src/common/parser/jsx.rs:243-255 \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":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d2b642246b280a62c1c99fa76472961399389a6fc9ce8ab574cbf7b351eb9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_common/src/comments.rs:502-516 | crates/swc_node_comments/src/lib.rs:95-106 \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":"crates/swc_common/src/comments.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86fffdea4b3d515a9f6628296565a20aa324667182ffd9b96d764231a33b923"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/swc_ecma_compat_es2015/src/object_super.rs:24-49 | crates/swc_ecma_compat_es2015/src/object_super.rs:51-74 | crates/swc_ecma_utils/src/function/fn_env_hoister.rs:283-306 \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":"crates/swc_ecma_compat_es2015/src/object_super.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c979e6758646e1b8a8d713926756f350d98cecc45be36444a2234b1eae1ebd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_ecma_lexer/src/common/parser/mod.rs:94-105 | crates/swc_ecma_lexer/src/common/parser/mod.rs:107-118 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e3d104731af480bd8f5309b09dafb4b1622baedeea286d420b410070609c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_ts_fast_strip/src/token_cursor.rs:32-39 | crates/swc_ts_fast_strip/src/token_cursor.rs:68-75 \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":"crates/swc_ts_fast_strip/src/token_cursor.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6876a1aa19c6cc31f70c6a21edcf7a5788f4351116d6d146dffebb112863639d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/swc_ecma_lexer/src/common/parser/pat.rs:93-111 | crates/swc_ecma_parser/src/parser/pat.rs:211-229 \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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b590c366ac4ea8328d6644f23ded03c31e2bb3f44889f2b3241a7c02689470c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lints/src/rules/no_alert.rs:118-130 | crates/swc_ecma_lints/src/rules/radix.rs:183-195 \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":"crates/swc_ecma_lints/src/rules/no_alert.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b567fc7c32c99b722352ef3f2e56eef28390d0da6917c11b4882b9e7daf82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_lints/src/rules/no_console.rs:51-69 | crates/swc_ecma_lints/src/rules/no_new_symbol.rs:41-57 \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":"crates/swc_ecma_lints/src/rules/no_console.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a89b135ae4d00a67e7d48719900f7bc6006ff34b3feb03151b718e732df2cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2352-2367 | crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs:460-479 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":2352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3757018574903fea78ba03d8f12444622e5d43279b8ed9330a3b53284fa7b9c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_estree_compat/src/babelify/pat.rs:202-212 | crates/swc_estree_compat/src/babelify/prop.rs:69-79 \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":"crates/swc_estree_compat/src/babelify/pat.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fe868b4837bb425b7eaf0bd02f12fbf6e21a7b40c6786851298faf25876cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/swc_ecma_lints/src/rules/critical_rules.rs:499-513 | crates/swc_ecma_lints/src/rules/critical_rules.rs:515-529 | crates/swc_ecma_lints/src/rules/critical_rules.rs:531-545 \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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b5ba416224ed58c1b657ca5b799ed64e88d5d55a436acc1b5e3b7fe0dfb560"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_react_compiler/src/convert_ast_reverse.rs:2852-2865 | crates/swc_xml_codegen/src/lib.rs:446-466 \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":"crates/swc_xml_codegen/src/lib.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eab4c419cf17bddd251bf7c9c79bf6c81dec76e29e29419446198dbc1d85588"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_estree_compat/src/babelify/pat.rs:154-167 | crates/swc_estree_compat/src/babelify/pat.rs:218-227 \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":"crates/swc_estree_compat/src/babelify/pat.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c8e14801590d1d3404ece6b475aa9249f0dc78a1eec833fa28a7d4b7679a20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_native_addon/src/platform/unix.rs:253-264 | crates/swc_native_addon/src/platform/unix.rs:267-282 \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":"crates/swc_native_addon/src/platform/unix.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcdb540ef16173616f89ef01b06b48c010c06035132348e58f62a92094a3ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/swc_plugin_runner/src/imported_fn/hygiene.rs:34-49 | crates/swc_plugin_runner/src/imported_fn/hygiene.rs:58-70 | crates/swc_plugin_runner/src/imported_fn/hygiene.rs:85-99 \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":"crates/swc_plugin_runner/src/imported_fn/hygiene.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a61d2702891fd7bb1b4cf2568da49d7ee8c12c40015237cf1ae8a0cad117cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_css_codegen/src/lib.rs:1216-1228 | crates/swc_css_codegen/src/lib.rs:1675-1685 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6325e0f4b6264467140fce340d23bd3408c731dd8ccbc924fa80e471807e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_compat_es2015/src/object_super.rs:189-204 | crates/swc_ecma_transforms_classes/src/super_field.rs:620-634 \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":"crates/swc_ecma_compat_es2015/src/object_super.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"987a6c0ec74cbe29cc327285fff6cd80d1816636f40c92f68e8510188e7e172b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:877-892 | crates/swc_ecma_parser/src/parser/stmt.rs:996-1011 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab40fc1cf82bb1f5c38e9690cab44eeaca0eacdccba49a59671fdc2ecefb81a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:121-133 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1413-1429 \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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"67269d625de9872596490e4b4aff5860042019e0d9d39909b34e5559c55e75e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_transformer/src/es2020/mod.rs:33-49 | crates/swc_ecma_transformer/src/es2022/mod.rs:29-45 \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":"crates/swc_ecma_transformer/src/es2020/mod.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae48ce75d381a7c53c8853e8c61c486dabab44ded58140930c85ab2394d69c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_estree_compat/src/babelify/module_decl.rs:261-269 | crates/swc_estree_compat/src/babelify/module_decl.rs:317-325 \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":"crates/swc_estree_compat/src/babelify/module_decl.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24fa7ab8d757f7c4c9d86857c304efd79f60a2aa0b729cb6e2e77078c9d9f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc/src/plugin.rs:206-217 | crates/swc/src/plugin.rs:219-230 \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":"crates/swc/src/plugin.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e668e2fb6109c5e00460571617627855f8e9e1a51599cf3bbe8b387ec6669d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/swc_css_codegen/src/lib.rs:600-610 | crates/swc_css_codegen/src/lib.rs:731-741 | crates/swc_css_codegen/src/lib.rs:744-753 | crates/swc_css_codegen/src/lib.rs:908-918 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"0670136c2171edf03f6e83d259b46f64345a1f61749982dbd8c803899c1ecd90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_compat_es2015/src/new_target.rs:127-137 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1244-1254 \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":"crates/swc_ecma_compat_es2015/src/new_target.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a66f01de214ad3b303553595d7009f1d2ac6611088e08ff163dcae2c787f637"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:902-916 | crates/swc_ecma_parser/src/parser/stmt.rs:1021-1035 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00fa9ac61a49e0390a290e0c4b1a15433ff5906cc9c83f3a1f28192fcca50ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2700-2710 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:728-745 \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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":2700}}}],"partialFingerprints":{"codehealthFindingId/v1":"f227e1dc4914937b99752ca5358dbbb4d6af8db388d3efb06986a9e369144f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:172-186 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:192-206 \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":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3ace1b8e447a0e0d8dea4ac24db7a6671cc29fdcb3240942d2857baf0681de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/swc_ecma_transforms_module/src/rewriter/import_rewriter_swc.rs:45-60 | crates/swc_ecma_transforms_module/src/rewriter/import_rewriter_swc.rs:62-76 | crates/swc_ecma_transforms_module/src/rewriter/import_rewriter_swc.rs:78-90 \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":"crates/swc_ecma_transforms_module/src/rewriter/import_rewriter_swc.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"898e3518de19e10cf69affaa128e119bcf91bbec08c1df6371a41c69202a07b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/swc_plugin_runner/src/imported_fn/source_map.rs:171-183 | crates/swc_plugin_runner/src/imported_fn/source_map.rs:192-204 | crates/swc_plugin_runner/src/imported_fn/source_map.rs:213-226 \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":"crates/swc_plugin_runner/src/imported_fn/source_map.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b149c593f83b504725518c3afae0c00fbc4a2b3bf52e1fa77212af6df7c87c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/swc_bundler/src/bundler/export.rs:92-111 | crates/swc_bundler/src/bundler/import/mod.rs:163-176 | crates/swc_bundler/src/bundler/import/mod.rs:178-187 \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":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024c06bedccf96d02c9bc044d77da4e80a73ab9ac80a3608ab4110d16ab0022"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_parser/src/parser/expr.rs:854-867 | crates/swc_ecma_parser/src/parser/expr.rs:973-988 \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fe3a22296b0fa5ed47dfb32cb22d4db518fbee30b391f6da8595d0bd88883c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_preset_env/src/corejs2/mod.rs:77-89 | crates/swc_ecma_preset_env/src/corejs3/usage.rs:124-141 \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":"crates/swc_ecma_preset_env/src/corejs2/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b67436226973ba4609ecea5904c8a0ae0687bd8ab3b41ea8c8fd98d6588ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:332-344 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:762-771 \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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ad9106dd0ce318e7584f5e9952e2eba0da6141af55b9d96fdacb5562aa9b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:105-116 | crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:118-131 \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":"crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dadc930ab6341ab68fb115a32c93286d14860b7d415a66716747267a7abc46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_css_codegen/src/lib.rs:2034-2048 | crates/swc_css_codegen/src/lib.rs:2080-2094 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"777e9a47afb76a54c7bf3f734ee298fdd90b6b059cc38a576582d3104e457f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/misc.rs:2738-2746 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:1881-1889 \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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b7aaf07dda4e1b9dfe607e43c32379581d64749f549c36092d0115989b1f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_ecma_compat_es2015/src/generator.rs:1950-1959 | crates/swc_ecma_compat_es2015/src/generator.rs:1961-1970 \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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c29ef10f642a4a00f9a77c86d991491d6719cb740a584cf728f65336e7c7314"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:273-283 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:313-323 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5a6917c29976236317d5dc8bd2544cfbf48a01324e98a087416cdb6b75a794"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:632-645 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:741-756 \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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6df5701d32acab4e3eee8e87973530494825ba433f40805f666055415dbfc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:303-313 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:334-344 \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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058a31dfc5cb27c14475f3daaac855d188dfd1c5373abfec79b1a1da8417c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_xml_parser/src/parser/mod.rs:572-581 | crates/swc_xml_parser/src/parser/mod.rs:616-625 \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":"crates/swc_xml_parser/src/parser/mod.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"3892a4901d88317bb923914f7aa63f35c169d7c3a65cba9f61acd98a04f329df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/ast_node/src/encoding/mod.rs:11-24 | crates/ast_node/src/encoding/mod.rs:47-59 | crates/ast_node/src/spanned.rs:30-43 | crates/from_variant/src/lib.rs:22-35 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast_node/src/encoding/mod.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7abc0738980fc755277492ded90c93ed83ba28400b09abb96842c3b6348ebb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_common/src/errors/mod.rs:816-826 | crates/swc_common/src/errors/mod.rs:828-838 \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":"crates/swc_common/src/errors/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cb3b4528fbffa1facc6d2de83c530963a23f899633835ddf650a33d51529bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_ast/src/module_decl.rs:300-308 | crates/swc_ecma_ast/src/module_decl.rs:310-318 \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":"crates/swc_ecma_ast/src/module_decl.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1517e004bf92ba95b7784ac29d71effd73aeaeed7cb7422b18777af8f12da71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_ecma_lexer/src/common/parser/stmt.rs:588-597 | crates/swc_ecma_parser/src/parser/stmt.rs:698-707 \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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ad740bfca30e5a357d74dfd727b46cd8db09ac18344383973f65612bb151ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lints/src/rules/prefer_regex_literals.rs:105-117 | crates/swc_ecma_lints/src/rules/quotes.rs:53-69 \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":"crates/swc_ecma_lints/src/rules/prefer_regex_literals.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0615377f7ca41d64f9ef102d81dcabf025ebb116eadea0fa6adfd15cc8816aa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/static_alias.rs:470-482 | crates/swc_ecma_minifier/src/compress/optimize/static_alias.rs:491-505 \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":"crates/swc_ecma_minifier/src/compress/optimize/static_alias.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7bf8848a0e3f04af3917687ade0b1ccd2628be5b305ccf9e51cad4d7f8cfb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_transforms_base/src/resolver/mod.rs:1163-1175 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1261-1276 \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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9c5ff6d53b837edd19252efe833f86652eabc25585ba9be545ce0af52780ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_utils/src/function/fn_env_hoister.rs:206-216 | crates/swc_ecma_utils/src/function/fn_env_hoister.rs:225-235 \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":"crates/swc_ecma_utils/src/function/fn_env_hoister.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"586e51cb170753e3a323fe77e176a9dfb0210f41944f948c3d672437874d4c6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_estree_compat/src/babelify/typescript.rs:939-947 | crates/swc_estree_compat/src/babelify/typescript.rs:981-989 \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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"320319b4feca162a4cdc01f0f4089a7df986a49f464c414a55cea9255d4f704e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_html_minifier/src/lib.rs:2867-2881 | crates/swc_html_minifier/src/lib.rs:2888-2902 \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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":2867}}}],"partialFingerprints":{"codehealthFindingId/v1":"2778b4c7b6e83c112cdc3aa4b7aee72c18a78634b2b2424d182d565894d99087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_bundler/src/modules/sort/stmt.rs:358-368 | crates/swc_bundler/src/modules/sort/stmt.rs:370-380 \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":"crates/swc_bundler/src/modules/sort/stmt.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada4a335c9a195ddb537d238d9809dad95f9cf83faba7a27e8dc47750991af44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/swc_common/src/errors/emitter.rs:1602-1610 | crates/swc_common/src/errors/emitter.rs:1612-1620 | crates/swc_common/src/errors/emitter.rs:1624-1632 | crates/swc_common/src/errors/emitter.rs:1634-1642 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/errors/emitter.rs"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafd55e4998726aaee979ecec3dbc3b72564f7b412ce40307bf88f35d840dc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_common/src/source_map.rs:852-858 | crates/swc_common/src/source_map.rs:861-869 \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":"crates/swc_common/src/source_map.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e229e516d9d2d6d679d69f3510fe69a9833fbe26f0d58043db3873b64b2b9ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/swc_ecma_lints/src/rules/critical_rules.rs:104-120 | crates/swc_ecma_lints/src/rules/critical_rules.rs:122-137 \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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"d727e22a959f0cf5f622d4907990c10768b4f952437f8c03003e55e0d993ef78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_arena/src/lib.rs:250-260 | crates/swc_arena/src/lib.rs:264-274 \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":"crates/swc_arena/src/lib.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef7f7eb006f4d73762754ba4b5d11d9943c8fd07a1926d00d8f609ebca39c39"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/swc_css_codegen/src/lib.rs:68-82 | crates/swc_css_codegen/src/lib.rs:91-111 | crates/swc_css_codegen/src/lib.rs:1377-1391 \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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"584e2e04514ec678c47b9f8c08e094fc7ba79de954f0976aa364bbc3600df9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/swc_css_lints/src/rules/at_rule_no_unknown.rs:19-32 | crates/swc_css_lints/src/rules/font_family_no_duplicate_names.rs:22-35 | crates/swc_css_lints/src/rules/no_invalid_position_at_import_rule.rs:21-34 | crates/swc_css_lints/src/rules/unit_no_unknown.rs:19-32 \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":"crates/swc_css_lints/src/rules/at_rule_no_unknown.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8572c66456d93344e03b9ef9cb30d7f427bb0515fce492320b405998467728cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/swc_ecma_compat_es2015/src/generator.rs:2375-2384 | crates/swc_ecma_compat_es2015/src/generator.rs:2526-2538 | crates/swc_ecma_compat_es2015/src/generator.rs:2565-2577 \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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"10bd851d15580d17b43947ada4ab6da537d0d3cc9f460481d6cbe3552fbbd07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lexer/src/common/parser/buffer.rs:80-88 | crates/swc_ecma_parser/src/parser/input.rs:449-457 \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":"crates/swc_ecma_lexer/src/common/parser/buffer.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6138cb7411ce82c700ae71b2f1aa82a18a7262b00b834ffef123c537c9352a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:407-415 | crates/swc_estree_compat/src/babelify/expr.rs:437-444 \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":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2157dceff7fd9101b91d1aac76c86f32475d98234933407bb06acc2f550593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_estree_compat/src/babelify/typescript.rs:833-842 | crates/swc_estree_compat/src/babelify/typescript.rs:885-893 \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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf3c15e778559c72359a4a2d9b55bb06811021efb554a1dac6997d27e30f153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:241-249 | crates/swc_ecma_parser/src/lexer/mod.rs:720-728 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef2c4b6433d6eca93849140d1c416c5ac266e7fb959a3a84b9bad55555db539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_ecma_lexer/src/common/parser/mod.rs:224-231 | crates/swc_ecma_parser/src/parser/mod.rs:1329-1336 \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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca2c314a5b64ef29f515baf8e9efba782c4fdd653e6738eb4d0a631a53b8fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_parser/src/parser/stmt.rs:1410-1423 | crates/swc_ecma_parser/src/parser/stmt.rs:1734-1750 \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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"328947df1e3b236729c4c63b11038a9d12cfc91f681012f9534087a0f7aa5624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:246-259 | crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:470-486 \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":"crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ad4058ff5d03b7bad314a079e624373706cecfacf33034e9e894c20bda7841"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_html_parser/src/parser/node.rs:67-75 | crates/swc_xml_parser/src/parser/node.rs:73-81 \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":"crates/swc_html_parser/src/parser/node.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b470b4cf432e1cdcbb75958f759af26979a3a93d8f4eabaaaa6fdcef72c428d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_common/src/syntax_pos/hygiene.rs:170-176 | crates/swc_common/src/syntax_pos/hygiene.rs:466-472 \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":"crates/swc_common/src/syntax_pos/hygiene.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5b5ba1df7c87f363a7bec158a74929c5ae78471a717930004c3ddec0e60fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_ast/src/lit.rs:143-149 | crates/swc_ecma_ast/src/lit.rs:194-200 \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":"crates/swc_ecma_ast/src/lit.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"272835a57e0ada8af0ebe7b5259683993aabf99bd7361f62bcd786db649add60"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_compat_es2015/src/classes/mod.rs:239-253 | crates/swc_ecma_compat_es2015/src/classes/mod.rs:256-264 \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":"crates/swc_ecma_compat_es2015/src/classes/mod.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5fe264f245d000bd8e4fae059fc5586903111c7ae9ac0c4feb50fb474516c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1798-1810 | crates/swc_ecma_parser/src/lexer/mod.rs:2023-2035 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0de7f6b5c767e68808c63df2779807d035567d64673ae5a3246ac62da37563c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_ecma_lexer/src/common/parser/jsx.rs:148-157 | crates/swc_ecma_parser/src/parser/jsx.rs:54-63 \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":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ab855d605ee339dcd01eaba10de01c02e7c651d3c02c3d6e866618280c694f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lexer/src/common/parser/util.rs:39-47 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2308-2316 \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":"crates/swc_ecma_lexer/src/common/parser/util.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dc4c348101c51600fe832246cd9fc1fa127d58d3b170726e3a4ca596ce6f27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/util.rs:527-537 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:794-812 \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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"26725d43f5d5f70d75192ae73979b2f4a0ace01266ef32c97ee082222737d600"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_common/src/errors/diagnostic.rs:359-372 | crates/swc_common/src/errors/diagnostic.rs:403-415 \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":"crates/swc_common/src/errors/diagnostic.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5556c23bc63f911cb53366659ddcd42663c78f55eb608986d9e1e32f096c9f59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:593-605 | crates/swc_ecma_parser/src/parser/typescript.rs:1395-1407 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7fcd503a673e712443715c0f01c040d4473f5d106479f273e1ace0f159b2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_lints/src/rules/no_param_reassign.rs:143-157 | crates/swc_ecma_lints/src/rules/no_param_reassign.rs:185-195 \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":"crates/swc_ecma_lints/src/rules/no_param_reassign.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f49c3496981ed9aaef35adf31ec262c2f6efaf988e2273beeb8e451f307a90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/mod.rs:456-466 | crates/swc_ecma_minifier/src/compress/pure/mod.rs:1134-1146 \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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"33947eea81c3c46c689174d39dec62f7371205e25064527b3e5590efa608a9f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_ecma_preset_env/src/corejs3/builtin.rs:72-79 | crates/swc_ecma_preset_env/src/corejs3/builtin.rs:81-88 \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":"crates/swc_ecma_preset_env/src/corejs3/builtin.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3af613412b24b39fc294d68b738e34c2e36fe2d6a00b0e3b427848a2f85f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_bundler/src/bundler/keywords.rs:60-70 | crates/swc_bundler/src/modules/sort/stmt.rs:571-579 \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":"crates/swc_bundler/src/bundler/keywords.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e9df9ef8c65487dd414a1b1edc34b5faadfaddb841d13a2e9a1c9a220b4908"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_common/src/errors/diagnostic.rs:280-293 | crates/swc_common/src/errors/diagnostic.rs:313-326 \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":"crates/swc_common/src/errors/diagnostic.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"002b937707fd0b32d94d0f71001c8c3e9abcff5630aba5016d6a26d83d18c59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_ast/src/expr.rs:1321-1332 | crates/swc_ecma_ast/src/jsx.rs:224-230 \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":"crates/swc_ecma_ast/src/expr.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4732cf3ee48712a3c58f35a0d4ae2d8ba59995c866e7e14b2c227443f7133fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_lexer/src/input.rs:68-74 | crates/swc_ecma_lexer/src/lexer/state.rs:649-655 \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":"crates/swc_ecma_lexer/src/input.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe98f164379b106d4e8405f606716a4416ffd56d8aa0303c3405520b7e507a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/swc_ecma_lints/src/rules/critical_rules.rs:455-471 | crates/swc_ecma_lints/src/rules/critical_rules.rs:473-489 \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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70e1f527db4e0be1cb8e7b816f5b940ba811e7833b93381ab8e2418f046b273"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:276-287 | crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:341-351 \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":"crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8c941b8cd890f94f29f065b5b81f913fdf4ceaba781c7125702060d7b3cf82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_ecma_transforms_base/src/rename/mod.rs:75-86 | crates/swc_ecma_transforms_base/src/rename/mod.rs:94-105 \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":"crates/swc_ecma_transforms_base/src/rename/mod.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e5192dbc5a7c76c808ced293811cc93263e61070db0d389cdeb3cb896d42e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_estree_compat/src/babelify/jsx.rs:109-117 | crates/swc_estree_compat/src/babelify/jsx.rs:210-217 \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":"crates/swc_estree_compat/src/babelify/jsx.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3685f7b11f0a9bc3ec623451b507450913ac11cad628efd2cbd97d2d897e5f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_native_addon/src/platform/windows.rs:130-141 | crates/swc_native_addon/src/platform/windows.rs:146-157 \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":"crates/swc_native_addon/src/platform/windows.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9cf83921dfb55741f4ca780ad465a1571204e74d583375f5caba915b348369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_common/src/comments.rs:52-66 | crates/swc_common/src/comments.rs:72-86 \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":"crates/swc_common/src/comments.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1773b2c8282e9270d3593b50b6cab91ff77ed25c6da1c174a3d6016a191484"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/swc_ecma_parser/src/syntax.rs:28-40 | crates/swc_ecma_parser/src/syntax.rs:64-79 | crates/swc_ecma_parser/src/syntax.rs:81-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 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":"crates/swc_ecma_parser/src/syntax.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2025452056443ce7d8fb5b793b14c0313fe4608f4909bc17c4f92455976118a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_estree_compat/src/swcify/stmt.rs:192-200 | crates/swc_estree_compat/src/swcify/stmt.rs:609-617 \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":"crates/swc_estree_compat/src/swcify/stmt.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0736aecf54cf515d2a9ed9958fe45c875e60c52683f8644593730970e7a48710"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs:185-194 | crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs:196-207 \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":"crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9122447943a5e70c9adc62f10462abba838072cb4fbc15a25536c33df4733d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_compat_es2015/src/arrow.rs:180-190 | crates/swc_ecma_compat_es2015/src/parameters.rs:782-792 \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":"crates/swc_ecma_compat_es2015/src/arrow.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b5b793491de91ad504f9b5a6bce95d90a191758bebd6a3ade54c021a9b1a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_lints/src/rules/critical_rules.rs:408-424 | crates/swc_ecma_lints/src/rules/critical_rules.rs:426-440 \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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0aa3118d5b19b011c5706267348a8eff0eccc23b9d644b71b691f940064596"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_ecma_parser/src/lexer/mod.rs:983-990 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:557-564 \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":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e81ebfd38e736be46bf65827fcf760f0036eb7f2bf8499eee30985549f06258"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_transforms_typescript/src/utils.rs:7-17 | crates/swc_ecma_transforms_typescript/src/utils.rs:23-33 \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":"crates/swc_ecma_transforms_typescript/src/utils.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc9b96967d269d5830128ae3515d6c71cfbc77bb201792f03f70eb5614bc19f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): tools/swc-releaser/src/main.rs:107-123 | tools/swc-releaser/src/main.rs:138-155 | tools/swc-releaser/src/main.rs:157-172 \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":"tools/swc-releaser/src/main.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b519675822faa9ad3fd0d3a58511ceb1eca746ff23d234f6d3020e204c9007"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_ecma_codegen/src/lib.rs:2193-2205 | crates/swc_ecma_codegen/src/lib.rs:2558-2572 \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":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8176d5bf1000c8d3f694b6f3b2780bf8dd33f9d8ca55e1fd6a3b8072d586e0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_estree_compat/src/babelify/pat.rs:173-182 | crates/swc_estree_compat/src/babelify/typescript.rs:508-517 \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":"crates/swc_estree_compat/src/babelify/pat.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"592cbc896ea69afa0d545caf1cdc396f8b9f1f74537afb73abb39b5c8289dbaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_estree_compat/src/swcify/stmt.rs:242-253 | crates/swc_estree_compat/src/swcify/stmt.rs:295-306 \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":"crates/swc_estree_compat/src/swcify/stmt.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6128b3a199cdf288607d91eecfaa2b7ab66bbbe5800517acb1570d3844fb1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_ecma_compat_es2015/src/new_target.rs:91-102 | crates/swc_ecma_compat_es2015/src/new_target.rs:104-120 \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":"crates/swc_ecma_compat_es2015/src/new_target.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f91b850a6671ddd6bbca716fdb252127cbd525916ae05b0148a37d40c4b5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/swc_common/src/syntax_pos.rs:311-323 | crates/swc_common/src/syntax_pos.rs:325-337 \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":"crates/swc_common/src/syntax_pos.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dae8381c1513f054d3bdeae44fc8a6be5a2a30b52d3c1f49fea60e8aec31fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/swc_estree_compat/src/babelify/typescript.rs:380-391 | crates/swc_estree_compat/src/babelify/typescript.rs:663-674 \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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97b3d8f3c94ec537dfd3524323db53e0b304354907ecc16fa5333fc73375cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:63-72 | crates/swc_ecma_parser/src/parser/typescript.rs:789-798 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b5dbf7232401294a757f1da058060d4232b44b015724a895b3404692e1b533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:728-737 | crates/swc_estree_compat/src/babelify/jsx.rs:83-92 | crates/swc_estree_compat/src/babelify/typescript.rs:1021-1030 \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":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca30ea0456b40320db868d014f9af4155e19c88a559ff42daffff1ce4ad13d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lints/src/rules/symbol_description.rs:93-103 | crates/swc_ecma_lints/src/rules/no_obj_calls.rs:77-85 \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":"crates/swc_ecma_lints/src/rules/symbol_description.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f122fae8085dbe980844f37fa89350369832c93a53d04017a93c7ed49af55eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/swc_ecma_transforms_base/src/resolver/mod.rs:1550-1566 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1607-1621 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1637-1649 \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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fecdbd0408697f0f29e8341333f5404ef793340b83d65e8436463da7ef2203f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:120-126 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:103-112 \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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e531d43d2b8a5c28673290779d216e7fa6af81c143b27ec8191967734ad742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:921-932 | crates/swc_ecma_lexer/src/common/parser/typescript.rs:1069-1079 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74f854465dcb3736de3e756bf21d27b5bafd62e7c4c06adfdcf4de7df1ac9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/swc_ecma_minifier/src/compress/pure/mod.rs:48-62 | crates/swc_ecma_minifier/src/eval.rs:30-44 \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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d45ad38c3e0a4417f025a65667f2637219a9cdefdf2763278cddfb4f2bfcc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/swc_plugin_runner/src/imported_fn/metadata_context.rs:79-92 | crates/swc_plugin_runner/src/imported_fn/metadata_context.rs:129-143 \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":"crates/swc_plugin_runner/src/imported_fn/metadata_context.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"87910da5f3c8df3449f02fc46ea746d9f6c8d2c0198524b4ce4cecf5b43f533d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): crates/hstr/src/lib.rs:361-361 | crates/hstr/src/wtf8_atom.rs:383-383 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hstr/src/lib.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c0b4e8ff28dd6c56ce5bf4eef4251649ba4042b0ad1df254a20700f3fbe4be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/swc_common/src/private/content.rs:599-607 | crates/swc_common/src/private/content.rs:631-639 | crates/swc_common/src/private/content.rs:667-673 \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":"crates/swc_common/src/private/content.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8612bf5b9f0867bda542e879cdef2628e379b1a5c55448bc510cfe7cfe063f9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_sourcemap/src/lazy/mod.rs:220-229 | crates/swc_sourcemap/src/builder.rs:184-191 \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":"crates/swc_sourcemap/src/lazy/mod.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b151ecb8be5d8232e5dd89b7818b8a90993f701f0067dd42f921da117d26b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_atoms/src/lib.rs:81-87 | crates/swc_atoms/src/wtf8_atom.rs:49-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":"crates/swc_atoms/src/lib.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfec1e612793000f0ec03e414c58603500ef9eb22df6fc7398f910d25a3078a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_css_lints/src/config.rs:37-46 | crates/swc_ecma_lints/src/config.rs:36-46 \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":"crates/swc_css_lints/src/config.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a29ab647c5f33a141fe86c8517ee610c9f36cd02762dc2f90f0664a439e6309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_lexer/src/common/parser/jsx.rs:126-132 | crates/swc_ecma_parser/src/parser/jsx.rs:42-48 \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":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"20210d7129a053e2f2770164f7d1555a339f7907058930072c5d01c42a037133"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:743-750 | crates/swc_estree_compat/src/babelify/function.rs:102-109 \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":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdad3706a761bbc4a224a40a08fcf20058d3a114e26aaa27b3f3593163bc1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_html_parser/src/lib.rs:53-62 | crates/swc_css_parser/src/lib.rs:68-77 \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":"crates/swc_html_parser/src/lib.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbcac172c9d501eef7e91deefc92014e4cba8b0126051491704c57b4612cbca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_bundler/src/inline.rs:150-159 | crates/swc_ecma_minifier/src/compress/pure/vars.rs:462-471 \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":"crates/swc_bundler/src/inline.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"876ddfea152e41f694dcae6eb009473dd1abaa5bfdcbb492820b0125f3f422e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/swc_sourcemap/src/decoder.rs:330-335 | crates/swc_sourcemap/src/detector.rs:110-115 \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":"crates/swc_sourcemap/src/decoder.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06ec278856af4a2b265e34592a16948174fde14d8cdf0298d09c76181c8afc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2002-2010 | crates/swc_ecma_parser/src/lexer/mod.rs:2215-2223 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccb17506f2087228936d8e688962adaebd29830059efec7774ead995cb4846d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/swc_bundler/src/bundler/keywords.rs:72-81 | crates/swc_ecma_transforms_optimization/src/simplify/const_propagation.rs:83-92 \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":"crates/swc_bundler/src/bundler/keywords.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6399d804f38ea693e5cdc3c9cbe0a419a818b7eb0567b4d065eab43c162a8734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_common/src/serializer.rs:37-44 | crates/swc_ecma_regexp_ast/src/lib.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":"crates/swc_common/src/serializer.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c38720db286f193b34e83055c02b8dfa90e42d6891ecb633da82f4d3f456f10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_bundler/src/bundler/keywords.rs:119-128 | crates/swc_ecma_utils/src/lib.rs:2642-2648 \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":"crates/swc_bundler/src/bundler/keywords.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d1a4a37e0d9cd6e7cb00e2d10bd91badb9ed4ee0f95f9ace068056d7eb2fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2545-2557 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:690-698 \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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d91cec9af972d6731cd1330ad9aa4cb5d86d7ef4e5980cbb8e419ff64cabd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_transforms_optimization/src/simplify/const_propagation.rs:32-38 | crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs:542-548 \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":"crates/swc_ecma_transforms_optimization/src/simplify/const_propagation.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78712a577747204515636cf291d6e7a052129660711bfa3c197e9679b533a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:669-674 | crates/swc_estree_compat/src/babelify/jsx.rs:98-103 | crates/swc_estree_compat/src/babelify/typescript.rs:1047-1052 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b277ff7da371251bf33eac63686d1be6ac5d88c9dac3e9288dd9e377ea4a84b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_estree_compat/src/swcify/expr.rs:965-971 | crates/swc_estree_compat/src/swcify/stmt.rs:403-409 \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":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"0105b29fb51d4bc9444343023e059c27eda9048285452f21d53a539ec943418b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/swc_ecma_lints/src/rules/critical_rules.rs:387-394 | crates/swc_ecma_utils/src/lib.rs:2315-2323 \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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0619630a0568debd0fa9f8d8483b865922e75dc53a66676a9f25603440f4184c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/swc_estree_compat/src/babelify/expr.rs:283-288 | crates/swc_estree_compat/src/babelify/typescript.rs:1069-1075 \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":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cccc3c0bda50215bb02ec1882e21bcf9ece600f7a4bf01dc02778cb9944d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:821-824 | bindings/binding_typescript_wasm/src/error_reporter.rs:821-824 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:821-824 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"92efeca37436cda21a1f56ff1f2b92db5f1e39060752546682406c0c7d59c746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_compat_es2015/src/object_super.rs:177-186 | crates/swc_ecma_transforms_classes/src/lib.rs:17-25 \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":"crates/swc_ecma_compat_es2015/src/object_super.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc1efca15985c9782c0115b2a3a53c97efdbbca655707260339a472ef5ee2ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/swc_ecma_lexer/src/common/parser/typescript.rs:264-269 | crates/swc_ecma_parser/src/parser/typescript.rs:957-962 \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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0e4f87cc6a2ebc2ac4b605736dd0f5d74fd78d5f9fe405b45fdd8381d84509"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_sourcemap/src/lazy/mod.rs:456-462 | crates/swc_sourcemap/src/types.rs:968-974 \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":"crates/swc_sourcemap/src/lazy/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1760a2cbb1b8ccbed80475979577423a088b7abf73aadf579180786bc45653cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_atoms/src/lib.rs:90-98 | crates/swc_atoms/src/wtf8_atom.rs:60-68 \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":"crates/swc_atoms/src/lib.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05107ea13d272f5a37dee64cbd269b61ae13de85352fe1904d33e38b2390059"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): crates/swc_html_parser/src/lexer/mod.rs:4951-4953 | crates/swc_xml_parser/src/lexer/mod.rs:3125-3127 \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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4951}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a019e5062b41d087b340602ffe6eda412165c9efe2dc2ede2b936d06c49ac1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): crates/swc_ecma_parser/src/parser/tsrx.rs:640-642 | crates/swc_ecma_parser/src/parser/typescript.rs:195-199 \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":"crates/swc_ecma_parser/src/parser/tsrx.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f406d113745b805b61a5b069e53f52169779cb28d4034e35242f9658adc0c5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/swc_ecma_lexer/src/common/parser/util.rs:15-23 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2318-2326 \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":"crates/swc_ecma_lexer/src/common/parser/util.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e4ee50aba0d3ddd863e02444574c747765de4e6f92e76729e63bbe2c60789c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1537-1543 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:262-268 \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":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cbdd96ee5d3ebac59025254539d3e00166f4bae729a1a1ca4d7e8d336cce11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/swc_css_lints/src/rules/color_hex_alpha.rs:17-20 | crates/swc_css_lints/src/rules/color_hex_length.rs:17-20 \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":"crates/swc_css_lints/src/rules/color_hex_alpha.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7885c75cda9e40df5a71f0f40a57c21a89e2ff44dcc3aed4629d3f1b52a5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1868-1872 | crates/swc_ecma_parser/src/lexer/mod.rs:2088-2092 \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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4006c8fa76297b6bcbc187fcd360c748c0c329e695348c2e153efbf71dccfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): bindings/binding_core_node/src/lib.rs:47-51 | crates/swc_cli_impl/src/commands/compile.rs:215-218 \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":"bindings/binding_core_node/src/lib.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a266abc5136b821305d68a55a82ef73fc8859d4c769b0fdd5db952b064a6e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): crates/swc_ecma_minifier/src/compress/optimize/arguments.rs:232-242 | crates/swc_ecma_react_compiler/src/apply_renames.rs:95-100 | crates/swc_ecma_transforms_base/src/rename/ops.rs:591-596 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/arguments.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e3be891f6d5ccd38057e374a1bdcc1b9990b5e1f2c9ea7bd371db730f3aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:770-772 | bindings/binding_typescript_wasm/src/error_reporter.rs:770-772 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:770-772 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 3 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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a576f84e4f48dd6973deb1898623488e20e4efa9815c93a26871213a3bb686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/swc_bundler/src/inline.rs:109-113 | crates/swc_ecma_minifier/src/compress/pure/vars.rs:473-477 \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":"crates/swc_bundler/src/inline.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e3bbb8689b10e710b248942d76abff83756a2472d122a58be86036d3cafc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/swc_css_lints/src/rules/selector_max_class.rs:8-11 | crates/swc_css_lints/src/rules/selector_max_combinators.rs:10-13 \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":"crates/swc_css_lints/src/rules/selector_max_class.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"218891eb62515752b0bfbb2822ee92b02cf93264a99e14d4d0c4a6c6398b5938"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/swc_ts_fast_strip/src/erase/declarations.rs:33-39 | crates/swc_ts_fast_strip/src/erase/mod.rs:342-348 \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":"crates/swc_ts_fast_strip/src/erase/declarations.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1b3cb98ea48e8a038ba91c89f37a3db9222af7b99bd36140b641a9023a2029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/swc_css_parser/src/lexer/mod.rs:69-76 | crates/swc_html_parser/src/lexer/mod.rs:568-573 \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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b296c685128205bc159e0df8f78be027023edcc3fe0aa3c89d1179aceb684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/swc_css_parser/src/lexer/mod.rs:81-88 | crates/swc_html_parser/src/lexer/mod.rs:998-1003 \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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a6f853c54db219abb6011d4f8fb966bf17ddb5696d760697a36cda87f9add2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/swc_ecma_transforms_react/src/jsx/mod.rs:265-273 | crates/swc_ecma_transforms_react/src/lib.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":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6aa4bd0a3482ecf304fa4a580d3f40bc8b51fa6937ad5c3753e2f30f004d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (194 lines \u00D7 2): bindings/binding_html_node/src/lib.rs:505-698 | bindings/binding_html_wasm/src/lib.rs:549-742 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a3f511713f8ceb58b9995a910f82263d528960d4d68e5893f2f26734f4a5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (101 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3199-3299 | crates/swc_xml_parser/src/lexer/mod.rs:1496-1596 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3199\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d34b09ed849a0919f8c26fce37778e6028716a5ae6620ce98836e1dd3ab46ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:529-611 | bindings/binding_typescript_wasm/src/error_reporter.rs:529-611 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:529-611 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"41456684a905a0f37817477a42a2cd485e3041eae8693bd53198de0daf1349d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:128-206 | crates/swc_xml_codegen/src/lib.rs:72-150 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a2d3ec499d852c8bbaae812652df958ac64711e4e49503d403704e4d297803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1213-1287 | crates/swc_ecma_parser/src/lexer/mod.rs:1587-1661 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1213\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad3dff93efa9a166ad65af5654b1dc6dc68bbcefdcf06838056d7eed8f16e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70\u201373 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3067-3139 | crates/swc_xml_parser/src/lexer/mod.rs:1382-1451 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3067\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3067}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c868ff8bad0ceb11fef98cfc669af7fb417330355483c34e61b8c76526d80c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:83-152 | bindings/binding_typescript_wasm/src/error_reporter.rs:83-152 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:83-152 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63285846f166f10b58136c0c4e11f9d4a26c3a6ebb59a5d4a8a1e9365b9bab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66\u201368 lines \u00D7 3): bindings/binding_html_node/src/lib.rs:343-410 | bindings/binding_html_wasm/src/lib.rs:387-454 | crates/swc_html_minifier/src/lib.rs:2687-2752 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_html_node/src/lib.rs:343\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, \u0060crates/swc_html_minifier/src/lib.rs:2685\u0060 calls \u0060get_css_options\u0060 and \u0060bindings/binding_html_node/src/lib.rs:341\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":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00298abbb80b2afadb01d1e8e58c4c75fb65ce838ddd129a6da6fa45141d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67\u201368 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr_ext.rs:11-78 | crates/swc_ecma_parser/src/parser/util.rs:106-172 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr_ext.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/util.rs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr_ext.rs:11\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":"crates/swc_ecma_lexer/src/common/parser/expr_ext.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a156d3194c798bc41be4072d20c4e6044bdb47a6fb07f5517515328700481558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64\u201366 lines \u00D7 3): bindings/binding_html_node/src/lib.rs:430-495 | bindings/binding_html_wasm/src/lib.rs:474-539 | crates/swc_html_minifier/src/lib.rs:2771-2834 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_html_node/src/lib.rs:430\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f293942c1cdd6e757da36a2d9469d8e679f7953e425641bddda54e82369ac53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:364-441 | bindings/binding_typescript_wasm/src/error_reporter.rs:364-441 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:364-441 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dc54991d6dd2415bf6514068b773c1ce3c77f63afe8052ff61a378ce265797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:1546-1610 | crates/swc_html_parser/src/lexer/mod.rs:1660-1724 | crates/swc_html_parser/src/lexer/mod.rs:1782-1846 | crates/swc_html_parser/src/lexer/mod.rs:2072-2136 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:1546\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"2001b7991765358df39feb1a4ebd6587065d644c1d7f49881bcd75d5d4f96393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:228-292 | bindings/binding_typescript_wasm/src/error_reporter.rs:228-292 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:228-292 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"351def197ae0bba890aa58bf7622f3d74561845d58e63768a3e8e0adc411e8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:2140-2201 | crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:2215-2276 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:2140\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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"445fd535ba957acf6b35bf950f44fc903d7886214802852ca35492aa37d27ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:4171-4229 | crates/swc_html_parser/src/lexer/mod.rs:4233-4291 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4171}}}],"partialFingerprints":{"codehealthFindingId/v1":"73697c22a52516b8e74d9dce59d1dd9da412a0d0d9a84b56780cb98b71daf46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (91 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:425-515 | crates/swc_ecma_transforms_module/src/umd.rs:171-261 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/umd.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 183 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 \u0060crates/swc_ecma_transforms_module/src/amd.rs:425\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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2f57dca4be6d73cc92bfbffba0ff295fc57bfd02a8ff1cd3c1c2db1f41c6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/lib.rs:190-244 | bindings/binding_typescript_wasm/src/lib.rs:112-166 | crates/swc_ts_fast_strip_binding/src/lib.rs:68-122 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/lib.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc40129e0415388c89a39160b7c5230f80351c9a67ec63983c19c1e91cb73ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:301-354 | bindings/binding_typescript_wasm/src/error_reporter.rs:301-354 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:301-354 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"20823f118fafe853efbe652ebe3778263dfb46d6e2330a9910fe595eab928b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1152-1204 | crates/swc_ecma_parser/src/lexer/mod.rs:1526-1578 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b065040275a7817dbf5468a181707c05d38bfda38dfe7fcb63880b3900921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:161-218 | bindings/binding_typescript_wasm/src/error_reporter.rs:161-218 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:161-218 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"80053cb27ddbe58c2f4c65fc3b29962e789d63d66775a71da501d26dc5d58625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201349 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:121-165 | crates/swc_ecma_parser/src/parser/pat.rs:261-309 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:121\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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3c54cb7ab73cb46c1ed5fcdd3b92a730c329db94c2d431809b737f2bef5d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/ast_node/src/encoding/decode.rs:79-123 | crates/ast_node/src/encoding/encode.rs:53-97 \u2014 before extracting anything, compare \u0060crates/ast_node/src/encoding/decode.rs\u0060 and \u0060crates/ast_node/src/encoding/encode.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/ast_node/src/encoding/decode.rs:79\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":"crates/ast_node/src/encoding/decode.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80012758414caf7d30632f6db457e5a5f42cd6af06441d9824f4b8688a7fcca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/swc_sourcemap/src/decoder.rs:163-207 | crates/swc_sourcemap/src/lazy/mod.rs:367-411 \u2014 before extracting anything, compare \u0060crates/swc_sourcemap/src/decoder.rs\u0060 and \u0060crates/swc_sourcemap/src/lazy/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_sourcemap/src/decoder.rs:163\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":"crates/swc_sourcemap/src/decoder.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"595c3cc04f03137c6781b66d791cdd4301a30b26ad74f69b8e774b8785d2082c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:693-734 | bindings/binding_typescript_wasm/src/error_reporter.rs:693-734 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:693-734 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bec21ebd78e62249b83cdc93fdecf665b186db7324cac5e68ac337d5b0514be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:4968-5007 | crates/swc_xml_parser/src/lexer/mod.rs:3142-3181 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4968}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d508cc0830409ee7e9a4adbebe2200e9a63c37acdb151abdde78b5ff2a65bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201339 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:577-613 | crates/swc_ecma_parser/src/lexer/mod.rs:1003-1041 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:577\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"74709ff4b7b8ec4514d51bd7114bf66a1584783183e3ea5241fe88c8f89e35c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201339 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:2359-2397 | crates/swc_html_parser/src/parser/mod.rs:2453-2484 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:2359\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a591318e63060e70f669ba95b7e7b9c1185cec8afe9d332a4da7e3b8ca4a837d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1728-1765 | crates/swc_ecma_parser/src/lexer/mod.rs:1953-1990 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1728\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"00411128b9784112acbf312fefaf84cc3f1ee8a694269ecb92ddf72416390b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:2094-2131 | crates/swc_xml_parser/src/lexer/mod.rs:2134-2170 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f36158521b09240d24e182064be9460754fdccea6a76f9e928219f7f9d77343"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201338 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:2425-2462 | crates/swc_xml_parser/src/lexer/mod.rs:3014-3040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_xml_parser/src/lexer/mod.rs:2425\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_xml_parser/src/lexer/mod.rs:2415\u0060 calls \u0060cur_pos\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:3005\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ba143963b9559a514d9f07490cc1b41b8f7d5766e5c8d9ed661a027fe828ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:628-664 | bindings/binding_typescript_wasm/src/error_reporter.rs:628-664 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:628-664 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc66a897ecb57efc02d69546c222e5d7884c348990fbf761de829674d3eb5efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:279-315 | crates/swc_ecma_parser/src/lexer/mod.rs:758-794 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:279\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bae37324be440d1328b811e6e1c58115775110a10cbb66d59991ab88d56380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2526-2562 | crates/swc_ecma_parser/src/parser/typescript.rs:4861-4897 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs:2526\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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"1679628981e3730efb4532fb0e43180c06a167c9c87012da2c0778df719058b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3681-3717 | crates/swc_html_parser/src/lexer/mod.rs:3745-3781 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:3681\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:3680\u0060 calls \u0060emit_error\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:3744\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3681}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcb07453c34a10ffd6578b0c199566850c655b600529dac177d8f0790ce9f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 3): crates/swc_css_codegen_macros/src/lib.rs:20-55 | crates/swc_html_codegen_macros/src/lib.rs:20-54 | crates/swc_xml_codegen_macros/src/lib.rs:20-54 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen_macros/src/lib.rs\u0060 and \u0060crates/swc_html_codegen_macros/src/lib.rs\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_css_codegen_macros/src/lib.rs:20\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":"crates/swc_css_codegen_macros/src/lib.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"043e6691cab86751f513e8d974139ef9d8202462e29f94cdb12bad07d0e6bb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1495-1530 | crates/swc_ecma_parser/src/lexer/mod.rs:1736-1771 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1495\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef73281a54c850387d09ee2d2091fc24d9db6c1985912ef23831044ec3934e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:286-321 | crates/swc_ecma_parser/src/parser/mod.rs:1391-1426 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs:286\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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3951a51eca1013d0659596c15334e9e44a7baee7765de9213b42a5be0abfb6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:2638-2673 | crates/swc_html_parser/src/lexer/mod.rs:2690-2725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:2638\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dce1e70fff9066d8dafb47293db94489e24097a34d666b20540964461e85e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201336 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:4087-4115 | crates/swc_html_parser/src/parser/mod.rs:4126-4161 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:4087\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":4087}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f265160c7c79affe3c1bb1359546ac520700bdc5823424d33dab017e09a0720"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:484-518 | crates/swc_html_parser/src/lexer/mod.rs:524-558 | crates/swc_html_parser/src/lexer/mod.rs:894-928 | crates/swc_html_parser/src/lexer/mod.rs:1031-1065 \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 \u0060c\u0060 to \u0060u8\u0060 in one and \u0060Option\u003Cchar\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d90dbc4f067924cecd30e7e4f3c7e491514766311a841a33e7144ccf08f111e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:658-692 | crates/swc_ecma_parser/src/lexer/mod.rs:1087-1121 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"35aae84958e732c659c2690448c692c64851390f5a4ccfff2065ab69a262f43a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:202-235 | crates/swc_ecma_transforms_module/src/umd.rs:107-140 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/umd.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 183 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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2323c57ac26a821163f648dfa8b0683d569f7030a892c4ab4cc22a4a5e78c8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:1051-1084 | crates/swc_xml_codegen/src/lib.rs:375-408 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"547d7981dd1692d14e73a2c7777b62723da116937b7c9d124ff7c67bb75aa4e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201334 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:2397-2430 | crates/swc_html_parser/src/parser/mod.rs:6036-6055 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:2397\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eafb72067afccd784dd48d226495f22b57dd27555020aea14213ac690ae4e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:2749-2782 | crates/swc_xml_parser/src/lexer/mod.rs:2785-2818 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b7f060a2fbd21748167e435fe65407d3c76a252997b70da4fc976088308791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:2935-2968 | crates/swc_xml_parser/src/lexer/mod.rs:2971-3004 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2935}}}],"partialFingerprints":{"codehealthFindingId/v1":"7961ee46dadb0106f84a37a39bcced7b0e994ea9aa5f2ee7cc1aee6325bfac42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3333-3365 | crates/swc_xml_parser/src/lexer/mod.rs:1630-1660 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3333\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3333}}}],"partialFingerprints":{"codehealthFindingId/v1":"44949dc30145116503ce6debf74c092645489e504383155eb98ad067a7e1c5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3811-3843 | crates/swc_html_parser/src/lexer/mod.rs:3873-3905 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:3811\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0ebfd8b50580d8334aae272f131cde3b0f91c608faef1f5788532e1de5f06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:964-995 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1081-1112 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:964\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2720fc8941536e48c2f5043e683070d2b06067dd56431cbd8a9b0163dcf72d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1333-1364 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1448-1479 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1333\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 \u0060m\u0060 to \u0060\u0026mut Module\u0060 in one and \u0060\u0026mut Script\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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d79f3a3876cc503123dd7b803af4973284bd8dcf566d60e759ac054cb43b02c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:6555-6586 | crates/swc_html_parser/src/parser/mod.rs:6629-6660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:6555\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":6555}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a4cc3a6a0246b79c6a85fee859d51610e9951d67ae758e1d13a3fba8e9e1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201332 lines \u00D7 2): crates/swc_node_bundler/src/loaders/swc.rs:169-200 | crates/swc_node_bundler/src/loaders/swc.rs:266-294 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_node_bundler/src/loaders/swc.rs:169\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":"crates/swc_node_bundler/src/loaders/swc.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a89f5d5642a889db492f44b73b5cb948928ab26a03fdee036c6ff0e503f1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): bindings/binding_core_node/src/transform.rs:167-196 | bindings/binding_core_node/src/transform.rs:240-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 \u0060bindings/binding_core_node/src/transform.rs:167\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":"bindings/binding_core_node/src/transform.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba339408526a782fc09ee4eccbb643c354868ffdd11dab23c22f4f194b151b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1997-2026 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2070-2100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1997\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a36776b624def813e253b5a0388c7f58bc977399be5b8e11b975ad2a641237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/swc_html_minifier/src/lib.rs:1391-1421 | crates/swc_html_minifier/src/lib.rs:1519-1549 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_minifier/src/lib.rs:1391\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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2440cb9cfcf2ac505c355106bf173a099d837bf67ed6a16e3b822303c1fb2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3659-3689 | crates/swc_xml_parser/src/lexer/mod.rs:2517-2547 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3659\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3659}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa001ae007bb7292a28a5679d00ba0d3f2969877bbb0ff46df2b05889a76932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:4045-4075 | crates/swc_xml_parser/src/lexer/mod.rs:2581-2611 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:4045\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4045}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f7e7d7f4d5ad5f6075bd2318583bfc47adbcbe3fdf4f83edf1d62c7b107764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:532-562 | crates/swc_xml_parser/src/parser/mod.rs:200-230 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2480a3595dba74738d80d2c1c0dc7e6bd43c64c425fe1bc150fc58cc63d3dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201331 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:3195-3208 | crates/swc_html_parser/src/parser/mod.rs:3404-3434 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:3195\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b49481f7985aa343d1b7d79ab6fa4939bb10891a4b0f871730acf17af57ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:8390-8420 | crates/swc_html_parser/src/parser/mod.rs:8427-8457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:8390\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8390}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d4eb99a268af6ccdb362c54decdba319e8e426e137966ef75639331dd41e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 5): crates/swc_css_parser/src/parser/values_and_units/mod.rs:422-451 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:533-562 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:649-678 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:782-811 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1546-1575 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:422\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb97a1150660c125f3f6ee9eae9ed5de6173001a7c91d310691ee796e2cda83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/hstr/src/lib.rs:304-333 | crates/hstr/src/wtf8_atom.rs:247-276 \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. 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":"crates/hstr/src/lib.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3b68a9376b629ad3df4f654c556f657daa9d034b9e778c06d903e7bc5996b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2099-2128 | crates/swc_ecma_parser/src/lexer/mod.rs:2300-2329 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:2099\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef07cd064394dff8e3acbfdc1e2e99feb3b531f8856b302e0b01423566c87487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3436-3465 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3772-3800 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3436\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 \u0060n\u0060 to \u0060\u0026mut Vec\u003CModuleItem\u003E\u0060 in one and \u0060\u0026mut Vec\u003CStmt\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e300485d3d4df0f703fc6e9a2919d4a2e8ea73e3733edc29153f55f13151b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/swc_html_minifier/src/lib.rs:1218-1247 | crates/swc_html_minifier/src/lib.rs:1249-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf37df54f1e6b70fbf986cc1fe5574ba85babc17aa90c57ea37702b10696c101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:2252-2281 | crates/swc_html_parser/src/lexer/mod.rs:2303-2332 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:2252\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9c65c8c54a773d04d747465d09d30dc07578517f3593b40b2069161ce24454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:1544-1573 | crates/swc_html_parser/src/parser/mod.rs:1638-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 \u0060crates/swc_html_parser/src/parser/mod.rs:1544\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"5893005be0ad70918be2b843e6ed52b55d7cc7801d4b9eefb8ffbfc34b527867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201330 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:5445-5456 | crates/swc_html_parser/src/parser/mod.rs:5458-5487 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:5458\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":5445}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c41b5ca657c3ba50eb5e1e14025e0642d1939a0c3387cb401805c775427f46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): bindings/binding_html_node/src/lib.rs:240-268 | bindings/binding_html_wasm/src/lib.rs:284-312 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3225a7a95e17ce14cb981d40777c017f58ec44ef9baa6817cd36c39ca17f05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/swc_css_compat/src/compiler/custom_media.rs:109-137 | crates/swc_css_compat/src/compiler/custom_media.rs:185-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_compat/src/compiler/custom_media.rs:109\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 \u0060media_condition\u0060 to \u0060\u0026mut MediaCondition\u0060 in one and \u0060\u0026mut MediaConditionWithoutOr\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":"crates/swc_css_compat/src/compiler/custom_media.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"814c871173096f0d5b583294001928ae987da138d2ebede04d673be6e8d48d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1035-1063 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1198-1226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:1035\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe60fb23f046d6b1d83c252fa33380876bfe13454fd8f49a1bf89ea9ea155d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/template_literal.rs:162-190 | crates/swc_ecma_compat_es2015/src/template_literal.rs:205-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/template_literal.rs:162\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":"crates/swc_ecma_compat_es2015/src/template_literal.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5aa1d7eb9c6c785d012b065ec17113cfd383d81cfa2e90f5e5a359f59c8fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:368-396 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:430-458 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:368\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d53da8e24e66f335fd69a2ef8e5a93760bedc361f0cd62ed6a5d89eb896490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1338-1366 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1659-1687 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1338\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"db885608721f0dbf896996c2828699fcb3d3aa340df83b4a1bfb5db4bead18a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:1672-1700 | crates/swc_html_parser/src/parser/mod.rs:2130-2157 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:1672\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2093bf4470c9d64930aa29c8c086ad2dfd5346beb217fdf0c1d295806e75397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): bindings/binding_html_node/src/util.rs:9-36 | bindings/binding_html_wasm/src/util.rs:9-36 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/util.rs\u0060 and \u0060bindings/binding_html_wasm/src/util.rs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/util.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"191f9fd286c816dd028567703890fa52e32ec837358704bedaa98e5b7a96db7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2900-2927 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:3000-3026 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2900\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc344048365f5242ad9751f4e24049fcc5f8893b49ba9278d651438ea7a57d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:203-230 | crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:483-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 \u0060crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:203\u0060 it begins part-way through the construct above it, so those exact 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 \u0060e\u0060 to \u0060\u0026mut Expr\u0060 in one and \u0060\u0026mut SimpleAssignTarget\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":"crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b937eb918aba5221667cfb6c1d5651a3340befbd10375c32a6c54080de3460bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:280-307 | crates/swc_ecma_parser/src/parser/module_item.rs:313-340 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/module_item.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"311c6b6a5446ee70fd5b97a2cf0a7ae6bf067cc2027eb24050717e4bd1e81d31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:5147-5174 | crates/swc_ecma_parser/src/parser/typescript.rs:5304-5331 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":5147}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fdccf8d636a16d1f60a55e600fe46a2386ee89d157eae7f0d89d7a7b36af5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1586-1613 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1618-1643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1586\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f7b023a44f332b90fd26e8a4a341c5c8ea3904e93805829d342369823a5c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3554-3581 | crates/swc_html_parser/src/lexer/mod.rs:4295-4322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:3554\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:3551\u0060 calls \u0060cur_pos\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:4293\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"5197f0246a41a193a87d431a70449eb17d1559f4a31b146e31fb93f24ee5fb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201328 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:698-713 | crates/swc_html_parser/src/parser/mod.rs:2317-2344 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:698\u0060 it begins part-way through the construct above it, so those exact 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, \u0060crates/swc_html_parser/src/parser/mod.rs:2316\u0060 calls \u0060reconstruct_active_formatting_elements\u0060 and \u0060crates/swc_html_parser/src/parser/mod.rs:697\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcb4c17530bffb13ae3f00e386a8607faa9f14102812f73497f87c663e9345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:478-504 | bindings/binding_typescript_wasm/src/error_reporter.rs:478-504 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:478-504 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fac14b9761a1378029530538578aa90d390366462d4e26b971501099eea5cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): crates/swc_css_codegen/src/writer/basic.rs:114-140 | crates/swc_html_codegen/src/writer/basic.rs:112-138 | crates/swc_xml_codegen/src/writer/basic.rs:112-138 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c83cab5a55377dab27a03893034d2287616c17a6611bafdea83febd9da46d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:1979-2005 | crates/swc_ecma_parser/src/parser/expr.rs:2718-2744 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:1979\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc68e5906748e141bb70fa98897cf6fad8dcee85a9ca2a96aa5b4a0e4b9cb9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/mod.rs:1080-1106 | crates/swc_ecma_minifier/src/compress/pure/mod.rs:1153-1177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/mod.rs:1080\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d076d2f7d2f9a2270b9dea16a938b4cfda961ae921c26a48edf0bf0d265a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201340 lines \u00D7 2): crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:1233-1272 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:1286-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5763ebb3f72e179d3e651a82c34448b23ec58b61d6d3d47a7d4a08bd3033b3ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:100-126 | crates/swc_ecma_transforms_proposal/src/export_default_from.rs:87-113 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs\u0060 and \u0060crates/swc_ecma_transforms_proposal/src/export_default_from.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:100\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":"crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85373e946725996e46928cfcde32393bb4b2351edf5f4ab9c4b4b872a21e9e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3229-3255 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3547-3573 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3229\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 \u0060p\u0060 to \u0060\u0026mut ClassProp\u0060 in one and \u0060\u0026mut PrivateProp\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4430a6f4c191fab1c5aa3c0a1d65af156055ba1ee9595ae96929096dc7aeda4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/swc_ecma_utils/src/function/fn_env_hoister.rs:92-117 | crates/swc_ecma_utils/src/function/fn_env_hoister.rs:155-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_utils/src/function/fn_env_hoister.rs:92\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":"crates/swc_ecma_utils/src/function/fn_env_hoister.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3235c0556898df7f5ed15eec7b7f2fa02cf948d7308ba91d1ee570cab863ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3728-3754 | crates/swc_xml_parser/src/lexer/mod.rs:2700-2724 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3728\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:3755\u0060 calls \u0060set_doctype_token_force_quirks\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:2725\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c07b0155d476713d51243273201652b1a65bb5e4c746ecca24e2e1552e345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:4114-4140 | crates/swc_xml_parser/src/lexer/mod.rs:2643-2669 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:4114\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:4141\u0060 calls \u0060set_doctype_token_force_quirks\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:2670\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9856999332894d1a5bb883ddfdc0011c02be795c1328cc083e6e040a70a3b784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:2626-2652 | crates/swc_html_parser/src/parser/mod.rs:2688-2714 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:2626\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37dae494c8dab8cd37e930ecc376b29f764066dd4dfe33a37109a4a378ef85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:445-470 | bindings/binding_typescript_wasm/src/error_reporter.rs:445-470 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:445-470 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f08a1760c3a1ffed0f69ae5e9c5b4e449187a7a116a1bb478901852e03f902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1267-1292 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1381-1406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1267\u0060 it begins part-way through the construct above it, so those exact 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 ignore_unused_args_of_call(\u0026mut\u0060 in one and \u0060crate) fn ignore_unused_args_of_new(\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":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b21e5d37ddb3d4bafbff3d953b0c9b205bea8348ad699d03ce3cc9562be8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201326 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:5010-5030 | crates/swc_html_parser/src/parser/mod.rs:5036-5061 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:5010\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":5010}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5f423f88ca5e1d2a546ab9edd4b0c34da9c1461c1bc20170658bdb3179fe84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201326 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:6593-6618 | crates/swc_html_parser/src/parser/mod.rs:6683-6703 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":6593}}}],"partialFingerprints":{"codehealthFindingId/v1":"8021a10647bb61612985cb25bf0f4b2c9f0faf9e591ee3298352e4722c89dd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): crates/swc_html_parser/src/parser/mod.rs:1679-1703 | crates/swc_html_parser/src/parser/mod.rs:2136-2160 | crates/swc_html_parser/src/parser/mod.rs:5093-5117 | crates/swc_html_parser/src/parser/mod.rs:6297-6321 | crates/swc_html_parser/src/parser/mod.rs:6467-6491 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:1679\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"1146a3efb5a5bdbb32b8e948c18623e5987479f191510557d0103ee7d165a8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): crates/swc_css_codegen/src/writer/basic.rs:244-268 | crates/swc_html_codegen/src/writer/basic.rs:238-262 | crates/swc_xml_codegen/src/writer/basic.rs:238-262 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0ee009236ab74cef17b9e8245895cb6e6472bf14fa1d712b8ab3bc812666db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/swc_ecma_codegen/src/lib.rs:1628-1652 | crates/swc_ecma_codegen/src/lib.rs:1663-1687 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_codegen/src/lib.rs:1628\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":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e2066ab5f4f888ade27b61d6b0a7fb97cf884aad6e71f2d93a21a9c612c069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/classes/mod.rs:134-158 | crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:342-366 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/classes/mod.rs:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/classes/mod.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed31084ab00f6f693536e04a4bd4f2b94c7c05cc0e01b8775ef45b99a7d0378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/classes/mod.rs:880-903 | crates/swc_ecma_compat_es2015/src/classes/mod.rs:908-932 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/classes/mod.rs:880\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_compat_es2015/src/classes/mod.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7ee6194af0c904dfef822fb1abbce0b6fc19bbd25dcce262ca06945d5fc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:854-878 | crates/swc_ecma_parser/src/lexer/mod.rs:1263-1287 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:854\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"40154855cf838a1d7cac28b703dc4815b0b57e3a79ef4b8c4bdae0e99c2ba05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:828-852 | crates/swc_ecma_lexer/src/common/parser/expr.rs:999-1022 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:828\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"12715277e330fd794bf95bc56d79522295017d80a1571ca9209347bed6a8dce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/util.rs:50-74 | crates/swc_ecma_parser/src/parser/jsx.rs:521-545 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/util.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"104f8bdd21b4a7a0442cfd2ebb665a703e3c8c7320400d3b2568e3ee958ca5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs:355-379 | crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs:423-447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs:355\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":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d97cc935e914e318beb027bf352ce66fda45f09b3e55f9bd9b3813549fd054f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): bindings/binding_core_node/src/util.rs:42-65 | bindings/binding_minifier_node/src/util.rs:35-58 \u2014 before extracting anything, compare \u0060bindings/binding_core_node/src/util.rs\u0060 and \u0060bindings/binding_minifier_node/src/util.rs\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_core_node/src/util.rs:42\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":"bindings/binding_core_node/src/util.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d171c98439bb827248e0ec563be4d34712fa23191fc2f0be43a3fb66e68edf93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/ast_node/src/enum_deserialize.rs:55-78 | crates/ast_node/src/enum_deserialize.rs:125-148 \u2014 both copies are in the same file, so extract the block 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":"crates/ast_node/src/enum_deserialize.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cf021727a85982acc4a8f1c578c69c1e8682c112434b9df0f8f6bb2377adb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1772-1795 | crates/swc_ecma_parser/src/lexer/mod.rs:1997-2020 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1772\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"401ccc820029419909619a97a2dac971abb2bd6b236d782fa797fc85ad2cea34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2226-2249 | crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs:297-318 \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 \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2226\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcba676acfe62247806590b4f57ed77a3134c674f73739f3ff51e7625c96c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/swc_html_codegen/src/writer/basic.rs:198-221 | crates/swc_xml_codegen/src/writer/basic.rs:198-221 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_xml_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/writer/basic.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a776039ad4db4c3bc1230f29972e148bc83392f765bc5edcf26170bc30878b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:1942-1965 | crates/swc_html_parser/src/lexer/mod.rs:1990-2013 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:1942\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":1942}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a773bbc61684f0c0ae573cac62873ca8682c027355da8a7aa4b5c15ea22ee79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:2990-3013 | crates/swc_xml_parser/src/lexer/mod.rs:1309-1332 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:2990\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2990}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53fd6c9875f8b2117aad1d10f75e6cc38ad2a0b82f43863da960c1e3d714801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:2943-2966 | crates/swc_html_parser/src/parser/mod.rs:3063-3086 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:2943\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fe24a2cac5fa21413aa1819bfeda9fd299ba9b024c759de88324e2050e1da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): crates/swc_css_parser/src/parser/values_and_units/mod.rs:577-599 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:693-715 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:901-923 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1368-1390 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1453-1475 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:577\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"5898c0862ee498cb43e83af00ba6477fe6e64c3d5d200347e8618c574781988a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/swc_html_parser/src/parser/mod.rs:2570-2592 | crates/swc_html_parser/src/parser/mod.rs:2630-2652 | crates/swc_html_parser/src/parser/mod.rs:2692-2714 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:2570\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2bf3ff4a42ac5b761d4326b0c6e1887dc6299346cb693ab43ba0f406b41260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/swc_bundler/src/bundler/chunk/merge.rs:803-824 | crates/swc_bundler/src/bundler/chunk/merge.rs:981-1003 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_bundler/src/bundler/chunk/merge.rs:803\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb3c0b208e92433d7ed4baf374c1d89190a46bee1110fd227c76f0e3b1d695"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/block_scoping/vars.rs:320-342 | crates/swc_ecma_compat_es2015/src/block_scoping/vars.rs:345-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. 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 \u0060n\u0060 to \u0060\u0026mut ForInStmt\u0060 in one and \u0060\u0026mut ForOfStmt\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":"crates/swc_ecma_compat_es2015/src/block_scoping/vars.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf9a492d03b5a2195fe824793ec6f52e0ac7393f65ac3d25ccaca0156420276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2037-2059 | crates/swc_ecma_parser/src/lexer/mod.rs:2250-2272 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:2037\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2037}}}],"partialFingerprints":{"codehealthFindingId/v1":"4191ecc5ccae68d83ee76a51b13190983b08b20749a86ee497436cb998dc6b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:202-224 | crates/swc_ecma_parser/src/parser/pat.rs:347-369 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:202\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbb99a73db053c82ddc58c7d38c6ca2a741d41daedd994cc607b38d3e783c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/iife.rs:460-482 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1230-1252 \u2014 before extracting anything, compare \u0060crates/swc_ecma_minifier/src/compress/optimize/iife.rs\u0060 and \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060crates/swc_ecma_minifier/src/compress/optimize/iife.rs:460\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 \u0060super) fn ignore_unused_args_of_iife(\u0026mut\u0060 in one and \u0060crate) fn ignore_unused_args_of_call(\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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"157c675fa4b08b075024ce50d3c88ebb79ab820f8fb7a6d05af18f2941428ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2567-2589 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2732-2754 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2567\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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd449776d0017d908b6c95e8e265780728dbfaf2021943f979d09d3982f83d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:386-408 | crates/swc_ecma_transforms_module/src/common_js.rs:270-292 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/common_js.rs\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060crates/swc_ecma_transforms_module/src/amd.rs:386\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b05f9002c50cb476a3523081f68969ee163637d6f1a1925bf889ad0cd751fcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:532-554 | crates/swc_ecma_transforms_module/src/umd.rs:278-300 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/umd.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 183 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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ee4d19a99235dc3f4ac804686ef5972499147fb0887b7596f0c31f2fa0719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1387-1409 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1487-1509 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1387\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 \u0060m\u0060 to \u0060\u0026mut Module\u0060 in one and \u0060\u0026mut Script\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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"028c97dadf1230734e7055971372648befe28e18c2d74d8363253ef009c8e7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_native_addon/src/platform/windows.rs:360-382 | crates/swc_native_addon/src/platform/windows.rs:448-470 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_native_addon/src/platform/windows.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"898994b76ef3a48b20e9d10e8fefb142c054e788e0442b89d1be2685cf6218d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): crates/swc_css_parser/src/parser/values_and_units/mod.rs:584-605 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:700-721 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:908-929 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1375-1396 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1460-1481 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1504-1525 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:584\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b74d3e3992006d53b19a0d2bdcfd1c8e55cc0ee9307d2bd6d3f1df166c5a4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): crates/swc_css_parser/src/lexer/mod.rs:753-773 | crates/swc_css_parser/src/lexer/mod.rs:877-897 | crates/swc_css_parser/src/lexer/mod.rs:1053-1074 | crates/swc_css_parser/src/lexer/mod.rs:1470-1490 \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 \u0060crates/swc_css_parser/src/lexer/mod.rs:753\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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d32534749bcdb553aa95190fbedb7023938f67fd1880c2b2f98495d8b351a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): crates/swc_css_codegen/src/lib.rs:2634-2655 | crates/swc_css_codegen/src/lib.rs:2678-2699 | crates/swc_css_codegen/src/lib.rs:2734-2755 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_css_codegen/src/lib.rs:2630\u0060 calls \u0060push\u0060 and \u0060crates/swc_css_codegen/src/lib.rs:2677\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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":2634}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f57e1f52077b64219e6508d82886749b27ca96339721ca87ca8975f734f358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:2237-2258 | crates/swc_css_prefixer/src/prefixer.rs:2307-2328 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_css_prefixer/src/prefixer.rs:2330\u0060 calls \u0060get_old_values\u0060, \u0060or_else\u0060 and \u0060crates/swc_css_prefixer/src/prefixer.rs:2260\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14c9398d69607b31fdc59cb1114d49a28696d9d74aff097ba4447730143292f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1574-1595 | crates/swc_ecma_parser/src/lexer/mod.rs:1811-1832 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83df961bbd109c6457365951332277005e1c37431f60e062be0e7ead0219262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2064-2085 | crates/swc_ecma_parser/src/lexer/mod.rs:2274-2295 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:2064\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2064}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07574e6f6fa0299659a10ceddaa12695612dfbd0ad6b12cb736035f27fdf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:623-644 | crates/swc_ecma_parser/src/parser/module_item.rs:750-771 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/module_item.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:623\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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90d456bb121b5634af03d005607992752b80eaa1d02b1d33c3cac341cbc06ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/object.rs:318-339 | crates/swc_ecma_parser/src/parser/object.rs:407-428 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/object.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/object.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/object.rs:318\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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c8fb1e03c20523eeaed07d83c5bc8d19d2a7675b8a2b77b561b052f42de4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:854-875 | crates/swc_ecma_parser/src/parser/stmt.rs:973-994 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs:854\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7945cdda4a298de15595902f3bfd76c1f2c0f539493a8dca021e7e78d1d18ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:632-653 | crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:687-708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:632\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fe3f6195c5bf3e42bf6b298c573c36c75eed3aaa50776e76387c7338779f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:5081-5102 | crates/swc_ecma_parser/src/parser/typescript.rs:5263-5284 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":5081}}}],"partialFingerprints":{"codehealthFindingId/v1":"3672262566c8b0c20a42087f3eedfecb08550201c88f1727772ca78785539c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:140-161 | crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:209-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:140\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, \u0060crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:165\u0060 calls \u0060Ident\u0060 and \u0060crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:233\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":"crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7858e8133a5409c34d7b88368204c554c939b6b3b799851b5ebe30e281eccfb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:781-802 | crates/swc_xml_codegen/src/lib.rs:205-226 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_codegen/src/lib.rs:781\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":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab93dd4b4f5b57b8939f9d3eb6999c1d8b6ad6d55e453f8c12ea93a6957d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201322 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3002-3023 | crates/swc_xml_parser/src/lexer/mod.rs:386-400 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3002\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71810d2fb76206f3b741a569fca5f154113d7efba3605f12aeee1cc7b2b2296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3948-3969 | crates/swc_html_parser/src/lexer/mod.rs:4009-4029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:3948\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3948}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3ec5913fb6556c8aa449cab967315cd2d250763607b97775d6ffd0fc30e9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:1955-1974 | crates/swc_html_parser/src/parser/mod.rs:2089-2110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:1955\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b9b52d61e6886e3344df2c49fce13bdd31e0e49f6a70f433db044d6cd26bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:2323-2346 | crates/swc_html_parser/src/parser/mod.rs:4563-4584 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:2323\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a627c79ccae5f96c8df86a40a1a374cf590ef62fc8715e22235ef3415ba83a03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): crates/swc_common/src/comments.rs:97-116 | crates/swc_common/src/comments.rs:550-570 | crates/swc_node_comments/src/lib.rs:138-158 \u2014 before extracting anything, compare \u0060crates/swc_common/src/comments.rs\u0060 and \u0060crates/swc_node_comments/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_common/src/comments.rs:550\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/comments.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cf5a30ba98a8af52ddae8eb0869856a970a5f9c0dfb185b8a13e9d76d3997d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/swc_html_parser/src/lexer/mod.rs:2993-3013 | crates/swc_xml_parser/src/lexer/mod.rs:1312-1332 | crates/swc_xml_parser/src/lexer/mod.rs:1358-1378 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:2993\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2993}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d107bf78ed0a2a8bf47e57246d7f27089878575720aeacfa0b13c7a0fdddb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): crates/swc_xml_parser/src/lexer/mod.rs:2418-2437 | crates/swc_xml_parser/src/lexer/mod.rs:2882-2902 | crates/swc_xml_parser/src/lexer/mod.rs:3007-3026 \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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:2418\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, \u0060crates/swc_xml_parser/src/lexer/mod.rs:2415\u0060 calls \u0060cur_pos\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:3005\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48e5ba5b8ccc3d3153c7e883d1f8c5225c81d1d17256d252b057c2250c4582c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): bindings/binding_core_node/src/parse.rs:197-217 | bindings/binding_core_node/src/parse.rs:239-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_core_node/src/parse.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1801586d4267e5c1d4985d7a787986de695e12f04c03289f13e179466fe91e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1350-1370 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:1379-1392 \u2014 both copies are in the same file, so extract the block 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 \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. 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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a25d0add4cb371a256bd3db7f50e988bf2b6929db9554a38cda476caf7a884f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1472-1492 | crates/swc_ecma_parser/src/lexer/mod.rs:1713-1733 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1472\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c24bbef4abea8c29a3344d42ca7abf7418e787256557f363dd4de1b815e3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:1940-1960 | crates/swc_ecma_parser/src/parser/expr.rs:2638-2658 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:1940\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b376f733afee7070258bff6f67aef0b353059cb0082febd71257e97918c53b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:1992-2011 | crates/swc_ecma_lexer/src/common/parser/pat.rs:571-591 \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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:1992\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048907cc146b8e0a822b898d49bcefe9aed18ed1c01747f941c05c7a208d52d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:539-558 | crates/swc_ecma_parser/src/parser/pat.rs:676-696 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:539\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"4529dc783899d93275555d4bad01058c9d5a8e004dc4301d4af272f4bdb175b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1572-1592 | crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1607-1627 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transformer/src/es2017/async_to_generator.rs"},"region":{"startLine":1572}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c2ea6f076c9d5705046c963707b1f4a05b0980a0b94c3edf6c2dcfd4288858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:830-850 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:1016-1036 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:830\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":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d738069d8dd8ee0771bb7b9b43dac2274d8bbb8c873e8ef521ada8a6742a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:1156-1176 | crates/swc_xml_parser/src/lexer/mod.rs:1035-1055 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"924f417d4168caedb0fb48853a7b3206eb76e5c9182fd9d8ed6f993e1ce31ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:1902-1922 | crates/swc_html_parser/src/lexer/mod.rs:2215-2235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:1902\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"2391de4ab23b400ec1b0033a30050cea27075ccc213d20bada2df530ea7e106a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:2170-2189 | crates/swc_html_parser/src/lexer/mod.rs:2385-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 \u0060crates/swc_html_parser/src/lexer/mod.rs:2170\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8644237df7630e294cf7281d02bedd244a2fe777cbf222f2dbad8b39bb49a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3305-3325 | crates/swc_xml_parser/src/lexer/mod.rs:1603-1623 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3305\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"55305fb444c036b5e5d791fbd39dead1d3634ab73029e76ea0b5aaecc122eabe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/swc_sourcemap/src/encoder.rs:83-103 | crates/swc_sourcemap/src/lazy/mod.rs:627-647 \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 \u0060crates/swc_sourcemap/src/encoder.rs:83\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":"crates/swc_sourcemap/src/encoder.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"db65c3c6b647958dd6c402fb28ec12b422a20d4026243982db6d226f69aebda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): crates/swc_html_parser/src/lexer/mod.rs:3692-3711 | crates/swc_html_parser/src/lexer/mod.rs:3756-3775 | crates/swc_html_parser/src/lexer/mod.rs:4078-4097 | crates/swc_html_parser/src/lexer/mod.rs:4142-4161 | crates/swc_html_parser/src/lexer/mod.rs:4308-4327 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3692\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3692}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d91eb3cda3f398df1d1998ee5e13cfb6b7122df8f2c26070cfd6a0ede5621a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/lib.rs:167-186 | bindings/binding_typescript_wasm/src/lib.rs:89-108 | crates/swc_ts_fast_strip_binding/src/lib.rs:45-64 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/lib.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6133e9b4fb5f4627316e2495278d1f45bf4ea0e6762fbc27fa958c771f1990be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/lib.rs:252-271 | bindings/binding_typescript_wasm/src/lib.rs:174-193 | crates/swc_ts_fast_strip_binding/src/lib.rs:130-149 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/lib.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7e444a821646e01f160444b7a6ba20d9ae6dc811c9a1809dae22396615e6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/swc_html_parser/src/parser/mod.rs:1958-1978 | crates/swc_html_parser/src/parser/mod.rs:2092-2114 | crates/swc_html_parser/src/parser/mod.rs:2263-2282 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:1958\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"d304c13cce6b897da1c7eea00537988e27f2aeddbf099c604145a53ac0d658bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/search.rs:16-35 | crates/swc_ecma_parser/src/lexer/search.rs:16-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/search.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43582ed0489c7a23fbb23534aa938c3b402efd50bda8b1eb84f66c56236252b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1313-1332 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1631-1650 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1313\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a905530e7d7979ca503a535e67658f3e9b0d34429cd068bb1c1a329b5a0da93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:989-1008 | crates/swc_ecma_parser/src/parser/typescript.rs:2206-2225 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/typescript.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cfc615ccb2de1b0d87abeb1b8a540465862fcc77ff4e3d999ef075022371a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:1450-1468 | crates/swc_ecma_parser/src/parser/expr.rs:1534-1553 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:1450\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 \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ba00318762b1cf077150f3470c0acc40f107fb14dbeafb08f9ff32029073a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/swc_ecma_parser/src/parser/object.rs:89-106 | crates/swc_ecma_parser/src/parser/object.rs:328-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/object.rs:89\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":"crates/swc_ecma_parser/src/parser/object.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"924c1d3e00f3557c799269db8df2b0aed0f47f7fb727b32778ae33badeead625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/swc_ecma_preset_env/src/lib.rs:516-534 | crates/swc_ecma_preset_env/src/lib.rs:536-555 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_preset_env/src/lib.rs:536\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_preset_env/src/lib.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdc354f51ede277ea55acbf14c05a399afa4ce6f2c3d057a5c77155f9241abf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1272-1291 | crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1293-1312 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transformer/src/es2017/async_to_generator.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"379676851fb9c826a51221ade2c355ce78df66c2d9463e0977944a5a4f25f5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:1466-1485 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2231-2250 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e700ae326300bf9d5f0d673ca197237ae3ff3463e48037add9521a77352324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201319 lines \u00D7 6): crates/swc_html_parser/src/parser/mod.rs:1612-1621 | crates/swc_html_parser/src/parser/mod.rs:1700-1717 | crates/swc_html_parser/src/parser/mod.rs:2157-2175 | crates/swc_html_parser/src/parser/mod.rs:5114-5131 | crates/swc_html_parser/src/parser/mod.rs:5695-5712 | crates/swc_html_parser/src/parser/mod.rs:6318-6332 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:1700\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f5dc492e2f64cfe4e2a94998d591aed0373ec5a6dfc7edbba2504722314c0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201319 lines \u00D7 5): crates/swc_html_parser/src/parser/mod.rs:2260-2278 | crates/swc_html_parser/src/parser/mod.rs:6446-6457 | crates/swc_html_parser/src/parser/mod.rs:6534-6545 | crates/swc_html_parser/src/parser/mod.rs:6604-6615 | crates/swc_html_parser/src/parser/mod.rs:6690-6701 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:2260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee337fe6edc509a8820d7787d25dab338ffa94896e7c8047325d9b2fb06da74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:1237-1255 | crates/swc_html_parser/src/lexer/mod.rs:1266-1284 | crates/swc_html_parser/src/lexer/mod.rs:1295-1313 | crates/swc_html_parser/src/lexer/mod.rs:1321-1339 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:1237\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_html_parser/src/lexer/mod.rs:1262\u0060 calls \u0060Some\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:1321\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59521242ad041e5606eea704206f018b0f66d99676cbd86eac02b92d422b471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:3956-3974 | crates/swc_html_parser/src/lexer/mod.rs:4016-4034 | crates/swc_html_parser/src/lexer/mod.rs:4085-4103 | crates/swc_html_parser/src/lexer/mod.rs:4149-4167 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3956\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33b6f8bc41306d9522a684ab8609eb4358b1d4698463a03606abdff814ab845"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/swc_plugin_runner/src/imported_fn/comments.rs:160-178 | crates/swc_plugin_runner/src/imported_fn/comments.rs:195-213 | crates/swc_plugin_runner/src/imported_fn/comments.rs:274-292 | crates/swc_plugin_runner/src/imported_fn/comments.rs:304-322 \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 \u0060crates/swc_plugin_runner/src/imported_fn/comments.rs:160\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":"crates/swc_plugin_runner/src/imported_fn/comments.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e76bd0ab4a70873eb6882cc2302e2ee930ad9b246578892c8fb12e51dade58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): crates/swc_bundler/src/modules/sort/stmt.rs:262-275 | crates/swc_bundler/src/modules/sort/stmt.rs:280-298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_bundler/src/modules/sort/stmt.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. 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":"crates/swc_bundler/src/modules/sort/stmt.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b8a77d7a1977bd098fc25069ff92f4930e46f89f99d8d44cd11795770cfc72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2762-2780 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2803-2821 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2762\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d01d780153740a24c64bc016be6766a956523a3c3647932bfab82bdb14113ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/object.rs:359-377 | crates/swc_ecma_parser/src/parser/object.rs:450-468 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/object.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/object.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/object.rs:359\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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"42016af7283021281dc1926135afde5f680221af22356b193958f2ff12b673ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/util.rs:365-383 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:404-422 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fae00ffe9adfac529babe9f976773abf92ee9e892385578c89fdfaa6dd7b5ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:309-325 | crates/swc_ecma_parser/src/parser/typescript.rs:371-389 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ce76e078f1aa5e0aacd0f2db9da818c20a7929e2497d50286d524952e92dbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_preset_env/src/corejs2/mod.rs:92-110 | crates/swc_ecma_preset_env/src/corejs3/usage.rs:144-162 \u2014 before extracting anything, compare \u0060crates/swc_ecma_preset_env/src/corejs2/mod.rs\u0060 and \u0060crates/swc_ecma_preset_env/src/corejs3/usage.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/corejs2/mod.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4f2ea74d1195a9e6ac8aa67f7f88f3dd7a58ac8bdcb58ac821a0e25470d021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:340-358 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:406-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. 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cb0d2c7bf262843e837e5cc0391e55c0c355cd19cfd67c5af22d362ef833e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_transformer/src/common/statement_injector.rs:129-147 | crates/swc_ecma_transformer/src/common/statement_injector.rs:174-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/common/statement_injector.rs:129\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transformer/src/common/statement_injector.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e7530b90e2306e234ce8d91701fc61fe8e5f590be97fb678cddbfcfd1ec0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_transformer/src/es2022/private_property_in_object.rs:549-567 | crates/swc_ecma_transformer/src/es2022/private_property_in_object.rs:574-592 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transformer/src/es2022/private_property_in_object.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13a0ffcd7912d39c71b2048fff9e75f4cece2b52571cd6b70263f672eaabcea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:331-349 | crates/swc_ecma_transforms_module/src/amd.rs:357-375 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/swc_ecma_transforms_module/src/amd.rs:377\u0060 calls \u0060take\u0060, \u0060as_call\u0060, \u0060span\u0060 and \u0060crates/swc_ecma_transforms_module/src/amd.rs:350\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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f42a422023708f3d85c8a752d68c304781b10656af0d7e87df0ed365f3157a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2566-2584 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2589-2607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2566\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":2566}}}],"partialFingerprints":{"codehealthFindingId/v1":"54602b2dbdb5e86fa34b15f8ddd746fee5d3c44ffe3e60477674f10a8870e867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): crates/swc_html_minifier/src/lib.rs:1462-1480 | crates/swc_html_minifier/src/lib.rs:1500-1515 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_minifier/src/lib.rs:1462\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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"662144d96e32a6542b38528ebe3441a673dabd1441d67bf3e5b22305b3146c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): crates/swc_html_parser/src/lexer/mod.rs:435-452 | crates/swc_html_parser/src/lexer/mod.rs:493-510 | crates/swc_html_parser/src/lexer/mod.rs:533-550 | crates/swc_html_parser/src/lexer/mod.rs:903-920 | crates/swc_html_parser/src/lexer/mod.rs:1040-1057 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:435\u0060 it begins part-way through the construct above it, so those exact 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 \u0060c\u0060 to \u0060u8\u0060 in one and \u0060Option\u003Cchar\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_html_parser/src/lexer/mod.rs:492\u0060 calls \u0060push\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:434\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4749edaa0d9820abb208deed6ada1be7eb2647e5d3fc7cd3d6e628598a7b4885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/swc_css_codegen/src/writer/basic.rs:143-160 | crates/swc_html_codegen/src/writer/basic.rs:141-158 | crates/swc_xml_codegen/src/writer/basic.rs:141-158 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cd4ecce1b441323f21fc50a7e0996c64c1495244e643d5f87a5850a2979567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/swc_estree_compat/src/swcify/stmt.rs:440-457 | crates/swc_estree_compat/src/swcify/stmt.rs:532-549 | crates/swc_estree_compat/src/swcify/stmt.rs:629-646 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/stmt.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad2c17c35ed95e68000e94eeb0f93d3c2c2abf8b5c468bbf63b33e893feaf04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/swc_css_modules/src/lib.rs:165-182 | crates/swc_css_modules/src/lib.rs:184-199 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_css_modules/src/lib.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e28ddccd65594145d1d1027fa2671ef01822e7b698731cb942b7e3c1094fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1231-1248 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1518-1535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:1231\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ffd475eb49dfce5ce9fc8a6cf508d85297946397d7f9461a99440da760a5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2005-2022 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2309-2324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2005\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ba6f4a1eca70cec6f6b4ed5ec93dd05ca294816ee9d6e9fff45e4aeaba92c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1646-1663 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:2184-2201 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ccb22246a7dd2db814ef1fefd121d63bc99d90106901b0ec8a182b44804ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201318 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:2052-2062 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:2121-2138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:2121\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b085be1c01ae2734dd6873eacade93a9e47c80168b76cc4992d478562158a45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:135-152 | crates/swc_ecma_parser/src/parser/stmt.rs:153-170 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4534da073de2050959c0e69865866baf90bd0c915e44537ca7afab578dbc3726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:904-921 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:964-979 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:904\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb479d87bd0d5f92a5f15a1ffec8ea78f004358659e701e650f28b98ba45e78a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/swc_ecma_parser/src/lexer/mod.rs:793-808 | crates/swc_ecma_parser/src/lexer/mod.rs:824-841 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/lexer/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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"767829dd772ed582f7796d116fa04bc71863ebcd2ce032aa37e7850202c362ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:1439-1456 | crates/swc_ecma_parser/src/parser/expr.rs:1652-1669 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:1439\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6bf409d00ac40bb06f5c66b01f4435828c344bfb900d59338822ed37658d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:341-358 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:363-380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:341\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":"crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"1868e50d3c00ec7f9e17958802f29853ef0e871e253709235d9aab5f872b2e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs:393-410 | crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs:413-429 \u2014 both copies are in the same file, so extract the block 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\u0026mut ForInStmt\u0060 in one and \u0060\u0026mut ForOfStmt\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":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"92535fc2c5afdc244a457e382c39644c11530dd88dec5df547064becef217c15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:1501-1518 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:1530-1547 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:1501\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee707f1689f53aa696aeb182c5bec84b59a04e70b2ffd684e9ae9b1b4a5404b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_ecma_transforms_testing/src/lib.rs:930-947 | crates/swc_ecma_transforms_testing/src/lib.rs:967-984 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_testing/src/lib.rs:930\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_testing/src/lib.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"078916ad55f1d56eac94678f5f7a36618aa96ac72ae82b21c993e3a183831916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_error_reporters/src/diagnostic.rs:70-87 | crates/swc_error_reporters/src/diagnostic.rs:272-289 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_error_reporters/src/diagnostic.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99ba9e20b5fa99fc19743d49a8321c67813153221357644eb2b2fa6869ddc99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_html_parser/src/error.rs:71-88 | crates/swc_xml_parser/src/error.rs:63-80 \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":"crates/swc_html_parser/src/error.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d729572df2833e5e97a249b78efd6d43ef1f413c909ca6c65f27c607558b06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:396-424 | crates/swc_xml_parser/src/parser/mod.rs:113-139 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/parser/mod.rs:396\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba539cfa19f28cc0b585d968e057213e5127caf5584a74f032508489fe04e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:3797-3814 | crates/swc_html_parser/src/parser/mod.rs:4767-4784 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:3797\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":3797}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb310a7de32de028d0aa440d8af7dcbbaab1074cd0f7750873144c8e19ca686"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2002-2018 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2050-2066 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2103-2119 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2153-2169 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2203-2219 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2256-2272 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2306-2322 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2002\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, \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2121\u0060 calls \u0060is_time_unit\u0060, \u0060Err\u0060, \u0060Expected\u0060 and \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2022\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"606499214972ae5ee660e8afaaeb260677d3d36f471ed868bc18a5892d184519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 7): crates/swc_xml_parser/src/lexer/mod.rs:2670-2685 | crates/swc_xml_parser/src/lexer/mod.rs:2725-2741 | crates/swc_xml_parser/src/lexer/mod.rs:2761-2777 | crates/swc_xml_parser/src/lexer/mod.rs:2797-2813 | crates/swc_xml_parser/src/lexer/mod.rs:2859-2874 | crates/swc_xml_parser/src/lexer/mod.rs:2947-2963 | crates/swc_xml_parser/src/lexer/mod.rs:2983-2999 \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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:2670\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_xml_parser/src/lexer/mod.rs:2669\u0060 calls \u0060emit_error\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:2858\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a154179d6d92e89923349b37a800835a402ca8fd95aaa9fde0683bcb65f97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): bindings/binding_html_node/src/lib.rs:412-428 | bindings/binding_html_wasm/src/lib.rs:456-472 | crates/swc_html_minifier/src/lib.rs:2754-2768 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_html_node/src/lib.rs:412\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"8673fd7e98bcfc5a3cbc01afb7a028940030dcd3b07390af841441a5c5506f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/swc_bundler/src/bundler/chunk/merge.rs:811-827 | crates/swc_bundler/src/bundler/chunk/merge.rs:865-881 | crates/swc_bundler/src/bundler/chunk/merge.rs:990-1006 \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 \u0060crates/swc_bundler/src/bundler/chunk/merge.rs:811\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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7653adf0cdec429d880db3d93f3ecfe6b6af4802611f35ec82822c089a85fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/swc_css_parser/src/parser/values_and_units/mod.rs:386-402 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:823-839 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1297-1313 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:386\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"62effa0f464e96e27b788bcb05395799f34025cf87ab5a7dd68c249c81d0dd9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): crates/swc_ecma_lexer/src/common/lexer/mod.rs:315-329 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:346-362 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:459-475 \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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:315\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff7ac5b047ba652cf945858f9768a24fee14c5dfea86155c26cddb85d0e746e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2698-2714 | crates/swc_ecma_parser/src/parser/typescript.rs:5107-5123 | crates/swc_ecma_parser/src/parser/typescript.rs:5289-5305 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76332eb2f3b1e70b80ae89893f5ebb37d49f122a4329b99cd620ac5bd374788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/swc_native_addon/src/platform/windows.rs:361-377 | crates/swc_native_addon/src/platform/windows.rs:449-465 | crates/swc_native_addon/src/platform/windows.rs:564-580 \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":"crates/swc_native_addon/src/platform/windows.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e548677a7133f89044d1020a932061cac06267498456ebcfab1121101cbc60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/ast_node/src/encoding/decode.rs:140-163 | crates/ast_node/src/encoding/encode.rs:109-131 \u2014 before extracting anything, compare \u0060crates/ast_node/src/encoding/decode.rs\u0060 and \u0060crates/ast_node/src/encoding/encode.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/ast_node/src/encoding/decode.rs:140\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":"crates/ast_node/src/encoding/decode.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd0168040b5db445d295acfa92fa7a2c62c2842bc1ade41d1d439c7c33ef00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:461-477 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1492-1508 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:461\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"160721d085654901d3efbbdafd379d3567f48d375e3addde46bbf3e64f6c3eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_compat_bugfixes/src/async_arrows_in_class.rs:67-83 | crates/swc_ecma_compat_bugfixes/src/async_arrows_in_class.rs:86-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. 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 \u0060stmts\u0060 to \u0060Vec\u003CModuleItem\u003E\u0060 in one and \u0060Vec\u003CStmt\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_bugfixes/src/async_arrows_in_class.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d01727c1ba04139d43b66cb22bc6873d82cd4bc102d79fd346a41393aa76787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1394-1410 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1527-1543 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4509a78d6a452f9b8de985c80f0416e34887dcb2df7947dbe39a53b69de3e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/arguments.rs:30-46 | crates/swc_ecma_minifier/src/compress/optimize/arguments.rs:58-73 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/arguments.rs:30\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":"crates/swc_ecma_minifier/src/compress/optimize/arguments.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"224f85ac559d83790c401d51c57b8095993951bb2dc667d2ff4be6ad418b3539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2353-2369 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2376-2392 \u2014 both copies are in the same file, so extract the block 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 \u0060n\u0060 to \u0060\u0026mut ForInStmt\u0060 in one and \u0060\u0026mut ForOfStmt\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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"997f23b6e0117c154e9a0a5c440bcb38038e59ef6f9741b93cb9c0ad62bef229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:1322-1338 | crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:1404-1420 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:1322\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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"515f06f69240728b14ae01cc90129971013c90c9292084fce1e076f6e089bb29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:29-45 | crates/swc_ecma_transforms_proposal/src/export_default_from.rs:29-45 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs\u0060 and \u0060crates/swc_ecma_transforms_proposal/src/export_default_from.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:29\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7420f098d05d0c46f0023a68f9677d15cff60c328fa549c45000afae09ef03c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3478-3494 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3808-3824 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3478\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3478}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f4311aac13c235851d7da1062d60a1d5aeea4ffb701445626ba3fe0c5216cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_ecma_transforms_react/src/jsx/mod.rs:709-725 | crates/swc_ecma_transforms_react/src/jsx/mod.rs:1008-1024 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_react/src/jsx/mod.rs:709\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":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fc1c888e872a534893c7f8667229171cfd90230cdf9546f873f1664e33da63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:950-966 | crates/swc_html_codegen/src/lib.rs:1018-1034 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_codegen/src/lib.rs:950\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":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feba1d7a7e632f4c37ff1a9f927cdf3db533c225dc9886c7dc47b647e37da6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:6217-6233 | crates/swc_html_parser/src/parser/mod.rs:6488-6501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:6217\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":6217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8610334b76d1a6d03b41be286655aede881988e0c7d370024a29481ac1ee46fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/swc_sourcemap/src/decoder.rs:225-241 | crates/swc_sourcemap/src/lazy/mod.rs:422-438 \u2014 before extracting anything, compare \u0060crates/swc_sourcemap/src/decoder.rs\u0060 and \u0060crates/swc_sourcemap/src/lazy/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_sourcemap/src/decoder.rs:225\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, \u0060crates/swc_sourcemap/src/decoder.rs:223\u0060 calls \u0060Err\u0060, \u0060BadNameReference\u0060 and \u0060crates/swc_sourcemap/src/lazy/mod.rs:421\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":"crates/swc_sourcemap/src/decoder.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5ac8981af701c08f15c073efe36af64cd3f038cf967562756445f730742f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/swc_css_parser/src/parser/values_and_units/mod.rs:962-977 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1011-1026 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1079-1094 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1128-1143 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:962\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"49361e1b281e6162a673e9d37d4738b59b8bdc569d35ff0482d68bbeb3ef1728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:3116-3131 | crates/swc_html_parser/src/lexer/mod.rs:3266-3281 | crates/swc_xml_parser/src/lexer/mod.rs:1429-1444 | crates/swc_xml_parser/src/lexer/mod.rs:1563-1578 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3116\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb12958e4d915f930516f0c6e071f2daf99685a9f56199472fbfb36d220b370b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): bindings/binding_core_node/src/parse.rs:111-126 | bindings/binding_core_node/src/parse.rs:205-220 | bindings/binding_core_node/src/parse.rs:247-262 \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 \u0060bindings/binding_core_node/src/parse.rs:111\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_core_node/src/parse.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"512110d9ba8083c08120d9dbb90d7c9fd9eadfb74a0446624a2ba6cbee4edc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): crates/swc_ecma_lexer/src/common/lexer/mod.rs:290-305 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:396-410 | crates/swc_ecma_parser/src/lexer/mod.rs:769-784 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f619961b08bb141a3c77cd1ef27fe4c986fa77ecb85d402d8060797d10fdb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/swc_html_parser/src/lexer/mod.rs:463-478 | crates/swc_html_parser/src/lexer/mod.rs:685-700 | crates/swc_html_parser/src/lexer/mod.rs:774-789 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:463\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 \u0060c\u0060 to \u0060u8\u0060 in one and \u0060char\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"5025c85f84572b429c7de8d182d16e925981e89f5fb44128841b94e26d189355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/ast_node/src/spanned.rs:102-117 | crates/string_enum/src/lib.rs:251-266 \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 \u0060crates/ast_node/src/spanned.rs:102\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":"crates/ast_node/src/spanned.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6fe3acb1c17bef56f566f2e9d67db0fdcc0fac388d83cbfd13604edf973bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_css_modules/src/lib.rs:201-216 | crates/swc_css_modules/src/lib.rs:218-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_modules/src/lib.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"42037fb0ef7612f691f0e7ed3f9cb5ce28864ab4fdfbbcaea4c7cbe003fd03f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:876-891 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:986-1001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:876\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0576b9bbb16e1889f76bae1adbeecbf919536584fa3fdab8d8e7aff5fa2a704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:818-833 | crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:842-857 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_compat_es2022/src/class_properties/mod.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"1182def7f1f1278bf4431e2e663128745bfe12d2e0b25548ef65ea6110432227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:234-249 | crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:514-529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:234\u0060 it begins part-way through the construct above it, so those exact 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 \u0060e\u0060 to \u0060\u0026mut Expr\u0060 in one and \u0060\u0026mut SimpleAssignTarget\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":"crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d87371588ae3ae757b212ee7272c4a2bdd71901ae4678083d884e602460656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1411-1426 | crates/swc_ecma_parser/src/lexer/mod.rs:572-586 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0efe3ee01d5b4ab5b478f964583e645c5b3f50301f54bef0f634c450071a27b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:626-641 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:687-702 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:626\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed487ad7ab2da4b8bc500ff635542cd27207d4f85d7cddc6fbb0e33d86e207e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1151-1166 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1452-1467 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1151\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"81224ec2580483e1b23337a26632d96d0c3a10ab79383a92366b2df01ab39ef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1633-1648 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2007-2022 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1633\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1633}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e30f55b08cffbda82775403369e5e3f0f30a8586d992126d05927e02d7b7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:122-137 | crates/swc_ecma_parser/src/parser/expr.rs:699-714 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"729b8e197c3fb5185ddc7b680249ac5dd42280144aa35f888226a1bf5a5a4fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:570-585 | crates/swc_ecma_parser/src/parser/pat.rs:709-724 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:570\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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fe838fa4d413d5488046491c082cab3e4329aa3b9b4dff7418a53f9b3fe040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/dead_code.rs:36-51 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:134-149 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/dead_code.rs:36\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 \u0060super) fn simplify_assign_expr(\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":"crates/swc_ecma_minifier/src/compress/pure/dead_code.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa413ef9586ad033a21572580301469afc4c0e9bcb7c012ae0aac3fde4dca34d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:257-272 | crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:905-920 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060super) fn eval_array_or_fn_method_call(\u0026mut\u0060 in one and \u0060super) fn eval_str_method_call(\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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b9726ea066438ac21575ba0d9979956f96b5ad32ef520a904dd0e859386338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:112-127 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:212-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:112\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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f40517a12282d3300f95617b614b788eca78b7699d421bf07f4f12dd5dff133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_parser/src/parser/class_and_fn.rs:1715-1730 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1848-1863 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ae2848c9fa39539ef40d4652769701b3a9da984b631f7dc33d77dde2b42947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:464-477 | crates/swc_ecma_parser/src/parser/mod.rs:718-733 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/mod.rs:718\u0060 it begins part-way through the construct above it, so those exact 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, \u0060crates/swc_ecma_parser/src/parser/mod.rs:734\u0060 calls \u0060syntax\u0060, \u0060flow\u0060, \u0060report_duplicate_exports\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs:479\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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"622234ccfb43ed36f7ee8e2d51e58acf74050f670117dbc2c48f0364feedd7af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/mod.rs:387-402 | crates/swc_ecma_transforms_base/src/rename/mod.rs:405-420 \u2014 both copies are in the same file, so extract the block 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 \u0060n\u0060 to \u0060\u0026mut FnDecl\u0060 in one and \u0060\u0026mut ClassDecl\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":"crates/swc_ecma_transforms_base/src/rename/mod.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c772abd07d0265659eb5ae4e29ad7158cff819b747ce307719198a0b1e5113"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:788-803 | crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:858-873 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:788\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":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"3179a03f3fee38a81569152afe3eb75f22454d74a6faa0d319453320444d639e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_ecma_utils/src/lib.rs:2175-2190 | crates/swc_ecma_utils/src/lib.rs:2553-2568 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ee25f210ac535a528e020d896160702be228fb98e7cdef4a224d8668879733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:2943-2958 | crates/swc_xml_parser/src/lexer/mod.rs:1261-1276 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:2943\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa67f7c104bb20e80085afb6199b64d32a5f9de3ef9f0607088b5359d3e18b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:502-517 | crates/swc_xml_parser/src/parser/mod.rs:165-179 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/parser/mod.rs:502\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4fd6e681b123b69dbb9403661ce8d10ab212e44a986dd4c74ec5422a481ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:367-382 | crates/swc_xml_parser/src/lexer/mod.rs:394-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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:367\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"013b125d5d9f55382bbd0310079ba9c7300b5bd41f217fcfaaa6c5611c9ab612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2028-2042 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2081-2095 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2131-2145 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2181-2195 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2234-2248 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2284-2298 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2028\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2028}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41eeda3a190454c6557e6528104e70c654def17fd4cd422138376847ce8afae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/swc_html_parser/src/parser/mod.rs:1687-1703 | crates/swc_html_parser/src/parser/mod.rs:2144-2160 | crates/swc_html_parser/src/parser/mod.rs:5101-5117 | crates/swc_html_parser/src/parser/mod.rs:5684-5698 | crates/swc_html_parser/src/parser/mod.rs:6305-6321 | crates/swc_html_parser/src/parser/mod.rs:6475-6491 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:1687\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"925791eab2583068a913d9dc1baf29613067f8ee91aafb3a2f58eb6db956deea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/swc_css_parser/src/parser/values_and_units/mod.rs:960-974 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1009-1023 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1077-1091 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1126-1140 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1172-1186 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:960\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"de19af74beb8b356612b45f1c6722e5dd7ca56227365d9feacf18f2f63ca7a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 4): crates/swc_ecma_lexer/src/common/parser/expr.rs:398-408 | crates/swc_ecma_lexer/src/common/parser/typescript.rs:2894-2904 | crates/swc_ecma_parser/src/parser/expr.rs:166-180 | crates/swc_ecma_parser/src/parser/typescript.rs:5560-5570 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:398\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b58cb3e19a8399b2b7903545165a9b7137373f49c7ccc9f74cda6dd1b12bb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/swc_html_parser/src/parser/mod.rs:3192-3206 | crates/swc_html_parser/src/parser/mod.rs:3401-3415 | crates/swc_html_parser/src/parser/mod.rs:3681-3695 | crates/swc_html_parser/src/parser/mod.rs:5562-5576 \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, \u0060crates/swc_html_parser/src/parser/mod.rs:3696\u0060 calls \u0060clear_to_last_marker\u0060 and \u0060crates/swc_html_parser/src/parser/mod.rs:3207\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6342397004160f9f86f1094d1408949e3d6ac57844680419cf2ab06ae1f827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): bindings/binding_html_node/src/lib.rs:182-196 | bindings/binding_html_wasm/src/lib.rs:244-258 | crates/swc_html_minifier/src/option.rs:224-238 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"035624636c32c441a7f2854acd856e00106544e9e38529351f0991684f567677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/swc_css_codegen/src/writer/basic.rs:172-186 | crates/swc_html_codegen/src/writer/basic.rs:170-184 | crates/swc_xml_codegen/src/writer/basic.rs:170-184 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd2bdcfed464e24faf4d1b11fe25b1514b19763893c2f9f68bc8364da1c81b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1391-1405 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1469-1483 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1524-1538 \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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1391\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3212af2effcc483312e3e8c896c927a474c7a23453d0b36fff4a7601538574cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/swc_ecma_transforms_module/src/amd.rs:474-488 | crates/swc_ecma_transforms_module/src/common_js.rs:373-387 | crates/swc_ecma_transforms_module/src/umd.rs:220-234 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/common_js.rs\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060crates/swc_ecma_transforms_module/src/amd.rs:474\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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"470a328165931240cce88e68fb44a024c263c2d2b8be967bfc2dd8d903db2a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/swc_xml_parser/src/lexer/mod.rs:569-583 | crates/swc_xml_parser/src/lexer/mod.rs:891-905 | crates/swc_xml_parser/src/lexer/mod.rs:958-972 \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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:569\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, \u0060crates/swc_xml_parser/src/lexer/mod.rs:907\u0060 calls \u0060push\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:585\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"f939d915e6e2624246aa6d5ebbde0fc676dee39b35e5ce9582962aa72b568b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/swc_xml_parser/src/lexer/mod.rs:2100-2114 | crates/swc_xml_parser/src/lexer/mod.rs:2140-2154 | crates/swc_xml_parser/src/lexer/mod.rs:2181-2195 \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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:2100\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8e3d69bd1eb654a2735ccb0ddb7393d12b5ea29b487be2e894df2ad0fe97eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_bundler/src/bundler/finalize.rs:269-283 | crates/swc_bundler/src/bundler/finalize.rs:293-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_bundler/src/bundler/finalize.rs:269\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":"crates/swc_bundler/src/bundler/finalize.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f4209885512cc7ca5f608a288ab9603b7d3ea4ba69be2d95abd45b7429ffce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_css_parser/src/lexer/mod.rs:858-872 | crates/swc_css_parser/src/lexer/mod.rs:926-940 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bab4885efa9211cb0280bb7b50fd453186de159903f65a95deeb45f222ad2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/destructuring.rs:1116-1130 | crates/swc_ecma_compat_es2015/src/destructuring.rs:1135-1149 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_compat_es2015/src/destructuring.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc18858386836bf2fd0efdae7875ae724864223c3debff7b617f23079338b906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/object_super.rs:240-254 | crates/swc_ecma_transforms_classes/src/super_field.rs:344-358 \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 \u0060crates/swc_ecma_compat_es2015/src/object_super.rs:240\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":"crates/swc_ecma_compat_es2015/src/object_super.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"128974a63e4e40dc1fb8003c069bf5eb3258282d229372431054c86c23b4b5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1095-1109 | crates/swc_ecma_parser/src/lexer/mod.rs:1478-1492 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1095\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e5dcc5c52cbfe88479f2244cfe46c4765aea3fdfce680e1ddbd6d83456ba86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2071-2085 | crates/swc_ecma_parser/src/parser/expr.rs:2812-2826 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2071\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2071}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af9065aab945a38cc104b322f1803a9a0081d752b6f60b6045fd5dda633eb92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2310-2324 | crates/swc_ecma_parser/src/parser/expr.rs:3136-3150 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2310\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca209aa05a0db527f6cf074bd6806972b02c9f934d7d20fc732c55db1aaf92a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:185-199 | crates/swc_ecma_parser/src/parser/pat.rs:330-344 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:185\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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f6d4c4165650ae844067e22d6d443835a1ea06104f66454b64074c29e2b175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:833-847 | crates/swc_ecma_parser/src/parser/pat.rs:1046-1060 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:833\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"a579564736b13a7368d21d7cb7707300f99a655898ea6eccc56f5ce9b43e8c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:436-450 | crates/swc_ecma_parser/src/parser/stmt.rs:482-496 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"570134e55a4ae9c6a8e1265155a9c5c56e0deb21552d1df237e202a1e6da5bfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1841-1855 | crates/swc_ecma_parser/src/parser/typescript.rs:3816-3830 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs:1841\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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"27db8487aef54cf8360066674a7a6c33d8638423384d199a658a8dca4e38ad68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:662-676 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:42-56 \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 \u0060crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:662\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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c7934b3506a435c799b365722ff67a4e36fd05b05fa44698ea29ec2e9d05f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1909-1923 | crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1938-1952 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1909\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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ac55f7700a07cb91a648f4150ca4e1fe57ff8fef5fb761bc84a6ac0b21cb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:1931-1943 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:1948-1962 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:1931\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad23a4685f1d7598a1cf847ef9fdc2a5be97571d1c53ac10960fed7c5d4b456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/switches.rs:632-646 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:986-1000 \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":"crates/swc_ecma_minifier/src/compress/pure/switches.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"364204598a9b275626390c797b694359d27421d1fbdf048bea6f22e2a6a2eff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:418-432 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1523-1537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:418\u0060 it begins part-way through the construct above it, so those exact 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 \u0060n\u0060 to \u0060\u0026AssignExpr\u0060 in one and \u0060\u0026VarDecl\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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5148047e27a195a9d3e6d9b0411f51a8f31a2c9e5b3d9660a8798c66fbb159a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:479-493 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1155-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:479\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c65b397b6f55efb65b160d30fbf2cfd9c6fd0b98a802e6ff143de70a4b6395e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:402-416 | crates/swc_ecma_parser/src/parser/mod.rs:433-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/mod.rs:402\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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"3555c7e8f3979c779c411f2423182cba4519f3646878c9bd85098849b51a5aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/swc_ecma_transformer/src/es3/reserved_word.rs:224-238 | crates/swc_ecma_transformer/src/es3/reserved_word.rs:258-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es3/reserved_word.rs:224\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":"crates/swc_ecma_transformer/src/es3/reserved_word.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba77e9f79e784849f6ba75a9b9473155e8339fd04f097308cc06e1fb46a66c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/ops.rs:397-411 | crates/swc_ecma_transforms_base/src/rename/ops.rs:531-545 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/ops.rs:397\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 \u0060nodes\u0060 to \u0060\u0026mut Vec\u003CModuleItem\u003E\u0060 in one and \u0060\u0026mut Vec\u003CStmt\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/ops.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7dbfb335f75663c10f4c1da4a229a17992502a745e928b4411cbf606b09148"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/ops.rs:419-433 | crates/swc_ecma_transforms_base/src/rename/ops.rs:553-567 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/ops.rs:419\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/ops.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaa2866eacfe3c2e811a95bd8a4ce785f284a16f6aa5ed8de39d683278f0cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:299-321 | crates/swc_ecma_transforms_module/src/common_js.rs:201-223 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/common_js.rs\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060crates/swc_ecma_transforms_module/src/amd.rs:299\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2eb74ab25b24cf73138654db71f6aa450608b3b4ec4d90a959f629cbd5e23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_transforms_testing/src/lib.rs:543-557 | crates/swc_ecma_transforms_testing/src/lib.rs:597-611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_testing/src/lib.rs:543\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_testing/src/lib.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"21efebf909a189cbf6f94fe98949264f79685c217de9ae9024daef6ae93579a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:820-834 | crates/swc_html_parser/src/lexer/mod.rs:931-945 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:820\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bd870dad74dd9b2fc9220ffc0ca879bcd0a04ae8c3171b6160131877f7a5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3985-4000 | crates/swc_xml_parser/src/lexer/mod.rs:2889-2903 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3985\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3985}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c6bb6f7540fe286d2c949c9729d98c056b178cd1e320e6d8ce0755511cac14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 11): crates/swc_css_parser/src/parser/values_and_units/mod.rs:420-433 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:531-544 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:575-588 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:647-660 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:691-704 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:780-793 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:899-912 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1257-1270 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1366-1379 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1451-1464 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1544-1557 \u2014 all 11 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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:420\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84659cb00f6ca324316539be8507f8ff41d04d277339e449fe4643d8ea7e9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): crates/swc_html_parser/src/parser/mod.rs:1606-1619 | crates/swc_html_parser/src/parser/mod.rs:1694-1707 | crates/swc_html_parser/src/parser/mod.rs:2151-2164 | crates/swc_html_parser/src/parser/mod.rs:5108-5121 | crates/swc_html_parser/src/parser/mod.rs:5689-5702 | crates/swc_html_parser/src/parser/mod.rs:6312-6325 | crates/swc_html_parser/src/parser/mod.rs:6482-6495 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:1606\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fff13bb583f7e3ca274f574749ae10a6e049338a8d9fb000c0b5d5525082d92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): bindings/binding_core_node/src/util.rs:49-62 | bindings/binding_html_node/src/util.rs:21-34 | bindings/binding_html_wasm/src/util.rs:21-34 | bindings/binding_minifier_node/src/util.rs:42-55 \u2014 before extracting anything, compare \u0060bindings/binding_core_node/src/util.rs\u0060 and \u0060bindings/binding_minifier_node/src/util.rs\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_core_node/src/util.rs:49\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":"bindings/binding_core_node/src/util.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037f3d34dea3725d815db957e211679d5669e22284c5c8c60db2ad992cb8b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): crates/swc_ecma_transforms_base/src/resolver/mod.rs:1334-1345 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1348-1361 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1364-1375 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1437-1448 \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 \u0060ty\u0060 to \u0060\u0026mut TsConstructorType\u0060 in one and \u0060\u0026mut TsFnType\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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"272eeea5d4c36afeb6545492a1bad9328bbc0129cd1b488e1dc0390df63cea12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:673-686 | bindings/binding_typescript_wasm/src/error_reporter.rs:673-686 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:673-686 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c2400d383fa06e25472403554cc750ebd4a8825c4d31121d85a372f9b2785b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/swc_css_codegen/src/lib.rs:2503-2516 | crates/swc_html_codegen/src/lib.rs:899-912 | crates/swc_xml_codegen/src/lib.rs:305-318 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdb41356f41200ab54d22d2912e0eb732babc2f36eb9c861108b7273b6258ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1908-1920 | crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1937-1949 | crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1972-1985 \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 \u0060crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1908\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a30566172185470a2a2630d1e29289b81eaa14453cc48bfe3036fc2c2cb55ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/swc_ecma_parser/src/parser/class_and_fn.rs:1712-1725 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1792-1805 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1845-1858 \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 \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs:1712\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3946b69e2a4261864c4b64151c5afb2f66451acf21f51e900f0ac1e83526b024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/swc_html_parser/src/lexer/mod.rs:3998-4011 | crates/swc_html_parser/src/lexer/mod.rs:4120-4133 | crates/swc_xml_parser/src/lexer/mod.rs:2649-2662 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2207f96ab0aa2bc7bd054406912a8f046f278b09f5e6b472052cafbe1b5aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/swc_xml_parser/src/lexer/mod.rs:2677-2690 | crates/swc_xml_parser/src/lexer/mod.rs:2733-2746 | crates/swc_xml_parser/src/lexer/mod.rs:2919-2932 \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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:2677\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a08c90e1681820479999a58d3af894448590b1a6127aa81196d0b748c7896db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/binding_core_node/src/parse.rs:58-71 | bindings/binding_core_node/src/parse.rs:110-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bindings/binding_core_node/src/parse.rs:57\u0060 calls \u0060try_with\u0060, \u0060clone\u0060 and \u0060bindings/binding_core_node/src/parse.rs:108\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":"bindings/binding_core_node/src/parse.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"524bfc1eaa418f2e705cc772b95b1c13c8b7e1462b9832b11c62e8f339c2d4c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/binding_minifier_node/src/minify.rs:96-109 | crates/swc/src/lib.rs:1090-1103 \u2014 before extracting anything, compare \u0060bindings/binding_minifier_node/src/minify.rs\u0060 and \u0060crates/swc/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_minifier_node/src/minify.rs:96\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":"bindings/binding_minifier_node/src/minify.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d032cedabfa7ab36469e769d1ef7cc628cde8a4d167dc7fb1be43230211fb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): bindings/binding_minifier_node/src/minify.rs:140-153 | crates/swc/src/lib.rs:1121-1134 \u2014 before extracting anything, compare \u0060bindings/binding_minifier_node/src/minify.rs\u0060 and \u0060crates/swc/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_minifier_node/src/minify.rs:140\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":"bindings/binding_minifier_node/src/minify.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e64362ba61ff53536bbbc86c19e8332b57b9f347a62114b7f524ac79964fe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/ast_node/src/spanned.rs:93-106 | crates/string_enum/src/lib.rs:168-181 \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 \u0060crates/ast_node/src/spanned.rs:93\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/string_enum/src/lib.rs:182\u0060 calls \u0060chain\u0060, \u0060once\u0060, \u0060Err\u0060 and \u0060crates/ast_node/src/spanned.rs:107\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":"crates/ast_node/src/spanned.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61a942bdd0d6946495383facc1d8ab71db6b6da009984f60d8ec48e1e6c3968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/swc_bundler/src/bundler/chunk/merge.rs:670-683 | crates/swc_bundler/src/bundler/chunk/merge.rs:1345-1356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_bundler/src/bundler/chunk/merge.rs:670\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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"e583f7d5f694d72e1bea3d12a1f1c08139a7bc40d08ec3cf3369455fbb4e92a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:2258-2281 | crates/swc_css_prefixer/src/prefixer.rs:2332-2355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:2258\u0060 it begins part-way through the construct above it, so those exact 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, \u0060crates/swc_css_prefixer/src/prefixer.rs:2330\u0060 calls \u0060get_old_values\u0060, \u0060or_else\u0060 and \u0060crates/swc_css_prefixer/src/prefixer.rs:2257\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26edc2a8a3eb841542d7910ac68d393ad1d31a9d48a71824dc6d0ee4e32c992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/generator.rs:3469-3482 | crates/swc_ecma_compat_es2015/src/generator.rs:3584-3597 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/generator.rs:3469\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, \u0060crates/swc_ecma_compat_es2015/src/generator.rs:3468\u0060 calls \u0060create_label\u0060, \u0060Some\u0060 and \u0060crates/swc_ecma_compat_es2015/src/generator.rs:3583\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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3469}}}],"partialFingerprints":{"codehealthFindingId/v1":"2703e4cf437266c1d72c7a7003452e27f753d034507e9209e79dc48e742c1e65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:698-722 | crates/swc_ecma_parser/src/lexer/mod.rs:1127-1151 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:698\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"7528b449aa591ab860206ad8479c1b1575eb81cc66fb7615c5357b3ba65338d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:414-427 | crates/swc_ecma_parser/src/parser/expr.rs:194-207 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:414\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e48cc1c4ef9481c14bbad0f563486c4566d7ebb8a52304ea582cb0843386caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2488-2501 | crates/swc_ecma_parser/src/lexer/mod.rs:1871-1884 \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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2488\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45f8a127548675c844ce56beb9c7dd395245b7f477b29424989bb30e99b0862"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:853-866 | crates/swc_ecma_parser/src/parser/pat.rs:1066-1079 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:853\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f79170c44f83cf74063cfcfe2aebbd857989e3e4f4395b951c6f1d9e9959a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1587-1599 | crates/swc_ecma_parser/src/parser/typescript.rs:3079-3092 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs:1587\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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"09587e6ada5d02d80122342d7fdd363a98472631ca857163a48b9bf57d161672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2721-2734 | crates/swc_ecma_parser/src/parser/typescript.rs:5137-5150 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8035c61a9b038043263474839f04161afb5447f823d91099b1a477c2a9ee2bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_lints/src/rules/constructor_super.rs:193-206 | crates/swc_ecma_lints/src/rules/constructor_super.rs:217-230 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lints/src/rules/constructor_super.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d628ddd28c0efa57fe3e3e153fee75c95d0fa5b5659dcdbe5c5b1463981312d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/if_return.rs:442-455 | crates/swc_ecma_minifier/src/compress/optimize/if_return.rs:461-474 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/optimize/if_return.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d548bfabb0629dd903cf23d39f890b51ef37e51108204556c7e02bab77c8b7e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/mod.rs:977-990 | crates/swc_ecma_minifier/src/compress/pure/mod.rs:993-1006 \u2014 both copies are in the same file, so extract the block 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 \u0060n\u0060 to \u0060\u0026mut ForInStmt\u0060 in one and \u0060\u0026mut ForOfStmt\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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb69b955c26d72a6a50d5729ece1c52bc6984ef9bc3269b3663ac615b94f3d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:797-810 | crates/swc_ecma_parser/src/parser/expr.rs:830-844 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060super) fn parse_no_substitution_template_literal( \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57bbeb76b8c0832d26e27dcdb2cd3f8ca76390651cbdc6e8a39c09dee229f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_parser/src/parser/module_item.rs:515-528 | crates/swc_ecma_parser/src/parser/module_item.rs:648-661 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f81cbc91527a545bc521df03b5fe48ee015a845f1d149f5da2e06297187cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_preset_env/src/lib.rs:566-579 | crates/swc_ecma_preset_env/src/lib.rs:594-607 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_preset_env/src/lib.rs:566\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":"crates/swc_ecma_preset_env/src/lib.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a23c8c351991e90feeae57df393a47666f72cefa517b55366f0e51eb81709c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:746-757 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1314-1327 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:746\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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcebe140daf4ed74e4659f639cff60dc1ba63677e4d7ad7540d2ca1f23cadd98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_transformer/src/es2015/function_name.rs:102-115 | crates/swc_ecma_transformer/src/es2015/function_name.rs:117-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2015/function_name.rs:102\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":"crates/swc_ecma_transformer/src/es2015/function_name.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"268c49ca5fab2e15f610a7e66990cd18992cfc20bd73efe897be0747925821eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/mod.rs:470-481 | crates/swc_ecma_transforms_base/src/rename/mod.rs:488-501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/mod.rs:470\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 \u0060m\u0060 to \u0060\u0026mut Module\u0060 in one and \u0060\u0026mut Script\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":"crates/swc_ecma_transforms_base/src/rename/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe5d40d1ec09c4dda9be6f419ae3bcf7208d665b127cd8780079c6422f28a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:386-399 | crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:545-558 \u2014 both copies are in the same file, so extract the block 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 \u0060n\u0060 to \u0060\u0026mut Vec\u003CModuleItem\u003E\u0060 in one and \u0060\u0026mut Vec\u003CStmt\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec76ca22cae0c4d68c023a1afe0b49da481c0e068c9762baa01e7d1d4611d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:1656-1669 | crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:1771-1784 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:1656\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, \u0060crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:1769\u0060 calls \u0060match\u0060 and \u0060crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs:1654\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":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"8546d50f2d1b0d4d1e478ddc3bb912bca9128ef4965d1b73594f3a3c340db834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2786-2799 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3219-3232 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0ba539a732c96376fcb5a2417aeaab395ea18493ec66a4ef050f31ccb2a68a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_html_parser/src/parser/input.rs:80-93 | crates/swc_xml_parser/src/parser/input.rs:73-86 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/input.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/input.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"crates/swc_html_parser/src/parser/input.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"916533ec465251580db910cfd7cdc4b8fec05ddc06f41fb5e8d1cd4509b5850d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:8387-8400 | crates/swc_xml_parser/src/parser/mod.rs:510-523 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/parser/mod.rs:8387\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8387}}}],"partialFingerprints":{"codehealthFindingId/v1":"60237496b880029a00903067fc8d0d8a359650e733c3b894e0b66bc9a0da4f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/swc_macros_common/src/binder.rs:155-167 | crates/swc_macros_common/src/binder.rs:213-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_macros_common/src/binder.rs:155\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":"crates/swc_macros_common/src/binder.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e708fc78bc61325f5a85d15ad3fe04e37a21c32849f271b567ed38c9aa83412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:719-732 | crates/swc_xml_parser/src/lexer/mod.rs:756-769 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_xml_parser/src/lexer/mod.rs:719\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 \u0060value\u0060 to \u0060Option\u003C(bool, Option\u003Cchar\u003E, Option\u003Cchar\u003E)\u003E\u0060 in one and \u0060Option\u003C(Option\u003Cchar\u003E, Option\u003C\u0026str\u003E)\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_xml_parser/src/lexer/mod.rs:753\u0060 calls \u0060append_to_attribute_with_entity\u0060, \u0060Some\u0060, \u0060last_mut\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:717\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6db9a0bcf6f7390b5a27f923dd026cd87a1c22bec8c0d4ab094da679eab54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/swc_css_parser/src/parser/values_and_units/mod.rs:250-262 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:266-278 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:293-305 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:310-322 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:335-347 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:246\u0060 calls \u0060skip_ws\u0060 and \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:306\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"686405cd2a89e37c8e2c3b28dd5ce6c567b933295e3ad243dbb2b358cee6f216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:3305-3317 | crates/swc_html_parser/src/lexer/mod.rs:3347-3360 | crates/swc_xml_parser/src/lexer/mod.rs:1603-1615 | crates/swc_xml_parser/src/lexer/mod.rs:1642-1655 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3305\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:3361\u0060 calls \u0060append_to_comment_token\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:3318\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c26f6c94bbcbf9d85df71d808a748c32a96ed679c74bec015eaa25402c393c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:3985-3999 | crates/swc_xml_parser/src/lexer/mod.rs:2425-2437 | crates/swc_xml_parser/src/lexer/mod.rs:2889-2902 | crates/swc_xml_parser/src/lexer/mod.rs:3014-3026 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3985\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:4000\u0060 calls \u0060set_doctype_token_system_id\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs:2438\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3985}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9fa839cfb4a147f95a09670009d7c59aedba7564c7d05200737fb2ddd25d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:212-223 | crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:228-239 | crates/swc_ecma_compat_es2022/src/class_properties/mod.rs:273-285 \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":"crates/swc_ecma_compat_es2022/src/class_properties/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"480ef539c84f48d40e4bf2e506758b39b323bcce9351a985ec59d2dfd12e055c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/swc_html_parser/src/lexer/mod.rs:2653-2665 | crates/swc_html_parser/src/lexer/mod.rs:2705-2717 | crates/swc_html_parser/src/lexer/mod.rs:2785-2797 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:2653\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_html_parser/src/lexer/mod.rs:2784\u0060 calls \u0060finish_attribute_token_value\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:2652\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d054d67cfea2732b67a00fc0b3578490ebd102de45638223a01267746a1b03b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/swc_bundler/src/bundler/chunk/merge.rs:631-643 | crates/swc_bundler/src/bundler/chunk/merge.rs:1301-1312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_bundler/src/bundler/chunk/merge.rs:631\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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb1db2a4aff1c9526b8257803694478ea6d6af861e07cef846cfde62a9456c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1344-1356 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1473-1485 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:1344\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3bebff1c80c62d7b7f718ee5fffabf9057983cbf969cfe0e311069f00ee749"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/generator.rs:3498-3510 | crates/swc_ecma_compat_es2015/src/generator.rs:3531-3543 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/generator.rs:3498\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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3498}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8fb34ce923b03afdc741efc714ae61c2f5baa5d5d9cf43f42f2f523f10d07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:634-645 | crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:649-661 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:634\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":"crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2065be33bed55fd9fe2b8b375b197b40ec1782853e751f49b71fe4607e9e3b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2229-2242 | crates/swc_ecma_parser/src/parser/expr.rs:3033-3046 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2229\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d4165b3c5e1f23b086733e2811f2bef530bc4dd20d07de6fa7d2e23bb83f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_lints/src/rules/no_empty_function.rs:294-306 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:321-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lints/src/rules/no_empty_function.rs:294\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 \u0060function\u0060 to \u0060\u0026Function\u0060 in one and \u0060\u0026ArrowExpr\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":"crates/swc_ecma_lints/src/rules/no_empty_function.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb3ab71663c3170a76c296bd85b5646e894508380486b2364299a82a8912a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_lints/src/rules/no_loop_func.rs:272-284 | crates/swc_ecma_lints/src/rules/no_loop_func.rs:287-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. 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":"crates/swc_ecma_lints/src/rules/no_loop_func.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d025dc1a62fb91f8978b0ab2a94ff1bde593354da14b13c0289527d2e64b8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1121-1133 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1140-1150 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"629e1c1141566d184b38f050d6c40661831e817dfd27fbe2cbaf0d17ed83de11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1251-1263 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1351-1363 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"473f8f6eb729e04001afb13c8d0bb1ddbbf8c8b2e07d719659846522382394eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/dead_code.rs:18-30 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:95-107 \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 \u0060crates/swc_ecma_minifier/src/compress/pure/dead_code.rs:18\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":"crates/swc_ecma_minifier/src/compress/pure/dead_code.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38bd769a1ab032f50c51e3ccecba8f3b7fb383b20753a370009ac5dccdf440f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:1568-1580 | crates/swc_ecma_parser/src/parser/expr.rs:1731-1743 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:1568\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72b8eca264a9dca341e3133f16f8a6d81e54264b9f739e236786578ced94600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/swc_ecma_regexp_ast/src/display.rs:34-46 | crates/swc_ecma_regexp_ast/src/display.rs:198-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp_ast/src/display.rs:34\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_regexp_ast/src/display.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0603977edc37a9eb0c12203b7bccf8d9a47d7c425b1eaac0663c328dd29b917b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2339-2351 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2353-2365 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4be59f356b7eedea37cd7ba493aed5435ab52442b870ccc0ce8e5d24fba5f7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_transforms_react/src/jsx/mod.rs:690-703 | crates/swc_ecma_transforms_react/src/jsx/mod.rs:990-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 \u0060crates/swc_ecma_transforms_react/src/jsx/mod.rs:690\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8798be364d07013c89e090043a9da18bd74b20a85c677a91ad889b8f34e9bd42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_transforms_testing/src/lib.rs:365-377 | crates/swc_ecma_transforms_testing/src/lib.rs:1013-1025 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_testing/src/lib.rs:365\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_testing/src/lib.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80c19648a61a1b677d7d7555cabfefdcee589e606647155ee114c07e919288a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/swc_ecma_transforms_typescript/src/transform.rs:274-286 | crates/swc_ecma_transforms_typescript/src/transform.rs:409-419 \u2014 both copies are in the same file, so extract the block 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\u0026mut Vec\u003CModuleItem\u003E\u0060 in one and \u0060\u0026mut Vec\u003CStmt\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/src/transform.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"f239a88b298c549b0c3405418a25140ae95f62c51468801018e33ee08077770c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/swc_ecma_transforms_typescript/src/transform.rs:1409-1419 | crates/swc_ecma_transforms_typescript/src/transform.rs:1455-1467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_typescript/src/transform.rs:1409\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":"crates/swc_ecma_transforms_typescript/src/transform.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c3e6791211b777ad8ba2014a81a04c7ad8e2e28ba7541b435186b324183512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_estree_ast/src/class.rs:176-188 | crates/swc_estree_ast/src/object.rs:110-122 \u2014 before extracting anything, compare \u0060crates/swc_estree_ast/src/class.rs\u0060 and \u0060crates/swc_estree_ast/src/object.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060crates/swc_estree_ast/src/class.rs:176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2f8f4a4e92d72ee9b2b11e5c43f26c8b802b0f5eaae032716f66d830a8bfe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_estree_ast/src/object.rs:112-124 | crates/swc_estree_ast/src/object.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_estree_ast/src/object.rs:112\u0060 it begins part-way through the construct above it, so those exact 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, \u0060crates/swc_estree_ast/src/object.rs:110\u0060 calls \u0060as_deref\u0060, \u0060as_ref\u0060 and \u0060crates/swc_estree_ast/src/object.rs:249\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":"crates/swc_estree_ast/src/object.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5749c40f71071a259572166d3097c51aaf21822e29aaddadcf7869dcbbd3e154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:3791-3803 | crates/swc_html_parser/src/lexer/mod.rs:3853-3865 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:3791\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3791}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d72b9a0d25990b6fd0163ca0ecb06c922a9604d0193e8abc8c2fa925863895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:4670-4682 | crates/swc_html_parser/src/lexer/mod.rs:4724-4736 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/lexer/mod.rs:4670\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4670}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a808bab6ef40d65d6aec02d206df870b74b7c75b2512fc498d8bfdec4dbcba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:380-393 | crates/swc_xml_parser/src/parser/mod.rs:97-110 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"9650d7a34581e122b49c5317dfd5d4dc6059e5f8a605800a5f98071719389ebe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:462-474 | crates/swc_xml_parser/src/parser/mod.rs:141-153 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97b80b4f8ee861107f2c0dfe4df2e9fbbc7f8398695185e0ecd7abc33d6610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_native_addon/src/platform/windows.rs:401-413 | crates/swc_native_addon/src/platform/windows.rs:529-541 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_native_addon/src/platform/windows.rs:401\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":"crates/swc_native_addon/src/platform/windows.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6038457ebfcf3958f2d675a1fa69132aea3d72c7f4a6d8068e45bd9e1997b5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ts_fast_strip/src/lib.rs:321-333 | crates/swc_ts_fast_strip/src/lib.rs:357-369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/src/lib.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fcce520b14768a1f15e4d525e7b029004f94c4333eb623dee611fecf8f6d927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/swc_typescript/src/fast_dts/mod.rs:392-404 | crates/swc_typescript/src/fast_dts/mod.rs:434-445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_typescript/src/fast_dts/mod.rs:392\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":"crates/swc_typescript/src/fast_dts/mod.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c184e41fb7638b550ff9892ab7a00f02d79f1a21074f13c80787aab04540ce19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_xml_parser/src/parser/mod.rs:275-287 | crates/swc_xml_parser/src/parser/mod.rs:390-402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_xml_parser/src/parser/mod.rs:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_xml_parser/src/parser/mod.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e8d612c6c46fb4ee4aa242b4005dd81791abb07dcdca36a62060f1531d82f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): bindings/binding_core_node/src/parse.rs:59-71 | bindings/binding_core_node/src/parse.rs:111-123 | bindings/binding_core_node/src/parse.rs:205-217 | bindings/binding_core_node/src/parse.rs:247-258 \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 \u0060bindings/binding_core_node/src/parse.rs:59\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bindings/binding_core_node/src/parse.rs:57\u0060 calls \u0060try_with\u0060, \u0060clone\u0060 and \u0060bindings/binding_core_node/src/parse.rs:108\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":"bindings/binding_core_node/src/parse.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea8a195ad8bbace03191bf634cfa68e00307a74f7e1b422a058cfa763211c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:461-472 | crates/swc_html_parser/src/lexer/mod.rs:683-694 | crates/swc_html_parser/src/lexer/mod.rs:772-783 | crates/swc_html_parser/src/lexer/mod.rs:796-807 \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 \u0060c\u0060 to \u0060u8\u0060 in one and \u0060char\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:809\u0060 calls \u0060push\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:474\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bebe0e502879528be71f04acfc2ccc821186d9d92acb4cb7c653cff6a63e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/swc_html_parser/src/lexer/mod.rs:3797-3808 | crates/swc_html_parser/src/lexer/mod.rs:3859-3870 | crates/swc_html_parser/src/lexer/mod.rs:4183-4194 | crates/swc_html_parser/src/lexer/mod.rs:4245-4256 \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 \u0060crates/swc_html_parser/src/lexer/mod.rs:3797\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":3797}}}],"partialFingerprints":{"codehealthFindingId/v1":"6959a217452b9ec558367bb2e7eab9c741b6ed14c18599ec1e511aef21a35533"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:508-519 | bindings/binding_typescript_wasm/src/error_reporter.rs:508-519 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:508-519 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"8104ff7e476cfe9c51830e8e1a391ca1a26a1cf27c2600772fc98e8c99f71a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): crates/ast_node/src/encoding/decode.rs:9-20 | crates/ast_node/src/encoding/decode.rs:190-199 | crates/ast_node/src/encoding/encode.rs:173-182 \u2014 before extracting anything, compare \u0060crates/ast_node/src/encoding/decode.rs\u0060 and \u0060crates/ast_node/src/encoding/encode.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/ast_node/src/encoding/decode.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e39ac25ebdfe18261eecdb0e036c8605cfde8302720f571d4e2e470acf755ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/swc/src/config/mod.rs:447-458 | crates/swc/src/config/mod.rs:489-499 | crates/swc/src/config/mod.rs:523-533 \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 \u0060crates/swc/src/config/mod.rs:447\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":"crates/swc/src/config/mod.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e5f0fef4cc71ecfea25875916b8840356a2bb77d235a2ada971dda94990690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/swc_css_parser/src/parser/values_and_units/mod.rs:765-776 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1242-1253 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1529-1540 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:765\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"5678a09827338442280f476dd1861e9827dbcc70eadda1edb9c7076def78c820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): crates/swc_ecma_lexer/src/common/lexer/mod.rs:311-319 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:339-350 | crates/swc_ecma_parser/src/lexer/mod.rs:790-798 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:311\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d0ddc93f0099de8b1722c5bfda0aa335e9846ed848f4adf7b42651c63a850c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:704-715 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1200-1211 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1290-1301 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060n\u0060 to \u0060\u0026ClassMethod\u0060 in one and \u0060\u0026MethodProp\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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ead4f5250be1c375a169e3fe2859d7999fca6fa920195d0342c58d76c3c2bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:249-260 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:350-361 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:372-383 \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 \u0060crates/swc_ecma_transformer/src/es2018/object_rest_spread.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":"crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3c9eae1a4e12d3f02cb78829f705a1bbdc3fe240c7bbf2fc1c5083a1947681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bindings/binding_html_node/src/lib.rs:226-237 | bindings/binding_html_wasm/src/lib.rs:270-281 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/lib.rs\u0060 and \u0060bindings/binding_html_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 401 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"396234dd5ba146052d870d375f5f7511858df79da90c74cef2ee53066ba382ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bindings/binding_minifier_node/src/minify.rs:116-127 | crates/swc/src/lib.rs:1106-1117 \u2014 before extracting anything, compare \u0060bindings/binding_minifier_node/src/minify.rs\u0060 and \u0060crates/swc/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_minifier_node/src/minify.rs:116\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_minifier_node/src/minify.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd2b7f920637d07590a67a00121c8f9d0abc6683f89a0ea5a5115f5c08a1e9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/ast_node/src/enum_deserialize.rs:212-223 | crates/ast_node/src/enum_deserialize.rs:224-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/ast_node/src/enum_deserialize.rs:212\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":"crates/ast_node/src/enum_deserialize.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cc4cd2890659d8715dc7692c14d25bde45426759e455d94138198460e05840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc/src/config/mod.rs:298-309 | crates/swc/src/lib.rs:818-829 \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 \u0060crates/swc/src/config/mod.rs:298\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":"crates/swc/src/config/mod.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a804c36c6fac3379ab4764a00e4fe39a63a407e8bd9c80e9c8ff9e04110f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:997-1008 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1114-1125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:997\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a14824975fa0a4d1907619f0127acc29a8dae2c22cf4ca758f095613d91c21a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:2822-2833 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:2850-2861 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:2822\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2822}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd06c022345c462a6f85a922d25e7a5c50d4db12f7eb8cd8653621e1a7501e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:3120-3141 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:3161-3182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:3120\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":3120}}}],"partialFingerprints":{"codehealthFindingId/v1":"79409536a2d193e40da7573648872416d830f903b89b6863c1f5b45dcef6806c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:1448-1459 | crates/swc_css_prefixer/src/prefixer.rs:1479-1490 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:1448\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff09407a2580d51195f729a5fe14724b57288035f6d6d77d06a9cbbda2488e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/swc_ecma_ast/src/source_map.rs:73-83 | crates/swc_ecma_ast/src/source_map.rs:103-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_ast/src/source_map.rs:73\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":"crates/swc_ecma_ast/src/source_map.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89bc895b084a8512ca1baed565839549a892339102e073031d3a0f8c02315f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_codegen/src/lib.rs:1934-1945 | crates/swc_ecma_codegen/src/lib.rs:1947-1958 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"019bc972d24006411c46a9280688d6fb71afaf5892a4459750e9ccb9c08a1877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/destructuring.rs:985-996 | crates/swc_ecma_compat_es2015/src/destructuring.rs:1013-1024 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/destructuring.rs:985\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":"crates/swc_ecma_compat_es2015/src/destructuring.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dbb6805eb5fa0ac0051d8b5d8f81d7f7a0a9bb5e50bab938e741cf81ec9509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/for_of.rs:185-196 | crates/swc_ecma_compat_es2015/src/for_of.rs:281-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/for_of.rs:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/for_of.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2bd177b2666e9fbbb345a21cc5f8320caf7eda7ad7a64390f80ea16ff04707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/generator.rs:1187-1198 | crates/swc_ecma_compat_es2015/src/generator.rs:1249-1260 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/generator.rs:1187\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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad818678046c1d9203ecc26f48a3ddcd8c9148ff484c25719070af53e62e3e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/parameters.rs:77-88 | crates/swc_ecma_compat_es2015/src/parameters.rs:735-746 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/parameters.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90c847c53504e4619c12450a27d3de4bef76356033b5199183112440faf8c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs:151-162 | crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs:195-206 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs:151\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78c54a0f6d8b6764bb556560d799008d1875abce273106d812d7e3ce72bfe33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:372-383 | crates/swc_ecma_parser/src/lexer/mod.rs:851-862 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d153aef302bf94fadadc839d92276b52002f1ef13a91bafe372d23b752da731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1444-1455 | crates/swc_ecma_parser/src/lexer/mod.rs:1685-1696 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1444\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac345b4a8b22989439050ae03643c79ddda09574e84b21e584bafa523393072"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:798-809 | crates/swc_ecma_lexer/src/common/parser/expr.rs:960-971 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:798\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e37f99f8d8d9e01c927eafd7b46d6533daa583593ca0298db275f549502aa98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2010-2021 | crates/swc_ecma_parser/src/parser/expr.rs:2753-2764 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2010\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66324cc5c195607c4dda12d882e8f01fa270e163a995e824c3c9ca4b00d69b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2297-2308 | crates/swc_ecma_parser/src/parser/expr.rs:3123-3134 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2297\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a874a2f206dde104932d397080ceceec4ef742a560abd211acdeebf64f45a9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:418-429 | crates/swc_ecma_parser/src/parser/expr.rs:101-112 \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 \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs:418\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d88e3a903894e9c004dd588767de64f119c28bbf564b879d711e7ad482fb883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:814-825 | crates/swc_ecma_parser/src/parser/module_item.rs:947-958 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/module_item.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:814\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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"6160539dd6449d5151b5fecbf90fc569608e3c2050a8be6ce00ec91b2f509b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:235-246 | crates/swc_ecma_parser/src/parser/pat.rs:381-392 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:235\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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8832bc9578af3af4bee92f9d3425f576ece4d0491345a17d27bc8a7e0f8f72ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:827-838 | crates/swc_ecma_parser/src/parser/stmt.rs:946-957 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f458cf2a33088d10ec9ee6f1e12df40647b75291dc4022d0050d164a7c7766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:2371-2382 | crates/swc_ecma_parser/src/parser/typescript.rs:4649-4660 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs:2371\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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43838bd3f8fe47b6e41591421661f191976590f6684cedd343d7ad9a6271931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:434-447 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:3055-3068 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2292b934017ab69fb13a3401c846937ad4dfa56967ca3de66a5e7602c3a6457"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/util/mod.rs:554-565 | crates/swc_ecma_minifier/src/compress/util/mod.rs:572-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/util/mod.rs:554\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":"crates/swc_ecma_minifier/src/compress/util/mod.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"63994fa4887b9ef7aa1cec0480fe8c955fa78ff25e85a567606016115d35f639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:94-105 | crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:131-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 \u0060crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:94\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":"crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de53d7608fcc0ef0a306c358020ac2207f590d390660c8ad5691a5a38af6e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1006-1017 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1035-1045 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1006\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 \u0060n\u0060 to \u0060\u0026ForInStmt\u0060 in one and \u0060\u0026ForOfStmt\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, \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1004\u0060 calls \u0060visit_with\u0060 and \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1033\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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce94b3e44dd16008602ed6c213876f60bb0ea019d5cdd22154a963fe21de7732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_parser/src/lexer/state.rs:306-317 | crates/swc_ecma_parser/src/lexer/state.rs:323-334 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/lexer/state.rs:306\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":"crates/swc_ecma_parser/src/lexer/state.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2539e38c6b9346d7797e643a9383786692938024c09269e378d627fb7571bc4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:1490-1501 | crates/swc_ecma_parser/src/parser/expr.rs:1688-1699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:1490\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f8829528287451624d1d1db1ca53cf1071b0fbfbc0b068cd22fcd4190620c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:254-265 | crates/swc_ecma_parser/src/parser/mod.rs:271-282 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bb391638b8a496f2160bdc6efeabc6c368de831c1b5c1faedd43a1910c1f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1048-1059 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1354-1365 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"417e60a61b890704c5a502532b1feddd3e7044b4c537a882a8fdf2c95d348a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/ops.rs:437-448 | crates/swc_ecma_transforms_base/src/rename/ops.rs:571-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/ops.rs:437\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 \u0060nodes\u0060 to \u0060\u0026mut Vec\u003CModuleItem\u003E\u0060 in one and \u0060\u0026mut Vec\u003CStmt\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/ops.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bb9f4c6fb9223dc29b90e13816aabff03e586fab8bbb5dc2984583c9d214b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/swc_ecma_transforms_base/src/resolver/mod.rs:1652-1662 | crates/swc_ecma_transforms_base/src/resolver/mod.rs:1665-1676 \u2014 both copies are in the same file, so extract the block 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 \u0060n\u0060 to \u0060\u0026mut TsThisTypeOrIdent\u0060 in one and \u0060\u0026mut TsTypeQueryExpr\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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7667718484c32935c4a0bbe2e4664b9468446e59a75b6d8716f7fefd86dcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_transforms_classes/src/super_field.rs:80-93 | crates/swc_ecma_transforms_classes/src/super_field.rs:206-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_classes/src/super_field.rs:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_classes/src/super_field.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b3ba1a7776b3154c0163af87e3ebe4c327aafff6585a9b01a3db7154b8d6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:868-879 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:925-936 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:868\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"9764d816c051e13e59d2924d2d43292b0d7d402c8464f2a9a957a7068e30ba7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3067-3078 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3095-3106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3067\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3067}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b0643fd645762f29fb49481cf95bffd4ed7368153de58fc7a6eeba079f7c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 3): crates/swc_ecma_transforms_typescript/src/shared.rs:21-32 | crates/swc_ecma_transforms_typescript/src/transform.rs:583-586 | crates/swc_ecma_utils/src/lib.rs:2609-2620 \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. 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":"crates/swc_ecma_transforms_typescript/src/shared.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fa57972209a50b6ce6b90b0e2491ca5013f0065987df9f9bdeba1c47e6184f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_estree_compat/src/babelify/typescript.rs:229-240 | crates/swc_estree_compat/src/babelify/typescript.rs:248-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_estree_compat/src/babelify/typescript.rs:229\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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c668c68e1bff987229bc854a163a5696d936d7ac5da62ca6c1cc756d3c3c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/swc_html_minifier/src/lib.rs:1636-1647 | crates/swc_html_minifier/src/lib.rs:1657-1669 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_minifier/src/lib.rs:1636\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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"423e28e4474e2b066d6ae65e0b4094991ad4a3618a27516507c853fa4a195787"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:5794-5805 | crates/swc_html_parser/src/parser/mod.rs:5814-5825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:5794\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":5794}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab846246311a91288ce8f5fdcd0c81c311ecefc84c001a4f62a1cc36131e3b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_xml_parser/src/lexer/mod.rs:352-363 | crates/swc_xml_parser/src/lexer/mod.rs:417-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_xml_parser/src/lexer/mod.rs:352\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa0924aaf152400bd6556cf439fe0619058ad46e075aa20b08afcc2ce0d5af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 14): crates/swc_css_parser/src/parser/values_and_units/mod.rs:418-428 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:459-469 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:529-539 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:573-583 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:645-655 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:689-699 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:778-788 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:852-862 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:897-907 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1255-1265 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1364-1374 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1449-1459 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1490-1500 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1542-1552 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:418\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:470\u0060 calls \u0060is_math_function\u0060, \u0060Ok\u0060, \u0060Some\u0060 and \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:429\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"931fc7c33e5891936402170e26ef9f36eacedb91b35962344d741e78290b266e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/swc_css_codegen/src/writer/basic.rs:114-124 | crates/swc_ecma_codegen/src/text_writer/basic_impl.rs:98-108 | crates/swc_html_codegen/src/writer/basic.rs:112-122 | crates/swc_xml_codegen/src/writer/basic.rs:112-122 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_css_codegen/src/writer/basic.rs:114\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":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39812b6f764257714b9c3a469203caa3e262808b2d191dbc8bd38f8b52f7175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/swc_css_modules/src/lib.rs:167-177 | crates/swc_css_modules/src/lib.rs:184-194 | crates/swc_css_modules/src/lib.rs:203-213 | crates/swc_css_modules/src/lib.rs:220-230 \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, \u0060crates/swc_css_modules/src/lib.rs:179\u0060 calls \u0060visit_mut_with\u0060 and \u0060crates/swc_css_modules/src/lib.rs:215\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":"crates/swc_css_modules/src/lib.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2653eb8ec4675e58d812b5a5f409162c2df3c2d3a68ad596234fcc17e6d7b066"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/swc_xml_parser/src/lexer/mod.rs:2676-2686 | crates/swc_xml_parser/src/lexer/mod.rs:2732-2742 | crates/swc_xml_parser/src/lexer/mod.rs:2865-2875 | crates/swc_xml_parser/src/lexer/mod.rs:2918-2928 \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 \u0060crates/swc_xml_parser/src/lexer/mod.rs:2676\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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02d7e8ecdfc546c5ffe4174b06ca8ba9a3ae84bc4b708c9f399530a07f2d699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/swc_ecma_lints/src/rules/critical_rules.rs:503-513 | crates/swc_ecma_lints/src/rules/critical_rules.rs:519-529 | crates/swc_ecma_lints/src/rules/critical_rules.rs:535-545 \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 \u0060crates/swc_ecma_lints/src/rules/critical_rules.rs:503\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060s\u0060 to \u0060\u0026ImportDefaultSpecifier\u0060 in one and \u0060\u0026ImportNamedSpecifier\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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74c5ace133f070255b838b35e9ed643f29c09de47e93cbd390b0def8df1b337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/swc_ecma_minifier/src/compress/optimize/iife.rs:456-466 | crates/swc_ecma_minifier/src/compress/optimize/iife.rs:691-701 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1226-1236 \u2014 before extracting anything, compare \u0060crates/swc_ecma_minifier/src/compress/optimize/iife.rs\u0060 and \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060crates/swc_ecma_minifier/src/compress/optimize/iife.rs:456\u0060 it begins part-way through the construct above it, so those exact 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 \u0060e\u0060 to \u0060\u0026mut CallExpr\u0060 in one and \u0060\u0026mut Expr\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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb42a70207dfc803ed173019551fd49807952ddee2cf7e8a62a5955503cf885"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/swc_ecma_minifier/src/compress/optimize/util.rs:515-525 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:778-788 | crates/swc_ecma_minifier/src/compress/optimize/util.rs:871-881 \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 \u0060crates/swc_ecma_minifier/src/compress/optimize/util.rs:515\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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d5650b11da6f18d322847135da7efa5cc03d1652e099287f072150dedd02f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/swc_ecma_parser/src/parser/expr.rs:1506-1518 | crates/swc_ecma_parser/src/parser/expr.rs:1608-1620 | crates/swc_ecma_parser/src/parser/expr.rs:1702-1714 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_ecma_parser/src/parser/expr.rs:1622\u0060 calls \u0060unwrap_ts_non_null\u0060, \u0060is_opt_chain\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs:1716\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"65167a8acb3ed2fbefa68d76601bf16df772aea60f094be02919bc8cd02c787b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/swc_ecma_transforms_testing/src/lib.rs:264-273 | crates/swc_ecma_transforms_testing/src/lib.rs:542-551 | crates/swc_ecma_transforms_testing/src/lib.rs:595-605 \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 \u0060crates/swc_ecma_transforms_testing/src/lib.rs:595\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_testing/src/lib.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad36c833d8b8131ac2656e5ca7aeed6403a83565ea0d25dd160ab2baaca1b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bindings/binding_minifier_node/src/minify.rs:70-80 | crates/swc/src/lib.rs:1051-1061 \u2014 before extracting anything, compare \u0060bindings/binding_minifier_node/src/minify.rs\u0060 and \u0060crates/swc/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_minifier_node/src/minify.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":"bindings/binding_minifier_node/src/minify.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a77fa30c259425c898378dd5cd078b55b6139344ab24c84b41b952d983eb056"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_common/src/private/content.rs:494-504 | crates/swc_common/src/private/content.rs:506-516 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_common/src/private/content.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0ee6a81a181b8fbbe0ca1d78244b8256ef2b4530ebcb61c09a1a46c77dc9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_css_ast/src/token.rs:164-176 | crates/swc_css_ast/src/value.rs:383-395 \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":"crates/swc_css_ast/src/token.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"df559686792d3f3cd1c09d08ac8ae137062ff57fd218bd58b61a64b613956525"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_css_codegen/src/lib.rs:2346-2356 | crates/swc_css_codegen/src/lib.rs:2430-2440 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_codegen/src/lib.rs:2346\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 \u0060n\u0060 to \u0060\u0026PseudoClassSelector\u0060 in one and \u0060\u0026PseudoElementSelector\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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":2346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b977cfc075c2442e29df44e2635927df8c82d5f131a2ada908d53a34232f213e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/swc_css_lints/src/rules/font_family_no_duplicate_names.rs:150-160 | crates/swc_css_lints/src/rules/font_family_no_duplicate_names.rs:162-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 \u0060crates/swc_css_lints/src/rules/font_family_no_duplicate_names.rs:150\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":"crates/swc_css_lints/src/rules/font_family_no_duplicate_names.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff1797c04957ddd9571326061711748161eb2e0fa248b91c07fdb54b2a6378a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_css_modules/src/lib.rs:141-151 | crates/swc_css_modules/src/lib.rs:153-163 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/swc_css_modules/src/lib.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c79faf173bd1bbfcf2ad75f380360300d1d5cd2c2bfe5fa89efd36815aa049c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:932-942 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1229-1239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:1229\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c1fad1b2b374ffbeef14d07b3da12bc870baa82d0fac535e12621077d9281b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs:491-501 | crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs:543-552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs:491\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\u0026mut ForInStmt\u0060 in one and \u0060\u0026mut ForStmt\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":"crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b62f20d1aa41870520c6b80d93edb685d01a03f039cb34613c9c82f3a4e6c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:831-841 | crates/swc_ecma_parser/src/lexer/mod.rs:1245-1255 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:831\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb91b3380b2a452a69685456e7c9e5aaae128c3709216521fef7bb1a85f7ead3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1118-1129 | crates/swc_ecma_parser/src/lexer/mod.rs:1499-1509 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aec4b813eb21b26d1d15c1bd99e38182f03ccd92a75e978d7cbf8c1429225c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:543-552 | crates/swc_ecma_lexer/src/common/parser/expr.rs:1925-1935 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:543\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faa3f163db2dcf872ae96a3c7fde104cef3ebc7a0545a629793f47f1def5618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2383-2393 | crates/swc_ecma_parser/src/parser/expr.rs:3202-3212 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2383\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d8fe9f605fb3f14a38ff7dfaf0fc4c0ca02b792d1d5fc2901f48cc5408091d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:181-191 | crates/swc_ecma_parser/src/parser/mod.rs:1285-1295 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a3ed0169e6883590e7db2d80672717ab3a0f562b6ab219606f8ffad3e80de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:708-718 | crates/swc_ecma_parser/src/parser/module_item.rs:844-854 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/module_item.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:708\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a386449e7ba3c0500058ea919f216deef5897949bc1288ddfb7643ba58803920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:687-697 | crates/swc_ecma_lexer/src/common/parser/pat.rs:741-751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs:687\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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"979331d9b0b70d8f1cbab4f7af5f62137450806ed2d078926d0afb14bfa604f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:842-852 | crates/swc_ecma_parser/src/parser/stmt.rs:961-971 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs:842\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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8ebca9db011427335405a27130453ad7073cdd416398e90c8309fdaf75fc6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:616-626 | crates/swc_ecma_parser/src/parser/typescript.rs:1418-1428 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"db88fe749db980819ad0f57d5d273fc178a947966625e9942f0f1660e406edb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/swc_ecma_lexer/src/parser/mod.rs:148-158 | crates/swc_ecma_lexer/src/parser/mod.rs:170-179 \u2014 both copies are in the same file, so extract the block 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, \u0060crates/swc_ecma_lexer/src/parser/mod.rs:181\u0060 calls \u0060input\u0060, \u0060cur\u0060, \u0060input_mut\u0060 and \u0060crates/swc_ecma_lexer/src/parser/mod.rs:160\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":"crates/swc_ecma_lexer/src/parser/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f73e7631372804d70a2a5fdfe3b1efb221096234f47753ea778b8f18d0f39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:813-823 | crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:837-847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:813\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":"crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d2b03426dbea563b054840e8d9b399bb8c69fd7e46097a02e46eec217dd2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/iife.rs:31-41 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:526-536 \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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36ffc3f14c593c3742a3fc7be5ff63521ac90c77e9881b192e3f7b4b6bb4a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:768-778 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:810-820 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:768\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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cde7174bdfff23571a261e4b45f3120688c93d866096605ba1755166f5031c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:2333-2343 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:2354-2364 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"920e8c0c278c47161f3e2d1e2434c6bc46b67108c4547832775fb9a2e60484f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/mod.rs:170-179 | crates/swc_ecma_minifier/src/compress/pure/mod.rs:420-430 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a0b72cbb2e1975b5cf7dc14c365f28054d39179de985c51b325b7803d09b62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/option/terser.rs:292-302 | crates/swc_ecma_minifier/src/option/terser.rs:405-415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/option/terser.rs:292\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":"crates/swc_ecma_minifier/src/option/terser.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7d4fac86baf337335f9a454f5f85697092ef9b2e35e72540af35bfd3af915d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:402-412 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1510-1520 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:402\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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ae7736c57780fbce38e0162d19ec0fb1fa5b86825591ac0d46a3c95225910e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:221-231 | crates/swc_ecma_parser/src/parser/mod.rs:238-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/mod.rs:221\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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7227fec1caa2e93786e978891baefd053fb2a4000a7f9461f91d1aeeae33c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_parser/src/parser/module_item.rs:237-247 | crates/swc_ecma_parser/src/parser/module_item.rs:262-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 \u0060crates/swc_ecma_parser/src/parser/module_item.rs:237\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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0221c1a1b56260b6ce5372ed498dd09a39d9fd98a3af7bee3b3a706e8fa5fe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_parser/src/parser/stmt.rs:1818-1828 | crates/swc_ecma_parser/src/parser/stmt.rs:1883-1893 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060super) fn parse_flow_match_expr(\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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1921cac2cd2c2968f089792c3bd77f4584f7bca738a4a346c5ee563e5214f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:52-62 | crates/swc_ecma_transformer/src/es2015/typeof_symbol.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:52\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2578f7a4ac95606129126c860ae3bb4e675ff8a27cdf8ce02bf2610b8afd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_transforms_base/src/helpers/mod.rs:386-396 | crates/swc_ecma_transforms_base/src/helpers/mod.rs:399-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. 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 \u0060n\u0060 to \u0060\u0026mut FnDecl\u0060 in one and \u0060\u0026mut FnExpr\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":"crates/swc_ecma_transforms_base/src/helpers/mod.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"9443e57c2ad479bd7780580b13f147165f6f089a26737ac11074944bf31499da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs:154-164 | crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs:305-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs:154\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":"crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa271e18bc250ea16fbf04e497c8f9e621e01648197c918aecffc050c4dcceec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_transforms_compat/src/class_fields_use_set.rs:185-195 | crates/swc_ecma_transforms_compat/src/class_fields_use_set.rs:225-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_compat/src/class_fields_use_set.rs:185\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":"crates/swc_ecma_transforms_compat/src/class_fields_use_set.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b32293e5730624280b2d8d10a4ae3c5ea2f4a76c536dca63e2c97e3e7391e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_transforms_module/src/module_record.rs:631-641 | crates/swc_ecma_transforms_module/src/module_record.rs:645-655 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_module/src/module_record.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcd9a1ed4496970ee02d40441417499359c5dc558218158e7866acb8698a808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_transforms_module/src/top_level_this.rs:47-57 | crates/swc_ecma_utils/src/lib.rs:2407-2417 \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 \u0060crates/swc_ecma_transforms_module/src/top_level_this.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":"crates/swc_ecma_transforms_module/src/top_level_this.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb3214d6bada0034dae0201f6278e953249193320926b3208d6f05c95c07c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:2960-2970 | crates/swc_xml_parser/src/lexer/mod.rs:1278-1288 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lexer/mod.rs:2960\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":2960}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0041c46bfc40f7e574b99c2a95615fa97c9340be18b9f617f215d5eb2fd167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:141-151 | crates/swc_xml_parser/src/parser/mod.rs:73-83 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"252e74054e2846ad63dcdb00b473af89a4b540ac1be7738b86eafa88bc992f5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:4942-4952 | crates/swc_html_parser/src/parser/mod.rs:5032-5042 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:4942\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":4942}}}],"partialFingerprints":{"codehealthFindingId/v1":"06af14942308ba172b5054306e2a87a5afbca7f391f27b2735fb1afc53afbafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:8480-8490 | crates/swc_xml_parser/src/parser/mod.rs:555-565 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/parser/mod.rs:8480\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8480}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a6cac133a8275ece7daaf0d84b0797505b8a4735585595279e7d81d6a2ff24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ts_fast_strip/src/erase/classes.rs:127-137 | crates/swc_ts_fast_strip/src/erase/classes.rs:180-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ts_fast_strip/src/erase/classes.rs:127\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 \u0060field\u0060 to \u0060\u0026ClassProp\u0060 in one and \u0060\u0026PrivateProp\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":"crates/swc_ts_fast_strip/src/erase/classes.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dfdae2df2820a6317d7821c27e4d065049c614c4bc878b25adde30e35d6142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 13): crates/swc_ecma_lints/src/rules/dot_notation.rs:61-70 | crates/swc_ecma_lints/src/rules/eqeqeq.rs:49-58 | crates/swc_ecma_lints/src/rules/no_alert.rs:67-76 | crates/swc_ecma_lints/src/rules/no_bitwise.rs:101-110 | crates/swc_ecma_lints/src/rules/no_compare_neg_zero.rs:32-41 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:200-209 | crates/swc_ecma_lints/src/rules/no_empty_pattern.rs:32-41 | crates/swc_ecma_lints/src/rules/no_loop_func.rs:73-82 | crates/swc_ecma_lints/src/rules/no_obj_calls.rs:44-53 | crates/swc_ecma_lints/src/rules/no_param_reassign.rs:58-67 | crates/swc_ecma_lints/src/rules/no_prototype_builtins.rs:47-56 | crates/swc_ecma_lints/src/rules/prefer_const.rs:82-91 | crates/swc_ecma_lints/src/rules/yoda.rs:66-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 13 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lints/src/rules/dot_notation.rs:61\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":"crates/swc_ecma_lints/src/rules/dot_notation.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"58214a39f3f947f23f2c4235e258497b24b447d3ff213e9e51677942f78f644a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): crates/swc_html_parser/src/parser/mod.rs:1612-1621 | crates/swc_html_parser/src/parser/mod.rs:1700-1709 | crates/swc_html_parser/src/parser/mod.rs:2157-2166 | crates/swc_html_parser/src/parser/mod.rs:5114-5123 | crates/swc_html_parser/src/parser/mod.rs:5695-5704 | crates/swc_html_parser/src/parser/mod.rs:6217-6226 | crates/swc_html_parser/src/parser/mod.rs:6318-6327 | crates/swc_html_parser/src/parser/mod.rs:6488-6497 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2e21db0dfd364fc530ccd05ae83b865f9235cbe5be23ae558aa773b25b2f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/swc_css_parser/src/parser/values_and_units/mod.rs:248-257 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:264-273 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:308-317 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:333-342 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:358-367 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:248\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, \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:246\u0060 calls \u0060skip_ws\u0060 and \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:306\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b250726f425d72c190415b2f738471b820ac187106178b1e2a727cbd4d8e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/swc_html_parser/src/lexer/mod.rs:460-469 | crates/swc_html_parser/src/lexer/mod.rs:682-691 | crates/swc_html_parser/src/lexer/mod.rs:746-755 | crates/swc_html_parser/src/lexer/mod.rs:771-780 | crates/swc_html_parser/src/lexer/mod.rs:795-804 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060c\u0060 to \u0060u8\u0060 in one and \u0060char\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, \u0060crates/swc_html_parser/src/lexer/mod.rs:809\u0060 calls \u0060push\u0060 and \u0060crates/swc_html_parser/src/lexer/mod.rs:474\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"131493819ed061382e42a533285a4d8202e08a74244b05f737ddccc65b1db07c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/swc_css_parser/src/parser/values_and_units/mod.rs:733-742 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:767-776 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1244-1253 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1531-1540 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:733\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d91b1f89665d5bdf1eea65e34e55c2881e883c62d7d2c8ed51527e4640bd85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): crates/swc_ecma_lexer/src/common/lexer/mod.rs:313-321 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:343-352 | crates/swc_ecma_parser/src/lexer/mod.rs:792-800 | crates/swc_ecma_parser/src/lexer/mod.rs:822-831 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:313\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caa30cb365e1640b97afdff95a281d64b342ef6184d94b5952f004dbc53f4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:791-800 | bindings/binding_typescript_wasm/src/error_reporter.rs:791-800 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:791-800 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d9388d826cd47ed3f963f8761f51b078d640a6a900f9a53b1979f6768bdb16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/swc_common/src/syntax_pos/hygiene.rs:202-211 | crates/swc_common/src/syntax_pos/hygiene.rs:250-259 | crates/swc_common/src/syntax_pos/hygiene.rs:424-433 \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":"crates/swc_common/src/syntax_pos/hygiene.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd62151a948af202bcd350591e1d04cae296b6732a3b99d08714acc279aa96c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/swc_css_parser/src/lexer/mod.rs:260-269 | crates/swc_css_parser/src/lexer/mod.rs:519-528 | crates/swc_css_parser/src/lexer/mod.rs:572-581 \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 \u0060crates/swc_css_parser/src/lexer/mod.rs:260\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, \u0060crates/swc_css_parser/src/lexer/mod.rs:569\u0060 calls \u0060last_pos\u0060 and \u0060crates/swc_css_parser/src/lexer/mod.rs:516\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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50199d414b19f11f5a6a1ae6583ca193c13db55bfae4dc1161156f0e235ba34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/swc_html_parser/src/parser/mod.rs:2026-2035 | crates/swc_html_parser/src/parser/mod.rs:6217-6226 | crates/swc_html_parser/src/parser/mod.rs:6488-6497 \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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f36cc72564b2916200a4d112dc529bbcde4ca564bf154e55fda478a288e40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bindings/binding_nodejs_support_wasm/src/nodejs.rs:805-814 | bindings/binding_nodejs_support_wasm/src/nodejs.rs:839-848 \u2014 both copies are in the same file, so extract the block 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":"bindings/binding_nodejs_support_wasm/src/nodejs.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbaba515d49c05daf0629b82d9607a6ca1ec0446bf3a68b9d5d850dde47dd7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_cli_impl/src/commands/compile.rs:986-995 | crates/swc_cli_impl/src/commands/compile.rs:1004-1013 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_cli_impl/src/commands/compile.rs:986\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":"crates/swc_cli_impl/src/commands/compile.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa843752c2ab5cc871f5d4ad86a3d3b3d45f0d11218d02f2193427bff311975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_common/src/comments.rs:443-452 | crates/swc_node_comments/src/lib.rs:40-49 \u2014 before extracting anything, compare \u0060crates/swc_common/src/comments.rs\u0060 and \u0060crates/swc_node_comments/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/comments.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38643ee26153cf58ac0716b33e49bf25722374b575e5194b6b6de8e2dc43299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_common/src/comments.rs:483-492 | crates/swc_node_comments/src/lib.rs:76-85 \u2014 before extracting anything, compare \u0060crates/swc_common/src/comments.rs\u0060 and \u0060crates/swc_node_comments/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/comments.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dad68109c04bd7e560d3629f1194007e560632be1bc2b56fdbcc9ac8aa1980"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_common/src/comments.rs:507-516 | crates/swc_node_comments/src/lib.rs:97-106 \u2014 before extracting anything, compare \u0060crates/swc_common/src/comments.rs\u0060 and \u0060crates/swc_node_comments/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_common/src/comments.rs:507\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":"crates/swc_common/src/comments.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e65e9818fdbfa122350f7d87554abd2817de23078f8290ed34b020dbfbffb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_css_minifier/src/compressor/rules.rs:385-394 | crates/swc_css_minifier/src/compressor/rules.rs:522-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_minifier/src/compressor/rules.rs:385\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/rules.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a0f88e2cc55bd8f78c797d0e9d79d15ac509f453194bfd608678440bb5f8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): crates/swc_css_parser/src/lexer/mod.rs:901-910 | crates/swc_css_parser/src/lexer/mod.rs:954-960 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/lexer/mod.rs:901\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, \u0060crates/swc_css_parser/src/lexer/mod.rs:962\u0060 calls \u0060push_str\u0060 and \u0060crates/swc_css_parser/src/lexer/mod.rs:912\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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9150f1acec310fb1e8d2572700030baa34c552bca9924ae7ac847137137cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:221-230 | crates/swc_css_prefixer/src/prefixer.rs:321-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a86bae19907a83a792332768d0c83c24e8b5383a9a9a3338bb6b39eb680074f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:1904-1913 | crates/swc_css_prefixer/src/prefixer.rs:3630-3636 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:1904\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3cda00c06d7ea3f4ca1aa7f17fe1a199b6ca8173b272b0a0fe037b2775a16f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:407-414 | crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:442-451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs:407\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":"crates/swc_ecma_compat_es2022/src/class_properties/private_field.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d025ed9c472f670278baf30f127b1698bae6dbdc53157c4c929feb602599aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:859-868 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1041-1050 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:859\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"944b27649b5d2b25eb245e7cd056e35fe2ad2849b9fa39759c76f337c8b5262f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1334-1343 | crates/swc_ecma_lexer/src/common/parser/object.rs:345-354 \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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1334\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a85457550b131a9b055f9bd9333d8a8b8eba8eb0cd244b339e9825866ccd7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1407-1416 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1485-1494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1407\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fbf298a4c3e4137b45c8309c6cf66a478381b8dee665bb099ac4c6ba2137cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:1791-1800 | crates/swc_ecma_parser/src/parser/expr.rs:568-577 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b3f922285212123dd2a2325d1f9e6f0d947018a462040630467a0ee61e2b82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2050-2059 | crates/swc_ecma_parser/src/parser/expr.rs:2793-2802 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2050\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2050}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc02c64487d93ff304e468b763e3b3d88ce99138dccf359970f262978796334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:169-178 | crates/swc_ecma_parser/src/parser/mod.rs:1153-1162 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb0727a00987c3c703b9b82326a2fdf17ba6e45a2a7d3912228c8abd7ce58d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:467-476 | crates/swc_ecma_lexer/src/common/parser/module_item.rs:541-550 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f9095b2edd9e8e2856ba60d144f412f1301bd963d07fe12815cfb28f954312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat.rs:28-37 | crates/swc_ecma_parser/src/parser/pat.rs:34-43 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/pat.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 175 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bfe4bc09b14ee5d3335bb3e481cd825af420ad63b1203f3799f17b9910821b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:530-539 | crates/swc_ecma_lexer/src/common/parser/stmt.rs:749-758 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27d84ffbcdbbf760c13a66da9fda9f78d84656eae08be8a4bcc305d5fd77d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lints/src/rules/no_empty_function.rs:354-363 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:388-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 \u0060crates/swc_ecma_lints/src/rules/no_empty_function.rs:354\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":"crates/swc_ecma_lints/src/rules/no_empty_function.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ed2f308e15b05ed5752e5037255b9aadfc3b0ab0c6c4e5a46d1d28beba185c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lints/src/rules/prefer_const.rs:176-185 | crates/swc_ecma_lints/src/rules/prefer_const.rs:256-265 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lints/src/rules/prefer_const.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fba9dffc929a7c4dee96b70c9e567b4a1a21a02cc1fad50bcca67e5e51fa3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1437-1445 | crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1512-1521 \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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0ddf91701216dc7ed241d3e8e4c3ccdf4e12bb4fbfdb9486ce0e419b18a290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:255-263 | crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:409-418 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs:255\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 \u0060e\u0060 to \u0060\u0026BinExpr\u0060 in one and \u0060\u0026UnaryExpr\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":"crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03cd4d247578003ff09897f4836d72da9dcc162661242273fb2cc9d612f6af2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:930-939 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:966-975 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:930\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 \u0060n\u0060 to \u0060\u0026FnDecl\u0060 in one and \u0060\u0026FnExpr\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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"b073133e9f92b4e27de454a9059edcd09f385f3d5beb0e095c5c0cb84358f18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:993-1002 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1024-1033 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:993\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060n\u0060 to \u0060\u0026ForInStmt\u0060 in one and \u0060\u0026ForOfStmt\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, \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1004\u0060 calls \u0060visit_with\u0060 and \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1035\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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5250f0733f0e0d55b239fdf5d1fce11f4367f02394d25cbde24c5b255dcbcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_parser/src/parser/class_and_fn.rs:1727-1736 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1807-1816 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs:1727\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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfb12d5c49e550f8c4baaa382f81cd0cf5a98a2840ecedc0ed1d9e37e538fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/swc_ecma_parser/src/parser/pat.rs:545-554 | crates/swc_ecma_parser/src/parser/pat.rs:764-772 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060\u0026mut\u0060 in one and \u0060crate) fn parse_formal_param_pat(\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, \u0060crates/swc_ecma_parser/src/parser/pat.rs:556\u0060 calls \u0060Ok\u0060 and \u0060crates/swc_ecma_parser/src/parser/pat.rs:774\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":"crates/swc_ecma_parser/src/parser/pat.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3f243924323ee42187db49f1386df3f418789929cfd23fe99e0660db7d85e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_parser/src/parser/stmt.rs:626-635 | crates/swc_ecma_parser/src/parser/stmt.rs:868-877 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28549b815c8aa95f57f126c36aec5cb2bcfa29305e1d312553b8a729355d20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:3586-3595 | crates/swc_ecma_parser/src/parser/typescript.rs:3655-3666 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_ecma_parser/src/parser/typescript.rs:3582\u0060 calls \u0060flow_starts_like_anon_signature_param_type\u0060, \u0060Ok\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs:3654\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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"b518fc7618537e05c6af9c65528f2126785656f1c4af634780f95d163062c804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_preset_env/src/corejs2/mod.rs:136-145 | crates/swc_ecma_preset_env/src/corejs3/usage.rs:261-270 \u2014 before extracting anything, compare \u0060crates/swc_ecma_preset_env/src/corejs2/mod.rs\u0060 and \u0060crates/swc_ecma_preset_env/src/corejs3/usage.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/corejs2/mod.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"41772d0b81ed6a38d70a3f1a91597257565f71f8e47f9b02c721e1cebc873b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/swc_ecma_transforms_module/src/module_record.rs:294-303 | crates/swc_ecma_transforms_module/src/module_record.rs:341-349 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_module/src/module_record.rs:294\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/swc_ecma_transforms_module/src/module_record.rs:340\u0060 calls \u0060Some\u0060 and \u0060crates/swc_ecma_transforms_module/src/module_record.rs:292\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":"crates/swc_ecma_transforms_module/src/module_record.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ddfef93343b6f8d6033cad6a51852aaa2f76bfdb7964e66b0f12666d23a9ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2342-2352 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2392-2401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:2342\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dd89a50503067677ae35735c9b459b5a2aaa8e6c2bd5de621cee120cf62f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3597-3606 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3681-3690 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3597\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3597}}}],"partialFingerprints":{"codehealthFindingId/v1":"350142d9905a2b84f25991825b6b48d69b7de784029160d12754480b4858a35a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_utils/src/function/fn_env_hoister.rs:494-503 | crates/swc_ecma_utils/src/function/fn_env_hoister.rs:509-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_utils/src/function/fn_env_hoister.rs:494\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":"crates/swc_ecma_utils/src/function/fn_env_hoister.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf2296b7f8d672a97d08fe0adf7c1e482932f167c764531159b1968cabb0156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_html_minifier/src/lib.rs:1151-1160 | crates/swc_html_minifier/src/lib.rs:1166-1175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_minifier/src/lib.rs:1151\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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e5d3e3aee675b26d3a3d1d3e2a87bf6d4a3b5ac22bb43acaebe33aeb5712ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:5182-5191 | crates/swc_html_parser/src/parser/mod.rs:5920-5930 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:5182\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":5182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb466f875a1a6923940a0cdf39776c987b19c22ca003e91932f5fe4dd905fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:8466-8475 | crates/swc_xml_parser/src/parser/mod.rs:543-552 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/parser/mod.rs:8466\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb72fbc53f39d6d0ef935c733199c2ee76c10886193056aecc5be06e8ea2f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_sourcemap/src/types.rs:1214-1223 | crates/swc_sourcemap/src/types.rs:1226-1235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_sourcemap/src/types.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"50028764e459f014e4e877b8d880ca416a96642a43460f6104e0682697901353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 14): crates/swc_css_parser/src/parser/values_and_units/mod.rs:458-465 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:572-579 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:688-695 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:777-784 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:851-858 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:896-903 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:959-967 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1008-1016 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1076-1084 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1125-1133 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1171-1179 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1363-1370 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1448-1455 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1489-1496 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:458\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2211c2f8d83ed7d57ce58390700a212a7fffb6bd61792f9e5185c0ff0da1583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/swc_ecma_minifier/src/compress/optimize/iife.rs:158-166 | crates/swc_ecma_minifier/src/compress/optimize/iife.rs:456-464 | crates/swc_ecma_minifier/src/compress/optimize/iife.rs:691-699 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1226-1234 \u2014 before extracting anything, compare \u0060crates/swc_ecma_minifier/src/compress/optimize/iife.rs\u0060 and \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 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 \u0060crates/swc_ecma_minifier/src/compress/optimize/iife.rs:158\u0060 it begins part-way through the construct above it, so those exact 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 \u0060e\u0060 to \u0060\u0026mut CallExpr\u0060 in one and \u0060\u0026mut Expr\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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"604f34c40525c954851a5432012e07e9f4a099a497cde09ec5d5bce930cd891d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1043-1050 | crates/swc_ecma_minifier/src/compress/optimize/sequences.rs:1436-1444 | crates/swc_ecma_transformer/src/es2017/async_to_generator.rs:1512-1519 \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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"75633297dd3bc9414cae5cfa16b9f6c83d21daf9213177c736c12f0669dfc4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:401-409 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:969-977 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs:1509-1517 \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 \u0060crates/swc_ecma_minifier/src/usage_analyzer/analyzer/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":"crates/swc_ecma_minifier/src/usage_analyzer/analyzer/mod.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab229c9f520d60f3e28edd4736a129b247bf706ccba1a0bbc09496f8c84eacb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/swc_ecma_transforms_module/src/amd.rs:563-573 | crates/swc_ecma_transforms_module/src/common_js.rs:459-469 | crates/swc_ecma_transforms_module/src/umd.rs:309-319 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/common_js.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8809a4b373128fa4d543dfce9dd37fc76a73bc8bc54e49b994829110c1f08c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/swc_html_parser/src/lexer/mod.rs:591-599 | crates/swc_html_parser/src/lexer/mod.rs:602-610 | crates/swc_html_parser/src/lexer/mod.rs:613-621 \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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"9024962386f677bf08876e08fcae6e4883035324d301da8b6132334ef70d6bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_bundler/src/bundler/export.rs:182-190 | crates/swc_bundler/src/bundler/export.rs:193-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8283d85fabe4db2368f7a4a07651171b5f7deddfe88a725ee4667a5e12af3993"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_bundler/src/bundler/finalize.rs:225-233 | crates/swc_bundler/src/bundler/finalize.rs:246-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_bundler/src/bundler/finalize.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":"crates/swc_bundler/src/bundler/finalize.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e659ab5cc0e2b9a3a6d33cefef31ad665f6a15b935fcd280f365437729b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_common/src/input.rs:57-65 | crates/swc_common/src/input.rs:147-155 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_common/src/input.rs:157\u0060 calls \u0060get_unchecked\u0060 and \u0060crates/swc_common/src/input.rs:67\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":"crates/swc_common/src/input.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4176bb084c0f2768e8647d8f090ca85ca822ceae86c492d69f63534e4466d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_common/src/syntax_pos/hygiene.rs:184-193 | crates/swc_common/src/syntax_pos/hygiene.rs:234-242 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_common/src/syntax_pos/hygiene.rs:184\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":"crates/swc_common/src/syntax_pos/hygiene.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2497328e82cb307f462eb7295c116470945aeea55d798d508909bb0f001ca26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_css_minifier/src/compressor/color.rs:381-389 | crates/swc_css_minifier/src/compressor/color.rs:416-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/color.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b87cc8ecf42395cc231099dde0af7c2cd436ca6f9db9d3800e2cc8f982e150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_css_parser/src/lexer/mod.rs:994-1002 | crates/swc_css_parser/src/lexer/mod.rs:1021-1029 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/lexer/mod.rs:994\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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c30d0b580e7d8ee2bb9a68053d82c3497b43efab986b71a09c1d7cb429ae508"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1860-1868 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1900-1908 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:1860\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcce572126e4c01313c304f2edc9372cd6e6e62aa33f3d61315c4c2c2fc5366f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_codegen/src/lib.rs:1953-1961 | crates/swc_ecma_codegen/src/lib.rs:1981-1989 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_codegen/src/lib.rs:1953\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":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1633f5b3d2fda7dc21ae41db27d0ea52da21d4afad2d90fdc963065d0d1d4f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:1191-1199 | crates/swc_ecma_parser/src/parser/expr.rs:1997-2005 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:1191\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9877f95304d55dcaf4eee4a540c4deb3a521c20acab3257fb85b20f5b32e7e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:231-239 | crates/swc_ecma_lexer/src/common/parser/module_item.rs:274-282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:231\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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6e30c06432b6975b953747b91ff521b0f4e8b11803ba2fd1b33bc84ba3c325"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/object.rs:282-290 | crates/swc_ecma_parser/src/parser/object.rs:367-375 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/object.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/object.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/object.rs:282\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"296c20f43383a125296ecf3524f3d1774f72e87dd052b4f8e001d195df0c01f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:784-793 | crates/swc_ecma_parser/src/parser/typescript.rs:1695-1704 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/typescript.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 165 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb89e8b1584219898d386106d4270f6ccf4bffe7eb249784b7652f1dad43c960"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:1616-1624 | crates/swc_ecma_lexer/src/common/parser/typescript.rs:1639-1647 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/typescript.rs:1616\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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"1107c922a8418063b84184324142bde17dad44b1bf775361b0bad8c9353cfd1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lints/src/rules/no_empty_function.rs:293-301 | crates/swc_ecma_lints/src/rules/no_empty_function.rs:377-385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lints/src/rules/no_empty_function.rs:293\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":"crates/swc_ecma_lints/src/rules/no_empty_function.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ab48d7c38dc4a7d0f546f67b34d7fe259783b5756b6cdf2961c9067cc2f977"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:949-957 | crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:986-994 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:949\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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aa482ea777bb3a7f70d50786447c77425e3c27fce2ca3715ef7b99b7115fa6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/mod.rs:334-342 | crates/swc_ecma_minifier/src/compress/pure/mod.rs:1470-1478 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e6baf02c7746b4e6aedc3feb036946fedd56ad841992fc89a4d6170c1d2338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/vars.rs:103-111 | crates/swc_ecma_minifier/src/compress/pure/vars.rs:123-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/vars.rs:103\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":"crates/swc_ecma_minifier/src/compress/pure/vars.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"478e965c0782a01b569dd9069a6c9eb927fc38727bd48e555b1cefce1aae6e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_parser/src/lexer/mod.rs:2265-2273 | crates/swc_ecma_parser/src/lexer/mod.rs:2322-2331 \u2014 both copies are in the same file, so extract the block 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 \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. 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":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3121582528bcffec26cce0987e1190df18dbd1f018a31fd44a5fd7a76657ba4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:1478-1486 | crates/swc_ecma_parser/src/parser/expr.rs:1677-1685 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:1478\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bb0ad07737fd57bee05d563a96c1aadb17ca61594baef699c5a089a290ce61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_parser/src/parser/module_item.rs:260-268 | crates/swc_ecma_parser/src/parser/module_item.rs:307-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/module_item.rs:260\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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4a0ec2c80280491718a340ae33b851f6ef8132e8a3e3f3456975bfbb1a3239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/swc_ecma_parser/src/parser/stmt.rs:1807-1816 | crates/swc_ecma_parser/src/parser/stmt.rs:1862-1869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/stmt.rs:1807\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060super) fn parse_flow_match_expr(\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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6442cb82d70ed32c7ad71db5a395d448a5652d5f02a111be31b980cbef749b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:157-171 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:204-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 \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:204\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5accb8ba70e96d505da96e6f8e66816438d797873f4c9c76d4b13bff852e1050"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:326-334 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:379-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 \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:326\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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dead8984e903f16ba6744a6b368da3782c79b5073ab26b13ed1956bc34925af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1155-1163 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1199-1207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1155\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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5fc1f4f36866f9a74636174a2d85e38ad8240b7ef289b00f6a8874c3e94621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1171-1179 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1208-1216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1171\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"278aaedcc188c0a2509cb25f237d3e90c4bccb97c4230b11db740f97e1e83bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:82-90 | crates/swc_ecma_transformer/src/es2020/nullish_coalescing.rs:135-143 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs:82\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":"crates/swc_ecma_transformer/src/es2016/exponentiation_operator.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d202ab49209e90c1c8859d5a7a3e99904b2830f3e487401fae29ee60c3403e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs:160-168 | crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs:213-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs:160\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":"crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"22db537c88689fddaea97a1b73193516f645c52bce07bc57d17c05d5fb73efb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_module/src/syntax_strip.rs:70-78 | crates/swc_ecma_transforms_module/src/syntax_strip.rs:83-91 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_module/src/syntax_strip.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d4df4685a0e9bd29e72b4cf5e79cfe67c8f60b03587e68daaee1ef117c543b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:133-141 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:150-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 \u0060crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:133\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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"40003eea588266d19cd1467416175c99131d5b9c49c3d4b8f3e41275ffb7ebfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3608-3616 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3667-3675 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3608\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa114dd3ed8093fb17d19e4c9edc4780b16d0c98ba16069035d78e044f28909"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_react/src/jsx/mod.rs:634-642 | crates/swc_ecma_transforms_react/src/jsx/mod.rs:895-903 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_react/src/jsx/mod.rs:634\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e176133e22a7284bd3c8b4217b20b573b1aebbd9b7eebe393e651bc356c8fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_react/src/jsx/mod.rs:668-676 | crates/swc_ecma_transforms_react/src/jsx/mod.rs:941-949 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_react/src/jsx/mod.rs:668\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":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9ea5164e9f26e5c6ec7ec4b69736b96e619e9b1a7a647e37faa1c94184e40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_estree_compat/src/babelify/module.rs:68-76 | crates/swc_estree_compat/src/babelify/module.rs:92-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_estree_compat/src/babelify/module.rs:68\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":"crates/swc_estree_compat/src/babelify/module.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d573a6488abe2be523733a2c9fb937c68009ead159ea5d1a4f38b88b44d5a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:2616-2624 | crates/swc_html_parser/src/parser/mod.rs:2678-2686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:2616\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceda3c2ce2eb0b43dea043b7c7043266e272588dac855576f9ba2e24dfbb7246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_sourcemap/src/decoder.rs:213-221 | crates/swc_sourcemap/src/lazy/mod.rs:413-421 \u2014 before extracting anything, compare \u0060crates/swc_sourcemap/src/decoder.rs\u0060 and \u0060crates/swc_sourcemap/src/lazy/mod.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 71 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_sourcemap/src/decoder.rs:213\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":"crates/swc_sourcemap/src/decoder.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03d8c5218524648886684d420e5fa15a2ef735899d460f0266ddbd10ffc3c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_typescript/src/fast_dts/mod.rs:471-479 | crates/swc_typescript/src/fast_dts/mod.rs:481-489 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_typescript/src/fast_dts/mod.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c01c38d5076dbdf3ce6fae54bb820e59cd8ec9b5cd6b47974732ee7e59b6377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/swc_css_parser/src/parser/values_and_units/mod.rs:564-571 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:680-687 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:951-958 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1068-1075 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:564\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b2339034e5325366f21f5456cc59e13f115be846e176e3652b446fdb91cffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/swc_estree_compat/src/babelify/typescript.rs:231-238 | crates/swc_estree_compat/src/babelify/typescript.rs:250-257 | crates/swc_estree_compat/src/babelify/typescript.rs:287-294 | crates/swc_estree_compat/src/babelify/typescript.rs:307-314 \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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7509029092455a62e01daf00932fbfffe6cec108c75bba280a12f6a37ab2c852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1826-1833 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1858-1865 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1898-1905 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:1826\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17bc9781d33c88783d67299926eac62e9202ed2880ac7e78750c1a22e6bb794"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:346-353 | crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:359-366 | crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:373-380 \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 \u0060crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs:346\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\u0026ForInStmt\u0060 in one and \u0060\u0026ForOfStmt\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":"crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61dc7f6c4881d4d6705cc11013d029db8c834c4917db85a249aa1985b7ce3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/swc_html_parser/src/parser/mod.rs:8307-8314 | crates/swc_html_parser/src/parser/mod.rs:8326-8333 | crates/swc_html_parser/src/parser/mod.rs:8346-8353 \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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b058a207f7e667019676d526ab7c1d6802f89201a7d9bc5e983aa6db499a6bf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/ast_node/src/encoding/encode.rs:38-45 | crates/ast_node/src/encoding/encode.rs:218-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/ast_node/src/encoding/encode.rs:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast_node/src/encoding/encode.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee50655553db0be74c8664d4e627133794fe1b8a1cfca1dc07be5b21611f1b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_css_minifier/src/compressor/calc_sum.rs:217-224 | crates/swc_css_minifier/src/compressor/calc_sum.rs:300-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_minifier/src/compressor/calc_sum.rs:217\u0060 it begins part-way through the construct above it, so those exact 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, \u0060crates/swc_css_minifier/src/compressor/calc_sum.rs:315\u0060 calls \u0060default\u0060 and \u0060crates/swc_css_minifier/src/compressor/calc_sum.rs:230\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":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698334b01de783338536006471b3c1a0062e10df1190046c41231b42a83793b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:1907-1914 | crates/swc_css_prefixer/src/prefixer.rs:3621-3628 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c1d4b18507a09424647a9ced22c40a3b944daa02d98a1e2e5cb23947975f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_ast/src/prop.rs:134-141 | crates/swc_ecma_utils/src/lib.rs:1557-1564 \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":"crates/swc_ecma_ast/src/prop.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3dc5836f9b27212e6f697c7a827a647a110b33889678d8fef27d810187d460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_codegen/src/util/token_boundaries.rs:88-95 | crates/swc_ecma_codegen/src/util/token_boundaries.rs:125-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 \u0060crates/swc_ecma_codegen/src/util/token_boundaries.rs:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/util/token_boundaries.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"772dc1e04f633fe64267a184ff6d4249cd09669fbc9dc7905a0c4c519c332126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/generator.rs:1022-1029 | crates/swc_ecma_compat_es2015/src/generator.rs:1033-1040 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/generator.rs:1022\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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"216ae7d131e182e444efd77ff6dcf13de0db6bd6bf115319ef1cbdef833c4c2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/generator.rs:1952-1959 | crates/swc_ecma_compat_es2015/src/generator.rs:1963-1970 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2015/src/generator.rs:1952\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 \u0060ContinueStmt\u0060 in one and \u0060BreakStmt\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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c41d453bf8c78c190efd2af5773494136a252af12a2fec5c897b44946dd521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:242-249 | crates/swc_ecma_parser/src/lexer/mod.rs:721-728 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d176394c4d12ffd34302eafe458a6f2af5fed3144189f111bfce52ef74388a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:800-807 | crates/swc_ecma_parser/src/lexer/mod.rs:1215-1222 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:800\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f217f49baba47fde51853f88c6531eb46306efc3ae3a9c1dcf0f28e107bf89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/number.rs:87-94 | crates/swc_ecma_parser/src/lexer/number.rs:107-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/number.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63a318fc54216dc3fecaecdd7617947a3e692093620077a634a5bb3e4c8536e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/expr.rs:2265-2272 | crates/swc_ecma_parser/src/parser/expr.rs:3091-3098 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/expr.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 209 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2265\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, \u0060crates/swc_ecma_parser/src/parser/expr.rs:3088\u0060 calls \u0060preserve_pending_async_call_param_await\u0060 and \u0060crates/swc_ecma_lexer/src/common/parser/expr.rs:2261\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97e9e1a3817b7217d86721b807a806bfc61a11eeb5736d9e02fd165dbd2362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:80-87 | crates/swc_ecma_lexer/src/common/parser/module_item.rs:930-938 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:80\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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf3c24f67f987823aca3eb77cc86d41f9f8f39a2f32fc5494fd7b051cabe4e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/module_item.rs:345-352 | crates/swc_ecma_parser/src/parser/module_item.rs:394-401 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/module_item.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/module_item.rs:345\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b49534dd5caf59d5eddf090138dad6c09fd26f6f1fc590861e52b46c9b8658b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:401-410 | crates/swc_ecma_parser/src/parser/stmt.rs:437-446 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs:401\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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b858b391d57ba3d214a27602fa4b7afeb2de9b68a37a12d70cf3b31154dbd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:970-977 | crates/swc_ecma_parser/src/parser/stmt.rs:1089-1096 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs:970\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fe5862b3cf8eeebac0f097c07a0414129a11c2eb1ebf62757e6ce4cae4623c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/util.rs:78-91 | crates/swc_ecma_parser/src/parser/typescript.rs:80-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/util.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a02d21cee7abaee4ac1ebe663705ac0076443a1471f514eaa5578645bab15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:456-464 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:3076-3084 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"debb9c8e4817dc607085e064430a36deebca9dbb45d7fd978eabe22644f239a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/props.rs:371-378 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:1058-1065 \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 \u0060crates/swc_ecma_minifier/src/compress/optimize/props.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":"crates/swc_ecma_minifier/src/compress/optimize/props.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"746d66441e67a66b33076fdb1cc17f2edcce9b1208c03088bc9c00f2c9e45949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:2739-2746 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:1882-1889 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":2739}}}],"partialFingerprints":{"codehealthFindingId/v1":"80230a1cff204316e273893dd52450ce783a1a2215ffefc19a06d339ecc03acd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/swc_ecma_parser/src/lexer/state.rs:265-274 | crates/swc_ecma_parser/src/lexer/state.rs:284-292 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/lexer/state.rs:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/lexer/state.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6e0443e4afb5e89c331be608b017b5a369fccc8ff86659ebb7509b77094ca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:2888-2894 | crates/swc_ecma_parser/src/parser/expr.rs:2934-2941 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:2934\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2888}}}],"partialFingerprints":{"codehealthFindingId/v1":"c692de185213174d74577d0dea12df7a39a9eb11fcbf39d5f061167c0294429b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:391-398 | crates/swc_ecma_parser/src/parser/mod.rs:420-428 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2f9035091399c694d458eba39be6e922c5194b73bcf6b7ce8b8c1fc7c15d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:398-404 | crates/swc_ecma_parser/src/parser/mod.rs:460-467 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"708fef875ba0abeae7e8352cae382f6884965c2197d7304953207631a981bca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_parser/src/parser/module_item.rs:690-697 | crates/swc_ecma_parser/src/parser/stmt.rs:1985-1992 \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. 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, \u0060crates/swc_ecma_parser/src/parser/module_item.rs:689\u0060 calls \u0060cur_pos\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs:1984\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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e16af875b26c2c8713ffcaf23c10e1201ed2cd8f3881627fba3750523d604c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_preset_env/src/lib.rs:511-518 | crates/swc_ecma_preset_env/src/lib.rs:561-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_preset_env/src/lib.rs:511\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060m\u0060 to \u0060\u0026mut Module\u0060 in one and \u0060\u0026mut Script\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":"crates/swc_ecma_preset_env/src/lib.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"d496225f22a90a93f41550819a7a46e3ab4589d5e441053a9397b0bef54f6b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:922-929 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:962-969 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:922\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2a01d8adfdf4daa537c782074a8aa8c22cdae2551ed135041c5579eaea984a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:20-27 | crates/swc_ecma_transforms_proposal/src/export_default_from.rs:20-27 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs\u0060 and \u0060crates/swc_ecma_transforms_proposal/src/export_default_from.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs:20\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":"crates/swc_ecma_transformer/src/es2020/export_namespace_from.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"319752af15b8d56052b394cb5ced469037c15141ac18cb638a4613d0ed73c490"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs:171-179 | crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs:224-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 \u0060crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs:171\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":"crates/swc_ecma_transformer/src/es2021/logical_assignment_operators.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd8cfd6ea4a126de98b345e1a52d2e12325a898009fc129fef2615cecc173eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/ops.rs:272-279 | crates/swc_ecma_transforms_base/src/rename/ops.rs:313-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/ops.rs:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/ops.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f62762ef27b0d23d9ecafdf8353b837468452c72d899376ef0221daf7ebb3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3205-3212 | crates/swc_ecma_transforms_proposal/src/decorator_impl.rs:3523-3530 \u2014 both copies are in the same file, so extract the block 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 \u0060p\u0060 to \u0060\u0026mut ClassProp\u0060 in one and \u0060\u0026mut PrivateProp\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":"crates/swc_ecma_transforms_proposal/src/decorator_impl.rs"},"region":{"startLine":3205}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d0ca5192499fcc9ffd8e1fa507e8773b8b795b626bb01101975251ea15fb75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_estree_ast/src/class.rs:361-368 | crates/swc_estree_ast/src/object.rs:266-273 \u2014 before extracting anything, compare \u0060crates/swc_estree_ast/src/class.rs\u0060 and \u0060crates/swc_estree_ast/src/object.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"3069afb1077ae3c934d33c1da10756f17d4363c4f1a5cbdf93f5fe347ed4ad93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:5278-5285 | crates/swc_html_parser/src/parser/mod.rs:5487-5494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:5278\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":5278}}}],"partialFingerprints":{"codehealthFindingId/v1":"029fc34da0e3c0ccaaa2708ea6a04cb836152b159340d1b643f68cb1153416b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_html_parser/src/parser/node.rs:68-75 | crates/swc_xml_parser/src/parser/node.rs:74-81 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/node.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/node.rs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/node.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37eaf4b325d60c1231b5bd63b4b699ff3b991ced8fa088698eb0d59f3b0a9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ts_fast_strip/src/lib.rs:255-262 | crates/swc_ts_fast_strip/src/lib.rs:268-275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/src/lib.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0c72c67955ce713e3822a035f34c596d77c98ce3aa78b84a51a4d3a70aa466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/swc_ecma_lexer/src/common/parser/mod.rs:236-242 | crates/swc_ecma_lexer/src/common/parser/mod.rs:247-253 | crates/swc_ecma_parser/src/parser/mod.rs:1341-1347 | crates/swc_ecma_parser/src/parser/mod.rs:1352-1358 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs:236\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 \u0060t\u0060 to \u0060\u0026Self::Token\u0060 in one and \u0060Token\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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccf106ef909a5e94bd23cdc9699b8035f22c6c471921bdd4fd263f3bda3eb20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/swc_css_parser/src/parser/values_and_units/mod.rs:404-410 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:517-523 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:633-639 \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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:404\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b567295e8370403e8ba604020594a7ce21fcbc06ca1a2de0b7cf56508fc74c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/swc_ecma_lexer/src/common/parser/module_item.rs:76-86 | crates/swc_ecma_lexer/src/common/parser/module_item.rs:800-810 | crates/swc_ecma_lexer/src/common/parser/module_item.rs:926-936 \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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9e19cc64000c6a919a2ad16690ed9c513b4836e390e440b4d6fb0c16bd2c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/swc_html_parser/src/parser/mod.rs:4946-4952 | crates/swc_html_parser/src/parser/mod.rs:5010-5016 | crates/swc_html_parser/src/parser/mod.rs:5036-5042 \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 \u0060crates/swc_html_parser/src/parser/mod.rs:4946\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":4946}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf97576754048969e75ed8c499ed318224fcd07ae1a6b5114afff93ec0a9dd52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_bundler/src/bundler/export.rs:84-90 | crates/swc_bundler/src/bundler/import/mod.rs:155-161 \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 \u0060crates/swc_bundler/src/bundler/export.rs:84\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":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4daf146d0fb0d0098dc705f8435919347042ef70dac8b09946f798e249b94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_css_parser/src/lexer/mod.rs:952-958 | crates/swc_css_parser/src/lexer/mod.rs:962-968 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/lexer/mod.rs:952\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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"4229597881b4113c28bab7cf976169ca03b2bfb53806c6370f4bb0525f3ebea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:56-62 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:38-44 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c741cf6b065ed2da882b26890c852686a0c8d0c4113e6e667431cd1d38848c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1673-1679 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2048-2054 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 150 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1673\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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab2641fc4b5f2966eb76e1a92deed930c5e8b38abe9902192f0933b02ed6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/jsx.rs:321-327 | crates/swc_ecma_lexer/src/common/parser/stmt.rs:474-480 \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. 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":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"a137a796bf955793de58fb3d59533692c3383550227f5028589deaad73423f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:225-231 | crates/swc_ecma_parser/src/parser/mod.rs:1330-1336 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"024e3ff1ed9cbaf390579f9b8191530141e6348f9c04f8abef852e6378e05b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/object.rs:105-111 | crates/swc_ecma_parser/src/parser/object.rs:135-141 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/object.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/object.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/object.rs:105\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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd052341a72e0a53daf262f131373661053b1c6d78a0ac873a1b4ddfd00fb9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:873-891 | crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:896-914 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"0551a34cc8fb51975cc51bf80129d0a4a9ccae29f2e7e5124e09d602c72835c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/swc_ecma_parser/src/parser/stmt.rs:1798-1804 | crates/swc_ecma_parser/src/parser/stmt.rs:1854-1859 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060super) fn parse_flow_match_expr(\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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cc73b8eee4a734d2bba1eb64ef4fbddc3838c8a056eed313f3046d16f42920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:1484-1491 | crates/swc_ecma_parser/src/parser/typescript.rs:1571-1578 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/typescript.rs:1484\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1ca207b168fc99dead26ab8d28639330473b5001b2c8643205bfacd83bb671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1712-1718 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1742-1748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1712\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a98833d0537bde8ec673ae5d9c71fcebf41191d504bfe3787dce5efe187ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1985-1991 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2058-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 \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1985\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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"46183dd7fb667c40a86f38c520ab55a4d89fc2cf69220daa6fed7495cd91f92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/swc_ecma_transformer/src/regexp.rs:316-321 | crates/swc_ecma_transformer/src/regexp.rs:370-376 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transformer/src/regexp.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b079457aa3730f028370eb8a46aebf37c2e97571774c7fa873b78d1148ac89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): crates/swc_css_minifier/src/compressor/calc_sum.rs:457-462 | crates/swc_css_minifier/src/compressor/calc_sum.rs:466-471 | crates/swc_css_minifier/src/compressor/calc_sum.rs:475-480 | crates/swc_css_minifier/src/compressor/calc_sum.rs:484-489 | crates/swc_css_minifier/src/compressor/calc_sum.rs:493-498 | crates/swc_css_minifier/src/compressor/calc_sum.rs:502-507 | crates/swc_css_minifier/src/compressor/calc_sum.rs:511-516 \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 \u0060crates/swc_css_minifier/src/compressor/calc_sum.rs:457\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e53f2b65efe2994898a5ba1bc0b0ca2305ef9280032613a3160c10a62897736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/swc_ecma_lexer/src/common/lexer/mod.rs:289-294 | crates/swc_ecma_lexer/src/common/lexer/mod.rs:395-400 | crates/swc_ecma_parser/src/lexer/mod.rs:768-773 | crates/swc_ecma_parser/src/lexer/mod.rs:873-878 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:289\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f8099873ae71dcc74bc3369ac01e075bffdee8df95343b113c52a191204edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc/src/lib.rs:392-398 | crates/swc_ecma_transforms_typescript/src/retain.rs:153-159 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/src/lib.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b4715020a7c4bb14650a2be12fdf6a290c805dc31d050a0db02a6c9b9ce969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_bundler/src/bundler/chunk/merge.rs:387-392 | crates/swc_bundler/src/bundler/chunk/merge.rs:394-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedb832f35dbccf97f659651842a0a310e7dfd23069f0fdff98f50447d577e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_bundler/src/bundler/import/mod.rs:168-173 | crates/swc_bundler/src/bundler/import/mod.rs:179-184 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_bundler/src/bundler/import/mod.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c19897ea960b8ce1365eca3f97b36b8a1ab305e9ed5ef51414f849f4d7313"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:1356-1362 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1441-1447 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e25e4b4de9b76f327d8d82720b10765b20b855dfc833d3fd89288feecdd4ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:1879-1887 | crates/swc_ecma_parser/src/lexer/mod.rs:2098-2106 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs:1879\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc4aab50d883c22437a6f3feb69ebb8cdd09467c21edc2e224e82ad291e6cf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1388-1393 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1416-1421 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4382f36fb2953db9d81090f04ba75f3ebc1723053870a7ab86e585212e857550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1466-1471 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1494-1499 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff3f8743fe643dd22d396cb20036c1751d18a8f312c4e519b141adebdaa8943"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1521-1526 | crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs:1554-1559 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad759391bce62a2c6ae3f0d2b9543fa1e055a010a17224c0b5c57bc80919ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/object.rs:349-354 | crates/swc_ecma_parser/src/parser/object.rs:437-444 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/object.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/object.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/object.rs:349\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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6c6673396be46b55806497c330a429f37b1818947a93faec649527cc116310"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/stmt.rs:773-778 | crates/swc_ecma_parser/src/parser/stmt.rs:892-897 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/stmt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/stmt.rs:773\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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94b7990890b9d5f34e37e76029cc8f20e73f28cfa9927c1e81dd8384fbe3e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_minifier/src/util/size.rs:192-198 | crates/swc_ecma_minifier/src/util/size.rs:320-326 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_minifier/src/util/size.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"485ab737975487118c387c8cc9cca457bd110859f26ef030c3be4769725f3f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/class_and_fn.rs:1624-1629 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1652-1657 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs:1624\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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5e71dc5fddb15a0973797c5b62be2db9a155860eaafd5aed40ae6a8d3ea022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/class_and_fn.rs:1709-1714 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1736-1741 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b25790696072abca90f4023b932897c83a3414be69f59001f5b65b858a6a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/class_and_fn.rs:1842-1847 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:1874-1879 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71acffee481c095efefae9db03b7956a36776eb8b3e3bf4f98e259adf53b029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:532-537 | crates/swc_ecma_parser/src/parser/expr.rs:1990-1995 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/expr.rs:532\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 parse_lhs_expr(\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"511fb65a254bf89fd0d367b36145ae47e5d0f821375eb85b42d05d19d3cc2444"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:791-798 | crates/swc_ecma_parser/src/parser/expr.rs:949-956 \u2014 both copies are in the same file, so extract the block 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 \u0060self\u0060 to \u0060super) fn parse_no_substitution_template_literal( \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c1b364b6ac70709a49d2bb08cbb98631236c216316ec36aed77d66a57e8a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/expr.rs:878-883 | crates/swc_ecma_parser/src/parser/expr.rs:895-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 \u0060crates/swc_ecma_parser/src/parser/expr.rs:878\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"12496e2b497e759ef8a1fd4a86ced930f92752393fe8905d5989182cd7b29189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/mod.rs:1435-1440 | crates/swc_ecma_parser/src/parser/typescript.rs:2179-2184 \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 \u0060crates/swc_ecma_parser/src/parser/mod.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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe2893ef67c20daa633575b4030e7e2e6c7df846a8d27b54435f55feb14430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_parser/src/parser/module_item.rs:607-612 | crates/swc_ecma_parser/src/parser/module_item.rs:676-681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/module_item.rs:607\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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a72b0b5e2e6c9a795ff04a698da9a7fa419e832a29fd929c36febf37429609f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_preset_env/src/corejs2/mod.rs:234-239 | crates/swc_ecma_preset_env/src/corejs2/mod.rs:246-253 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_preset_env/src/corejs2/mod.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"126232344f377afd811f8c946c5305b0f127f2d0dbdbcb46147a416349a984ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1802-1807 | crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:2334-2339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs:1802\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":"crates/swc_ecma_regexp/src/parser/pattern_parser/pattern_parser_impl.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd9c38b2fd51698b39b314efd59a5580859b6daaac5023b3ab72131a1e3276c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:107-112 | crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:121-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 \u0060crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:107\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, \u0060crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:127\u0060 calls \u0060advance\u0060 and \u0060crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs:113\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":"crates/swc_ecma_regexp/src/parser/reader/reader_impl.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c875929bb2bafb26c308f63f5475aecf5e48b6d8242ba9a94b0c2a95b27b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 4): crates/swc_ecma_transformer/src/es2015/instanceof.rs:95-100 | crates/swc_ecma_transformer/src/es2015/instanceof.rs:112-117 | crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:182-184 | crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:197-199 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transformer/src/es2015/instanceof.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. 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, \u0060crates/swc_ecma_transformer/src/es2015/instanceof.rs:94\u0060 calls \u0060Some\u0060, \u0060Expr\u0060, \u0060first\u0060 and \u0060crates/swc_ecma_transformer/src/es2015/typeof_symbol.rs:182\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":"crates/swc_ecma_transformer/src/es2015/instanceof.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1240fd0705128413131706cb68a84c08a96ba92684819b5806bf2c48357e531d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_utils/src/lib.rs:1526-1533 | crates/swc_ecma_utils/src/lib.rs:1545-1552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_utils/src/lib.rs:1526\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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc334de77d092f918a7285a9b90e83ee14f12fd35d1e4b3eb3d6b1acd4897ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_estree_compat/src/swcify/expr.rs:317-322 | crates/swc_estree_compat/src/swcify/expr.rs:532-537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_estree_compat/src/swcify/expr.rs:317\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":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c3e5a87b66664d7288cc506a9ae9f8b9599e5cbc586728da9e3206bcb8276e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_html_parser/src/error.rs:48-53 | crates/swc_xml_parser/src/error.rs:40-45 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_html_parser/src/error.rs:55\u0060 calls \u0060into\u0060 and \u0060crates/swc_xml_parser/src/error.rs:46\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":"crates/swc_html_parser/src/error.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf7993064544b2a1e2d4f51452f07e11eb00b5858ca205a4ad8b6d796b1d0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/swc_css_parser/src/parser/values_and_units/mod.rs:406-414 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:519-527 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:635-643 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:887-895 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:406\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f867fd7c14cb85eb52e7733dd1422e1f2a363c8e387a65c39d790e60c7dd7d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/swc_ecma_parser/src/parser/expr.rs:1425-1433 | crates/swc_ecma_parser/src/parser/expr.rs:1644-1652 | crates/swc_ecma_parser/src/parser/expr.rs:1760-1768 \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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b4e4877808a8f125c5521a6827300c93049b14788cdfceca3a6717597d46a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bindings/binding_nodejs_support_wasm/src/lib.rs:76-82 | bindings/binding_typescript_wasm/src/lib.rs:61-67 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/lib.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_nodejs_support_wasm/src/lib.rs:76\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":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"117cdbb25ac7bc95080c4e8d9cad50ed05d11c73f33d98dd5c2da5c60b2990ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/generator.rs:2310-2314 | crates/swc_ecma_compat_es2015/src/generator.rs:2335-2339 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"626b56d9f30b13bf53a76d70efc1522b939df8e298b720a3f4290ad6fa11c079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/typescript.rs:83-87 | crates/swc_ecma_lexer/src/common/parser/typescript.rs:211-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_lexer/src/common/parser/typescript.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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c5954a592a43455193cab34913e17f905d4f537a6debec15696e31fde782a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:599-603 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:632-636 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:599\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"62deb994e903bdcc5e852967e452b41b4b7f0b30b014d0247a3e09bea261a02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:5334-5338 | crates/swc_ecma_parser/src/parser/typescript.rs:5342-5346 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":5334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64037c9125e7e381f5edfe9ed18cf20be050bb13a3ab640686a648ba87fd34a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:177-181 | crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs:543-547 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transformer/src/es2018/object_rest_spread.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaed1e5715dfb793f00a880136be9152006a4674a6690c9884c74a3ce7376446"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_transforms_base/src/fixer/typescript.rs:352-356 | crates/swc_ecma_transforms_base/src/fixer/typescript.rs:402-406 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_base/src/fixer/typescript.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3b7e159cb0380b6482d1e037dcc58d1e1728e9240560008bafac0faa70ec6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_transforms_base/src/rename/mod.rs:443-447 | crates/swc_ecma_transforms_base/src/rename/mod.rs:484-494 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_base/src/rename/mod.rs:484\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060m\u0060 to \u0060\u0026mut Module\u0060 in one and \u0060\u0026mut Script\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":"crates/swc_ecma_transforms_base/src/rename/mod.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"742926c6bcb1d0a6e370c5a94d936d5dc1b7d62f407a1027fb4acfc42312d6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_transforms_testing/src/lib.rs:262-266 | crates/swc_ecma_transforms_testing/src/lib.rs:358-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_testing/src/lib.rs:262\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":"crates/swc_ecma_transforms_testing/src/lib.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2484179dd9745a217f426a7c0b76c69e097a9f3d66dc91113749e4c3317964fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ts_fast_strip/src/token_cursor.rs:33-37 | crates/swc_ts_fast_strip/src/token_cursor.rs:69-73 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ts_fast_strip/src/token_cursor.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"494b94f48cebbbff3af65d7742dc8ac51a9a81a369a6ecb7cc429f649498baf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): bindings/binding_html_node/src/tag_omission.rs:17-45 | bindings/binding_html_wasm/src/tag_omission.rs:17-45 \u2014 before extracting anything, compare \u0060bindings/binding_html_node/src/tag_omission.rs\u0060 and \u0060bindings/binding_html_wasm/src/tag_omission.rs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_html_node/src/tag_omission.rs:17\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":"bindings/binding_html_node/src/tag_omission.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97d7eccf2ef97cd9228d178e39c5f6950a4b5bc5b758fb112b0c9beaa6f40d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): crates/swc_css_codegen/src/ctx.rs:11-50 | crates/swc_html_codegen/src/ctx.rs:11-49 | crates/swc_xml_codegen/src/ctx.rs:11-49 \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 \u0060crates/swc_css_codegen/src/ctx.rs:11\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":"crates/swc_css_codegen/src/ctx.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"640ff649257f2d249530ac0ba9dfa378d8633c35b186df083ff9f91280ad5b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/verifier.rs:14-23 | crates/swc_ecma_parser/src/parser/verifier.rs:14-23 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/verifier.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/verifier.rs\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/verifier.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dc07829720d7e84b8cb64b2153b8bdb92525c04c7a2e868f45a09f14b5e946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): crates/swc_ecma_minifier/src/usage_analyzer/alias/ctx.rs:8-50 | crates/swc_ecma_minifier/src/usage_analyzer/analyzer/ctx.rs:15-146 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/usage_analyzer/alias/ctx.rs:8\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":"crates/swc_ecma_minifier/src/usage_analyzer/alias/ctx.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53c548272efb14cfaca74610c12aceaa020d6fa3b41dbbc93f4a16fd334d917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): bindings/binding_core_node/src/lib.rs:34-41 | bindings/binding_minifier_node/src/lib.rs:17-24 | bindings/binding_react_compiler_node/src/lib.rs:18-25 \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":"bindings/binding_core_node/src/lib.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"681441d884a4403726738803c3b6fecc60eb95c14822c058ba577bb4e9b92035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bindings/binding_core_node/src/parse.rs:140-145 | bindings/binding_html_node/src/lib.rs:700-705 \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":"bindings/binding_core_node/src/parse.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6e92664c58bf57d41b15d0dae0cd1f624ec2d93d1ff046465ac582cabba0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:70-75 | bindings/binding_typescript_wasm/src/error_reporter.rs:70-75 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:70-75 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"071436efb9bd38c762c9cb3c04343c5b3348d92153a5b2fbab251e042c6b89ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:738-744 | bindings/binding_typescript_wasm/src/error_reporter.rs:738-744 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:738-744 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71520e7180a3f2dddc4832c95ce50f1e4fc79254a41c18dd9eb31cc10882fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:805-811 | bindings/binding_typescript_wasm/src/error_reporter.rs:805-811 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:805-811 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dda2abebca34fdac1d1dd209d5f2bcb61905142ae7c85f133680b35b4e8d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:860-864 | bindings/binding_typescript_wasm/src/error_reporter.rs:860-864 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:860-864 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e447aba32480d46fa683d7f29c602d8c5ad524e3f4a912f0e847c7780a29827c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:866-872 | bindings/binding_typescript_wasm/src/error_reporter.rs:866-872 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:866-872 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d9ea067ed7a69fc5cf25c633b958ccb8359eaf64a7879559dc2d45e3b7c01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/lib.rs:147-153 | bindings/binding_typescript_wasm/src/lib.rs:69-75 | crates/swc_ts_fast_strip_binding/src/lib.rs:25-31 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/lib.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f14e951c0d323aa267b5c83fb19e06ae16419151ace94d74dea55e851f9ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/lib.rs:317-323 | bindings/binding_typescript_wasm/src/lib.rs:239-245 | crates/swc_ts_fast_strip_binding/src/lib.rs:195-201 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/lib.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 116 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5411e5526a57bc8851ef426f20b3d60513e325668dc25e9641cf58c5baf467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_bundler/src/bundler/chunk/cjs.rs:389-393 | crates/swc_ecma_utils/src/lib.rs:2462-2466 \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":"crates/swc_bundler/src/bundler/chunk/cjs.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde05aca7e9a2ddd27e1151bf26da6dec3f06d31a36de433fb17d08e745f0865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_bundler/src/modules/sort/stmt.rs:645-651 | crates/swc_ecma_react_compiler/src/convert_scope.rs:1294-1299 \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":"crates/swc_bundler/src/modules/sort/stmt.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5f2d62317854d58182c73b690d44eeca2d0a91700e28f7e311c1dbc0c9dc11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_config/src/glob.rs:53-59 | crates/swc_config/src/regex.rs:78-84 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_config/src/glob.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ced98d011793730293cacaf2afcab540630f0d0ad34a4b7e73349d23728c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/swc_css_codegen/src/writer/basic.rs:96-102 | crates/swc_html_codegen/src/writer/basic.rs:96-102 | crates/swc_xml_codegen/src/writer/basic.rs:96-102 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"6009536197bbc1d1382d38b4368003d7d57157dd5ca7b6d8442a7f24efd80535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/swc_css_codegen/src/writer/basic.rs:188-197 | crates/swc_html_codegen/src/writer/basic.rs:186-195 | crates/swc_xml_codegen/src/writer/basic.rs:186-195 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 113 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f666adecc3dc5cb2eca64e5bc520a19c733417a6d2ed3b91bddb46d0d8e11026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/swc_css_codegen_macros/src/lib.rs:12-17 | crates/swc_html_codegen_macros/src/lib.rs:12-17 | crates/swc_xml_codegen_macros/src/lib.rs:12-17 \u2014 before extracting anything, compare \u0060crates/swc_css_codegen_macros/src/lib.rs\u0060 and \u0060crates/swc_html_codegen_macros/src/lib.rs\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_css_codegen_macros/src/lib.rs:12\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen_macros/src/lib.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f369551a7903d7d611f466030afbb38ff2ce5ef7f3679891daa68da32c2337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/arrow.rs:192-200 | crates/swc_ecma_compat_es2015/src/parameters.rs:772-780 \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":"crates/swc_ecma_compat_es2015/src/arrow.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"921e318cf1f3412db40ffc710a8f48446481f3b18cbc25195a4118ce05654fb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_compat_es2015/src/block_scoping/vars.rs:436-443 | crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs:1595-1600 \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":"crates/swc_ecma_compat_es2015/src/block_scoping/vars.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8e8b91fce5d85c8675ab7cac727b11e8468ab14b379c3f712f824846febee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/char.rs:9-15 | crates/swc_ecma_parser/src/lexer/char_ext.rs:9-15 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/char.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/char_ext.rs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/char.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b3f7165965cc7fc411f1fb4a73df76b3b71723e1802adcd4cfcb21f5313fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/char.rs:19-25 | crates/swc_ecma_parser/src/lexer/char_ext.rs:19-25 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/char.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/char_ext.rs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/char.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c725bc1068607ff93a383f920564761c97192c55aed8ccd807ce218c357693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/char.rs:29-35 | crates/swc_ecma_parser/src/lexer/char_ext.rs:29-35 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/char.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/char_ext.rs\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/char.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9998f3d6aef5c91d5ae0d8b1ad33220b68402d29b48dd9d640ec13b409cfa51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:90-97 | crates/swc_ecma_parser/src/lexer/mod.rs:172-179 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab56f7f4c237520fd2d2240f27e034ea0f50a33ce944d90fb57a6624730c0a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:140-150 | crates/swc_ecma_parser/src/lexer/mod.rs:616-626 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc7330746003d105d0c489e89b10274e635e7e028449635309a90393dd18fd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:229-237 | crates/swc_ecma_parser/src/lexer/mod.rs:708-716 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebff13fee8d6c15fadb55784806a41c5ff3c9cc0d38ee60e35bb14b8007e6aad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:253-257 | crates/swc_ecma_parser/src/lexer/mod.rs:732-736 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635a4892560de51105f449bc1bac54b556431c7151dcc129a8f1be7e7abf104"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_lexer/src/common/lexer/mod.rs:547-555 | crates/swc_ecma_parser/src/lexer/mod.rs:973-981 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/lexer/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 694 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a752745c8c9ab2e376ad324db057c13c8f210a2ac158aab4c1e3ed818dc106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/buffer.rs:72-78 | crates/swc_ecma_parser/src/parser/input.rs:441-447 \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":"crates/swc_ecma_lexer/src/common/parser/buffer.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4621817a2557a9e67d6fa5559705746ff0b844112196fb9e4f1b5d73e21e270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/is_invalid_class_name.rs:9-15 | crates/swc_ecma_parser/src/parser/util.rs:87-93 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/is_invalid_class_name.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/util.rs\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/is_invalid_class_name.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"902a8c9a7922abf4e88bb723bbc9e87b526b1ca98b2ccb9a4e07772b76f40e57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:147-152 | crates/swc_ecma_parser/src/parser/mod.rs:1131-1136 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc8481097fb03ae51a85c4a403c52f2d7aa8d21118d8b3f1193e59a548abb19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:265-272 | crates/swc_ecma_parser/src/parser/mod.rs:1370-1377 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"49359afd9559fa412cd44c7691d49be37d52ecf4bd2d4bdba9a151d9837a645b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/mod.rs:275-282 | crates/swc_ecma_parser/src/parser/mod.rs:1380-1387 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/mod.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 93 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060token\u0060 to \u0060\u0026Self::Token\u0060 in one and \u0060Token\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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb776c904e02d995537ca250977e29177c72e0f63b1b1252a8a6d9cf5a424d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/output_type.rs:92-101 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2257-2266 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/output_type.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_ecma_lexer/src/common/parser/output_type.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":"crates/swc_ecma_lexer/src/common/parser/output_type.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b524724622d950120ced4eba3f120f44a09228cd8c65d58d019767ec1692211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/output_type.rs:103-112 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2268-2277 \u2014 before extracting anything, compare \u0060crates/swc_ecma_lexer/src/common/parser/output_type.rs\u0060 and \u0060crates/swc_ecma_parser/src/parser/class_and_fn.rs\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/output_type.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ecc4f8d499b7b27ca305cba21a2ab32ab4acca13c865f2d19213ab1c4927a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/pat_type.rs:11-16 | crates/swc_ecma_parser/src/parser/pat.rs:18-23 \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":"crates/swc_ecma_lexer/src/common/parser/pat_type.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1249bdae871fdda0690d7e15d4c1e0b15c08bad1a6a29ef740e5fc064e96e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_ecma_lexer/src/common/parser/util.rs:25-37 | crates/swc_ecma_parser/src/parser/class_and_fn.rs:2286-2298 \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":"crates/swc_ecma_lexer/src/common/parser/util.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1620f761d8c4898c9a7cd50f0cc9220bc57f902b643850ecc7bd8b8a5c538461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lexer/src/input.rs:127-133 | crates/swc_ecma_lexer/src/lexer/state.rs:721-727 \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":"crates/swc_ecma_lexer/src/input.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48df3b587745ef4743fab3193cea4439f452344dac509c2167d0ce46cb36c90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_lexer/src/input.rs:355-364 | crates/swc_ecma_parser/src/parser/input.rs:251-260 \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":"crates/swc_ecma_lexer/src/input.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3168ffce55c8b06a9fe62112292dfb62c694cfaf05f4adb0793da770627b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/swc_ecma_lints/src/rules/constructor_super.rs:69-79 | crates/swc_ecma_lints/src/rules/no_restricted_syntax.rs:86-96 | crates/swc_ecma_lints/src/rules/no_throw_literal.rs:32-42 | crates/swc_ecma_lints/src/rules/prefer_object_spread.rs:61-71 | crates/swc_ecma_lints/src/rules/symbol_description.rs:79-89 \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 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/constructor_super.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbea4a3a36c04811ed5a3392269f6bf4d84f3ec19424f2aa41819dbfaac176e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): crates/swc_ecma_lints/src/rules/default_case_last.rs:31-41 | crates/swc_ecma_lints/src/rules/no_await_in_loop.rs:35-45 | crates/swc_ecma_lints/src/rules/no_cond_assign.rs:33-43 | crates/swc_ecma_lints/src/rules/no_debugger.rs:31-41 | crates/swc_ecma_lints/src/rules/no_new.rs:31-41 | crates/swc_ecma_lints/src/rules/no_new_object.rs:41-51 | crates/swc_ecma_lints/src/rules/no_sparse_arrays.rs:31-41 | crates/swc_ecma_lints/src/rules/no_var.rs:31-41 | crates/swc_ecma_lints/src/rules/valid_typeof.rs:53-63 \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 9 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/default_case_last.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbae9f26713ac243d9baa46f66d64d7ce6caeff6533cbf9538c9688585c0bcac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_lints/src/rules/no_new_symbol.rs:63-69 | crates/swc_ecma_lints/src/rules/no_obj_calls.rs:69-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/no_new_symbol.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0d129fbb0ee9fa33e977293802aca18d2e8e5beb0aa397b659d34fdf9b048d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/util.rs:340-348 | crates/swc_ecma_minifier/src/compress/util/mod.rs:826-834 \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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f9e531b541b47afa7d8e40349a10119cb779eba1ed02bd3ac1f14dfffe7356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/util.rs:668-676 | crates/swc_ecma_minifier/src/compress/pure/vars.rs:452-460 \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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbbe853dd4e7c61be39c26eb8e9632d6be42e3b0ec79d88bb56e3cf2b960376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_preset_env/src/corejs2/mod.rs:147-153 | crates/swc_ecma_preset_env/src/corejs3/usage.rs:175-181 \u2014 before extracting anything, compare \u0060crates/swc_ecma_preset_env/src/corejs2/mod.rs\u0060 and \u0060crates/swc_ecma_preset_env/src/corejs3/usage.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/corejs2/mod.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e425e418aa56c013efff5fa7dec055152820aca163a74e5146fa6d3e0b874c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_module/src/amd.rs:517-525 | crates/swc_ecma_transforms_module/src/umd.rs:263-271 \u2014 before extracting anything, compare \u0060crates/swc_ecma_transforms_module/src/amd.rs\u0060 and \u0060crates/swc_ecma_transforms_module/src/umd.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 183 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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"282af62605ac80012bbf78bf634ed3be3bfdec15464adf9eb610812b8d6a950e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_transforms_typescript/src/shared.rs:9-16 | crates/swc_typescript/src/fast_dts/enum.rs:235-242 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/src/shared.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0956b52c68001439260d90c8d408d94fcbdb177b2369888b4fddf020b8f642a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:842-850 | crates/swc_xml_codegen/src/lib.rs:254-262 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f67aced3f756e86de46b093a19f94a82468b820c9c5b116450dc626fde13a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:914-924 | crates/swc_xml_codegen/src/lib.rs:320-330 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ce63256697f0f7325ac2b9bd708f600790b9cb261784da92ffb0c0394bc285"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_html_codegen/src/writer/basic.rs:104-109 | crates/swc_xml_codegen/src/writer/basic.rs:104-109 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/writer/basic.rs\u0060 and \u0060crates/swc_xml_codegen/src/writer/basic.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 143 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/writer/basic.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee5aaf5d3d5ae51c5bb48fddeff017b28950d3c72be50edaaf531966645bae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:175-186 | crates/swc_xml_parser/src/lexer/mod.rs:190-201 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4e4b6e630baeb81effe5fc71ab35f15253e9b3c31b89813b6dc36a42432667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:307-312 | crates/swc_xml_parser/src/lexer/mod.rs:292-297 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe6485dc22abab54046fbc0ad42a29139f148389d7b4a23179f909e7aed9ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:315-322 | crates/swc_xml_parser/src/lexer/mod.rs:300-307 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd9e2f8e969ea420a4232c11bee7c70cc4cc0ffbdefc0b2c290723273cc2cc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_html_parser/src/lexer/mod.rs:4928-4935 | crates/swc_xml_parser/src/lexer/mod.rs:3106-3113 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lexer/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/lexer/mod.rs\u0060 as WHOLE FILES: this scan already matched 24 separate duplicated blocks between them, totalling at least 608 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060c\u0060 to \u0060u8\u0060 in one and \u0060char\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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":4928}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b9ce15a4612eabe00b775e80ec2cda927d6590cb7879f9f2ca04616b9ab3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_html_parser/src/lib.rs:32-40 | crates/swc_xml_parser/src/lib.rs:29-37 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/lib.rs\u0060 and \u0060crates/swc_xml_parser/src/lib.rs\u0060 as WHOLE FILES: 93% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_parser/src/lib.rs:32\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/lib.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb03252bfaf93b81084415191983afae5986cab85dddcf2fca83f8ad79c72ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_html_parser/src/parser/input.rs:51-57 | crates/swc_xml_parser/src/parser/input.rs:44-50 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/input.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/input.rs\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/input.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06f9115ffe688ec443301e6e95190359f5a21b837b2679c4e32cfd9bcd57ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_html_parser/src/parser/input.rs:59-65 | crates/swc_xml_parser/src/parser/input.rs:52-58 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/input.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/input.rs\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/input.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e5068e10920183ef0af50c57603eb575433de1a6bce7950def948ffb092f96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_html_parser/src/parser/input.rs:68-77 | crates/swc_xml_parser/src/parser/input.rs:61-70 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/input.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/input.rs\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/input.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1aeaa5147ed85b2bcd79fe00102f5fbe33680b089a4b0167b1526d85ec577d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:8538-8545 | crates/swc_xml_parser/src/parser/mod.rs:417-424 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5334ddee2034afccd0eddbfa76d8e1fa6f76281feb392b1eec5ecdcff3f5f89c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:8599-8609 | crates/swc_xml_parser/src/parser/mod.rs:635-645 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/mod.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/mod.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 168 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":8599}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbcdd58ac6445d59a5844afc2e8789aeb0bbfb9a918397f4e8fa54241eb4bb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_html_parser/src/parser/node.rs:55-63 | crates/swc_xml_parser/src/parser/node.rs:61-69 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/node.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/node.rs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/node.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5095d49bd63a68d9e9ec6b2f23b5277db35cd818bedb54266bd39f0b0aefd561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_html_parser/src/parser/node.rs:79-84 | crates/swc_xml_parser/src/parser/node.rs:85-90 \u2014 before extracting anything, compare \u0060crates/swc_html_parser/src/parser/node.rs\u0060 and \u0060crates/swc_xml_parser/src/parser/node.rs\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/node.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb4487c9a460c455ae0c882331cc77d03160837187349ecbed640d931722471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_sourcemap/src/builder.rs:254-268 | crates/swc_sourcemap/src/lazy/mod.rs:269-283 \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 \u0060crates/swc_sourcemap/src/builder.rs:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_sourcemap/src/builder.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1220152e6f8bd87a86112e9e291701337f802b3a422323ac18705ab1570c3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/swc_css_ast/src/at_rule.rs:40-45 | crates/swc_css_ast/src/base.rs:114-119 | crates/swc_css_ast/src/base.rs:323-328 \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":"crates/swc_css_ast/src/at_rule.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4be8da54c03ba8da041fcc2a00a726ab9e816d165596c6d6fe41de0bb45bf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/swc_css_ast/src/at_rule.rs:49-54 | crates/swc_css_ast/src/base.rs:132-137 | crates/swc_css_ast/src/base.rs:332-337 \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":"crates/swc_css_ast/src/at_rule.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4d71082b67b1e8956d49e165aff99a9c63ec03dab0924a75a59d81074ae27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_css_lints/src/rules/block_no_empty.rs:18-24 | crates/swc_css_lints/src/rules/no_empty_source.rs:18-26 \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":"crates/swc_css_lints/src/rules/block_no_empty.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14d35a5f866b94f7f5df19de3a67e972a6cd34f44276f60daae669c4528a175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_lints/src/rules/no_new_object.rs:15-25 | crates/swc_ecma_lints/src/rules/no_new_symbol.rs:15-25 \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 \u0060crates/swc_ecma_lints/src/rules/no_new_object.rs:15\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/no_new_object.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a2d28a94b6325893289e2fbd717203de073326c9c32d2014d2ffb29a754703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/swc_ecma_minifier/src/util/mod.rs:71-78 | crates/swc_ecma_minifier/src/util/mod.rs:80-87 | crates/swc_ecma_minifier/src/util/mod.rs:93-100 | crates/swc_ecma_utils/src/lib.rs:227-234 | crates/swc_ecma_utils/src/lib.rs:237-244 | crates/swc_ecma_utils/src/lib.rs:247-254 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/util/mod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4c9d0614724f62bbfba67db3eed83dd02ff1b07c603aca4d86306771bcdecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_parser/src/parser/pat.rs:831-838 | crates/swc_ecma_parser/src/parser/typescript.rs:2766-2773 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060self\u0060 to \u0060crate) fn parse_constructor_params(\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":"crates/swc_ecma_parser/src/parser/pat.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd94d0ce2435a5fa3af9f469c6a2d30e573cc96482e1adb8914150c8f4f05924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_testing/src/lib.rs:120-126 | crates/swc_ecma_transforms_testing/src/lib.rs:628-634 \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":"crates/swc_ecma_testing/src/lib.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fa45304093a9401b8ccd4d9453037d6938ada0b9f4e36ed414efc8788f517f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_transforms_base/src/resolver/mod.rs:326-331 | crates/swc_ecma_transforms_typescript/src/semantic/usage.rs:408-412 \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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b8de14b7fb0d63b7ace39b05432c936bc8459e8040ffec8a168eb6db77fbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_transforms_base/src/resolver/typescript.rs:340-346 | crates/swc_ecma_transforms_typescript/src/semantic.rs:585-592 \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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060node\u0060 to \u0060\u0026mut JSXElementName\u0060 in one and \u0060\u0026JSXElementName\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":"crates/swc_ecma_transforms_base/src/resolver/typescript.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff78a627a98718012e66b0e7ddc2fa9a7240f0b841ed64238a3bd7a19a078122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_transforms_typescript/src/semantic/usage.rs:378-385 | crates/swc_ecma_transforms_typescript/src/transform.rs:622-629 \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":"crates/swc_ecma_transforms_typescript/src/semantic/usage.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a73355bdecece345fb72ad0435fa7c787041774f7b895d5ff52f7eb4f3d14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/swc_ecma_transforms_typescript/src/semantic/usage.rs:414-419 | crates/swc_ecma_transforms_typescript/src/transform.rs:650-655 \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":"crates/swc_ecma_transforms_typescript/src/semantic/usage.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a5104aee71f3219cbe8abd153a96e460562285effd8b8a009deb0e12a9b9be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/swc_sourcemap/src/hermes.rs:76-81 | crates/swc_sourcemap/src/hermes.rs:87-92 | crates/swc_sourcemap/src/types.rs:533-538 | crates/swc_sourcemap/src/types.rs:599-604 | crates/swc_sourcemap/src/types.rs:1339-1344 | crates/swc_sourcemap/src/types.rs:1355-1360 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_sourcemap/src/types.rs:1348\u0060 calls \u0060encode\u0060 and \u0060crates/swc_sourcemap/src/hermes.rs:87\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":"crates/swc_sourcemap/src/hermes.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cab2491d0c4c47eb55dcf2b6b184fe092262adfa01827ff08ebe14493c0e14a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 16): crates/swc_css_parser/src/parser/values_and_units/mod.rs:433-451 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:477-495 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:544-562 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:588-606 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:660-678 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:704-722 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:747-763 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:793-811 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:912-930 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:977-995 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1026-1044 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1094-1112 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1143-1161 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1270-1288 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1508-1526 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1557-1575 \u2014 all 16 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 \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:433\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3401cf29327cb8f262485551b0ff3c1b133c5a52dca5f21190803a343c3d22eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:453-471 | crates/swc_html_codegen/src/lib.rs:691-705 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_codegen/src/lib.rs:453\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24141730d915128fde0b557014b57535ab516f580bb221e496df8ad2afaf222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_transforms_react/src/jsx/mod.rs:1167-1181 | crates/swc_ecma_transforms_react/src/jsx/mod.rs:1185-1199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_transforms_react/src/jsx/mod.rs:1167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d797b6044fecc429b98ace21c76e41ddb04bf53badc4db1ecec6e7cdf8543613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:1757-1771 | crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs:1773-1787 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb5c5f4dbc228f3cae29c12b61cacb8041ba433f3c8702b047da16b1a300851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:1749-1762 | crates/swc_html_parser/src/parser/mod.rs:6386-6399 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80d7459eee149600f73c534f43fbc8019ff5fbc0089327fd542b8257ebb9ae8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_ecma_loader/src/resolvers/node.rs:157-170 | crates/swc_ecma_loader/src/resolvers/node.rs:241-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_loader/src/resolvers/node.rs:157\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/node.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c261e36fc770cda8fddc31bbb352f72c63de63ebe992ce2daf2537c025120f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:1285-1298 | crates/swc_css_prefixer/src/prefixer.rs:1371-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 \u0060crates/swc_css_prefixer/src/prefixer.rs:1285\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"321b518801b26babaee11f2c3c009306e9fa1b377e458e1c8cbdd78160ae91de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:3301-3314 | crates/swc_html_parser/src/parser/mod.rs:3362-3374 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:3301\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":3301}}}],"partialFingerprints":{"codehealthFindingId/v1":"254c1ce1e52a087f56639575c34f8a8873ef27b472b0a2167cea138a14571a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): crates/swc_ecma_lexer/src/parser/mod.rs:240-262 | crates/swc_ecma_parser/src/parser/mod.rs:610-630 \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 \u0060crates/swc_ecma_lexer/src/parser/mod.rs:240\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":"crates/swc_ecma_lexer/src/parser/mod.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ad1b836e2055ca355c611bb4212ec6fb1d9d78aa96efd867bb27c2701818a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:3476-3488 | crates/swc_css_prefixer/src/prefixer.rs:3504-3516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:3476\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"637d08331c71271bc10852b5780b351fdcb17124f03200166d30b041f5cd3b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/swc_estree_ast/src/class.rs:178-190 | crates/swc_estree_ast/src/class.rs:347-359 | crates/swc_estree_ast/src/object.rs:112-124 | crates/swc_estree_ast/src/object.rs:250-262 \u2014 before extracting anything, compare \u0060crates/swc_estree_ast/src/class.rs\u0060 and \u0060crates/swc_estree_ast/src/object.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060crates/swc_estree_ast/src/class.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/swc_estree_ast/src/class.rs:191\u0060 calls \u0060serialize_entry\u0060, \u0060unwrap_or\u0060 and \u0060crates/swc_estree_ast/src/class.rs:360\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":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"6663714bac5db7eb2b50b7f9aeaef16b52e13e18060a62b9f327e2052e098a30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/swc_css_prefixer/src/prefixer.rs:3007-3018 | crates/swc_css_prefixer/src/prefixer.rs:3029-3040 | crates/swc_css_prefixer/src/prefixer.rs:3051-3062 \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 \u0060crates/swc_css_prefixer/src/prefixer.rs:3007\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":3007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f0e9bbba6f9e34d8cd38776ed54d9cc9c0c9338968395d76fa5d708de88d0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:1932-1943 | crates/swc_html_parser/src/parser/mod.rs:4953-4964 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:1932\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a812fc1bfa69146b425ab35dce9cf080c373133b1261200c74afd04fcfb82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): xtask/src/npm/util.rs:12-23 | xtask/src/npm/util.rs:27-38 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060xtask/src/npm/util.rs:12\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":"xtask/src/npm/util.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd22d2fdfad6964ef887e1c8e0282707ee633c3a391b48d21bc0252d1d1a50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/ast_node/src/lib.rs:112-123 | crates/ast_node/src/lib.rs:253-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 \u0060crates/ast_node/src/lib.rs:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast_node/src/lib.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91158aad5abbba97318fa178638f8dee7bedf2ab23746c8c1ff2fe2f684d8d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/swc_css_prefixer/src/prefixer.rs:925-936 | crates/swc_css_prefixer/src/prefixer.rs:958-969 | crates/swc_css_prefixer/src/prefixer.rs:974-985 \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 \u0060crates/swc_css_prefixer/src/prefixer.rs:925\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7affedb2a6bfc3df3782c669fe730f230ff6651d04d62f9067d4c78e9ac9f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:4702-4713 | crates/swc_html_parser/src/parser/mod.rs:5840-5851 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:4702\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":4702}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe4c24c0235d1148d6dea62313964426506b8c7293ce65b7220a2d883867e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:764-774 | crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:784-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/conditionals.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":"crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6034445aa06597e2e75730fc8a495222edc8d50d2f154e15417430b608b1380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/swc_bundler/src/bundler/chunk/merge.rs:798-807 | crates/swc_bundler/src/bundler/chunk/merge.rs:849-859 | crates/swc_bundler/src/bundler/chunk/merge.rs:976-985 \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 \u0060crates/swc_bundler/src/bundler/chunk/merge.rs:798\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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7fa6132e632f4e7e18762e257189acfd80f81864e7a0fa1084a5337349d9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1492-1502 | crates/swc_ecma_minifier/src/compress/pure/bools.rs:30-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1492\u0060 it begins part-way through the construct above it, so those exact 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 \u0060\u0026mut\u0060 in one and \u0060super) fn compress_if_stmt_as_expr(\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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84d7c8886f83818b7e136431c00789a40500107e24b84efeb170d9531729c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:1863-1873 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:1875-1885 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:1863\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a126fe250d6902b4b6440d20f4ddcd3e9dbaebcc1abdf74f344daabb824b39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs:223-233 | crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.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 \u0060crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs:223\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_regexp/src/parser/reader/string_literal_parser/parser_impl.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4578a380d5e6cf1fd217cf1ebe03538a7b0d966346066e250421b881ed85e56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/loops.rs:75-84 | crates/swc_ecma_minifier/src/compress/pure/loops.rs:89-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/loops.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72b7972050f8753e5c2ed2102d0221ec3e3ea890b2f945c111dcfe9fe9dfb1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/dbg-swc/src/es/minifier/ensure_size.rs:93-102 | crates/dbg-swc/src/es/minifier/ensure_size.rs:122-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/dbg-swc/src/es/minifier/ensure_size.rs:93\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/dbg-swc/src/es/minifier/ensure_size.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d4994577cc7aa4f6f23a7be6450ae7ee9af9d8094ccef416a42a6f88a815dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:215-221 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:284-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 \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2933687b01b281153b3057c39a97b5c7d1291b95971de77377454ad56ec63290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/swc_xml_parser/src/lexer/mod.rs:342-351 | crates/swc_xml_parser/src/lexer/mod.rs:357-366 | crates/swc_xml_parser/src/lexer/mod.rs:422-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e023d868d48c452402b7338746a7d311b39c973050a55754fc085fbab06238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/unused.rs:741-750 | crates/swc_ecma_minifier/src/compress/optimize/unused.rs:790-799 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/unused.rs:741\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 \u0060super) fn drop_unused_update(\u0026mut\u0060 in one and \u0060super) fn drop_unused_op_assign(\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":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d6ab594cfb71a2123f01b13627d7c060692ba009563e023de3cb3d1e6cd802"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:3181-3190 | crates/swc_html_parser/src/parser/mod.rs:3673-3679 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:3181\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":3181}}}],"partialFingerprints":{"codehealthFindingId/v1":"095ebe31bd4db8fca2569266655cb3dc1ce6a2978bcbb8071a0226f8cd593b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:1996-2004 | crates/swc_css_prefixer/src/prefixer.rs:2008-2016 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:1996\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fd0010d212beca897c8d8e68cab626f3ab59e9da306f1d59a6d283181fe061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1977-1985 | crates/swc_ecma_minifier/src/compress/optimize/mod.rs:2012-2020 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/mod.rs:1977\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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"def00fe191538836ad0872f565f1d9f3e4c42c15cd21375bd2ec980e5a886702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_parser/src/parser/typescript.rs:1472-1480 | crates/swc_ecma_parser/src/parser/typescript.rs:1485-1493 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_parser/src/parser/typescript.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. 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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ebb3b8984a5e5399828ad42ea16c408ad49e69dc3da74b0aabcfc29a471665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:3344-3352 | crates/swc_css_prefixer/src/prefixer.rs:3354-3362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:3344\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":3344}}}],"partialFingerprints":{"codehealthFindingId/v1":"0572af46a0009a4dd8a913404e4564d7d4bc954a67a3f84ffaf12b71d2b9299c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/swc_ecma_transforms_proposal/src/explicit_resource_management.rs:263-271 | crates/swc_ecma_transforms_proposal/src/explicit_resource_management.rs:276-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 \u0060crates/swc_ecma_transforms_proposal/src/explicit_resource_management.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/src/explicit_resource_management.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be13c06999eff6482046b7b1195310430b8a25f139e7a61500d3263113ff19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/swc_css_prefixer/src/prefixer.rs:3558-3565 | crates/swc_css_prefixer/src/prefixer.rs:3583-3588 | crates/swc_css_prefixer/src/prefixer.rs:3603-3608 \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 \u0060crates/swc_css_prefixer/src/prefixer.rs:3558\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, \u0060crates/swc_css_prefixer/src/prefixer.rs:3589\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/swc_css_prefixer/src/prefixer.rs:3566\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd15528f0d9d6ccb829356b868349e3d14f227bf87bd3c35cc299c2fe76f8ce5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:280-287 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:349-356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:280\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdba285190b41faa9572c898c8c89f72e4350160e22b79d745016905d3bc89a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/misc.rs:1779-1786 | crates/swc_ecma_minifier/src/compress/pure/misc.rs:1794-1801 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/misc.rs:1779\u0060 it begins part-way through the construct above it, so those exact 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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f6671c0516b3054d2ce6f2806396b563ab6f22bc21e1ef2aa46c06cb8dad50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:194-201 | crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:224-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/pure/evaluate.rs:194\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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b3da3f83d3ae8ab1d421ca7d6bcc854b3b6669b248221fe1e1286b3a949e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_html_parser/src/parser/mod.rs:5407-5414 | crates/swc_html_parser/src/parser/mod.rs:5457-5464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_html_parser/src/parser/mod.rs:5407\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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":5407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5204a7b0d6d6fb1f23a2731165bb4937d51c1dc70dd8d16488ab86edf69061f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:805-811 | crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:829-835 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs:805\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":"crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b364b3053ef6e3f4db2d2c73b3b3646463329f9e5980fb665bb9a5927d9c132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_css_prefixer/src/prefixer.rs:415-421 | crates/swc_css_prefixer/src/prefixer.rs:427-433 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_prefixer/src/prefixer.rs:415\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"325b0ff93e70c0e20af8846db0c942d2d5efd9ad3e588b72c26695127170be14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/swc_ecma_transforms_module/src/umd/emit.rs:92-98 | crates/swc_ecma_transforms_module/src/umd/emit.rs:101-107 \u2014 both copies are in the same file, so extract the block 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":"crates/swc_ecma_transforms_module/src/umd/emit.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"57344917a555d3310835244e7a28de28d94c4b37fdf6ec6d0db46b51d32df1d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/swc_css_minifier/src/compressor/calc_sum.rs:527-533 | crates/swc_css_minifier/src/compressor/calc_sum.rs:543-549 | crates/swc_css_minifier/src/compressor/calc_sum.rs:591-597 \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 \u0060crates/swc_css_minifier/src/compressor/calc_sum.rs:527\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":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ff5303d5c70ba40becce961907cdb597a80c18e032d5d3d91a07f00a84cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/swc_css_minifier/src/compressor/calc_sum.rs:527-532 | crates/swc_css_minifier/src/compressor/calc_sum.rs:543-548 | crates/swc_css_minifier/src/compressor/calc_sum.rs:581-586 | crates/swc_css_minifier/src/compressor/calc_sum.rs:591-596 \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 \u0060crates/swc_css_minifier/src/compressor/calc_sum.rs:527\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4130cf3120164478839b9d53f808e062e33dcaafc12fe52a8ee9345dfd8045d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_css_parser/src/parser/values_and_units/mod.rs:842-847 | crates/swc_css_parser/src/parser/values_and_units/mod.rs:1163-1167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_css_parser/src/parser/values_and_units/mod.rs:842\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94d4a02b77830f31c6a3ea2f383d41a97945aefe8a5b4dd3ddfc0c83a6bb852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs:347-351 | crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs:353-357 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs:347\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":"crates/swc_ecma_compat_es2022/src/class_properties/member_init.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86cf53dc343689c0fd49480d6a0e28be584e9331228db768c27020916ea340e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): bindings/binding_nodejs_support_wasm/src/error_reporter.rs:777-785 | bindings/binding_typescript_wasm/src/error_reporter.rs:777-785 | crates/swc_ts_fast_strip_binding/src/error_reporter.rs:777-785 \u2014 before extracting anything, compare \u0060bindings/binding_nodejs_support_wasm/src/error_reporter.rs\u0060 and \u0060bindings/binding_typescript_wasm/src/error_reporter.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 617 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6fc3ce9efea25b34c0cacb1a8cc9a890b36b7f46ab7c3623e83605b128b24e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/swc_css_modules/src/imports.rs:49-56 | crates/swc_css_modules/src/lib.rs:296-303 \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 \u0060crates/swc_css_modules/src/imports.rs:49\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":"crates/swc_css_modules/src/imports.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eab19519be4623f6f5fde6b04969bba7ca84a2a3b8f0a3fe84c7dfa6afc94e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/swc_html_codegen/src/lib.rs:118-122 | crates/swc_xml_codegen/src/lib.rs:60-64 \u2014 before extracting anything, compare \u0060crates/swc_html_codegen/src/lib.rs\u0060 and \u0060crates/swc_xml_codegen/src/lib.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 174 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060crates/swc_html_codegen/src/lib.rs:118\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, \u0060crates/swc_xml_codegen/src/lib.rs:65\u0060 calls \u0060ProcessingInstruction\u0060, \u0060CdataSection\u0060 and \u0060crates/swc_html_codegen/src/lib.rs:123\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":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a845eb174a6787e7a3e1101effc7cc2b8bc54ba7ade60c4afb5010c350833a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project binding_macros: binding_macros has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1aea5163f0f034ab1f76902475c2f0ebec3eb1472551f2ce6ec515819398ad1"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc: swc has instability 0.91 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85a0a2eeac2f064e86183b0de9342188ef42c47f1fa9bf6f8feee45948275289"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_bundler: swc_bundler has instability 0.83 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"751ed0d74f762093f5da5b6ad02779bfe4249bfd224864b702d68b60671aec00"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_compiler_base: swc_compiler_base has instability 0.82 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343b623fe6814a0ebefc9b5a9d8a548f532014ad57114452496debfae960e686"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_core: swc_core has instability 0.88 with 6 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e68f855597f0511632d8d412f95b0c3c42b7791eff7f6d3aeec32ecc3b8b0612"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_compat_bugfixes: swc_ecma_compat_bugfixes has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3043781e85af02e8213bbd35bdd8c4ec6a2f773715a61d3c850c78ff67c30006"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_compat_es2015: swc_ecma_compat_es2015 has instability 0.85 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9999460a87b8ba08fce5b2e743200c7e6846ffb04a74fd5d2ef0b3577064c67f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_compat_es2017: swc_ecma_compat_es2017 has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5b8d57cd40a02e9d36e1f9f63ca118a3cd54e341fd46750822f36c85cd26e218"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_compat_es2019: swc_ecma_compat_es2019 has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5bf0b3872a0f58eee47431f3406b49b94249cc663c70c29e9608a4168fccca3e"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_compat_es2020: swc_ecma_compat_es2020 has instability 0.88 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"13a1ec6a2d8e94e5a8687734b4b721e20eff3b64a56012c54ffe3c04f40d9800"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_compat_es2022: swc_ecma_compat_es2022 has instability 0.82 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6df228c7c640c63dc3735bfa8a7f01e777f152e64f56349c753889c7b2082ebe"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_regexp: swc_ecma_regexp has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b5c9491d22395440c9e3ac764c7fd9e040370839f000f9d76f6acb9f10c3acbc"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_transforms_compat: swc_ecma_transforms_compat has instability 0.85 with 3 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e48a9a9ab45ea73a32bbf33208409ebbbd8ce7d9f115a147c1e2ae8f78a390b7"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_ecma_transforms_testing: swc_ecma_transforms_testing has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f0ad900a41f1a321ba0080a93a6ff910e036be0386581a6e85930b3e52107640"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_html_minifier: swc_html_minifier has instability 0.90 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1ebfe0e9e77c1a959bb4634d657caa6f3965d182d106ace751ca2c379990f3ab"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project swc_node_bundler: swc_node_bundler has instability 0.92 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f659e7992540e578a3841a318d44c801dcce175a0ffbfd84bd4809b67ee743f3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: better_scoped_tls: better_scoped_tls: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a1210abca6c4ccf96b8230805492c1b4b2d9d80822c0e2c77037d4ad6b1f4e6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_allocator: swc_allocator: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5a6882573f246952fa49ca29df26f6cb26dc6d72f14ca8e36aaff95f18bd1150"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_native_addon: swc_native_addon: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"21ef37487c6f19e3b98721984de81011b3aa569aefc162c7810c48fdacd4cf0b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_plugin: swc_plugin: 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":"f6eb8f731be6725366bbf579b2583c126e03a31d15dc4ac14fc3796aee873806"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_atoms: swc_atoms: abstractness 0.00, instability 0.02, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 61 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d780b329133b81d77d80893289bdf098108655af902f9c33b593bfbf0a244160"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_sourcemap: swc_sourcemap: abstractness 0.03, instability 0.00, distance 0.98 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b24498cab39655d0ef84587add28b8c55a0fb627cb7c132a70b4c36eee80b59"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_cli_impl: swc_cli_impl: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"020e48f96eed7d8ef9b26ee0beb5fb4a06ebd6da04020fc2ff5dcae3b195ee21"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_ecma_ast: swc_ecma_ast: abstractness 0.02, instability 0.07, distance 0.91 \u2014 zone of pain \u2014 concrete and depended on by 51 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c92dd3793226da6e47c2e5543abfda09f1661ac6d5a8b780d7c17300bc854f2c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: hstr: hstr: abstractness 0.13, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"27c5b3e21db6691a6c68b253a8dbe433f5c1319ba246b2727d1678fffbc825f6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_css_ast: swc_css_ast: abstractness 0.00, instability 0.13, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 14 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9a4d53c630fe7884542973d559cc7f8241dbbbae312b7b902d407b1d79902199"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_error_reporters: swc_error_reporters: abstractness 0.11, instability 0.08, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 11 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab08c28ab41f729bdd46ed4fd390fb9833c073cbe406babeeeb0b7911b538a96"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_html_ast: swc_html_ast: abstractness 0.00, instability 0.22, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9d8a6157d4154f5f7aebbe18117465ea315ddedd5280c8e04cfe88b1abb0175b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_config: swc_config: abstractness 0.13, instability 0.13, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 14 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"35022ca290a0115b325ec781e249c6303169283b92cd270c56b59431f9bf89a3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_ecma_quote: swc_ecma_quote: abstractness 1.00, instability 0.75, distance 0.75 \u2014 zone of uselessness \u2014 abstract and unstable, so it\u0027s likely unused."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c536b5ced46762065d7bf6a17d3479d7a8c0837fd0964804a4b915f89542e3e6"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: swc_html_utils: swc_html_utils: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dcb02bc517ddb9ebeedce8dc50e6588ef1d23d57d75a74743d7b4ab305b099da"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodeGenerator (LCOM4 92): CodeGenerator\u0027s methods fall into 92 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 92 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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"281010fb0e0d881b0bd8e8f4af53b5431f9ef7ac5eaed6463f096369e733cbda"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Compressor (LCOM4 28): Compressor\u0027s methods fall into 28 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 28 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":"crates/swc_css_minifier/src/compressor/mod.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b69dc0a6b40ce5361b940d1176d47e1b7f41f137ae97542064772c1512c8fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Token (LCOM4 18): Token\u0027s methods fall into 18 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 18 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":"bindings/binding_nodejs_support_wasm/src/nodejs/tokenize.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"143c1b28df8b1974d3d0ff16a0de1ce46cc24ea74c11eec8585872538f406e81"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Operator (LCOM4 15): Operator\u0027s methods fall into 15 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 15 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":"crates/swc_ecma_transforms_base/src/rename/ops.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff7e2f4b773458e77bf860d84ce4dea71aac3310fac1794fdb5b2afc86b3ea1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Str (LCOM4 14): Str\u0027s methods fall into 14 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 14 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":"crates/swc_common/src/syntax_pos.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e614b3790818c23206ee60e8ece5cb886f09822e088ab2cdc8c2ab96a39e94c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Transform (LCOM4 13): Transform\u0027s methods fall into 13 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 13 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":"crates/swc_ecma_transforms_typescript/src/transform.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e137ac1889b5e027ecb04626c61b5229b7ab1f4ec3bc8b6655ca68cfb4731b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Finalizer (LCOM4 12): Finalizer\u0027s methods fall into 12 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 12 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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a98e9930dd8af10946749a6f5c348e65fa1a8b782efa8c14642bd36eb2e618e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Handler (LCOM4 10): Handler\u0027s methods fall into 10 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 10 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":"crates/swc_common/src/errors/mod.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3f8c369d507a0c800d35ea6c727dd33488de1920c5c2d46062f8c234039526"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NamespaceResolver (LCOM4 10): NamespaceResolver\u0027s methods fall into 10 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 10 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":"crates/swc_ecma_transforms_base/src/resolver/typescript.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfc4ea26d728380d9c20ae43d2d3bd543e46c305b5058fa46f19890d328e454"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Remover (LCOM4 9): Remover\u0027s methods fall into 9 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 9 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":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49933dddeaba56118b0d1c324576981b98d600f09ceb9689d79ca449be68f3a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReservedWordHook (LCOM4 8): ReservedWordHook\u0027s methods fall into 8 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 8 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":"crates/swc_ecma_transformer/src/es3/reserved_word.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ed425315315c14ed41e45247a5a330044afb4feb183f82e3b2883fcfae6d18"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SimplifyExpr (LCOM4 8): SimplifyExpr\u0027s methods fall into 8 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 8 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":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c20b7e60532d75cba543f90d2186b5056661c4d388c45285301c85b342b90e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: IdentUsageFinder (LCOM4 8): IdentUsageFinder\u0027s methods fall into 8 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 8 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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"171447264ac25fb328ffb9473555c3167ace01eae45a96484a463e769c1c17b6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Module (LCOM4 7): Module\u0027s methods fall into 7 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 7 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":"bindings/binding_native_addon/src/legacy.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"46db6c72c4b74b68e92881bda3d2c33b0dd081aac63d3b39c3aed0b35b93b8ca"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Resolver (LCOM4 7): Resolver\u0027s methods fall into 7 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 7 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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac51cc8ef50839ea6c7b712b07286b478106b982879f2945720d46cf77b9bbf6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TreeShaker (LCOM4 7): TreeShaker\u0027s methods fall into 7 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 7 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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f57479fbd1c4f71e91896518dd894eea66b722c6d2fc58eae3cf715a4308959"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Inliner (LCOM4 6): Inliner\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":"crates/swc_bundler/src/inline.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d420c05e05f9f6ca6f5bf355edc89ac23a3caeceb2a26e00662a1b9179f09c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Classes (LCOM4 6): Classes\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":"crates/swc_ecma_compat_es2015/src/classes/mod.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce48c9e2a437f90ae9372a43e29662bf0ce217aeb20e822542ad4bcb7b1a2a68"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PluginSourceMapProxy (LCOM4 6): PluginSourceMapProxy\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":"crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b77e0220b79d040a098b45c18d3d0144a8135ad874bb21b5a58769466574ae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodeGenerator (LCOM4 6): CodeGenerator\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":"crates/swc_xml_codegen/src/lib.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"231961d16652aae735513938861c126c44fac86fdccd6c7147fdfd14049b016a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Pure (LCOM4 5): Pure\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":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8e4b3ac78696e10d80ffc6f79d469332cf56ed66114401a039289db9d878f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VarMover (LCOM4 5): VarMover\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":"crates/swc_ecma_minifier/src/compress/pure/vars.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c72d1716d0d7f870a74e9154f73f992d1d6846fc2e5b491db6a6009f747f66"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Hoister (LCOM4 5): Hoister\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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"306ed711931bc19a9c5a68e77bb11d69afe32a8307c36803fac2d48a096b9018"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Diagnostic (LCOM4 4): Diagnostic\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":"crates/swc_common/src/errors/diagnostic.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eea089aa8aeba39c9ed642e6ff941a10bd5b6e62a0b600c92eeb3bbf2c908c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Context (LCOM4 4): Context\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":"crates/swc_common/src/plugin/metadata.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e367d81f3b04ddc45cc9f0131a7b334a295284f6253f736b81967c3a03e6e9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FlowHelper (LCOM4 4): FlowHelper\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":"crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"db936104399f0dc0ec5e23cc5830d7021919a83c6d03af23e721b8d6a4825ecd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Optimizer (LCOM4 4): Optimizer\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":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3e4e829ac20e5aeb2e04f5a1f0d30b86b1bb9b2055a128a47bff204d9c697b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: NodeColonPrefixStrip (LCOM4 4): NodeColonPrefixStrip\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":"crates/swc_ecma_preset_env/src/node_colon_prefix_strip.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d11ed95e3718a0506701ffb907f76dfd7c8fc469293557e82e056de55d1db1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Marker (LCOM4 4): Marker\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":"crates/swc_ecma_transforms_base/src/helpers/mod.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6632b76f2d79e9f02d9ca5bb507ff3a72a718c8757ddb8b63738a492a9a68d3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UsageCollector (LCOM4 4): UsageCollector\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":"crates/swc_ecma_transforms_typescript/src/semantic/usage.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2e7fb9dbf4368416e61d896da3f6b6d280c97c8347f06f65fe6bebcc9a0ca8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TransformPluginProgramMetadata (LCOM4 4): TransformPluginProgramMetadata\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":"crates/swc_plugin_proxy/src/metadata/transform_plugin_metadata.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2166fd1b4a827d0b968be7867acfd6a0e6ebc89ac27b209a833e961cee10d74c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ErrorOnTsModule (LCOM4 4): ErrorOnTsModule\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":"crates/swc_ts_fast_strip/src/lib.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ff5a2fb95a4a123eaa8be180769fcc98d6d7b862b5e037d2d97e72821ab3e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TypeUsageAnalyzer (LCOM4 4): TypeUsageAnalyzer\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":"crates/swc_typescript/src/fast_dts/visitors/type_usage.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"020fca2e423a22b580a1964961a5fbf011c3238472eacc2f1c8390df56ab02cb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should re-throw errors from the task synchronously: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/Fantom-itest.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"897b6f10791b7e8e213346d7fe6ab147e83adfc11fd619fb58f8517394904cb6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should re-throw errors from microtasks synchronously: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/Fantom-itest.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0c2128e1e60dca94519e2db5a1408e97f4958d3ff0d01e101cb6f2b71df7b9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not run subsequent tasks after an error in a task: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/Fantom-itest.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2629e628776055a82c0f92d09a87a9b71e2f2fbcd46e66b890e1ec2a22dc9da1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not run subsequent tasks after an error in a microtask: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/Fantom-itest.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d8e023dacc6fb99873801c3fae9d6273d8efe40faa80bcd326cf7055e0f6df"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not run subsequent microtasks after an error in a task: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/Fantom-itest.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265cc546224da2f74c59e3a80f6588510627074fae78a1439a0c37602c64e45"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should not run subsequent microtasks after an error in a microtask: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/Fantom-itest.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19f9d34beaf265493cc7ccf5b956045cf340703788ee5fc424d8b30a8812b12"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: provides the same performance entry references from mark/measure to all observers: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/webapis/performance/__tests__/PerformanceObserver-itest.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb916166462280698b2b12c60ed9f1b8a612a2ad1e3f72f46df849b3128c42a5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: happens when commiting from the UI thread (bug): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/renderer/mounting/__tests__/MountingIntermediateCommits-itest.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc79036a97480a5c2c6dc3070b7f9fa72e34d5e0f18697b9a0546bf532cd613"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: embedded bash build scripts remain syntactically valid: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native/workflow.test.mjs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"49adea4aa12372d3c10a8d82db1b072edc604473ce32a04beccb9e93db7860d4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should work: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/__tests__/import_test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5b212dfa15b0f7a14fd071785e3620d52371b6a7d8270772b36efafc97f81c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Env: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fab28555660f4cd7d1d05c4e95639393fa1bf5aea90618b31f33b20900a4c5e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Context: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d401fec785acfcd2257c24597a0f30d4adca003f4015546f1d343ed970068c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Context and AppType: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5c07db94dbfbcf2873b8d0e14977012fd3a32f28da5bf9cff7e9d6ccefc701"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should have the \u0060param\u0060 type: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f84c19fd7a23e3de93f5ffb40bed4cd5125125f9844a9c14ed9df901c2c8f7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Chained: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5245a1ea75a452a326dbb73c7ef162a158c700fe01a8db685043428dde20af"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Context: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0c505c01823a87b3122669142c42a0d368010d6a51972e14101d04c85d7898"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): app.on(method, path[], middleware, handler) should not throw a type error: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab1910fe19327a6ca4d7de078e83441fb1b1b00396b36c182fe22fce3e10d7b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: unknown: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"66abb5536f189d76cc1597ef4b5a0f8932b207d576a908a7f1d890b7c970bd61"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: text auto infer: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d802fe3065f637808aa92a66e698ee98d165a96c3a7f70fb760996f96939eaae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: json auto infer: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf249966db9413792979a75ba76b9930841c702eb6616abd1398637efa97727"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Schema: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9cb694e1f1cbc43c8e42b8ac1414b6b72fb97943d6dffcf3f2c913a4d0ddb4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should return a correct type: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f15a8e4e30d9f5115852087fd8c1bfb3ceaabcb73255ec39b1093adf5deb1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Env, Path, Type: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca56235fa8640b34a8ab349ef6aba4341241fac052e999be459921b6784a8ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: json: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"6760cfd21598968d7bd3e3ba5d01ef55fb67dbf7a47ab6564f295b5157a40e40"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: json with specific status code: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dc81abe0df8314f5b0436d426fe6db2bc5d1d6969a7ca959ac6d4d197718b3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ParamKeys: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0d1fefe35f31bbed49844ba24adaa3c61d5d0b493f585564ddf2811c970d42"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: With ?: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f296fcb959898b7f474d0ba6b464e6e8b041117c369e2a7f8538edb646ecc55"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Without ?: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dab04f1746fbbec2bb93f8a229f870104ff8fcf1a6c11d2e19699b868b6a9d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Optional parameters - /api/:a/:b?: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb770c3b75f0812054affdd448e20dbeb0d237527ceec920c9b407f62498867"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: InputToDataByType with value: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fed844a4a731fea5cf254282808eb15153f63e266b766fcb4f4313903831d6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: InputToDataByType without value: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ccc1c048ec7e0ed27248aedf2aaf376b81269c66fa8434c52a6d94d666b94a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: RemoveQuestion: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f007941615ffaf3a1d9e369953c6bbcc7ed16c1c42425bcf56e1ff42a8ba3a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should add params to input correctly: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4443a410938e8d3804ce9c9a0faa6bc1738e05b52c9bec93564e56e2c24e207"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should convert parameters to schema correctly: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f312889962c69540020993be4a366180d60a75bf4d36bd688b2eb22b94f188d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should merge paths correctly: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9643bba84a22aa42d3dab3795777cdbce32ad56d1b6f0c4dc6e24735654ae4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should merge schema and sub path correctly: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47eb2b2a86f958586ce518c1ef5a4a64e4dc1f02c99cc57b8ba0fedf6d227cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should merge schema which has params and sub path does not have params: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32eeb6745bbe1a357be05330c4e41c57f343ad0207b5255fd4ccd6a0c36d373"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should remove a slash - \u0060/\u0060 \u002B \u0060/\u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"858621cce1b2c419e6c6ae1273164814d8039017dd4658a8142aeab191996218"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should remove a slash - \u0060/tags\u0060 \u002B \u0060/\u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"58645cc23d42bfa5e2efceddf57cf61adc80c3f7bd0a1ea010d72b7b09fc70a1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should remove a slash - \u0060/\u0060 \u002B \u0060/tags\u0060: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f921addcf0ead3b965a36520e62195050a927e433d009381081825d82f10f1fa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MergeSchemaPath - SubPath has path params: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"6893a1ce2875cfacc5f60092a05494006a44d358b7dea7467f11175c63d98fe0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MergeSchemaPath - Path and SubPath have path params: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"767a6f65ec86d3946a883676e97febd997d7f0cf71da4978401e07c3b02cd988"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MergeSchemaPath - Path and SubPath have regexp path params: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"566e308eee998576f1e3669988af51dac3e443fc94025e62fc62a8a9b8ba9033"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MergeSchemaPath - Method has Endpoints as Union: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4738fa915329d7d3b1f3d091151e19469f1f3175ce6c593bd6dd18197be6e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Three different types: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebfe02863f48a4ceb4560095fc9ece0b581c11c520d73d4b75763cdb6004269"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Three different types and status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00d0a638c7a123817a60665a4535e61d1c77e57ae69a968e0b311b47139e8e9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Three different types: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc8bffee1008863950e752a18a580d5f5605ac36249697584a271b7f8da22a4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Three different types and status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03dccc37078f3c5f059762a04b44eb9522a2bc8978543192f3175911e8229d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: json: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0683162dd73e4a1af62c57800ccfe67df46f4513697dc0dbd56b98de0c7c064a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: json with specific status code: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9104fa88ccc903510958166261ea9cb0b8e3c2214f60fb93a9bb07ab74f04ca9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not throw type errors: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee868d22787437f8dbc67fb22924bb543b00ddd7a22ad3e870c3f013de738e1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not throw type errors with c.var: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e60eb1a32594ad8d5da45f0d7ce70eecb221f8c7d8930e2c5de2d4a6a18113"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should override ContextVariableMap with env variables: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9582d6214429cfd4b5e02fe2fd59c590a204ee37481c03034de71bb7eb4403"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should use ContextVariableMap when c is Context\u003Cany\u003E: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1807}}}],"partialFingerprints":{"codehealthFindingId/v1":"651bbd7743a4f917c0ac2bb452a0004b3e706d76661e7e950ad12e4c82191c90"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not throw a type error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e68625f0a960d236305479cad880827d3709957eda1971fd840a9e5004d01e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not throw a type error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b98283a951d670a7d87d3e654e9ae5bddeb6c098413e8ef0503ff317b76b8eb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not throw a type error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1888}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a972ab5be01b905bfd349f60493f40aa9b4116b8a17082ace43afa7887d4463"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not throw a type error: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"821a5898f08c2831b2b660c48cf4f88ee81dc1e5400e9a3ce0d2a045ffe2be8d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should not mark \u0060*\u0060 as never: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce83cabb344fac4baa7a50619c44303cd3f058319ad7910b783c2960891d39e5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Should set and get variables with correct types: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"1848e4317d34fd8b2967ce215e777fbba81f73ebe4235b7e573f0087bfe4d1b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should only allow to return .json() with contentful status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ef25171d212a6d663033321cc3763d76a0b24ee57ddfee87955b01ccd36f45"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should only allow to return .body(null) with all status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce7b72d808ab1ef0a14120de315e394639c607165f2b556440d7a7096bd45a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should only allow to return .text() with contentful status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fd3e6531a6e611d6450c93720114c9916ebbd9bcdb4eb54bd4b7a503f16db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw type error when .json({}) is used with contentless status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e977291a5617c8dcbe74dd92d85ab410230ad4521d60a29db22e1e8b295942db"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw type error when .body(content) is used with contentless status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2367}}}],"partialFingerprints":{"codehealthFindingId/v1":"289fa23b7129d4e3f6f76ce6075273ab0a33c004a1e65f1b193ad892d2d604ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw type error when .text(content) is used with contentless status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"809fe708d858223a7d609fbe48b954b04ab5755373b453611c47982d6aa05489"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should throw type error when .html(content) is used with contentless status codes: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d9f7ebf5dd35798ef2515c92ab5cbed49f00adf0b7480b412c782a1b88a0b0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: .body() not override other responses in hono client: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b5a69271188d6f7718f2f91fcbf42f429de66512b245726e883802b21b1a05"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 1 middleware: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60cc005931e4c0949c08832ea13e4d200c285645b23ccf9e20806c88b296e99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 2 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd791a1dbcb1544674591b419c62a6e369796c382467739a5387d2ec635315c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 3 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"2764082d27876039f648cca11ae09a6c1823f7ef0088e7865a305973dffe14ac"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 4 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"7146ddba5e3a356b3b8f841c8947471c8d8113e24d00c25a8174912ad836242f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 5 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23fcebf8e309e4f195660a87f971c4eff49ceef98aa74e9b732b848ca4d700a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 6 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2534}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc7570d27c73bea2d1716b6b4cdaa3224a075982e37b8d12e55ad57bd2b2b52"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 7 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"25850b30371c3d825f35546bc39b72b99eeea6a1b4364c42c34ccff22a6742b5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 8 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"f228ac55018c34786141e593cd85e84054c362356ea1e27f5c7acf98bf5b03df"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 9 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2681}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ae188cd2ce5cc40c2581ff4da51edf52d81a340577bc14819114a780d6cfa7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 1 middleware: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d07af2a423306c35c70d907f84a1d3bb7aa1cbc1e7c6a76d26b17d88e6b3ec"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 2 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2757}}}],"partialFingerprints":{"codehealthFindingId/v1":"63128af4501bef1081250e4d99cd9eedfde53cc61052aab41456eeb8332dc5b6"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 3 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2776}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8187a9903f30b9dc825879a3b2039958ef720cfd860b7200cf453f3a06e0d8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 4 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d2f133db4f02da1e97a6130b8f1a62955d392b3d1e84251f7e3e152b4da1b4"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 5 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda46f52dbe4c15a024d393b9989c57acef471e0d63a679a9eddf70ffcf1f8bd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 6 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2865}}}],"partialFingerprints":{"codehealthFindingId/v1":"28704692b6ffcc9993672c42d50973bc16e783c3ddc977074886cbde8f0d9c7d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 7 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77c2a58531365fad6b8e0f86328bdfed9f5620efbb8d567b99a28950e571a4b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 8 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff62bc6bec39cc3c49c455311f7445d021c1933f8cf97b6592d5b7af132ef36"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: merge responses from 9 middlewares: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2c010befdeb0c30251ff6dcb286fafa55a4851616dbf76da1e405a2c4a7969"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 1 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3084}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bf9996013acd267b24200ee2b2d99c18ed7da738c440415823092268afc773"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 1 middleware and 2 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"324d9c2a680b281cf0b1b8213744165966798fcc7995869f6ce3e25b59b01150"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 2 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3096}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc166b0ad104315284c59df8b6822cc7bf4cf0071e358a5860d852ea8a5d5e15"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 3 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c306b674464ea2312f01ac3ad0e714971f3a61bfeaf782386ab0456f22729a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 4 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8a0a3c08e0bed8918cf054f9e453635feec86b6608b6ec43cc2feed51280d1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 5 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3114}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d6f706b99ec32b53cb41c6d76fc783db5d0124e6341440612bba83c7129a97"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 6 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3128}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ca56c2eef1d25347a28412a937ebb1b284a06be89109e2143b60c2c4d29683"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 7 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3143}}}],"partialFingerprints":{"codehealthFindingId/v1":"771cdfd1812e082ab165fcde0efb357ddd87b75afe3679972244118e5bbbec38"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 8 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa32faef123cd3fa3e89c91e7fb3664729c2c14c294fdb7619887eea75519ba"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: infer the correct response type with 9 middleware and 1 handler: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3176}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed6ee082370978a8e534ca594f5cb9f1e0aa3570ed4f03b95af2aaf9244a1a8"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): infer the correct response type with 2 middleware, only one returning response: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab657b9cc63274ef41d162d6378e19179fb1912dbd51c636ea86ee8aeadc1d8e"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): infer the correct response type with 3 middleware, 2 returning response: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ts_fast_strip/benches/assets/hono.types.test.ts"},"region":{"startLine":3237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4063aaf50102889639a15c442f98afee719c0726e5429aa6ee5498408bb3279a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/tests/tsc/callWithSpread4.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40fce58fb41e987a0e04415dd9e2e025a33783c38a485263b2215222c12cd0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/tests/tsc/contextualTypeTupleEnd.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5317c723e62699f36efdc19d8d2b0822ecd1ed9d9560e108ba69635e173d5039"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: windows-process-tree: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/tests/tsc/contextuallyTypeAsyncFunctionReturnType.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea48d3d982213e11fb46583287aaa893284919776f1f6e310be3f847b39c2d7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/terser/compress/try_catch/parent_scope_of_catch_block_is_not_the_try_block/input.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf27e971e1e53229dd4d3082860420c2801720e6bea48a52ecb75280c207296"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/mangle/issue-5766/1/input.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8729907d639fa51f85964002b12d478af11c8e1ba08872f3d5dd5c04adf31b20"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/fixture/issues/unused-let-initialization/input.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7260e43175250af53687d5d3bbab1d03c07a8e78d2ea6b450717071a04620611"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/fixture/issues/unused-let-initialization/input.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"21974e4c8b128e99ad4f2f7a6c36df3a83005417d523ab7a4b92e3198997198b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/fixture/issues/unused-let-initialization/output.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f084f8531d11425c70802c32ef311cb0bf77d4298cbe3aadbba0e3bbd399fab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/fixture/issues/unused-let-initialization/output.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1039d4b9bee4e5b99a519ff7b33113f37cf13480dd7727b970c2812aee7cbc88"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/benches-full/d3.js"},"region":{"startLine":5490}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c21ffbeaae7f5fee0015332167bfe336262da1ffe8eeb15bdac38bf5a4d701"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/benches-full/d3.js"},"region":{"startLine":5508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d759b85ba46320ecda053d56ae3830b6b595e9f871ee7a868f90e98288532b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: (unnamed test): No conventional assertion call was detected, and 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 read the same way \u2014 so this is treated as that project\u0027s convention rather than a broken test, and it does not drag the score. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a project of runnable samples compiled as tests, where a run that does not throw is the only check. If it is the latter, these methods genuinely verify nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/benches-full/d3.js"},"region":{"startLine":5517}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7221a90cbff2462a9cb4eb601ca8bf1e92e55eb933de421a2f56488a2eaedb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/tsc-references/contextualTypeTupleEnd.1.normal.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"066c9bd072b4fe8ec11e5271d1eab05e6d49930cdc1a6390e9f6eb49d9a078bb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/tsc-references/contextualTypeTupleEnd.2.minified.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3d55e7c036425e3546e5bd3aa939ffa2b50c4606ee1baec9767617f444aa72"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: windows-process-tree: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/tsc-references/contextuallyTypeAsyncFunctionReturnType.1.normal.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be813ba58d89bc1dc8802e057309203e62dbb5138b33d6a78bd05e4cb76e772"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: windows-process-tree: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/tsc-references/contextuallyTypeAsyncFunctionReturnType.2.minified.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5a1b186041916014443d337d4b70ac9d29b5fb3041903be10a47a2301e3bfd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ${message}: %s: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native-web/corpus/packages/dom-event-testing-library/src/testHelpers.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e039b046260151e21b092c5f8283655b50655eca90cebb976f550c1b98dfade"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: updates monorepo for release-candidate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases/__tests__/set-version-test.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc303853426fc60f25f1c1adc4d2e30b07dc69491ae0d8c848014a7579665a9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: updates monorepo for stable version: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases/__tests__/set-version-test.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada2915c7edab61339da942cb31e6bb871528dd1ba74a994ae66c4577c6898ae"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: updates monorepo for nightly: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases/__tests__/set-version-test.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14f67de7fe97bc64015d92c123c3e6f745b84110d3fd3c4c64725d4dc8a30e2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1.1 - test 1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/focused-hooks-itest.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"183803755e82ea859f8c23addd8930b4cbbebc28dd2920379743bb72410dd270"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1.1 - test 2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/focused-hooks-itest.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66936cca4cdf9aeaf2401eeaedd1f8a280f2bc393895c4efba8ab47c9f15bbf5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1.2 - test 1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/focused-hooks-itest.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"334ab25916145e25ac6fe1047289763ac40ec0f19759a7baff58078ebb5f47b3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1.2 - test 2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/focused-hooks-itest.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d72d52df55ebaca0bf7accc970b4ab61efaed60c135f5d1eec2828a397e25b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1 - test 1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/focused-hooks-itest.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd47bca53a401689e8c44d50d26f3c9a78f2b98346df7f77d909cdb58150968"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: 1 - test 2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/focused-hooks-itest.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4022aed5968f437000a758d9452eec7c4c2c8645d3b09498ae7c73ff19061f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test 1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/order-of-execution-itest.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"83be0cf00cb42f30796c8706ab625446ebc9509d378d6d4dc903743ad434da7f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test 2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/order-of-execution-itest.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83cc0e7ef885581eb5e433ab3a3e32eeb2028b235dd2349e2e7e8470f7593ef"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test 3: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/order-of-execution-itest.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5aabcabf74e673b070e608a86ec66665cb470836cd2107a518198a2c573902"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test 1: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/order-of-hooks-executions-itest.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a330722867f155246a2db04d908af66434d5127c56b439c64236a5ac0c3d5437"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: test 2: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/order-of-hooks-executions-itest.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fd7ba2f8937154b0c5258fe7db0aefdec47fc7c008ac75cd7da665a778a18b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: root: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/scoping-itest.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"217bbc093f5e2f17480ba892a10ae226e574ddd90024b7b9fa937702d883f9cb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: inner: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/setup/scoping-itest.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e0d6c80a6dcfd6b77e7cb856624a3341abe5d1d20c2f1f5b33269d10ab1488"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): ...: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/private/react-native-fantom/src/__tests__/playground/Playground-itest.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2ba045c61f9c4c6a08ce78175638b4ee20bf673df2bc5ad3533eef0b16fb30"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: scrollToEnd works with null list: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4d8f33ab7e3a793d5a59f9ecc766b60daa912a0fba72888f1e74c2d1932730"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: handles nested list in ListEmptyComponent: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/virtualized-lists/Lists/__tests__/VirtualizedList-test.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b956d97f46c3e20dbad0fd712a1678e26047f81b2ac629648986601ed2be25"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): should work with multiple intersection observer instances: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/webapis/intersectionobserver/__tests__/IntersectionObserver-itest.js"},"region":{"startLine":4165}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c0d01b6bc209aa55dad57c663f23037674ff636ad60b587f33e6e9bfb85ef9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: error in onResponderGrant does not crash the system: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/renderer/core/__tests__/ResponderEventTarget-itest.js"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9e8989f1579dda1337bf13fc39bfb6af35e8d44e9383b816bb34e9f6b402fc"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): error in onResponderTerminationRequest does not crash the system: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/renderer/core/__tests__/ResponderEventTarget-itest.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a427b5b0e701e9d279a38ed4187fa08cf3e6a912692dcf2d3acd3ccebd01c3d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: shouldn\u0027t recurse infinitely: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Utilities/__tests__/deepFreezeAndThrowOnMutationInDev-test.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4ad03ae2cc319a4ca8c3808d799d594b4f8fa191d5ad192bbaa5bc11f2892b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept an empty array: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"991b380bd6664ecd2abecdbea45861f92137a98bf1a2ee1d035440a920b5bbed"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept an empty string: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d072b1d9d20d69bf8cac4a2e4b5f86862570bc2580bc3f9063ac1379c30745"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept a simple valid transform: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8daf4b4b014cdefa378fd47c8734185e1dea43ceece5be87b9e6f23b55883404"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept a percentage translate transform: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1839c55774a957ceb83b0a11ef58068e7785776d97db7db9304b530a5faa62"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept a valid matrix: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a796cfaffe4b2ff5bdf0d5d3d3282fdcd29e4aa42c5cdddea397237825dd38"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept a valid translate: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dcd257a0d2bb0d0e3776d09668784bf42c557a2c15c96b6af63a13175fba1c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should accept an angle in degrees or radians: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/StyleSheet/__tests__/processTransform-test.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b1e5254d5b9597a81d3e2afce050ac6b48b6b3df54705b2fe22d75944bce1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should render as expected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Components/TextInput/__tests__/TextInput-test.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c30e9790349e76c66ae7cabe0d1d73b9746515a67ae47572019355e5a7744d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: renders its children: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Components/ScrollView/__tests__/ScrollView-test.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf74bf286032793115a8a025b03bc6e2e8f727ba5f298ebd0f0f1b8de89eed57"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should render as expected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Components/DrawerAndroid/__tests__/DrawerAndroid-test.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"64729877b6634518573af273a767e04ef7f2cc31c04d04bb9bb2e30c318cb5eb"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should render as expected: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Components/ActivityIndicator/__tests__/ActivityIndicator-test.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"629c209ca3d4efd12736ba5ca6184a0739015d0af48cf347058f102eaa45fd12"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: animation driven by onScroll event when animated view is unmounted: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-itest.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21fb1cd723ceaaaa704996b2fee30490a735eaf5f5e2e077a47e13a8212f4ab"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: matches implementation params: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/AnimatedMock-test.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"54afef24a8f88ced0ba7a9f28864e96b47f02b2bd821aab48b0c4ff833f5297a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should be linear: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/bezier-test.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff76372a42a6183a1a7f09db3f3f9580221d3b91d74a17dc04d668ddf839c0cd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should be strictly equals: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/bezier-test.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"963ef20d138c744e0edbcff91a9e5696953becacc673af0d4a288d62293ca062"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: resolve all public API paths: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/eslint-plugin-react-native/__tests__/no-deep-imports-test.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f428627492c44d4362435d19a9881b5cc6d29de99639d2597a935cd8f5ae5e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should use the right destination folder: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/community-cli-plugin/src/commands/bundle/__tests__/getAssetDestPathAndroid-test.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a042ede2235dd3c7cd3caf25b061df21035af9561d700ada2037a4abffbffc0a"}},{"ruleId":"D10","level":"note","message":{"text":"Test project verifies nothing: crates/swc_ecma_minifier: No conventional assertion call was detected in 9 of 9 tests in \u0060crates/swc_ecma_minifier\u0060 \u2014 the project as a whole, not one method. Two things look like this: verification that happens indirectly (an approval/verifier harness or BDD step methods), or a suite that genuinely checks nothing. If it is the latter, this project passes unconditionally and cannot fail."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/terser/compress/try_catch/parent_scope_of_catch_block_is_not_the_try_block/input.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b0357c6a78c4f8a933a07869a77980e3d94634a83368925403e582650dbaa2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should set version, hermes version, and not publish: This test sets up 10 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac6b9b040d0c2da3abb854d9762d759f1a543c51d82ae681d31718d0f1f3ee0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: main \u2192 RC0: should skip Hermes version: This test sets up 10 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c889e96cea912b0f1c57909721412a7858472a3bcaca03b467f020509c5626"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: RC0 \u2192 RC1: should skip Hermes version and artifacts: This test sets up 11 test doubles (for example \u0060jest\n            .fn\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"74755cb2f58fb52a3425d4ba04f0648e94135c09eae6513f8adbb29313062d40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should publish: This test sets up 8 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac8afb72c55791314db50717aa7439e278656dd47abacbf2e9fb7535623e8e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should publish non-latest: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb48afe46cd6124986d81adc803f5bbda6dd80e7be05543a6f4d6ed87e1ff719"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should publish latest stable: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf4d07fb6c2f0022ad40425cad787c7ba70f1ea2e9ffc15fc64a8266d591713"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should publish next: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-npm-test.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aebf31d698496fb2aa6f9972e965a7eb133c526eb786982f7157bc2cc23a0d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should publish all updated packages: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases-ci/__tests__/publish-updated-packages-test.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1e8219c9e29b6b80b46f3dcd2395d20dec8fc991f128275a190e07d02f151e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls buildComponentSchema with ast and wrapComponentSchema with the result: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-codegen/src/parsers/__tests__/parsers-commons-test.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac22c13967516c9145a7f19d915063ef46bf3ba9c558c60505a32fff13f8e0be"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls buildModuleSchema with ast and wrapModuleSchema with the result: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-codegen/src/parsers/__tests__/parsers-commons-test.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"501715c3bc53ae72195bc8a6b63002aa32d6fab0e7a387929ebb12a8923f8692"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: negotiates responder transfer: current responder can refuse termination: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/renderer/core/__tests__/ResponderEventTarget-itest.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8af71e278046f55ac9154413f310b784100cbebbaba296ae87c672153affc4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: negotiates responder transfer: current responder allows termination: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/renderer/core/__tests__/ResponderEventTarget-itest.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ebbd43c50d6889fdbe9bbffd65ab99c809008063487c99286ca5464ae53452"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: can handle multiple listeners and unsubscribe: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Utilities/__tests__/SceneTracker-test.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aaa79b8cc3a0b95e6f578fe7b7499be87725ea25126b9a12f88897bb9f8661"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called if provided in config: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49918e7a4e3a887dea44bc9750c892bb3436e8235391aad1e479a3da95af3de"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called if provided in config: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeba498f38f3ab0f5fd664123b80556a71a07e3a6a87230394add668e80736a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after \u0060onMouseEnter\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a9dd508b58a135251da7f0c96634016ce54211e8a858e5f0bdda481fe4be6a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after no delay by default: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c709faf3e8effef904ae011225d4a54438516f51a0be3f5fddc803c8675376b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to no delay if \u0060delayHoverIn\u0060 is omitted: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce851a0eadee3df0f40a3cf71710be7c870d161d2b42b4ff1cddd5971463a81"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after a configured delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"b088551b3527bfbb91200b9cdbdcc6b5d0f124c4792e3af9d656e339c1a50430"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called synchronously if delay is 0ms: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad523a9ecfd290295d24b83e444e274c051ce0aa051abe236e601a855935cd31"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after \u0060onMouseLeave\u0060, and after onHoverIn: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a00cffa9a45f534c405546636cd8b8b71072315b577722a9550114af538bf4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called with no delay by default: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b65072ca0eca91f95479ec5117b4813104a8e46a121b90a63dccc8db78c1d7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after a configured delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacdd0302887ce41940d058ef259ea4302c4cc40eb20a87f71091f62721f5b70"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called synchronously if delay is 0ms: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8e3500c7c8704821edce2cc4a0442e2e1e01827d35c8e91e249a726653407f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called if pressed for 500ms: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"610fcbfb1cee28cae2a77c38911e2d43e108c3c5ef6a624caa0e62797947bf59"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called if pressed for 500ms after press started: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"077081b21148126b2ab7308c2628976d0da11750fff7266cc7636d7031353d20"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is not called if released before delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b5a5aa8157ef748c580bffbc7b30106bc3b9e021e7526798fe27d26dd14c1a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to a minimum of 10ms before calling \u0060onLongPress\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"1930de06d67867699dc4567c6189fc5202ffef8a5853e94d70f6a42aa09eeb53"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called if touch moves within 10dp: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c41a374c3001779b08f7c546f442e2a37382a773833f6a2eb680ec729fae72"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is not called if touch moves beyond 10dp: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41696a64579a120fa7953eeba487c9c8cac7f78d51c8a9ae09c3487f74ab43a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called independent of preceding long touch gesture: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfcedd206e228404d88c9d7cb31e2e5a748a353d9a2d8730bcceaab9d958a57"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called even when \u0060measure\u0060 does not finish: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8fddb16879f098d1ebb2cda06d027e98d309c2d1fa26c5ee7260f28260abe8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after \u0060onResponderGrant\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"a830bc3c3492e2bde4fd31b2aadbfb6881c6afdc3925ddfdb5b905006a9be76c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called immediately by default: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2373734568d761c6a9991d63dd02b617e1f32f334bd55366f6d7122d3e72dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after a configured delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f61e1bd87a2951f641288011f8d3469db950b6d80a58533d9aafb1ef88582b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called synchronously if delay is 0ms: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3410899e4c932fb1b4ea95234ed00c01886e63ed3bae7c6fd23bf3695d43c82"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after \u0060onResponderRelease\u0060 before \u0060delayPressIn\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7d312a42646fc1122f1d4afd0cbd7e4796c3419390099e18901e62c731abf1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after \u0060onResponderRelease\u0060 after a configured \u0060delayPressIn\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c14bf00edea2a0a589a464bd099e086a1c8a970ee812fb0dac6d23e127a6c3d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is not called after \u0060onResponderTerminate\u0060 before \u0060delayPressIn\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b76e5e275d7c841db75ca502d75882fd0db8d3eb643d906ff6c437a7fa3d03"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is not called after \u0060onResponderTerminate\u0060 after \u0060delayPressIn\u0060: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"4205743b5f7700fe7ca26d51452849b67b1bd739ad8a46f8533d0a055ab4bb3b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called after only after the remaining minimum press duration: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6f078762bb9ab9d7ce4f153bea98abc1a3dd282e7c3379cf10ccd684aa35be"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is called synchronously if minimum press duration is 0ms: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d0f39ea8b4114c8f9d98c74044a2df0fcff7d0cb48a64d008e5f57b18cd58d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: \u0060onPress*\u0060 are called when no delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3a862fd73874f51521082e3580b6a8572ca1d662c69212b1e62c6072c0636a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: \u0060onPress*\u0060 are called after a delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8acfd1e547b139054bdf8fd0be33c113c9eadc2aa471645267819103f741f70"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: \u0060onPress\u0060 only is not called when no delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"16255ac91bc59feca2870560bfa68172af1f4c02e403c388e93ab38fd336391f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: \u0060onPress*\u0060 are not called after a delay: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44652d8a23c71cd0ac3ecec5d9f8288b14d316280cd65a673dc74f00f75746d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: \u0060onPress*\u0060 are called when press is released before measure completes: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Pressability/__tests__/Pressability-test.js"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"222092c6c4681b2837d9134fc8c2ba7cbfcfc073e6b176e4c6c96c355e6d99b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a LogBox exception if we fail to add warnings: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/LogBox/__tests__/LogBox-test.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dcd9dc5f5db789bdc69f25f3ef70b8c35ea6534825799041d586a6bfde160f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores logs that are pattern ignored\u0022: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/LogBox/__tests__/LogBox-test.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"919190c3cdbad04ca01a5f93537e67283c9a8739375a0393c0b67ee9c9264d1e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: suppresses logs when performance tracing is active: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/LogBox/Data/__tests__/LogBoxData-test.js"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55ef5167fb9bdf2125d0e17e17eeef3930f6461f31a5fd4cfd8f4823c949a9c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: suppresses exceptions when performance tracing is active: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/LogBox/Data/__tests__/LogBoxData-test.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9932eae770a04dee1b86cd9ef16dc294990fa6704d37e893dea04385c15d70"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logging a warning: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec998fdb91da9a4732a7910990b1e9334f056a60cd0d93444243b54ebe425831"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logging a warning with more arguments: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"109c95f775b5aac1c4f08b99c96dff704696e5e119b7ddf3473dddf025967b8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logging a warning-looking object: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e2687aafed37d24259ab00d761269375bdfc4f88d357c6ec95a69cf6ac5d83"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not log \u0022warn\u0022-type errors: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2cc8d763bb9665780399fe0cdd192c7041cc42524a4b89ffb0f9afba8336cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reportErrorsAsExceptions = false: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3e984c08ac946e1ae8dcb6742b838ce5ead10d9261421b00b0f5879059cfe2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs fatal \u0022warn\u0022-type errors: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8dbcb1816cc497f35ebc52d201bb40aa2ee6058c54c26879b8b76b74d9b00c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clearing a decorator: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c9448b641f91b07daeac7f84471b96ee6c326728275f8070c8f1f80f282fb0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prevents decorator recursion from error handler: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 11 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41eae95ae4d07ea95162492aecb7510d4503f9802fa84b9281e564ab38596fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prevents decorator recursion from console.error: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 15 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d82cf12c28755af9484b479e3b7a9b5eac1ce0fc1867a9a0f4e8b51778a0a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: can handle throwing decorators recursion when exception is thrown: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9de5dbbb619e273a5a16a1c501f0af94217e8026ed35220bf661877da8d733"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: can handle throwing decorators recursion when exception is logged: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 11 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ef3aed94c9ea94574d3bc0245e1b0513f5abbf4d5efd5dbb1583046d4284a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ExtendedErrors may pass custom extraData using the decoratedExtraDataKey symbol: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/__tests__/ExceptionsManager-test.js"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e59f15422d9f572a1359feeabcf5dbfac231e7b19a7eb493e61d119f76aafb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loadBundleFromServer successfully requests a bundle (root bundle): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/Devtools/__tests__/loadBundleFromServer-test.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"711d59b86b12f569cc7c089d283c898c7d53c5c4873389d58ccf1075c2f53f0e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loadBundleFromServer successfully requests a bundle (subdir bundle): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Core/Devtools/__tests__/loadBundleFromServer-test.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e643217b7e90f16abfc3c07c5e572199534e413c34226b18569b4d5a402ae23d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sequences well: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e12e1b8056b94602c1fec9590a1137a8d477e127452728099863f558eeead8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports interrupting sequence: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c81eff303685276234ead542a421b9083459d41e3e76fa14b19c22fc30bdee4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports stopping sequence: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcde5aca412ca51b4a823e8c766e6cc9e21536157587f1f4eb59ed3d32e6d2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports restarting sequence after it was stopped during execution: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5026e3b37a91210893d4897410685d33ca690a0899d0d05b234ffe3f5765958"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports restarting sequence after it was finished without a reset: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"3657afca6615ba7a6e4eefb0701949b30ccc6c00a35bd70b6a666fa401b9c948"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loops indefinitely if config not specified: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"3461df8789b283a3b8e56f29924e2ec6248cb4c5bb74d8f1e5b8aecab74c1c3d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loops indefinitely if iterations is -1: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"128142d569945820c8a7a98b95c8aac92a92d7a1e3042e0426be9f15b4597dfd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loops indefinitely if iterations not specified: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb1c1f164a01030a75792930d5a80c083699e41ded95c628ac29166835bd497"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loops three times if iterations is 3: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b19437bf41ce8f782f1f3aacdb107487e920c82094931d07c808f00d364bd1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not loop if iterations is 1: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61288b63215258ef43454fbc8b66f4524f6ada935719f1bed68e377f301c8c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not animate if iterations is 0: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fc82e24c51c3e6da79d253e1bff64ff00ac1c5a108db2b4a45ff499cc5e3e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports interrupting an indefinite loop: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"673153397e406c4357f1ea19776515cc87a7f90cf7c0824c9038bdd4bb758714"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports stopping loop: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c7f41625a401ea58eca9448ba5c0eaed5e76d323b66aa77dcde0ec2fd3eca0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not reset animation in a loop if resetBeforeIteration is false: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 10 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35d4875dfa65a8918cde2b3ebcb0e62054d2d15d8ddc75e8bd863416b1499bd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restarts sequence normally in a loop if resetBeforeIteration is false: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fd1afd13a1b14056ef00bb23329807149da1709f6fd454f46469fd286487cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: parallelizes well: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"681bdd78fcdf0b1026483d9af75bc823fe4fbff417d139468f51f1347375a240"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supports stopping parallel: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7672966e1ed3745b9afdceb23a9a2fbc131e1a7c5f97b9ffce6128f44d9449"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not call stop more than once when stopping: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"954db4a60d37c4f4148315f2ee74c34e15600f0a52f6e651d5e36d9938a73b0a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call anim after delay in sequence: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/__tests__/Animated-test.js"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"491837f07ffcb87ce6e052959a17fc34d3f505266bcdeda1fda09e0982054980"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: send message functions are passing messages to sockets: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/flow-projects/react-native/corpus/packages/dev-middleware/src/__tests__/InspectorProxyCustomMessageHandler-test.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2b5a0f5b51af15704c8e4b3a9d3297516c1fcc41c074b9d67fd80413141fa1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/pure/misc.rs: crates/swc_ecma_minifier/src/compress/pure/misc.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 133 in Pure::ignore_return_value at line 1745. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/pure/misc.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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f11c89b7cc2dc0c73f3b98fab8dde95757dcd4971c95fcae837ed0f8ca07088"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/class_and_fn.rs: crates/swc_ecma_parser/src/parser/class_and_fn.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in Parser::parse_class_member_with_is_static at line 1111. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/class_and_fn.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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"94540d36cdf408a958c706a0fedfa4800f8cec40e2ea7a843ecf04003d21cd8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/optimize/sequences.rs: crates/swc_ecma_minifier/src/compress/optimize/sequences.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in Optimizer::merge_sequential_expr at line 1496. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/optimize/sequences.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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6014fc3edc6d6c365664dba88ef65f3586187edae218ae61cc75abe597c59d6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/stmt.rs: crates/swc_ecma_parser/src/parser/stmt.rs changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in Parser::parse_stmt_internal at line 1968. 10 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/stmt.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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"905becaa0554232bc30aeac1349b4d38180632398773deef6be884ccf3a89e6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/typescript.rs: crates/swc_ecma_parser/src/parser/typescript.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in Parser::parse_ts_non_array_type at line 4709. 14 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/typescript.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":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":4709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd8206e7a1ced15fb77ca4ba8e0567f5fe53a244c5e000021d77535cf404883"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/optimize/inline.rs: crates/swc_ecma_minifier/src/compress/optimize/inline.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in Optimizer::store_var_for_inlining at line 37. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/optimize/inline.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":"crates/swc_ecma_minifier/src/compress/optimize/inline.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbddd01398de662207230fe8da15845d608d3d5375f503dad95e464490a3f649"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/module_item.rs: crates/swc_ecma_parser/src/parser/module_item.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in Parser::parse_export at line 413. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/module_item.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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26e581410b625f8faf3aa4cf612742914fc7b32ae5cda88f3f39b5fa469d5f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/optimize/iife.rs: crates/swc_ecma_minifier/src/compress/optimize/iife.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in Optimizer::inline_args_of_iife at line 151. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/optimize/iife.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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e282f8a670df4879d54c61eca83ff366f1d82868ddb9eec2db4a87e521d7bfd5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/expr.rs: crates/swc_ecma_parser/src/parser/expr.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in Parser::parse_args_or_pats_inner at line 2547. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/expr.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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2547}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5f2631e00d0373299ef5a8ec8d834f2414fb65e533e013e81085223a1c7d4b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_transforms_base/src/fixer.rs: crates/swc_ecma_transforms_base/src/fixer.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Fixer::visit_mut_bin_expr at line 308. 8 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_transforms_base/src/fixer.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":"crates/swc_ecma_transforms_base/src/fixer.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e01ec3a792b872640196070104536c2d01df9a0719ecf4e636cc3ff6433a7b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/pure/dead_code.rs: crates/swc_ecma_minifier/src/compress/pure/dead_code.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Pure::drop_duplicate_terminate at line 342. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/pure/dead_code.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":"crates/swc_ecma_minifier/src/compress/pure/dead_code.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"a325caa0f7b609561b1ba60c1461f53b62382916f01bf61eed1068b563ec6ad0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/optimize/unused.rs: crates/swc_ecma_minifier/src/compress/optimize/unused.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in Optimizer::take_pat_if_unused at line 431. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/optimize/unused.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":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b4f0f3c3ba52b93b6fe4f2e9074cfcc04c560470b8c55df5e2aa19934afe24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/pat.rs: crates/swc_ecma_parser/src/parser/pat.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in Parser::reparse_expr_as_pat_inner at line 231. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/pat.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":"crates/swc_ecma_parser/src/parser/pat.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"6516b635aff5e0f5a9d5a25e0f31e65dfd840508332c6c50bb9e83d84bb3a126"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/optimize/evaluate.rs: crates/swc_ecma_minifier/src/compress/optimize/evaluate.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in Optimizer::eval_known_static_method_call at line 200. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/optimize/evaluate.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":"crates/swc_ecma_minifier/src/compress/optimize/evaluate.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"691eeadc50276892060d9c42a83359393c14307c375d3df1021270ac042f0023"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/ident.rs: crates/swc_ecma_parser/src/parser/ident.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Parser::parse_ident at line 181. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/ident.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":"crates/swc_ecma_parser/src/parser/ident.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6256e07ca5b6c51c0b4f609c8cd68eeaacac924de55fc7b889454e30b1ccfb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_codegen/src/lib.rs: crates/swc_ecma_codegen/src/lib.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Emitter::emit_bin_expr_trailing at line 360. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_codegen/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f0235fc3abe16a5f8516fd343956fb79f1b9b27e8ec1faebef7b7729ad9144"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs: crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in swc_ecma_transforms_optimization::simplify::expr::optimize_bin_expr at line 977. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_transforms_optimization/src/simplify/expr/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":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"779e993b8e1420bb9ad46be1d7403784ee2ecb42bbcee76982bb52d482591a13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/pure/evaluate.rs: crates/swc_ecma_minifier/src/compress/pure/evaluate.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Pure::eval_str_method_call at line 904. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/pure/evaluate.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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1bf66245267b5fb9a263780e5116dbe789a73ba10d63b3073d2f24f432deaf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/compress/pure/switches.rs: crates/swc_ecma_minifier/src/compress/pure/switches.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Pure::optimize_const_switches at line 66. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/compress/pure/switches.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":"crates/swc_ecma_minifier/src/compress/pure/switches.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7775f00fc0d2099f80ac6321be4b160fed30e7e431386b654912257966614e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_minifier/src/program_data.rs: crates/swc_ecma_minifier/src/program_data.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ProgramData::merge at line 236. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/program_data.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":"crates/swc_ecma_minifier/src/program_data.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5f21c28e4823e3dd0b332a11a8294a474673aed08ed0e879444f1be72fe71d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_parser/src/parser/object.rs: crates/swc_ecma_parser/src/parser/object.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in Parser::parse_expr_object_prop at line 191. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/object.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":"crates/swc_ecma_parser/src/parser/object.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0504ecd17512efb0a4f5c1666370a2e8847c3cd27b6bd5adc552a54436c22358"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs: crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in Remover::visit_mut_expr at line 83. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_transforms_optimization/src/simplify/branch/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":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e751090d40223608fbe122f47303bfa221e831a24f977bc6ea60f69dd27f761"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/swc_ecma_codegen/src/util/token_boundaries.rs: crates/swc_ecma_codegen/src/util/token_boundaries.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in swc_ecma_codegen::util::token_boundaries::leading_regex at line 108. 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-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_codegen/src/util/token_boundaries.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":"crates/swc_ecma_codegen/src/util/token_boundaries.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"399720b91e73e0773e2f6bb4d419ab4dbfcab13958e21453528fc741c613359b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_native_addon/src/platform/windows.rs: crates/swc_native_addon/src/platform/windows.rs changed 6 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is swc_native_addon::platform::windows::validate_ancestor_dacl at line 303), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(node): Restrict cache DELETE exemption to filesystem roots (#12610)\u201D; \u201Cfix(node): Allow DELETE grants on native cache volume roots (#12609)\u201D; \u201Cfix(native-addon): use ProgramData after unsafe Windows profile caches (#12534)\u201D; \u201Cfix(bindings): fall back to a safe cache root on Unix (#12500)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_native_addon/src/platform/windows.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":"crates/swc_native_addon/src/platform/windows.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ecc99dde76bb0a55c85d0335d32e6bb6aafcaee860876f72372ef08a1d0e9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_native_addon/src/platform/unix.rs: crates/swc_native_addon/src/platform/unix.rs changed 6 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is swc_native_addon::platform::unix::secure_cache_root at line 81), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(native): Allow unmapped overflow owners in Linux cache ancestors (#12547)\u201D; \u201Cfix(bindings): fall back to a safe cache root on Unix (#12500)\u201D; \u201Cfix(bindings): allow opting out of Unix cache root security checks (#12469)\u201D; \u201Cfix(node): Repair native release verification and cache handling (#12415)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_native_addon/src/platform/unix.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":"crates/swc_native_addon/src/platform/unix.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a445f1a26a7e24c2de469125678c58c6c617c31aa5bcb369adb1222aeabd1db6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_ecma_parser/src/parser/mod.rs: crates/swc_ecma_parser/src/parser/mod.rs changed 6 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is Parser::collect_exported_names at line 1234), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(es/parser): isolate enum await context (#12506)\u201D; \u201Cfix(es/parser): allow escaped keywords as property names (#12358)\u201D; \u201Cfix(es/parser): Preserve await grammar boundaries (#12156)\u201D; \u201Cfix(es/parser): Retry ambiguous Program parsing (#12142)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/parser/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":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c981f1b131fd9582de59680dc4afa05dfc717e63bb990e6447cbce7cba953edf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_ecma_parser/src/error.rs: crates/swc_ecma_parser/src/error.rs changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is Error::into_diagnostic at line 784), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(es/parser): align TypeScript expression lookahead (#12535)\u201D; \u201Cfix(es/parser): recognize named optional and rest tuple elements (#12368)\u201D; \u201Cfix(es/parser): Accept valid declare readonly field initializers (#12363)\u201D; \u201Cfix(es/parser): reject unicode escapes in RegExp flags (#12093)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_parser/src/error.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":"crates/swc_ecma_parser/src/error.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b70cc355f964d889a36a4e7cc1d82121b60e535948a6397b40107848d1ba63"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_native_addon/src/cache.rs: crates/swc_native_addon/src/cache.rs changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is swc_native_addon::cache::prune at line 266), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(native-addon): use ProgramData after unsafe Windows profile caches (#12534)\u201D; \u201Cfix(bindings): fall back to a safe cache root on Unix (#12500)\u201D; \u201Cfix(bindings): fall back to a secure Windows profile cache (#12452)\u201D; \u201Cfix(node): Repair native release verification and cache handling (#12415)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_native_addon/src/cache.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":"crates/swc_native_addon/src/cache.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"720f2e324da38d191034a2a9195f7c102d95c4c30560314bbedd903003ccf880"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_ecma_minifier/src/metadata/mod.rs: crates/swc_ecma_minifier/src/metadata/mod.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is InfoMarker::visit_mut_call_expr at line 100), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Crevert(es/minifier): Revert #12384 (#12419)\u201D; \u201Cfix(es/minifier): preserve pure annotation ownership (#12180)\u201D; \u201Cfix(es/minifier): preserve effects of returned value calls (#12140)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_minifier/src/metadata/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":"crates/swc_ecma_minifier/src/metadata/mod.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b8434e37d1a04fe6f37f88baf67bb457f9d40585b1be072a632cec69f473b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_cli_impl/src/commands/compile.rs: crates/swc_cli_impl/src/commands/compile.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is CompileOptions::process_out_dir_watch_batch at line 959), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): Emit \u0060.d.mts\u0060 and \u0060.d.cts\u0060 declarations for \u0060.mjs\u0060 and \u0060.cjs\u0060 outputs (#12729)\u201D; \u201Cfix(deps): update cargo (major) (#12460)\u201D; \u201Cfix(cli): resolve out-dir source map paths relative to output (#12481)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_cli_impl/src/commands/compile.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":"crates/swc_cli_impl/src/commands/compile.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"4839f172ee95c3882744028b9f835c224b9d9f7c30abc29f3d8aeb15ff858aa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/swc_ecma_codegen/src/typescript.rs: crates/swc_ecma_codegen/src/typescript.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is TsKeywordType::emit at line 509), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(es/codegen): preserve TypeScript token boundaries (#12523)\u201D; \u201Cfix(es/codegen): disambiguate TSX generic arrows (#12505)\u201D; \u201Cfix(es/codegen): separate generic type assertion openers (#12340)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 15:42:59 \u002B09:00\u0027 --until=\u00272026-11-14 15:42:59 \u002B09:00\u0027 --full-history --no-merges -- crates/swc_ecma_codegen/src/typescript.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":"crates/swc_ecma_codegen/src/typescript.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcb9a9edb04301d46ca5ad61cadf18150ad73ce6e7a2b8535cb1efb21bcedd3"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 14 significant file(s) lose their only recent owner: bindings/binding_nodejs_support_wasm/src/nodejs.rs, crates/swc_native_addon/src/platform/windows.rs, crates/swc_ecma_compat_regexp/src/unicode_property.rs, crates/swc_ecma_transformer/src/regexp.rs, crates/testing/src/lib.rs, crates/swc_ecma_transformer/src/common/statement_injector.rs, crates/swc_ecma_transformer/src/es2020/nullish_coalescing.rs, crates/swc_cli_impl/src/commands/compile/paths.rs (\u002B6 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c453d35fe6614942f02d251f5f00347ff8bdbfa88b5b9327acb448334dc0044"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: crates/swc_ecma_codegen/src/typescript.rs, crates/swc_ecma_transforms_base/src/fixer/typescript.rs, crates/testing_macros/src/fixture.rs, crates/ast_node/src/ast_node_macro.rs, crates/swc_ecma_lexer/src/parser/typescript.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2b02c128c72117a6d707c102353fe97983c635fb95bcde48e06c59074a74d77"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 5 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 (25 single-owned of 705 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; 705 of the 1143 production source files in this repository met that bar). They are anonymized user #3 (2 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/ast_node/src/encoding/decode.rs, crates/ast_node/src/encoding/encode.rs, crates/swc_ecma_lexer/src/common/parser/ident.rs, crates/swc_ecma_ast/src/source_map.rs, crates/swc_config/src/types/bool_or_data.rs, crates/swc_ecma_minifier/src/compress/optimize/util/tests.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should use cargo metadata \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xtask/src/bench.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf85058c677db0421c02ecb909886b12916ea7bafe6b0554dae8476e79d276c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support all kinds of fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate-code/src/generators/visitor.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b052524185d4cc746868bc02b13d210998cf722d0d3d3e9d5c8569a92b3177cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support unnamed fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tools/generate-code/src/generators/visitor.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ea431cf593ba75202863bd9083c262e51c5b08a0429fb80719e9e7cf206f7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 11 files: The identical TodoComment appears in 11 files (11 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 11 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO:\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/types/index.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9ae0252daeaecf90549cbaffc071099263e24c404cf8bfb38e357a47edca31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me after typing \u0060@swc/css\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":"packages/html/index.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"154191ad147e94d52b57425d813317c35fb3989c6ca082f9f8ce2305e111e624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: fix package.json scripts \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"035b4a020c9ada1e7efee97e2cb4283f915bfa72ba9c0ac876f5ff5c9db8599f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We do not take care of the case if user try to install with \u0060--no-optional\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":"packages/core/src/postinstall.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6947393d8286553116f4fbb58f4740a8641f705aa6764fea8321bd3dbdb2d77f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO tests from xml5lib-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":"crates/swc_xml_parser/tests/fixture.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7729513cbde184fd7620510222e90a62e54e68626c3a13cfbcb34b393fcbe6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement \u0060raw\u0060 for all tokens \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4089f9fbd547357082251ebd7fc87fab9cdb78d304a739312156d3d7cd84704a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 24 files: The identical TodoComment appears in 24 files (46 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 46 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1ee9365fa248ffcd0d5ffc0fbc4a571513d1a944a1ae247a84eea5b7b9abc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve parse legacy declarations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3c1601c07fe9f76ee11b303eb100673d3d42df099284a572018c536a5a0a02"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(eddyb) Use some sort of \u0022free guard\u0022 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":"crates/swc_visit/src/util/map.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6966eaa8d3456cbfd8ae533e8ca4c8bffac05eae078f8afa573b381bf813bcc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: may be function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_typescript/src/fast_dts/mod.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cced49a0af6532e839e644bc8271ef76fa174dd9149e79eccfae0123737ad0"}},{"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":"crates/swc_ts_fast_strip_binding/src/error_reporter.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b88acd320e2f3e15ec7b3f67bcc5b9f7296d262eaa06ecd1308ea5c0299a6df"}},{"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":"bindings/binding_typescript_wasm/src/error_reporter.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2575100396720480433708515258850d29dff830adde89c2c9c3ea725184e70a"}},{"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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"74afccc754c13c2567f744235e92c2ab82f8d02a12144cccec7806f0ead36f9e"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: right now, I am too lazy to actually serialize the above \u0060function_maps\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":"crates/swc_sourcemap/src/hermes.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"325b46e50835970d5449faf03e1458dc90ca31c63846257c40d3ce70e06d93db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to serialize the \u0060HermesFunctionMap\u0060 mappings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_sourcemap/src/hermes.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"835cceb2e2673cceb24541571ccb4f5e61e3df7d05563458d318836a05d77359"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is incomplete \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_runner/src/transform_executor.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"111f3599854ed92a5e2e927c3d342958f849eb8be2e52b5dde6e9dda8a03945d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: There is no clear usecase yet - enable when we have a correct usecase. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_proxy/src/metadata/transform_plugin_metadata.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6bd1d537e07d82070dfd5582067d5eeb572dcec9d69bf98a17cd57ca7e3049"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This storage does not support mutable yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_proxy/src/comments/host_comments_storage.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"055128217cc6926fb6655ca7ba4f2b50f9cfaca4bfec5c4230f9e29b9582c3db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use \u0060with_added_extension\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":"crates/swc_plugin_backend_wasmtime/src/lib.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef960a431de31e7c3dffcaafd5475bd93982b112346701b91650dc8bc93ddfd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO]: Should we use is_x86_feature_detected! macro 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":"crates/swc_plugin_backend_wasmer/src/lib.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5714f368a60665ef606f9fd66646157e15c4745016bcfbc392225f4e67798"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is not finalized decision \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_backend_wasmer/src/lib.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cae2ce28dbdb859b5247c836d0add395075d479312e0672a4799b1c9faa95f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO]: disabled for now as it always panic if it is being called \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_backend_wasmer/src/lib.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d11af009cbb5db05942de24116f074149884bb76bb62b76659567435e1ee798"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO]: we need wasmer@3 compatible optimization like before \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_backend_wasmer/src/lib.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c702a0d5f29b163933637e843844985d0bba4d9a2307157ce3ecbcd8618531"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we\u0027ll need to apply 2 different plugins \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_backend_tests/tests/ecma_rkyv.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdccacb26ca18fbca5a9b2fc64d62f5323c7850f482576f2b5412f21e1172bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// [TODO]: This is for the experiment to alloc memory with specified layout instead 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":"crates/swc_plugin/src/allocation.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"87218e0bea742f51de6ac38d0b75cf61e610c70e19ea237258c336e147da8590"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// [TODO]: This is for the experiment to free memory with specified layout with explicit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin/src/allocation.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc4ffa3a69e44de09cabbbbd57d44aa499205ca8d6dc67cb4f67bb277691949"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When we know the calling context is ESM \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_node_bundler/src/loaders/swc.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78dda8299ef8dced8eb1573e6868a2b4571d03d39afd30efce7108e0c92aa93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: switch to \u0060export default {}\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":"crates/swc_node_bundler/src/loaders/swc.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7bb048ab183999529e35f67b6bc48082cbfefde9a8ac8e7cdfb96fa3500ab8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check conflicting name \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_macros_common/src/syn_ext.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b0304f3ad3907ff4acdc771705abab6c32429b0b6121ab06de9f435c73e2b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix me surrogate paris \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/tests/html5lib_tests.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf52af2fa88f8691c5581579322344fc4b380306fc6c88ea23ab5ca82ff1823"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we need to enable \u0060preserve_order\u0060 for serde, but we can\u0027t https://github.com/tkaitchuck/aHash/issues/95, so we sort attributes"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/tests/html5lib_tests.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b50e6bfced0139ad86124d4016b33fce2e1598a885ade8ee02289e1baef93b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO workaround, fix - https://github.com/html5lib/html5lib-tests/pull/151"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/tests/html5lib_tests.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b00fea39194673a26a4106a65ffb0c5162246f52d76734b7704df10a459e80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO bug in tests - https://github.com/html5lib/html5lib-tests/issues/138"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_parser/tests/html5lib_tests.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"1633c2a6c475e34337606ec45f95e09cd868d74c255e83191ac0629ffd6d5bfb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me 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":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fdb793988a1e76b993bc7cb794bf67bae1c2fc0ee5c1ae4b77499a58b37f5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO source map url output for JS and CSS? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35e504c36e6f41576676bf66e26381251e7af1e88eadc878acaa6e3466d795c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO allow to keep \u0060var\u0060/function/etc on top level \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"21600e5773696c37fbe032ae535284b426a3f91e7c57e660153f70c71270ad8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO move it to ecma codegen under the option? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dad79d10f5d927ccb3c944c42aabc7b61e2507d972e2b0f4ea826ebf3752cdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make the \u0060compress_empty\u0060 option for CSS minifier and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_minifier/src/lib.rs"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e70f114b634d1ba0436195ff89c2fc9a0bf971ceae847f3b09b62813c5d80e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Remove 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":"crates/swc_estree_compat/tests/convert.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f348b4e3a46112f95ef521d9ba441020252a40373c03e9f5fac91ed57a62730"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Remove 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":"crates/swc_estree_compat/tests/convert.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c6c3b0d6713afc54749c5afffe1d02edb18cba9d1309d782c262f000803f1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Remove 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":"crates/swc_estree_compat/tests/convert.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb126f7aa683916d89a6442e02180b53da59e01e3818a625063a78c5b44fe66c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Remove 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":"crates/swc_estree_compat/tests/convert.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a8155d901088e71e2381d9f4c65e2f298870287f4e9c7f2b29cac52ba6d1b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/tests/convert.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d436a93d81f2a8acaab97df5ee2866804d9305841bf5803a0a1ae9bc311a0eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee84dd9d006855a9a46f1b5575d1f9934274e731b23167dbd38efabb985ad5e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use exact span \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d2e7f911eb163a2ecb1f0ef4ddc15ab16126f966969f84d4e106cb71da6071"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use correct span. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aa97da8185f5c5f12cbe31c884483589eda497bd14716a1558799e78be2116"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use correct span \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/expr.rs"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1cfd71563b10852683fea7aa62aaa91241c1cac73f2b51a298aab540daf046"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/lit.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5311260d42d38314efe78a0b51db947cca5e2e255b637abb9f560d7776ef92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/swcify/lit.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b899c5eb6947e07f06d8e0993ee1bcb42bb341d5f7d605c706bcadddaca015e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcea356fa87c1d6523636f2a1c487fc94c4357ff34c0093f3e48eeb236c9e770"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/syntax/mod.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d696b7f9e2c29bae3ba37b25245582241c10987a86baa4e0ab75d1daeede2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/at_rules/mod.rs"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f755406703d3e70315593bf2ca8afb3befd4c5ddfd07dc0503bd606b7a63f14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/at_rules/mod.rs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80e71b32373ca7e9d8168fdcd1b9eb56ce31c8b46acf9b5e04c783bfed43c49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/rules.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb12f8f371af9596fc20af9394bf725bf6439dad8990d82a7da6e9a5b85d931"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify that this implementation of class body span is 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":"crates/swc_estree_compat/src/babelify/decl.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daae4890811901ba9b2c9f0a380a751e5abfb4986325d94b08cef6a8f06c691"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): is this really illegal? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d3ea0de4f43322a0411054b89a46250c13d5b3e08f68cb2bbca482d92fe593"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): how does babel handle these? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/expr.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424cbff5c8d6adc0036b9ca1af0313eb15ad976c02fe8f46a8bfd04373a648a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Use this field. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3bfbb3e78499993413f687c01afe50ae9b26f1adcd21dd38a89e15d15bbd8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reenable once experimental_metadata breaking change is merged \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/module.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec586d9884b10eae46628dd1ef96d4cbe5781d70b0f34375e1d3f10a11d9560a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reenable once experimental_metadata breaking change is merged \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/tests/fixture.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3317471e66c790dbebf78aca07168397d5bbdf47f95c6413d76e8180b8364661"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reenable once experimental_metadata breaking change is merged \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef05ee2333f6da2c0badbf77062d371761b32524d059c35f8ad0afb3ce09172"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): missing \u0060throw\u0060 op \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/operators.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b430961f81d139bdb866241fc62b922993f3491b8e5996b3ec1b1d74e14a4bba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): What is AssignProp used for? Should it babelify into \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/prop.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae80ff74ec7d63352a9a5a43cc2d40025c01874fba9d8d8141070b2b21427af1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): I don\u0027t understand how Babel handles the \u002B/- symbol, so 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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50b40134b5ecc0fdaa3794e3e56cac5b2d8aee6697426f453b00844616fbfe3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): Babel does not appear to have a corresponding template \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e5fac9e5d9428652181145a6debeec509fe97b2062ea17abaad331d3af7c40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(dwoznicki): There does not appear to be a corresponding Babel node for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ec586b9a0195965a71821cdcdff2e24ccfb8a4ba89cdf9aba3707dde3779bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make better. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/benches/assets/AjaxObservable.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3aeb3a47ef32a8e3d6ab0cc26327c009a6137c5a10c42b512c8089fb6b677f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make better. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/benches/assets/AjaxObservable.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"3286f52e12668c1e9aa50330cfa16434ce5eb0edaae08a6d33137e94fc38c380"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make better. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/benches/assets/AjaxObservable.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5ed88a5bfd958f3080d23aea47c81b2030936b26e7856bfc03621206d12c65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): This is bad. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca81950aaea93751b7209918f5cb7f62568fe655c1ba1c586b63050805ecf51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): This is bad. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab26e802e540aa00ff6ac6077da72dc4a3112e2102117cb7c23c37587bda7e5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): This is bad. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/lit.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce8f4e56d79ff61bb0342d4fa7e1630b65d9722ea15504caa77bb02a98001b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): This is bad. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/object.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d015283d583d76caf3630034a7a01bbfac2c14b2a5c44a8553c9460b275aeddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): This is bad. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/object.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"316bad64c69b4575fcaf86cec166cab23d4270e6165265aa222b67dcf5b1f88a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is this the right way to model any? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/module.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"743024830ce21dd891578baf8d1fdf04604dd4303974e8c340577e76b6621bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc2869a25606f9db448bcf60b8b0632afd797b063b28c72438e31361155d2dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4793e9e90a438df8d66cff665df0b93e9e1de7a292d19c229db57f0cd6d75a3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_minifier/src/compress/util/mod.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c38f3023b5a618ac966b3ba956c43cdd9420ff7e3c1c3d941230dcc50035ae1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_compat_es2022/src/class_properties/mod.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6102d50c17b0d0107a28372ea8205022dc87aabba64acf0a7edede9c48f8f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this after a proper evaluator \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"472d074b6b256b93e132b4d3cb3d608e7d2b06ad9610071a8235a7c7d290ce9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if this is 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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc2a86aebe978457f5c4093903a1db56519c1c62609b3818fa1ca1997c8c373"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Count digits \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d695f540b89b51fe44d8644b13f2e2d15d020dec17909ab0bd01652a1dcdb93"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Drop values if it does not have side effects. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab13db2f5090309c8dfe52fcdf29f98b8561f8f2e8fa95035ec4dafc2cde14fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(johnlenz): rename this function.  It is currently being 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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eed4f55830b07b3ddbd8e8720c5eb145d1b03554b51b14ff302c0c68ce9037"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ignore purity if value cannot be reached. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":3077}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3da12335f9504de523a1f2c853fcd0b12804e7c6886552c5ffdbf230b01887"}},{"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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":3180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6284eaf4cd400957e7ac7d4a7b6c9cb12602bcf60a5a8d56ba1c725277d793ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Purity \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2c970afe26b3286e752901cd4ddfab1c310d716438da673672eedfe9448bfc"}},{"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":"crates/swc_ecma_utils/src/lib.rs"},"region":{"startLine":3855}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b08e79ad19ad18d9bf581d30babb8b30c92cda357b73cb1f8d630d97ca8516"}},{"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":"crates/swc_ecma_ast/src/source_map.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e6dfacb01adb28fa08fc9f77600ea95c2753f182f9ae1837cf1d795242e66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is only a workaround for Expr. we need something like \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_utils/src/node_ignore_span.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e23611cebed38264e2ed831080952649234091b481a79a71dab5c5d6a21b1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unignore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/tests/strip.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3110b90a3a0b501ab7525a0aedbebeec2d948c5a103acf8def9a9ffaf33d5555"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unignore const enum test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/tests/strip.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec73c4d4f3025b3ac519fd4c38245e770b8660b71b29f5a762d9f4a325783f75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/tests/tsx/next/server/render/1/input.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f82e38f3e7b9a6374adbd1ee5935fc585bbdefbf1c46d745b49e7de6b15cbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/next.js/server/render/1/output/index.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df6cbf955cc423646db09863f4e072d34f763f0b0ac373d2f1c1835b154ccf3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this workaround when https://bugs.webkit.org/show_bug.cgi?id=187726 is fixed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/next.js/server/render/1/input/index.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f2a376307238bcf8598d6663b1f5d02355eac9acc19e945c75ecf0732e3c88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to a different passing mechanism \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_typescript/tests/tsx/next/server/render/1/input.tsx"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0c9e441872b389581bcb7bf2c90d437437a7a979254b491989626af7d8375b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to a different passing mechanism \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/next.js/server/render/1/output/index.tsx"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb44ffd11ef798b60efe937a240c2d1cee2a34b6fca666b6194ee3cfe97050f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to a different passing mechanism \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/next.js/server/render/1/input/index.tsx"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"214b25251fe278e2b8d1a63949e06db8389907b0bec403249bd26ad7f9385e97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): maybe.. handle spread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/display_name.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f6c09231aa87ad4d80dc4232218d40d465667dd1395aff80f162230bb20e8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d71438f6b24c244a4ffcffa44364d60d684f27b38d5632907a4ffc4335dcf78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd712110ef6e5d8e426d601fe1a6c43df66bb33374d3bbe6b84ff6ab393979fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dbbf9bf086c791b585083fb69714cac2919afafbb3965f04eaff77ff8919a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea81e33d753fc0fb66a4c13ed315792665914250b1f138b4969eaa34c82ecc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if \u0060i\u0060 is a valid identifier. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab625326de5fa08a06e831ee3f653693c53e950bb00ca409dd0f2dcc2175441"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e3a67fc397b11e74f7b8ba0a5bd2b79a3990b0f72f92cfb4ec9317aeec56f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// [TODO]: Re-validate this whitespace handling logic. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb35e0851b17ad2c5d3c26c9bcfc2141fad150cd12e3bfa32844957d6286a85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO]: Decode any HTML entities in this line \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/jsx/mod.rs"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c0e6d54413a6bcebe7bc231add3d37110f642c293a145c6fb7539d3e8d772"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Generalize path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/scripts/patch-options.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd5792d31cc45b8b58e9a54c4497d4c4480893f77d90fc2e4b0a06c1d873e3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Unignore 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":"crates/swc_ecma_transforms_proposal/tests/decorator_evanw.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eeee0036fc7f9ddf9b9a7426d6954420b7962d73399a789f996f918124e448"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: VisitMut \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/src/decorators/mod.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a89905e8e8cea1ab12d702051ad1759e4fc40e2d49105ebb6a4eee4c174766"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: VisitMut \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_bugfixes/src/async_arrows_in_class.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eb72fc502867d6f15d1ca23ce00cb0f220b9a1735a3f757b54078e8e410bcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: VisitMut \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_bugfixes/src/template_literal_caching.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ab82312a043f352f895f816f7c850a6201059cccdda1e98bc095953580cf80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: loose mode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/src/decorators/mod.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"24327fc1a20db3fad3bfb7d1a8e45cfec17a18a61920f9f8f3f7eb0c00ccb239"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is a bug, but does anyone write code like 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":"crates/swc_ecma_transforms_optimization/tests/simplify.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"359897b97dad8c50c5bb3775bb235d9def15911f69e0e0019d6e7ae793a878ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): We can optimize 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":"crates/swc_ecma_transforms_optimization/tests/simplify.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb7bf44a31f5ae9764f677459280197bf19c26333842d99b7a4c2118cf07751"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Inline single use \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/tests/simplify_inlining.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7526c50af2dc25226b6625e5435dbe41caae406d5962f16636cda32edd6159d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(tbreisacher): Investigate and see if we can improve 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":"crates/swc_ecma_transforms_optimization/tests/simplify_inlining.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc60c4b2c61533a00986e2b44cd4c00727d14c66e9ecf95b472f883d0032d62a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Make parser does not create invalid sequential \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/debug.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26712445ecdc04f5e2a49c1f728d96459fdf2dbae76c0e008ce8ee68a8a2faf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove 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":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e07ee9326f595db848f2f412246964b3eba2c62f49488a837f395a7cfb7318"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Respan \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"645302bf489b0477609b7e0180406f65ee876ff6533373168a247e246516cdb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: remove unused \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2e3669b08a3377ac48a688d1eb8dae4c7c6f37e0a4a8dd7623d6314cacd5bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: try string concat \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c7cda368c3940de6c6baadda0cacad0463931c8c5d5768fcc0179024beb3cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Report that user is something bad (negating \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa2db6fd68791582458de9f3c4f501b9c31e871d66afe06ef62533032cf82ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Report 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":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"62108638df89884e94ec62b014ac569b97e52872b53097eee7b2f3d7dfe5b1cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: cloneTree \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/expr/mod.rs"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"644bd5d9b3d407a0e7a7ce110a89af84a68a68377e1e0ef3b40fae7891a194ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060var\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":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"094e5573c8217e999462e8a0d6fd2d6d3b8707952f8288df88ec7612d83a8ed1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This may be inlinable if return / throw / break / continue exists \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":1840}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cce2259c1e34862ef3561f388f86c5d173fd1e16abe29bbac68cba9abe40994"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(johnlenz): merge the useless \u0022case 2\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":"crates/swc_ecma_transforms_optimization/src/simplify/branch/tests.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86f76f4ed1667d0cab289ff74a3cee05e5052bbbd44773a2ca286b2525e082c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(moz): Convert this to an if statement for better optimization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/branch/tests.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47838bcfbda0ad6442ab9e1af0d6635a3f96c80973da926a78668a239189394"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(johnlenz): Consider adding a post optimization pass to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/branch/tests.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a0a9a891a8f7dbd3bc508f401efa1c5a6b7a19c688c7be3939b11c07b2a2fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test get-module-name-option, tla \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/tests/system_js.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68d5f8c493ebcefe5f50f35c4044c5c98e14c51426f353c3f231d0d4071dfca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle import assert \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/common_js.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae155a744313096ac18428de2c5c9181b3207d90b672a4c96762f12a5c8289"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unignore \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/tests/fixer_test262.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f65ffdd851d900d5dd818f2c629e70f0eee17657288e2c7653eb990c0385c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: How should I handle 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":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"946e05bac0cda14317bca5d069db704c14c0850339e891d09cc5128e40a150b7"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Tests failing after this change - needs investigation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"075e9f15b0be815577d9f3cf43597a26ed8efc84b1e74f64458f110128c456f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use base54::decode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cb46e68c274ae181227eae6a5282918d90bdf619f1f21f2f969215aaa2f6c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: May remove these reexports once swc_core directly reexports all \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms/src/lib.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b994b107438b9b4bde0ede15418de08a7278255edf2952411d955b192f3f6292"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do not use private_ident! 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":"crates/swc_ecma_transformer/src/es2019/optional_catch_binding.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1db2a95b0584558232a6525e73ceef1d4f225d781c27456a599401f5fec5a40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO]: Use swc error handling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_regexp/examples/parse_literal.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6de57688c20cd3efb2a9fecb467d775359a79080f0edf6b617b3a86b1defa2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_quote_macros/src/ast/mod.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c342319c16a1b816c0dbc896415fdc142ca052a59b62712ec1b050177c1d04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add Feature:HasIndicesRegex \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/lib.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c192b1fc78e1be4e2d5d3b4a4f28be9585b364d52bf643e1af5a82eae0455358"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add Feature::LookbehindAssertion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/lib.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d03a92853c28f32be6b0fda57126a0fd39fbd14d0897d1bcc4c8f590779b49b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Exclude based on object \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/corejs3/usage.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc07b7ab4d38e6499d53f85f95f6e1e48aa9982fdf7643ea6496d8412c2fff32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Make Num as enum and separate decimal, binary, ..etc \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/legacy.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ce89b51bcc3ba4e5b86bd4d3c02ec77ca8222bb0cd588236d34ab3dfc4903d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Search deeply for assignment pattern using a Visitor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac5fd62087042c476cd6e5467ddb73fc16be123fb5bea9a98db7a3807f83c19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Search deeply for assignment pattern using a Visitor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9904222b3a5f714012894dcaf0753c76f079880c40c618a3b838259c3bb92d2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Search deeply for assignment pattern using a Visitor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8cde73b585618eb3cc9d569a4b7c878f2423064de7277ed735a0a79db80066"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Search deeply for assignment pattern using a Visitor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bd293c60d2d89f9e789ae7f2820680299526a9ad91070be3172bd811e8a97e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): !this.state.containsEsc \u0026\u0026 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"6392c1d540ce79c8c3f896db01aafb9e8ea54857068210640f881b4790dea1da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): !this.state.containsEsc \u0026\u0026 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de8d269b98459df43dd7407643051cee67071faa2bbe3cedfd9302ccd01b96f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Use display \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2cccbed877ddffb1cd28cce7fb39416fe403404c74e5fd6fb0f44c28632c79"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Use display \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eaab9ef24c7005cf198fbac20fea28c977f72b957c06c7ed1e720c4eee9eed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): optimize (once we parsed a pattern, we can parse everything else \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24f682d02495ca1f4cd1d73ae4eb9df2e70aadd98b5c9c38876a06e37499f01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): optimize (once we parsed a pattern, we can parse everything else \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3706d67f33232a758664842c668720db539bec553068ccaf1f970ac81b4983"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060async(...args?: any[]) : any =\u003E {}\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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c9c610cab8382623af5dbaff6b3078113444828620957272a6cdee0314b21c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u0060async(...args?: any[]) : any =\u003E {}\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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dddf32dde5f9ef7881ad118fbcd1f2e681e6221dae61c520704f37b7ae93a68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify that invalid expression like {a = 1} does not exists. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":3110}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa68ff0e850a68a90fe5a0b5681bb2ab089c9aea7185f2c801db1e9761bfec21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify that invalid expression like {a = 1} does not exists. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f88376b3e3ffeca866f75c4541410632b6a2097dc497b7cadf0b6c1231f1e6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/macros.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"310a974ff4cf5c3f2745665ef934990b414bfbad43ab3f4884a374abd4a6664c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a9d95321401e3993ca016ea8f00a7242c11bd923e63e4eaff9da1138eddc63"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/macros.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3819227ebccd4c7931e0ac538482834fd9e7a76759db089711db3031aaf2cca1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: parse() -\u003E PResult\u003CProgram\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4747b9de4ae6706a726fa095d67612898b9408744090a0db5b17c5e3fd79418"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: parse() -\u003E PResult\u003CProgram\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/parser/mod.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2afb28c8a1b87dcf9bede2e3f716029c2638656302ae415e2c477b34ba9417"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"416cdf9d396d01145ae7907d38d060bd1ac9a784d40fff2f91dc367bec075a61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_minifier/src/compress/optimize/inline.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"41edc13c7bb82b2021fe14b38b27dc52fb54bfcd70f6faa6308f116707d04799"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: 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":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0389a3a0e609e201d9042f06b2aef9fbf56b612ca5056f92a0f7b39a73ac9e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove clone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc94c75ed3570ad7b240b996deb6493851aad017736097a05a723ea4b16dd7fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove clone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bb828216f9fc9fb2243a8643d04715e49a8a36bc6b017b00503738e5017130"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Better error reporting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/module_item.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf09e028241250be80d68e6912fa669241252049a9547270c586261dd87d3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Better error reporting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/module_item.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d989a51f882d2964626b5ec0a48b64c5cb9386b073945b62f1a8427e3e0eea"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This is wrong \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/pat.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b04ef7133728daf7d6269e02a9d4e685517a9bd944bbf7d6a26ba8c910fdf8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This is wrong \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5570c6659ce90702eb0b291f54662f26fae0741e7bd4873106bb3408389b0"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: This is wrong. Should check in/of only on first looself. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"880a7beba4f6d55b59589a8cf7d4dec0a2b90ce473d4cd7201120fb08a141cef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // {     // TODO: report 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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"b708d35b8dcbd757016d77e99b1e22a926444cde8beca4c06fedd7f26a949b56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Suggest throw 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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7570a8a78f917fa00f6c6836492ba99143cb803a33edf2c6b56b0f9cd142b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Suggest throw 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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5229745d96e465962a49b6b321750bc17a12cf1e8fb483127a64a96b4e4d15"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx : \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f099d0a95564c16be52744b4b0b50958ce4ec49e16028f3f3cab294a0e00c6"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx : \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd9b2904135b24d0fbb714e4e2b463765c83a31a6a6134d5f6c35936edd694a"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx : \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":4886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2feae988e38c709d700432718ce7b745ec06fcf97d2c92c009d600189ccb005"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx : \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":4890}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf95d26a19d666549bbeccf343d9c2b4f8c49190494c75b018c18a96c52e669"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx : \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":15266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c34c92f8a312ebd961b76267b069b2f9215b5b0f7fdae580f3f105a2917e2f7"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx , \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d2e26bfbe48873ed6664feed3087ea3a32f7ecd011f298c3a97cbfbdcd86db"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx , \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b324f3aafe7e1083e2d89ddf49edb76eeae1da3b0e9b965b9c0b212008db7b15"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx , \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":4887}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebd32d8e6b6eaab815c985372ef385071435a949ec0c8e787fe1dcc5f7a8370"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx , \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":4891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f461575a01787b262bc2bf2f5691aed6f2560e5d38fd557b0aea97cf2b072fee"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx , \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":15267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0531dd903b7a47b502739bcb47359e040987911b8acada93a92a541877c216c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":2516}}}],"partialFingerprints":{"codehealthFindingId/v1":"24887e43ad30a1559234f653def613c2a947519b16f298b83ccd2f3761ce9568"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc6bb395f9b6c106ef9c8d7dbbbc46c4dbfc045eb5d07a055e3930451d9981f"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":4888}}}],"partialFingerprints":{"codehealthFindingId/v1":"604c47f9736d0d552f42060b47dccecd53fc1363296d8be9e8101abcb47555b5"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":4892}}}],"partialFingerprints":{"codehealthFindingId/v1":"34794189ed2d06cbca6a6b85b8867d2bfca5f44bd2534388dc7939361948608f"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":15268}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc42d05ce59432a0ca81570c2fdba02dab00f0d5f2a0bf4b7e8d90716b1da6e4"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx = \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":2517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c767481acefe6f56463f75c6cefb41d88f0b81d499007eef9a459f8f2b6ba"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx = \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc9e0cea088c5dc8f4b35a719ca37559d3711ffd6bb3bdf8fa329579c6a286c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx = \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":4889}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac92bedadfe9574d08cd851b5b336669867211dc93081414f160eeea47b01d7"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx = \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":4893}}}],"partialFingerprints":{"codehealthFindingId/v1":"d915f2a865765f7404afe95c9877798043218f289d7f35394b922d717b38ba3c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx = \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":15269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4f58fde97a10daed02ab1d7c6f77b405fa5bb602c7de653194f5ab13243254"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ) =\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/typescript.rs"},"region":{"startLine":2535}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa2c06241878cfe9634f50c20c2aa2619444b888a95ed87f2f8751c0a105db8"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ) =\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a932c1dbc7bd1dda088787df065503d006977d821fb32864fdc820ba6bd71cd"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ) =\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":4895}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e2793c6549c1b2f1fd2ac98a31045a8d3eebcb7829823c5edf4396681d3b3c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ) =\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":4899}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97a0953a1a60a27d4efdcbb5842da30093649ab6a0d2bc68f52f9d5ad82f4db"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // ( xxx ) =\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":15275}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b2c091b6468d97719c94473a50ec5ce029eda4dd75d45d27292c98562cf5da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Spec only mentions \u0060new.target\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":"crates/swc_ecma_parser/src/parser/util.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9421ae06e713da1b115d65c1f06a660443654086e72baf3e250c6948617c42cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Spec only mentions \u0060new.target\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":"crates/swc_ecma_lexer/src/common/parser/expr_ext.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b40c065908ce38df48d963720db6e5bf635b82fe8f216d0e5d32aaa88d23e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I guess it would be okay if I don\u0027t use -ffast-math \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f1b32d796280d844180cba9e1a58fa6ba97b9d87efb9a4d3b95ff5ae0a2123"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I guess it would be okay if I don\u0027t use -ffast-math \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2c0c58f4e356b46fdfad9c70ddf80e64ee69ae2902a67cc6de8bcb6af9e93a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Show template instead of strict mode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a4f2843827470d23f1e270d05b06f880c353d7681eb6ac743e76d23760a1b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Show template instead of strict mode \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4216c36595de5d0c2c56556d1590da4d9ba788fc63f55240594ee6beab202f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge \u0060read_str_lit\u0060 and \u0060read_jsx_str\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":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"11897176c8b531cbf6c1242cfb0a771f2e9ca65b6a54fe8dde36f4b362c07487"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: merge \u0060read_str_lit\u0060 and \u0060read_jsx_str\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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"865b3fe39776397baeed05aa2372683769ac3867ffd39e0f5478bd189168f3e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update our trpc routes so they are more clear. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"49735e9b8c20ee084e199370a6165f7a7eb8b414d3b13936c57c0c5b4ff8263f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO: fix 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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"557af1e3c5b8657f0bb20b0d664b1612dc968801b01609da94db18d4e8233670"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO: fix 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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c1090703997f21f78d920ea8c534bca64617a72e18aafa9822d7a710a8b9d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Document somewhere that right now it is just a convention that filename should have appPages in it\u0027s name. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f3562d87288deca943e58279f31712dbdcad1248d691241bf6743fbd187bd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Document somewhere that right now it is just a convention that filename should have appPages in it\u0027s name. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":30271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d597720bf1974872e8340fddae0e4dad5666cbc91e760ac5330c82d14707899"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:Not able to get focus to work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":3662}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91b0b9e7870cb9a8fccd3219b944ad128fa180692300243364de309157629f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support orgSlug \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfdd3ef590149fd9998b699147f19d3fbce8ddf23e36b3fbf8ec43e3e83b99c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Support orgSlug \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":4106}}}],"partialFingerprints":{"codehealthFindingId/v1":"22609e72009ae085b7f3e59d8ff59b982ab860853c8dec30f9de3f9b68e47baf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use browser locale, implement Intl in Dayjs maybe? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":5772}}}],"partialFingerprints":{"codehealthFindingId/v1":"e663c82338d765ea2923f31b038a8d8d59fc74a703c060547dadbb07728af6ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: There can be a property that tells if it is to be saved in \u0060link\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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":7399}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f81d62258c18eefd822082ba9d3775e13af12d77d9742fed59a5de2f7f1d46"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // @ts-expect-error FIXME Fix these typings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":9811}}}],"partialFingerprints":{"codehealthFindingId/v1":"04945aad1846bb590c22bf6e6f566d2edc9682ec731a8d7000c041bd690c093d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // @ts-expect-error FIXME Fix these typings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":9844}}}],"partialFingerprints":{"codehealthFindingId/v1":"7301acef61f3163d117f41f36d64cd739693aedae368dde1cd70de102ce8bdd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Get this from props \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":11353}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb35d8d4a26dbf7a50b543ed9a28e3fa0d835076febc3bd1298d7506f5681694"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Handle proper translation with count handling \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":11377}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a514a9a300c3487d187e603ff87f66b768ae6a7ec2b53157f1ff2b8c5c7cab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: @hariom extract this into packages/apps-store as \u0022GeneralAppSettings\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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":13885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b93da4def43078e82edb9ca3fe1a186825bbd24e013861fa0478d5a09c8adc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We should probably make it consistent with Webhook payload. Some data is not available here, as and when requirement comes we can add \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":17073}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2ff41d13907615ad00ff6b914ea6c7978f39ed7d9dffec012d22723ef8f742"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add payment details \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":17085}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ab276d4e842bb37f959a7e544b3d7f1b859fd53ebaf4952507ddf0e5ca0b4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add schema for other fields 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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":18451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4504dcd69b428a3a64d549aa16a1c7ee5584945ec0a6fc6fe4fce4dc58ce0c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: What\u0027s the best way to sync the form with backend \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":18458}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d62510f6a107911b19da37ea9b9dc9c14ada71640dcb5405c23863d2aab60fb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // @ts-expect-error FIXME: We have a type mismatch here @hariombalhara @sean-brydon \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":18927}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c24db1e7dfb86914a6eb08f33b9b9e7e1c6b7fdbf9190acf1bf381544a5403"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // @ts-expect-error FIXME: We have a type mismatch here @hariombalhara @sean-brydon \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":18957}}}],"partialFingerprints":{"codehealthFindingId/v1":"33956e023672cc3dce39773ab18904d6549dcbbe3a27679797c46ee0a5badddd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe useSuspenseQuery to focus on success case only? Remember that it would crash the page when there is an error in query. Also, it won\u0027t support skeleton \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":19693}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe2ede00638814a0f55b4c9f43a48dbf43bf9ee07d417af4abc112058a8100b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add error codes. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":23302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dfc50eea52a4927d57575e036ac529b7be8a383c54bf1a88ebeaff013ea16f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Revisit this logic to remove embedType query param check completely. Ideally, /embed should always be there at the end of the URL. Test properly and then remove it. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":27360}}}],"partialFingerprints":{"codehealthFindingId/v1":"54797d2596b13c2a884d39b183007f9723bd50a21169c493e67eedbf9460f60e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor how steps work to be contained in one array/object. Currently we have steps,initalsteps,headers etc. These can all be in one 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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":28128}}}],"partialFingerprints":{"codehealthFindingId/v1":"253225b579fe9dd16ebfb71f1dd897c1b62d97d89daed70523d1aecfc9acebd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add this in when we have solved the ability to move to tokens accept invite and note invitedto \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":28172}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e840adf2e49903f6b3eb983995eddc9e052cbef5413c95058fb4a9bf3a6147"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //       subtitle: [], // TODO: come up with some subtitle text 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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":28178}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cfe80d3383cb443b0a2df9e2a0303c2e45f8fadac2ca2f40a4929a279d6d82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor and reuse getAppCategories? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":29744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba6284990cdf06a308989c9269bea0d56dbdb2c910866e6d27b8c19db86b439"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Improve disabled App UI. This is just a placeholder. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":30024}}}],"partialFingerprints":{"codehealthFindingId/v1":"76008614b7df4aca22317f1c51eab20d5698df0437515465a5324322ced61f1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It is a candidate for apps.*.generated.* \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":30178}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fedc7440746a5052ea6b33f17ac7884ec6739be883b372c6be8a24d22211536"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Show something in UI to let user know that this booking is not rescheduleable \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":30507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d9062296ffcb445f68b834e78e8b6fc133d2e7609c301853b4930560d90f18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO possible bug for quotes and surrogates \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/eval.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f251c059ef3f82c65e5af1f66653c9d301a79f24781a25ebf714ac72f76e88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: wrap_common_js \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/lib.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a32ea218974f23d107c65f82454a4c669916f67c6e3b2b017d0e4a23038d7e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enclose \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/lib.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d339f096c4212198c103d13915159cf0ec76f9adfc625e8a5a7236095994c21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Pass \u0060options.mangle\u0060 to name expander. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/lib.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b6077162ec86f9a5a976011797a80c06ac6bdc692e7bc5b4d0afa14f317656"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: store \u0060scope\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":"crates/swc_ecma_minifier/src/lib.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"140950afd28d858c97c6d2e07217410fb1efc0ad16283e8f70d59b52e0971f5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: base54.reset(); \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/lib.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f994a97fd82b164b6117e2dd3156b65981b9abdc4eeb3fb3a5867315a636fbd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: optimize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/util/size.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d19b53312b2af669299648ad7af0db691befd6a382bc6493c4dc4d7579e19c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): This field is used for sequential inliner. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28102ba752a5440c07d67fec6276b544ff16d38ec7056bee1a21cfcb312c46c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove after we figure out how to move comments 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":"crates/swc_ecma_minifier/src/metadata/mod.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3328a700a6a1a44893e10d48f22e9efdf4b26547a26400eb27d5a1caaec89564"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: reset_opt_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":"crates/swc_ecma_minifier/src/compress/mod.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a13201bfa0fea02e9e6520a3aa04428a45e603abc7cfd7ebe74ad109393a4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Handle special cases like !1 or !0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/util/mod.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c05902c88ec349416a35904a17b05c3de1578e7b7b62c5412f14771b2c87f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if this argument is actually start of line. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/util/mod.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1785612fe461859138999b25145fbef2eb3043f9c0b2cb568650427982c01b58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify this rule. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/conds.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd42693d0c1fe50dba1618f1195817ea6e8f438b0fc32baddc51337595026ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: let chain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/dead_code.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b8fbb1943d6288935093c905a35b310e9acde1d743110fc881688125acf3eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: let chain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/dead_code.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fe7cb5898fe9c569346616a1b46434bf4137c873cde271a4e3f6936ca5b540"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle pure properties. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a1e20a6bd0abfa12f06cbe2776723c5ba11ef6979fe9c4b4d71215e388f91c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle pure properties. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fdbafac2ee77d113750f9ff775cc0b6b69414e84bb9ade017ed04a61aa41b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Check if this is optimizable. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4365203019d4d76165561b5df82814b380dc6922e7d05bcc036ba99a55b97ff3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unify these two \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c97d8cb3639e615990a35035d644eaee2142643a21885b7c3c8d531f7c06d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unify these two \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/mod.rs"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"200dc769278ead52580a5b29bd8385d09554146e58655abf8f08b4d73b956c8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/switches.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0ff85ca7cf859cd38b35b6d488860bf6d6f7a6b995ae48b303d5f16a43cb8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Fix this. This results in an infinite loop. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/pure/vars.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce43df76b9f316290a943dcc8caf42e00c9054d9c40c0356b01ddc9e3467a35"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle new expression with no args. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/conditionals.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"5288d1c89b9eab390ab01b6de455ff1caa3e450edf440182f63ae193deaf9ee8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Inline partially \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/inline.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d8966f329f52283d545e16d3740962d5a309d1b96d88c83bdfcc77c2c2274f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Allow \u0060length\u0060 in usage.accessed_props \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/inline.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"516f3a29626f02d7e99463af0c1b7ba9ca10a57f1161c6f2c0d4da354a395ddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/inline.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad36dae00547a62cd34afcb042f03404462dc55e73d3794b9b69fb46a8bf30f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b43180c16e61e41608e1eb5666855840f7604ba987f6eb2b45bafd89a9550"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle multiple directives. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b91d397683108b3fe908b7c156198ecc88fb859b4883029302a7367486b760c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if it is a pure property access. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"670197e29171362f40717d2371661fa8c79678fc8e34ea7d5cb2a865fad3e9bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove if test is side effect free. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a7c0c374102d166c50b511abbc166c63034a0d278b04f5ce2c2bbda1eaf381"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Prevent inline if callee is unknown. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"6059db76f87705a9ddeb6d2a9388208670dbd3fede3843e62e0b48462f274001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Optimize based on the type. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/ops.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"40512b00d98ebcb0b0a15c8929fbc1ebf089d7248ee863913e0e083957d87672"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check for \u0060in\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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c20f202760af3c30a3d774b2790b2c9395ce69582426001c5ceac487b1f8c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): Check for side effects and call merge_sequential_expr 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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6cbf09673a9b956f1c697eca639bbc36e9902d7cc6bfba3423446d51d0f19e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Paramters with default value can have side effect. But 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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8e70840ddd9521ee4022b4b1211b36e293e05ac3f67a4dfe892aeaa8ccbd8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): I\u0027m not sure if we can remove this check. I added 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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2109038a184bde929750bbb5d46e78ddd2f42a882ac629eb32480ee1b4408439"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): I\u0027m not sure if this check is required. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b29f350dfa81edcb6454fc62ee9dc43594c876c12a73c9fc982cf9a42087db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check for side effects in object properties. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a0f27c9c8bc3ad7adec4ad066bcdeba46c316e6bb3cd70b9092e752f2ad82c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): We can optimize some known calls. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d98c929410287898db5713f6261a9bc64ce27c51b5b4d081e05fcf32fa6910"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack for lifetime of mutable borrow \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1e9db5fe617592e468921c66abddc29589bdf2df2ea05b870548649b223598"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): Optimize 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":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9fd724c0d017c1e593585bb154c4f345429d7a59ee470220cf5f7e71ef6b64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use smart logic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe82c22458ad1a78c6f574e6d434e478852b73316de1cc01f17e7051f54976f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We don\u0027t need fn_local check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/unused.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65770afb8f566f587db62bbf8e734fb8b7023c2b8bc315c6ef347682664ce51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement option destructuring: all | any \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lints/src/rules/prefer_const.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"170d665121954012037fa695dd6ae9b6174056d5bd5de9967347e4f847331a86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement this method if needed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/input.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d601d4d6bd9620d8855bf8166d59a754e87afa1fe6847df00a483753da54edd1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement this method if needed. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/input.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"2832427483707fb4eb82a3e7418f953025300853fbcf3c725f1aab961aecaf03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this field. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/state.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"76de9e151d00d5a35c6481b3508927a496a2c071b841d5b5909de042172e3082"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/state.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b968a5cfc60c2184aada443470efd91e7b546cc0d3a8f48265e37bf7f238786"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: error if static contains escape \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ef238b39993c8d1a15e0106a029ebe770fafcbbc6647df92e296e1f6fdbc2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove clone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77838d9d2961c373ebb19195c79a48679122dc13af31f36d4abd98b37d31865"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): Change return type to JSXAttrValue \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe14a37e39f32dce99bc9ddc7c7bd4f4c3719dbc1a10a85a5eb17868099d1260"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is BindingPat 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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bfce7771c9dd7b8fd0c64dbdb729732be77d30fa780d98b26e54358d3555da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is BindingPat 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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf58c5559f6b00bfea88a4ce8f1ab0d217d8d015b12406505ac847bf177425ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: syntax error if last element is ellison and ...rest exists. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"38175d032f393c607d2706c3feeff427c397c660630c34cb56a63cf0207afcc9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: This is wrong. Should check in/of only on first loop. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe72980b959567c09d3500f994634ca7f283f04e8145f8eab1e09f381d2321dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     // TODO: report 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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"059fa1e5040e839281f15c99a82d786d9efa3352bde51da13bcce63d03928d14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // itself. And \u0022static\u0022. TODO: Would be nice to avoid lookahead. Want a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00d1177b465eb8ffa464f0efba9c70f23391a4685b113e6a92318c9842f20f5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: compare atom rather than 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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bcf7bce7b1343a5c42a0253fecb85e2dcf2284b0027092c5700cb6a9ae3581"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // sequence.\u0022 TODO: check for escape \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d0ef4889928086862d71e0417a4f20f1b57da7bf783d2edcc88d7921fde9ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: currently swc behaves like babel 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":"crates/swc_ecma_compat_es2018/src/object_rest_spread.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a36e0e0eecccf7f8319d139d1225a9d8752d1d123c462d97598e17933df259a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2016/src/exponentiation.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fd8d01a8e6b51633292a2fc0221c1eb353bb4ea35cb7588ad0460894bc598f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): cache reference like (_f = f, mutatorMap[_f].get = function(){}) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/computed_props.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b31515473eaf2fa9b1f73c3c0226d0584965142a54527c9ea1372ae86dc55cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize (use \u0060arguments\u0060 instead of rest 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":"crates/swc_ecma_compat_es2015/src/parameters.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adeb1dcf7c06b04bb878633f4baf1d87c84a02e79c436629d1c4246791319c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): Optimization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/block_scoping/mod.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4767338709472253813f8523c13c02622f1fabaf17e84b59fe2316d3f1b2d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle arguments and super. This isn\u0027t handled in general for arrow \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_bugfixes/src/async_arrows_in_class.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"da03565bedef51c7cc334f9b62bc4cea1f72448b310ef6dcb039c3d6f8825e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: (maybe) fix span of \u0060,\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":"crates/swc_ecma_codegen/tests/sourcemap.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a86f407e6583d5bca4a8bc0e42a10776b06f77049883a35f252573f5a03785a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Non-ascii char count \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/tests/sourcemap.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"241472db42da98b99293acd3ace8a8366ad17e024b54d8b0d741884194d9562a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use write_symbol when ident is a symbol. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2b264a98b08a089a7dafa06a8a20acf5e9d469073bc31a3653e129b0b7eeb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use write_symbol when ident is a symbol. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/object.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbbc6e43d78f4f546105ab3434966a7f4f4d38c54934c8b0126599d881179d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: span \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c6eff27b077d78eea68bab05387e98a78a5d9e39c03d485d7014a244b86198"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: children.lo() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c5753895ca2220460f72e7c142b67ae1f5e75867dfd16564e023d90f8fc964"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: children.hi() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4bbdd930396cb4f0f2e599db0c63c47da826b89d32b5bb9a7bacc66996fb4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix me - workaround for surrogate pairs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e230de7f5577a4a62be208ce47c4d4ef68d69ad981e705d346740da15552075b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Indention \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b90186b6650718d4abc72794533346296ba337b9df1a3edb6d63bf21ab837d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Check if we should use should_emit_whitespace_before_operand \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/lib.rs"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad69b419064512382bc212face4c53bf44592ed44ceb51eb3153047335863fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Remove this branch. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/macros.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6688ce8bf4b375c149994f12a226658fa9a79d1384984d4592e1d78d67917804"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Comment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_codegen/src/stmt.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"88af4bd5cf16b93c633ce81ada7917c170a900c911e69fc5a63a8c37656a36fb"}},{"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":"crates/swc_ecma_codegen/src/text_writer.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b542b6d26d04efc729cd5e14a208bca8c252187b2579127e2594a35d8eedb923"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0060 -webkit-mask-image\u0060 need duplicate with original property for better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb35f656a72018fc4f35dc4eb0497a19151c58d52297a0323f0dd41997d5434"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve for very old browsers https://github.com/postcss/autoprefixer/blob/main/lib/hacks/gradient.js#L233"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"3289caead79131c69ac9695d2c0b52bdcf5d18e2315a5a5d16d8db26255da894"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should we handle with prefix? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e707d98a62eb7fe71882ebf7015924bf2676d995566038b31fa8de3e9ae8cd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0060selector()\u0060 supports \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e148ab4c1d1314e739608053220945cfb7e90d97a0fdd28bc75b8a9b27d502"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO opera 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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f2bed7295ca20807dcceb4375ba84b7ebf2a43eae2477347bbdedb352cbf10"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make it lazy? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3556cdc3d36f19275047e991f2d9dfc4c30ad4e8b2c831dea5a00a45cc35974"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO avoid insert moz/etc prefixes for \u0060appearance: -webkit-button;\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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dc0d1d342892d173ee9ddc1573d206a31935a369eab87505617e209400d36c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO check logic for duplicate values \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"9257c893e134b7c69810451e99829c9d550b5030dcf01f50f47a3ee8b8a4569e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me for \u0060filter\u0060 values https://github.com/postcss/autoprefixer/blob/main/test/cases/transition.css#L6"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":2900}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0ae001735a0b842bcf98d5ea43f131b125c84d31294a99079a0a432e840f7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO https://github.com/postcss/autoprefixer/blob/main/lib/transition.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":2901}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da05934906eaf51104b79aefb3c818da90893551ec4f1735ba560766de414dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add \u0060grid\u0060 support https://github.com/postcss/autoprefixer/tree/main/lib/hacks (starting with grid)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":3616}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2ecc8ddf725f2e492cfac2da59d89f5f4eef75414db0285a02902ea5c39933"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix me https://github.com/postcss/autoprefixer/blob/main/test/cases/custom-prefix.out.css"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":3617}}}],"partialFingerprints":{"codehealthFindingId/v1":"bace1492a1a6ecf56a301f14cd430d1e2ba4aa16980f0126ddadeffd9eb164d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix exclude \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/tests/fixture.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb01c3d6037ad1b861b33ef72eabaddc313cdf89ee5ff1328a637bc6f6ac013"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO use \u0060Atom\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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b706ae13ec017712f1f0f05ed5ba93776a006d976c70e42de0cac888d268cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO validate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ce02f33063013c9bfc9735a457f1d02a05e8ce20ca05e45b1e6152bf930610"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO should be refactor after grammar parsing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/selectors/mod.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a016a7e6e963ea59187e1a80419b50ef776029bbfe565227bf62eb9d58b068cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move under option, because it is draft \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/selectors/mod.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24b29a4a4805a78de9f850ae32de1207d24d57b6993c2cbc8d8f7b3ab09e271"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO validate list of selector, each should start with \u0060\u0026\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":"crates/swc_css_parser/src/parser/selectors/mod.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"91431df21211107b1f9fd9261d83f339323da1548ee81d8925080edf44235dea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO pseudo element is not subclass selector \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/selectors/mod.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97e116a3a21847d40cb18824e39cc92277e46f9f0e541bd7e4c4a5f99db5f49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO why we need it? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/at_rules/mod.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdde5034b834455025a24b80d34912ce9e38a55bbf532e5ba4b728eb52a47f25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO error recovery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_parser/src/parser/at_rules/mod.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae21b483316b2a7821c090d7f2b0bc06ca5f0b5109a63a06c8fedb189fac3da3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle \u0060@counter-style\u0060, CSS modules doesn\u0027t support it, but 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":"crates/swc_css_modules/src/lib.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbb4d84f5172d184a601f0fc7f1a646d07d197bf9ff8254ed7884637918dacd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO for a better compress we should not always compute the reciprocal \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec138a57d8aa209482a3de418e249752c19ee4a679a3ad8777c4d1ac52e41a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO currently we transform \u0022x / 2\u0022 =\u003E \u0022x * .5\u0022... we should avoid it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5b7ed5859079b1aef582e04dcbad845443a46a6ff8d9bebc641c1773aac20b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve when we will have browserslist \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/color.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a2798a9679a8ad3de7b8b7bcf6f9dd755688cf20bff4538ebbe90f68ea0eb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle \u0060auto\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":"crates/swc_css_minifier/src/compressor/declaration.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8ec8731067169876424030440756f5fbdef185d71a4822d77d435d1ea7456d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO compress numbers too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/declaration.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6875fcca4d0f736fbbd561c765bbf5af6fafd2e19a10fb3abcfd276d1904f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0060browserslist\u0060 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":"crates/swc_css_minifier/src/compressor/declaration.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccb8d2ee47fed4c0c82637efb4a04ff8fae71feb637aa9477ad0035b71b6b54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me https://github.com/cssnano/cssnano/blob/master/packages/postcss-merge-rules/src/lib/ensureCompatibility.js#L62, need browserslist"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_minifier/src/compressor/rules.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb183187a53d6cf744fe312ec90a11853b92c1d1fd41d4175b6f6fa64f8b2081"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should allow comments 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":"crates/swc_css_lints/src/rules/no_empty_source.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a3a0bafa29cde8402946253654eadec156d075892fd8545ef00654b2887a9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO improve me https://www.w3.org/TR/css-cascade-5/#layer-empty - @import and @namespace rules must be consecutive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_lints/src/rules/no_invalid_position_at_import_rule.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25b2336f2ed59b5aee3a13c01cd8fd85ec3ee2fb331111e4e8622bf973b8e6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make me warning, we should keep code as is in such cases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_compat/src/compiler/custom_media.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76d0fef0631f70114ef86226d69c8e293426f4fae0b4501a3d59ca0b2d8d0ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO throw a warning on multiple media 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":"crates/swc_css_compat/src/compiler/custom_media.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c227cc4bfe34430442b6a67031490bd440da692ba213d1f94347083a82849c84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle color functions in custom variables under the option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_compat/src/compiler/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0c8823d75b3f26ecddb56caaf669828c80b0f1bf8deda7878a6df1d9c6cfc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement the \u0060preserve\u0060 option to preserve the original color \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_compat/src/compiler/mod.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45ce09bc5e9eefffd45e399e8f8091e674481d72b45e33a78554eef1dfaf6b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - we should parse only some properties as \u0060\u003Cinteger\u003E\u0060, but it requires \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_codegen/tests/fixture.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd974c8ca20b52eb2d8085af6c14c1cd139f722aa201d42a2efa97ca99e9ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement style \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_ast/src/at_rule.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e715e392167885f38cbeb1fb1cf9e47dbaa20c67c10b3e3d66dcf496b6bb2a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO small AST improve for \u0060CurrentColorOrSystemColor\u0060 and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_css_ast/src/value.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1e1fdc5b4ca03caa613a51eb249b5290d9e9d9c3cd3ae77b87342b955d4284"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO(kdy1): Remove 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":"crates/swc_common/src/input.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"504f679fe02d02daba3ebbeb83cef894df3572e8024aa49a5a7f242b83de9b63"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Probably a bad idea \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/sync.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"063744fee4b8cd79857d444b182bed5d94397b94c2cdf0d86f17934e0951c59f"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack in src/libsyntax/parse.rs \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/syntax_pos.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c3bd1f5fc8352d702e6eb5ce0d580559c7faf743f73b1c7591603a7ed093c8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME(jseyfried): self.ctxt should always equal end.ctxt here (c.f. issue \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/syntax_pos.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e348bd3d78db6ca1ee34a396c2dce3d028f8023d446a4c309c40252f2369250"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Lots of boilerplate in these impls, but so far my attempts to fix \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/syntax_pos.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee371c71743071f578e6228ac6348ffca300e756b836fa64df393b4c900b6a0a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: How can we decide between \u0060width\u0060 and \u0060width_cjk\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":"crates/swc_common/src/syntax_pos/analyze_source_file.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f7e07fb145dbeda3ec4aff39a099ce39398d4831ccc89658a694578b1dc115"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Must implement forward-compatible validation for schema changes to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/plugin/diagnostics.rs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd50836ae7c664edb054b937b32f600e0794a7dafa7c6c8ff837c1482f5871f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: This method should be removed (every error should have an associated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/errors/mod.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"5922a58fc38b24abc79bd4f8a653268fdf9c90fb83e3e4d81929f83f8b847118"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: don\u0027t abort here if report_delayed_bugs is off \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/errors/mod.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"053c8bb50b52ad58e64a17ce48879df9fade74547ce3ccc80d8b7d0fe7b8b010"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fix the bug. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/tests/deno.rs"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"18812f18ae3ddf1a062ddc2bcbf0f31af04e3012c0d4cb7146a9d10a49479a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // xxx timezone \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/tests/deno-exec/deno-8224/haystack-core/input/core/ZincReader.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"721b4452556a640593ea2b0d23d0655760bb05d7d0f4170c85ecfbba69141ddb"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack for jszip, which depends on invalid url. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/tests/common/mod.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"001fb16dd171e5c72e9a611ab4bb9dc67548db2875fbb004396dd52d9779d604"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add dependants \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/chunk.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af67fed0d660903df421e2c1c1404533d40017590c5390a3e615e9cc55338cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add dependants \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/chunk.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d2497fabd16ca1bd359399de6b847819895252d713d70b1d61328454697221"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Change this to return [Module]. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/mod.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c58ab47db00a5f159f7daaf054c065ac8fffc7b4e5d11d5950ebb7ac3b7b27a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Support pattern like \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcbc2929c8b38dbd3a331df3398879d831ec0fa91706142823bcd8168c25734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize pure constants \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d816ff7da73fe73e8f95881fe37155cdec03cd3807809cc11f4bb8e132ead7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Report error and proceed instead of returning an 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":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"1439bef466690ffe2f6b3374883bcb68c95acfb1d1e9eb7640650adddff9ba7d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle rename \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2a52ca26c18be2173a78dce045b0c6e6e333348a607fa869cd7123d13de196"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check syntax context (Check if marker is the global mark) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1df1e0255e5b8667dc4237bade9dcf3442a8feee623f658625b373fc39c884"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle dynamic imports \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/mod.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d78c8f6518e7e142a10006ca911b086066a6d12b0ead26c97a7c175d1bb146"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Apply mark to wrapped esms and use it at 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":"crates/swc_bundler/src/bundler/optimize.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc7054c5302c042025da5c20066b95af7d77f379443ec375e93cd03786dfae6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Uncomment this after implementing an option to make swc_bundler \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/import/mod.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ecfe129a2a2733c871750e849527a5a14620c2eb20b8b50dc70cfd994d4112"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check for global mark \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/cjs.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc5da1e3fc13968712d5f0ec77c775e3114051b5c65b75a0c1b37e2a78a22ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if we really need 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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c2f0a93964768f4fd03d5a18268fc6f628baea255776fccaef03d450fc852b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Use 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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"303b612352071e9df69eb27b3d07dfc5f670a255b691b146a5cbf575841526a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is_entry should be false if it\u0027s dep of other entry. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"67306fe9e19c843a4c9bc08e5959fc2e5251cf467f533f850ab57fd31879dae4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add types back \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_allocator/src/lib.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcd0b0d9440941abb8b8763919d1ebf8848bfee468e3b4889aa7bc8c46a1d12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out sourcemaps \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/panic.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"815df43ba5504727540754b932778f5bfbc366849cd93b31b3643367374435d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Use better type. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/source_map.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a545fef7e1fc03b9ab6e8a68a42198fae0a9cc310985860fa6c1289cefad9aea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do we need the resolved href when only a hash change? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/next.js/shared/lib/router/1/output/index.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c69a5adb381216bb7becc17219f3b2e6d5a802f3eba7966c552ee2cc522a945"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do we need the resolved href when only a hash change? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/next.js/shared/lib/router/1/input/index.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d28e731bac699ca92bcc001288216c353b372cf4a7b2d8b9273da2baca0465"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Spy on payload sendEmail function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/ecosystem-ci/1/output/1.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"c672656f946a053de369e4275769c3342481c2be375e4cb399775a81e3fd55fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Spy on payload sendEmail function \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/integration/ecosystem-ci/1/input/1.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"38619bd2f35d58c0c65f40f7384c607534d58824ad932cfb79500944723abfcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // [TODO]: unimplemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/src/plugin.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e7daea4995570f787d109bef00340391ae7d2d8075197efd356f6ad951d506"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Use target \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/typescript.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f41fb0aef368e5bef00e647db35d938b27e3e49554f6115a4f2ed57f9f10e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Use target \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/typescript.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"248704513697cc8e24520824d8f1ce40f3ef02596d1862393db88039f3022f64"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // HACK: Since TypeScript inherits static properties too, we have to \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/Observable.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c91e2e88ccc0fcdf5b9073bd37c0b37b48b9a3b4a19a2340a7910955da85ed5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we separate these branches out? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a225f2e776b6a355d8c6d2b96bcb90a3a31d03c0419cc8ea0191d31f42f00e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we separate these branches out? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10c13ba2f498493a8f982d7df2861b65a0c881e2da600dda9ebf2e1ca0026df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we separate these branches out? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":11539}}}],"partialFingerprints":{"codehealthFindingId/v1":"152447489d08d8547642eb215f02ad7a27fbd78356292e54c3b45c9d5ae776d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jakebailey): This type is a lie; this value actually contains the result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9efc03324ad9c0c340d1423e80099c4eef46f95465447534401f2e7a70f8a68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jakebailey): This type is a lie; this value actually contains the result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2480308def01f96d33f0b2c78deba2f7b26cf3ff9d3e4ba55fe3c7923329e03e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jakebailey): This type is a lie; this value actually contains the result \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":11895}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a887646ee62a1deb16c91f4357ce588b6de5f92ce34df5fe718f9c4b1362df0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): Do we need to call \u0060parseExpectedToken\u0060 or can we just call \u0060createMissingNode\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":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7f8f09e84e633a21c6342b33580e0c1148519248c36bb616e5a0fc589d01a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): Do we need to call \u0060parseExpectedToken\u0060 or can we just call \u0060createMissingNode\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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":3715}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9195bef077522cf3819d99b5db58bee793ba5644cf36e20667a0eb3b021e0e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): Do we need to call \u0060parseExpectedToken\u0060 or can we just call \u0060createMissingNode\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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":14091}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4d4fe07e331536b87ed35d383aa7cd22fcc9d9ad10471d94d7c086e57e1a1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): JSDoc parameters don\u0027t have names (except \u0060this\u0060/\u0060new\u0060), should we manufacture an empty identifier? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":3892}}}],"partialFingerprints":{"codehealthFindingId/v1":"aade1f6d34331d9baa61ed8bbe22b8d210291478078026973ae23ffface9a34d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): JSDoc parameters don\u0027t have names (except \u0060this\u0060/\u0060new\u0060), should we manufacture an empty identifier? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":3896}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd04c2d46e3ff8380f9bd000f2546436e7e40b84b857497408d0955e71f381a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): JSDoc parameters don\u0027t have names (except \u0060this\u0060/\u0060new\u0060), should we manufacture an empty identifier? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":14272}}}],"partialFingerprints":{"codehealthFindingId/v1":"a475b5110f8a0adf97b030c175928aba8f35df59ad75298ff4bc59faaa554268"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): We never set the type for a JSDocNamepathType. What should we put 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":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":3906}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8c763ed6f576a0da081d412ef7314013691e283283cfd4b48e7700a3dc96f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): We never set the type for a JSDocNamepathType. What should we put 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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":3910}}}],"partialFingerprints":{"codehealthFindingId/v1":"389baaa6f0d0794333e8f9a8ce7da67e177a7fb922e871fd6a32a6d2a132bbeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): We never set the type for a JSDocNamepathType. What should we put 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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":14286}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b18968290da3b903e6d8137aaf81483648f899bad3e3f3c07a82358d9e625f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): Consider manufacturing this when we need to report an error as it is otherwise not useful. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":6720}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e89c33a004b5dc596eaf04ecfe288cd9732b902cf33430748aff96ab378ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): Consider manufacturing this when we need to report an error as it is otherwise not useful. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":6724}}}],"partialFingerprints":{"codehealthFindingId/v1":"adff3e828fbd7dd031add3326805cb25ca9c4fe1e98bfaa9169c2a9d8ac02efa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(rbuckton): Consider manufacturing this when we need to report an error as it is otherwise not useful. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":17100}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b2cab63ae79db85980445589ad0d674458bf45917afc73d675f15456825989"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Review for error recovery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":7057}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65150eb9ec109c28a28caba5b3e3597204a0e5267f232f93d40e08fb2462a19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Review for error recovery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":7061}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caaf5e06b2cd5587b71b431e4cc00331278d576699a814681a05509b8870060"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Review for error recovery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":17437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34725be5647fdec25052aee19331597df06f02fbece8e7e1073f1068c1ffce9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jakebailey): this is totally wrong; \u0060parsingContext\u0060 is the result of ORing a bunch of \u00601 \u003C\u003C ParsingContext.XYZ\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":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":7464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce91931ade59a7b2e5ca0e74fcc4a2c9917009ec6780090194851ee5cd7012c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jakebailey): this is totally wrong; \u0060parsingContext\u0060 is the result of ORing a bunch of \u00601 \u003C\u003C ParsingContext.XYZ\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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":7468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e52bed3f894714e3e094bf321c3c249a5c2f1f5b402dec93bfd062036825db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(jakebailey): this is totally wrong; \u0060parsingContext\u0060 is the result of ORing a bunch of \u00601 \u003C\u003C ParsingContext.XYZ\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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":17844}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d48715b7f0b0f0492cdae7aff42ce98adbb3e4fad794dde62fe031c8d26e8da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GH#18217"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":7517}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c0e4620df27b1175d77a436ffb6becef7b183f702f46ebec548fc6223e0c62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GH#18217"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":10579}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddbba459a1f42241d0f5b5b0db9c038d94dd566c90269a9d80c8174c13697d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GH#18217"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":7521}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89600fe9ae26112eb9fbf5182fa7dcb86351fb2267d0a275a87a4cb8d09f881"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GH#18217"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":10583}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf0a43603e15501f80f5dce9169b9530960e96d637d51759366245dd356259"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GH#18217"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":17897}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f799974edfdfe1322dba444af2885d5fa6cd14ad7fa1caa8d1a34386f1d214"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GH#18217"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":20959}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a06e2cadd437f0940d08ab007fdcfd93f8d0611976fb3687ee7d6715e104403"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Determine whether we should enforce this in the checker. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":9828}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6720e0174e6a7f0c2fc44b810435210dc0a488272ef8c930b9f91bf57c0db4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Determine whether we should enforce this in the checker. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":9832}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b3470a1c83e2b7c12920dd7bddbee5e67333e43351525833d40870afbf26da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Determine whether we should enforce this in the checker. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":20208}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ba81bbea7e51709c83e32a1f263303c34cd2d20e0d8dcd8495cd42cf224fc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the \u0060constraint\u0060 to the first type parameter as we could then remove \u0060getEffectiveConstraintOfTypeParameter\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":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":9829}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b571d9bd29124cd33281e6568be6c789da3b123ca34049a55743680a3a0025e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the \u0060constraint\u0060 to the first type parameter as we could then remove \u0060getEffectiveConstraintOfTypeParameter\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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":9833}}}],"partialFingerprints":{"codehealthFindingId/v1":"961638dc6cc0c128c3b5a9eb38457c69eeeeb5fe73cffe6f1a81ba49565056bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider moving the \u0060constraint\u0060 to the first type parameter as we could then remove \u0060getEffectiveConstraintOfTypeParameter\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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":20209}}}],"partialFingerprints":{"codehealthFindingId/v1":"04038ef58b1588da6a4a3056678a89d921e74fcbd240af31e5c6207ec25e20fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider only parsing a single type parameter if there is a constraint. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":9830}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89abb0afc9cfade81d7f5b81afc0bf783a77d0e0bb1115e26b890e70e1443a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider only parsing a single type parameter if there is a constraint. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":9834}}}],"partialFingerprints":{"codehealthFindingId/v1":"359f64514f8f4f993e569fa68cbba397689b48d462001af9e93a399505ef6498"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider only parsing a single type parameter if there is a constraint. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":20210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2468343dc6a91154dd6ca0974e7e1af00939952c062e1408db339a18b8dc87fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The below should be strongly type-guarded and not need casts/explicit annotations, since entryOrList is related to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":10580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9886b7fda8882ce1252a5e197a5a780ef86cae6bc53880611a6d847f04f220b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The below should be strongly type-guarded and not need casts/explicit annotations, since entryOrList is related to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":10584}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f00ae63a6ec8ea25aab7604f79bf162fc2123432a9ba5c5aeca6731687894df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: The below should be strongly type-guarded and not need casts/explicit annotations, since entryOrList is related to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":20960}}}],"partialFingerprints":{"codehealthFindingId/v1":"875117d44a9e41e311ff559973be518d243b94f2e349d393fcd57dd31703e455"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It\u0027s probably fine to issue this diagnostic on all instances of the pragma \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":10620}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e65eb4b5eeab957b5a473c1fd5f77126bfd5d39e6a5fa2cd957c5b7ac02c99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It\u0027s probably fine to issue this diagnostic on all instances of the pragma \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":10624}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6ea673cb6370c3044a7ccda5b5ff7b9c8214ddba60f9cf01907c196e225e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It\u0027s probably fine to issue this diagnostic on all instances of the pragma \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":21000}}}],"partialFingerprints":{"codehealthFindingId/v1":"201d1d472f006b9a29a0bfe22836c11ae40a2afd63fe54f92d486bb32091a6be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/renderer.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ac387fb8fe5b4162c7e031ea568f3d511a3b430d073a4a7a7fb5bb2dbcada3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f4d132cf7347172fc37a417fdf688000eacd49846286f225bb5c00efa8d33e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":14134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4065a3a4f0c30e8f429598a9b7eb4f49b62837f007f8a37c8f2a4946d147c796"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":25836}}}],"partialFingerprints":{"codehealthFindingId/v1":"276074cbc89c74816cded08f3e00b0a2f2b14a1bb34c485bec48a9afc5561d38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":37538}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb23b36d3456ae28d87244644ae0f9b3b40ea64e8dced98600e69897039353d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":49240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69dd5120f7e70f592f5648d95ea54cea87a7d22176b41ae54c78dd5185fb76b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":60942}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c67a225f562da454c5d87d1b50c23864a7f549052f9d39f612bf19cfa7b8a29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":72644}}}],"partialFingerprints":{"codehealthFindingId/v1":"20964a309d23703ce48cedb1978ce37f584a991f9710196ffc2330e7851fc089"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":84346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f2575e32bb49d88c4d1b6a64afad272ef87d05d51f1d6fdfddb39c1bd10ea0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":96048}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ca59844ae9124d696d160c85a35dbb3ac9e2a90f803efbbd0bceaf71f8c7d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":107750}}}],"partialFingerprints":{"codehealthFindingId/v1":"788c7c62457f8e6ac05d01cbb248429587870c11abfa72398c3362117d6e710a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":119452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a872bd418d89bbedd5df41370f9d9dcc32c60fece56215d25f858251eec743"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":131154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06ba93454fdfcb78ec97112c5621ab551c52e54178a5f9bc30c8251eae4fd4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":142856}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f901241a69560eb1a6b162b7bf1ce4721d7bfaa3ec741bb1125cc69fbd960d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":154558}}}],"partialFingerprints":{"codehealthFindingId/v1":"735f8ee1629d23c512be5ce8b0091ab36dcfffd7c60153f66ae0137f49a5d022"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":166260}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7d8694bf7eea9d29c297fa4512166d42502d6f0c1b1fa00f9452d40e3fd75c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":177962}}}],"partialFingerprints":{"codehealthFindingId/v1":"2859953d97b2cf5f554daa72ae86975d315d953b32df18a9b8ad3bba8ff188b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":189664}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f005910c9d903491a49c9fa14c7a5feffad31a371aa33db5d4878c5ec24d1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":201366}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aec83f9faf984727175bd01847a1410ec197a795d252724cefd019b272e941"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":213068}}}],"partialFingerprints":{"codehealthFindingId/v1":"6482cc240def998679825fe25bbf707107161c870bf7ac5bf319e7099128dc60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":224770}}}],"partialFingerprints":{"codehealthFindingId/v1":"600e5b0770de1ed277223df78217f2ebb654fdfdf566b01ea01ad41f9ec6a647"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":236472}}}],"partialFingerprints":{"codehealthFindingId/v1":"066579f0870db891818aaf4633fd3fd0d37fe54cd6605771f521ba83d569758d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":248174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7c8f03e8316b4697eb5578d44eb438017d5fb5fcd3818db09b01afa9bd7a42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":259876}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c0cb13214ba2012264b3b3a8c08850cbcb404470e46fcd0d1dc2766b439eb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":271578}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46f7ca96dbadc021bd6db54054e727d2ee7f804cf72ed23f58be138355a5702"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":283280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb483a24ae7f1022fe4cea44daaf514fce2973b876b80919e386f72751d5ad4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":294982}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3e979d3d518142835e5799d48ec1876056dea8b3d9094fac414127f1182ed2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":306684}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7a4d8addafb006d8d3c059f1f885698b982e1e2e5caa0c8c38fce74c31ea11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":318386}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9c286293b2bbd90ae4394ffd3cf991cf69060ee758bb098bed2ecd674ab5fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":330088}}}],"partialFingerprints":{"codehealthFindingId/v1":"902f6e2fc7eac72dcb7877b7f0222714bb647e60f24696e9f26e7bfd11f5c656"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":341790}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f77df02f37d5385372be89b2661df9c43ec4507c436cd0897a2b265da5c2897"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":353492}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3a7bfa6875798ee2311217ef04b27d564c50fb0314999ddb150c69c7b5122c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":365194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f46fa088bdf292147c6ee6f9ff7ce0da2d4ecd7da808f656eb0eac2cab531c8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":376896}}}],"partialFingerprints":{"codehealthFindingId/v1":"223acb48216d74259972d720e878eec897c92c1febdb0902b1765f84bf50554f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":388598}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b39a84ab5f160fff8900e86bb4fdda8d00882915c89e226f0cc22f819c0f60c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":400300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e96fa5cb7d305adcec1225f28b685e1cc6ee7967308a1e94417e5d6f76ce2fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":412002}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31b9c12549c4b990f9f19ea17df3a7fc8404c69dc39e7c812daad9192a67f58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":423704}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b995aaae9dbd6fbce4927a2e1b6940f1d65b20754a03239b9f139bf02b8dd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":435406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7773c2a7e8bbce353a1208d85660c70664fa7b9b23a66cd6aa70774057883cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":447108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d300b211f3f6254621de88800451039ebcf0c862158d8176127dad3b8414693b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":458810}}}],"partialFingerprints":{"codehealthFindingId/v1":"748380e394c6befa7e5252d27d4f3887d36c0a9817af55f46056cca32aa77e84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":470512}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c97d9db1eeed1adb94c3362129c0815f0bbd2cf1cb65e505fa902f806dfd63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":482214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1888febca41e80529845752db6bda9f44c2f7e820670e666b8d10237c2d6733"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO handle self-defined fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":493916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97101eebd96578be888f58876f2e59d384b3185071076e80c90b059cb064d1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":6688}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b730d293584a3f2da2a427c6f4c7b130838b3c6375eea14a79a363284ff2a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":18390}}}],"partialFingerprints":{"codehealthFindingId/v1":"280e427e0456cb7bc99f12ed9446d2131ccee5ed1464b51420b20316b3e686da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":30092}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40493a95cd67574259121d06f0d9ee80c100c70afefbf3410f4cd5a3f58857e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":41794}}}],"partialFingerprints":{"codehealthFindingId/v1":"357b4119a61a61bfb5bfd0f5e83b2a596e4de9f2e9f4efd669c12e80521e7e2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":53496}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce946c81179a72c70c691c1548579fc30ada137c03e7dcf6faef59311395058"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":65198}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a2088752c9ac24137c59bb37c5b2792e394b8134a5106746548a84876659bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":76900}}}],"partialFingerprints":{"codehealthFindingId/v1":"823cf63c79c24dc6e28f9fcadca930f8508ec4c4b8d2ba379e1c5147f2e86d0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":88602}}}],"partialFingerprints":{"codehealthFindingId/v1":"5275e0a038097b60e585ecc83d20b889490e841607681434bf135ec713fb4675"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":100304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3485704518e3c68c6fd0e56aad4ed0b23d758a4b80b0a8a195b9c67562c59d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":112006}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61eefe4d2a5d0c7095801b27053ea138bb8d0d8c17e2c1a5ed125b50fba6cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":123708}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e07cfad57caaef8428ae1dbaf4b82486d71ecaffc3de41b993bc0c311b0414"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":135410}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b2a33335b213b99441a5288c08b29b75bf25a1e559eb611086f1ca6127bdcd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":147112}}}],"partialFingerprints":{"codehealthFindingId/v1":"483505d598e24e956939bec08d3849f10c9ae0d645ee15dd8a0e18a09bdb81d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":158814}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aee8c882d0c68d902197f67ceceb3632cad64c8b8b0a554ac33055e9eaa770d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":170516}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2af55e95bed6b9874dc161d1d8f4cd7a2865f4f83b31b8f15217d661eda971"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":182218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3b85493893df6c7ca78ebb96e8e7a4c6050fe0e3c97168c480494dcc9e7565"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":193920}}}],"partialFingerprints":{"codehealthFindingId/v1":"319f12b98622305e96037f705249be7bea70492b4563505d7aaa8470d887f95a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":205622}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f97393cc0170b07372716a5b4904167abe4f5e30f522f79d0bc58f493fab41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":217324}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dd1774ce8373765c91192eaef5a953cbb669300a1180ec8c9f3ed407dfd14f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":229026}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34a0c4c8822f5264e675dc0ddb6d746b41fb9c14c3a148873b263b8105f5669"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":240728}}}],"partialFingerprints":{"codehealthFindingId/v1":"741d7267a735a0d615096cdad6749d897d3984508c70fd490374ee4507fff7cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":252430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef06cdaaecb357e842a89826297da7580ab473778521b76ec6b8245ac7aab22"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":264132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c43d3241511ccb493223c313ef5183bb6cea5eb31b2f0e79bcc5a7a4d635f4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":275834}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e21632b3a5c97323056c608f8886af4e61e9fd4bda8704b2e352a34f4f0a5b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":287536}}}],"partialFingerprints":{"codehealthFindingId/v1":"85141edf9afa27731a2e6ae591e11534022a32e8e6de505598f62fde1dd2c2b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":299238}}}],"partialFingerprints":{"codehealthFindingId/v1":"736541c9315ad01e710f0fef2259afaaa145a11c736b6232e62c63272a6080c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":310940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ad7ce604b4586bc3a7008ca387e451d50c8e942573bcc8824355d5192775ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":322642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5e651214cce151e8c365ba2534a41db2f9b20ef1f5ba90cc2c61da9d0e3587"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":334344}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e27300addb660e9e6cf0ef72c57b13791d85234db677b0bc862a9d42a7603a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":346046}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bcc30f8297c4a49fc3a9512952c32e04c41aaedf8de31cdb8ed4b6927264ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":357748}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6a48e5e8a4213d4de6a270a0366edfc7c741a08c779b3f6fcd5d89d944a7a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":369450}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dddf41c89df2d323319c1a72ccb80e86401766ded64529d67d7f1df5cf207f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":381152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c824db27f5af92835e52bffed1f47afe60d032b55fd03df92aeed04f918aabe4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":392854}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ca29f9674c9332f36314738482fa0fc19f4b4306244c66cdcabb39a91ca67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":404556}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe09c302b6a199452f07862c66e47a4d67a41ce323a454d25c428a6d4134bfcf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":416258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5245d053fcfeeaf42472e5e7805e347ad56db89b61f4fbb1046cb122cc61d9d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":427960}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e75adff3b39bd83427d8593cf8476fca2890ca1714ea28d3d68531eca05141"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":439662}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb4783475e29e213090344659494ebd02fdbf2d89887d893f7c4c98253d1dd9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":451364}}}],"partialFingerprints":{"codehealthFindingId/v1":"713c098d500e6353c023d284f77a7a7501878f5e03272c8fa5a274847df07d7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":463066}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce456003b1a4ebcfc2149c20b008a05de9a08fa3222a13950cdccfd4205b0938"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":474768}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a1137c527e44490586a20de010c0554bdff0b6ebb2e7a89d78580cb019758d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":486470}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e243fc0cc6838171012174e9a328af47a0a0e5673011299b5ae243ef499d96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO hydration \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":498172}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df96bc4b6d30d371ff29e2de0526397b81ab6f2657001fee0adc2916c409555"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":7011}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28f3f164547a96a1a7d5eca260fa4aa676c5dff49ee4dd55bb891bb14db34ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":18713}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e10c751d50f3da2686c84c410a0f3ff71504b6d9d42309063f70e92d3a876"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":30415}}}],"partialFingerprints":{"codehealthFindingId/v1":"901f661792fe903c985b196cfdcaaf4ffebfa28ce1b07825be6dad0d5d74ebb5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":42117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee6f25d1ca925a4551af07926a47ca9643aa7a064fbef5e71b64dd1a34084c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":53819}}}],"partialFingerprints":{"codehealthFindingId/v1":"72328c770bf23edee6629f70871a568147902e1d13dd828a71519bf0e8100501"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":65521}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc338631161672a33d8b1faebb6b1a2f57a1af5843eb19d07eb65cec9bf9f968"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":77223}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29c15b2caba9ff9b231eebf0d088f9983b5cfd2318b425efa6bdb436a0d8034"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":88925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15568727af11c4896b2c9147f6156ba72fd5ce4595dbf2436d6c3b5b6c3d413"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":100627}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0681abb7fdbf378925eb2f822ea4e8826e0f7d87dcd45f8fc3d5272af12feee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":112329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cac20fe68e460f790bc0f721a0f6f3bff05bc891c8741dbbd7e0390f3e1253"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":124031}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bc1d0e486dee07e17575a3100a7e83d2be691f22bf95721aad80d7d100349e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":135733}}}],"partialFingerprints":{"codehealthFindingId/v1":"360711ffc16c374ae7ce39209bd99deaa38c81cc8837d4a2630fad9e74c74093"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":147435}}}],"partialFingerprints":{"codehealthFindingId/v1":"621d050f5a1af47936214f67f25ca44d5cbc6fcefda6e26335caa983648a9aec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":159137}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e4538c9303e406c141d5832473c628ce4f641cd64df899064d04e59c2cc198"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":170839}}}],"partialFingerprints":{"codehealthFindingId/v1":"1833ecccee708c32c27c4fe57d995cc6219808b1a6e1e3745e08144417cc4bc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":182541}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a33becf5c17163c9a7eacd2e286b9b831a442e33f76b510357034eb86e86e34"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":194243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fb829de4f0fb5ed4d73d42f2d46f3e071921fe8eec46196ff063411ab8911f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":205945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4596d606f71ca35f66379fc07f7139c2b2aa8317fe44ec746003faffb88a2068"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":217647}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d6f19309ed303de193d8d60ab9b8da5ac1c8b05434aad6e624fa27d33a75a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":229349}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe6972629cdaaa2b6324437955750b5f14c41c8e1ec193e99d4de186c2b7464"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":241051}}}],"partialFingerprints":{"codehealthFindingId/v1":"76813a0d4c48231cac05aae12fefa1a64eb3d997cec638ebcee7040dfc3bb216"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":252753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73ffeae3d93f1402bc3198a6dd38ef16980b5115a1e83a80bf9d13d2716eb31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":264455}}}],"partialFingerprints":{"codehealthFindingId/v1":"335c8b2752d5e13338bd0c880922d7e7a8f26acf7fdd67ab226ca3252086e467"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":276157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73166710cb0bb98cd290e071355fd39151a05832a0ada7dd06c8a60a12f1f3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":287859}}}],"partialFingerprints":{"codehealthFindingId/v1":"840f3a3346d52b9c103ff0baadea8addae3fd957ca32aaa898fce9af46d6596b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":299561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed8cb8ba28b7ffdeb90842a9845398f7acafbc778be6a05489905c899ca003c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":311263}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb7de0bb2901c540aa21da4912c62d2bd4641ba27158bc980a5a22f38f6c92e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":322965}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe12786f286a381011cf886b0c5bf1b1e4b7904804d98ba4d3c62f68cd9bd9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":334667}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b699f3bbf9a88c00c5ddb8b14997fad25d12a33d3e4dfa561fe13aedee391e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":346369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba586d2762038ef88cea0c8b8bf8064d65a332103aaa1e7ec320774b54d93f58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":358071}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d1359d9e6846e0ed388c7cf7cc0902f74ca320b0efd8e7e82a0eca56c2cd1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":369773}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecdf8cd59c53adc641949cec659ecd040ebc90982eb472277ec5a9591771199"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":381475}}}],"partialFingerprints":{"codehealthFindingId/v1":"400b7b5d1811557d42c5bc9e7869ee4d94954107297b85753d17ba8313aa077e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":393177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58ce6b162156c269aaa69295bedf8a95decf160070cbd851d24732205d0df92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":404879}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd12cd6dee3a9abf8c8fcd892f9413540fdd59b859c878090025bab0a464c672"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":416581}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab7764d4e13b61cbb07acfdc54d504d8d2f79e230003c0bbb0cec51a76214b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":428283}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d47d75328bc8627b6e0d92cbbbe566eb94446dafa4f5e5cff412b81a4c6707"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":439985}}}],"partialFingerprints":{"codehealthFindingId/v1":"6780ec88e5f3dea4b815932c413a46c093244ad8e59e5f113dbfd2e4f52b47e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":451687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a699ecb8ab5a16657725820af51d1d4ec6d2aadddabb44d5216a5dc050c98bf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":463389}}}],"partialFingerprints":{"codehealthFindingId/v1":"9705a667231417213b26cff6fa561c940dca289b3b6a8c2b91dcd8654ce41119"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":475091}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc08fa85dafc2315459f4a2b74982c181e914749f6e4b9cea1437147b551064"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":486793}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f2a266d347097a234ed95e6ab9ce26ea465b18e7559078c2e512cf3e40bcc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO better error handling? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":498495}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9577de2a0883b5d3967dfb063199a0527af52aacd44a82b476b6b8213df8388"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":11525}}}],"partialFingerprints":{"codehealthFindingId/v1":"70288461bc410548f228a6a1c252e95c2e58b40e293fbb0f1c5377074d40b7f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":23227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fae68d30630ad152e1805f9d705fc2657adcca3ce021e297461d7579ad222ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":34929}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c81a3c167f8c0426e8ab7b461b2a84f0b780c8a5ff80cab526e16fb224b3b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":46631}}}],"partialFingerprints":{"codehealthFindingId/v1":"700c8664397cafe1abc36601050d0399cedb2c39aed1a271f2681bb96529c698"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":58333}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4eb3e96e9295465acc0ed5eba29f2bd1a361e5202707cf1f0093f519e7c663"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":70035}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec23dee96be4d60b30d809347079b247a00e7c86897c1c2f26646bb10d432928"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":81737}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc4fc2be5bde841e164afeddc74a9b1f0712a3a43a41c63525afefcef0e05bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":93439}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eb30aebb5d5d50b9be38910edb0b35b0bfd69069e15a77ff7a237612956c5c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":105141}}}],"partialFingerprints":{"codehealthFindingId/v1":"697f155905d474e2b1036e770c5073ce56ee4fb7b63267f559bec37ea54260c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":116843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98f427802eaf1e657b75dc500f22b69b5c18d9d6ae7df7e41369de42939bcec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":128545}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c517239c25fb3053f9b1c05899ee50152ca3765d06c14d140d1a78ec32b939e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":140247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1897fdee230570b8b78868a00a60152d0c3ca93d0f44b1b95d0ff18d4ca23625"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":151949}}}],"partialFingerprints":{"codehealthFindingId/v1":"721cfd6c05272a1490586c6b28491cff220b865239ba5d2ee19983d0ad68dd8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":163651}}}],"partialFingerprints":{"codehealthFindingId/v1":"734b6d2f304fd182c31a7e0d1a79b969f457f3321bad704cac7efb6829581cc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":175353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9695ac6a3e78866a24fde6ed7da468f82a8e8e1056010aeddd1753ca8207190"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":187055}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d1a66988e05fd8242a7cb5bfb2f292544f618f24b58f6088259e23dda67a06"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":198757}}}],"partialFingerprints":{"codehealthFindingId/v1":"badbf2830651bbf5dc1dda21b51065b109f30b64691a2dada1214c227351800b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":210459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26e0efca724fe888c4f598c92417669e2a4570dfab2f8f97b7aac382ea989f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":222161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce7286d42298b19e7039f8771115003bde124bb75227d15137894e056580ea6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":233863}}}],"partialFingerprints":{"codehealthFindingId/v1":"8324bb5d8cf216c110881e675d24e2fdf1382c6fc2b3f54d3654d747cf658780"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":245565}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f6981b5f6a6616de8e8cf6ea1ea4081315477e209f159bf0721d7b0d6664b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":257267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe9ae077547bae1f7b4d884d4e7f83b0bee5d149d6d9bd87c37e553b1ff86f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":268969}}}],"partialFingerprints":{"codehealthFindingId/v1":"b849dc878684cda0c4783f884a6660fdf6ddc8d495b8ce7e8efc14059857fbb2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":280671}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8296d9ad0547623fc7a0e9f2890742eb19c592b4746066d7468d6ba7f57fa40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":292373}}}],"partialFingerprints":{"codehealthFindingId/v1":"279560571f46daf3331218b510445b02a6d9f10713c597f3e1bc4ccf8e163b7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":304075}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e40f990a074fc787581bb5472f3559a807c66f9cc9e24cf31ac7f0b2b9a995"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":315777}}}],"partialFingerprints":{"codehealthFindingId/v1":"204a2168b83897db11140880ad7bf95922b827aed6b4e6122640dc0ff6cc230e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":327479}}}],"partialFingerprints":{"codehealthFindingId/v1":"901710be3a61ce87e5f6a39886058aa5fd51aa54fdf6a9d2a49b1f2836625f75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":339181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d401fa390454d2dd9c0153f2132af6d1f252df44c26c5278b87be0d5e6098f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":350883}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60ee2aafd4f9fbee682408b693d3f4f76aa7a7a49102d79ace84b52431f4e70"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":362585}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e72d5d1a380dc3d65f127970022dbe7572d95f617deb05de942e5a10094c746"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":374287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64f8266af0cff579b5c52e6145fbe9d7998c79a217995b2714847018aa02c05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":385989}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcfc2d8618503bd5682dd3473dbdc5198d4ac361305e00826cd910edcd9e5c09"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":397691}}}],"partialFingerprints":{"codehealthFindingId/v1":"834393b25fa4ec291f0617322a7e2890290cc8fd97019a8cb1a348ce80bac385"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":409393}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1f33795e754abe393fe3c8e03c08cb2949f15969f2d9aa171b9aba914a7498"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":421095}}}],"partialFingerprints":{"codehealthFindingId/v1":"043a304dcf4bcfba45f57bbd13f2ec49ee8f3dc67494ff282475a94e738724e1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":432797}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5e88ceb1f872d71ccab0f38331b8e2405999fa51968defc76118dd5588739b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":444499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af179fbed864774e349c7bca4c099daae912ea9189e9cc7e64c4ed285fbe49e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":456201}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c1511c4efd4670a20dee0a039f753ed7f66477f6efc488134e8731d2ea3d07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":467903}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b0f2d92131208882a595cd58175240e5e083ccb92d872be022bbbea10c2cdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":479605}}}],"partialFingerprints":{"codehealthFindingId/v1":"343087396b18d17f8b58244eece1a5088d3d0536e3b730fa12a74ef8d6b39aee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":491307}}}],"partialFingerprints":{"codehealthFindingId/v1":"808fab3e232370ff080ff2b45133e5ef8da815712a9ab53f200cef7ceefd9dc9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO also format ComponentPublicInstance \u0026 ctx.slots/attrs in setup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":503009}}}],"partialFingerprints":{"codehealthFindingId/v1":"67198535d72ffa700f06020795fd3f4b1ac6fa975d1dd029a3d03017109b9223"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Accept multiline 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":"crates/string_enum/src/lib.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e0dea582c1bf926349e3f03c3f5349fb2749087e97c2a3b4b27b6b05c85b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: List strings \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/string_enum/src/lib.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"63228ec22cf00e1b42261184848828e0c591b680049f392b54502797be3c829c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO parent: HeritageClause | JSDocAugmentsTag | JSDocImplementsTag; \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/jsdoc/src/ast.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"204c6ff1c9f46420cac8d2d6469827d3155af601d05d802ded07647a253cd174"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Add fields \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/jsdoc/src/ast.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd959358b79e90bf4c9c8d86f13a25b5b4471f006dbf26211eab95204438bd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: name is must if ty is some \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/jsdoc/src/lib.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b3605726a3af68a1f4e8566685a6448ead9fe3a4785ad47d5c99a163847dc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: name is must if ty is some \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/jsdoc/src/lib.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b22de6577b09f169d8e557897c0df3e02cfa275cb2178e34e22f4b181b6aada"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement 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":"crates/jsdoc/src/lib.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae95d51f47e58815ef7e57458def91e0343a406c025f571a6eefdb5ff3532b71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement 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":"crates/jsdoc/src/lib.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cd92843a85cf15c5f116f814bd16723317ee8f8c8196f8a99f286035bfb4ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This\u0027ll be properly scheduled once wasm have standard backed thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f1e7c6c6bfa7547de032568837a87b64b4f5a2590e74031c4ffc2912c30f78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This\u0027ll be properly scheduled once wasm have standard backed thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"867416727816f932fb383bcbab9757b45868680f5593eb89d119840dc2410875"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This\u0027ll be properly scheduled once wasm have standard backed thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d0c595794f33130ceeaa71fcc720746c1a98377d81aec3fbff387fc03486a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This\u0027ll be properly scheduled once wasm have standard backed thread \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c5c2f0beb8f730c9c07bffef9744f46b49fef215c6ada4d54b3979f7628139"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //[TODO]: refer binding_core_wasm/Cargo.toml, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e454c8847b2472df9fb38ba6e66456f7def5c8a4d410f1894999408bcbd915d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is probably very inefficient, including each transform \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b8258e062568beb28359a56dbd3008f5e59074470ca5bf379cde6171aae139"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Clean up this code \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast_node/src/enum_deserialize.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4093745d8a8f3117da4b10e5b1069bd3ed3b2b1eda08abd7c3133462fc410c9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Verify that there\u0027s no more #[span] \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/ast_node/src/spanned.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda85d538f5ec8c71a3018a75dd57e8af8eae0be332e1fb94f13bcb3b7be1ace"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Only one field should be \u0060#[span(lo)]\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":"crates/ast_node/src/spanned.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ba409dcdd985aa80d3b4fc93b4153e9afde8f004324f11e30797b926fbd9ed"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack for \u0060Type Generation\u0060 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_minifier_node/src/lib.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4865b4f5603af21b7fa0918cc9d90848b666bf0fa5db36194b034ac0ceec46c0"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: /// Hack for \u0060Type Generation\u0060 \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_core_node/src/lib.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dabc8a1389231e4cfb07a662b97a7c6b8233b45f07d9bf48ad2f96998eccf0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make the \u0060compress_empty\u0060 option for CSS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_wasm/src/lib.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18773549c7612982414183e25a7f184ca2f055051a0c7344c1f377435784f84"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO make the \u0060compress_empty\u0060 option for CSS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"087d28c4896d7dc602422228863d163315a98d0a1ad349e32deff7fa0e48cbfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Source map \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_core_node/src/bundle.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"438e507055a7493aa5b92d81d941d4234fc0b1b5ddd64c3116d16c13e148a33a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(kdy1): Maybe make this configurable? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_core_node/src/minify.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3d77c7b29d2a830fcc2e62ebec82f2f78284829f284de03d632dfa0cbf36f7"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-arm64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/darwin-arm64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/darwin-arm64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab980b30e5cadc65a4234d1f29966b90524014e69b5d3f7b6ec1702b50b20ea"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-x64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/darwin-x64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/darwin-x64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39ff5666b10a80f5976f5e4a107c9303bf6ef0f2cb5c7487e62d8a3322b145c"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm-gnueabihf\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-arm-gnueabihf/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-arm-gnueabihf/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b12a4466ddb3211d4019ade03b47e4fcaa637cbe3134a5a9019a0951909f2b"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-arm64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-arm64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f579fdc4fd53af93559badf194360b4efadec81103a25ea23d03157a05cafd48"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-arm64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-arm64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47352b0136526a5814f64090dc1756a3d56503679bb1e9653215a3611cb8833"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-ppc64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-ppc64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-ppc64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b98fd1485576e411588d5b6eab08ce35aeed794e31fca0ebe0c108941c798d9"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-s390x-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-s390x-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-s390x-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16878b91af803fcc157a5df202a3b31e144146c413192c9ef97936468c6dc3e"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-x64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-x64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f896e37c6491f0aef6d3160b4596d87d72c2fb71a0d21d19d54470ea8f419a59"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/linux-x64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/linux-x64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2a3028db9c107052ed3522df05f476060321ae105d41e8e7b2231504278809"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-arm64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/win32-arm64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/win32-arm64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a295221c93d095f462bf48718570e5b525652e5daf37d488c053f5a74f73b138"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-ia32-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/win32-ia32-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/win32-ia32-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c70682aa2933e8c0836a0d4f138ca61be21d5e3d1075e0040510b8b91c559b"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-x64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/core/scripts/npm/win32-x64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/npm/win32-x64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e49aeefbb8b06da5fca339d6611ed6339354fc30c3b2d58db6d09a9050d16"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-arm64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/darwin-arm64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/darwin-arm64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"180aff30db0beb46a5b66b8989e7a5b29d4c166fe088f15a2aeff4dc64ded85b"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-x64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/darwin-x64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/darwin-x64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3fa5ef2a374f0f37a548983955299e483aebc8e233393e7306f58557086bd7"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm-gnueabihf\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-arm-gnueabihf/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-arm-gnueabihf/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71affe228af9025a0f85313af7410a071e7952a704b86ea31b39866410cc48a"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-arm64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-arm64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a078bf27da8380b4cab21cffb6f30b3d52a8270baa4776f313c24d7349ab4ead"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-arm64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-arm64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0bbefd8e7b17d30abe12991c53c83c05840ad1c6cba28cec4e7a99cf4e29af"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-ppc64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-ppc64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-ppc64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca07b96a0765a0d916ef5fda9bc05a9fac446a559b7c9708a3f3881147188f7"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-s390x-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-s390x-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-s390x-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec240f9bc56d0dfcb229b9f6cf2bafefe690aa9af994506c9ab52ef898bca70"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-x64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-x64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b501829c49e78c46dd6edf3a4732120c9bd6c9bdf80e6ac2458361c04cab206a"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/linux-x64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/linux-x64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5bd46679ad8b1cf16268c2c94f2e4d484d88ed1ac0b55d653fd233e493990"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-arm64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/win32-arm64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/win32-arm64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5371fba611a34633c577c98d847525d72ced2f798e555ff6e07cc5549705bf"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-ia32-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/win32-ia32-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/win32-ia32-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ac6b26169967e64a0c7106062450dcc169ff361c7fd9c99084a6013d804a1d"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-x64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/html/scripts/npm/win32-x64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/scripts/npm/win32-x64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"200e263c8ce137f6aa72fb9b770490c2a3459c7dc341f2c7187df33a5a15d677"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-arm64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/darwin-arm64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/darwin-arm64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dd81978b78309842d03bba9b10348f7ee804f0481df686429bba2514f09e63"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-x64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/darwin-x64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/darwin-x64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"910a457414a5bb356aabc92cdcc1b8aafa3b0cb3918fa1d8e1f49aedd8fdd73c"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm-gnueabihf\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-arm-gnueabihf/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-arm-gnueabihf/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e70142d49a0e379e0b925996630c77a06ed5c50b70da04d88a6ea47b189c611"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-arm64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-arm64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e7133e90f088e6727e13d65fdc2b9117be6ad22e9556daca506a9b44a04932"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-arm64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-arm64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ebbe79a719b7d901f58f110a0bd8ed639f380a6b7a013f9eeee3741f59ee2"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-ppc64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-ppc64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-ppc64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8def2f77d33754c24b1461bcdc46c3b908c6fb25e4875a2b1f11fe28d72cfd7"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-s390x-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-s390x-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-s390x-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a6669163177636f24e066c950436887762af54dc1229b1abd8621e0474eeff"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-x64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-x64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d2f254c02e57f37d86b7baf7e17d7c1be1132d22da4fa83930a28dc4e119ba"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/linux-x64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/linux-x64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c6cef4974b30758162882f9c13fdf896bd7bd732e39cb341a6c23bbd91c012"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-arm64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/win32-arm64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/win32-arm64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb05b8cd35ec77229e256085ba6d65475a38a985483df693206f35b591f91d94"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-ia32-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/win32-ia32-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/win32-ia32-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a706246b4cb2b4052bf25461d700e335e92b9257787e2297535690cc8d2cb2"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-x64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/minifier/scripts/npm/win32-x64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/minifier/scripts/npm/win32-x64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7a6d8f9b48b60456b11a2cc73b0b56ae8b22d0540f46e1255e0b9b143ede62"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-arm64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/darwin-arm64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/darwin-arm64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"142e6863e1254b133091488bcd3d9c12f07a63d826c318aa4c0a766d9b01e315"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060darwin-x64\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/darwin-x64/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/darwin-x64/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"895b898adaeb51af3eab94956bb9def614260fa0b963c0a44649e9967abe5c25"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm-gnueabihf\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-arm-gnueabihf/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-arm-gnueabihf/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc73caa11b982155a700d1c75511daf58711afaa7ad166fe52c3eb53b9b5db7f"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-arm64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-arm64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc4ce988c6411e251926805333f6f779c4be2d9ebca5f5bb329d86cb9e15952"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-arm64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-arm64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-arm64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e002fdfbe4d6e97b837cfe2026f8117ceefe114625749a58c0e70b2cdb27d5"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-ppc64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-ppc64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-ppc64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cdb2b51f8eeef8d4601eef2654cbd33ce09605a157edafd2b45762d5c652f5"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-s390x-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-s390x-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-s390x-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39caa5cc45d41388c5f8a2c77bfff624518f9f22da3cf1b1762ad4574b3bef75"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-gnu\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-x64-gnu/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-x64-gnu/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6c0df9ceb326ad7cd1b647b27aac96839a4113ba3293f3913a06b625e05c5a"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060linux-x64-musl\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/linux-x64-musl/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/linux-x64-musl/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b977764b30b5ed2513f48a256f856497a926ce173e338e159dcc1e6dc17f1c2"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-arm64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/win32-arm64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/win32-arm64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4a5148c5b5a78c93af318ee6d9c87cefbfe258f2faf7945d9a2003a6b34c74"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-ia32-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/win32-ia32-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/win32-ia32-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c3acd9c7b61cdb5d352f1a30636c71f83bf48ed8d448c647214db9dd1509c4"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060win32-x64-msvc\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/react-compiler/scripts/npm/win32-x64-msvc/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/react-compiler/scripts/npm/win32-x64-msvc/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22581e5cd5dad745736ced104ccb8ef806ec3450637deb157f12b045462aa96"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060types\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060packages/types/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/types/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04fc79154302c403a0c8721b9c1642274c100d9b51eb663e09fc0c90c35a6a"}},{"ruleId":"D20","level":"note","message":{"text":"ADR considers only one option: \u0060docs/adr/00003-reserve-bytepos-0-for-dummy-span.md:17\u0060 lists one option, \u0022Adding one empty file to \u0060SourceMap\u0060 each time we create one.\u0022, so the record shows no choice being made. List the alternatives that were rejected and why, or remove the section."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/00003-reserve-bytepos-0-for-dummy-span.md"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1bbb1ce1329d05078d554969870263f0c1a3436855dd8022f250e14bf027b1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR consequences name no cost: \u0060docs/adr/00003-reserve-bytepos-0-for-dummy-span.md:26\u0060 records the good consequences of the decision and has no section for the bad ones. State what this decision costs or rules out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/00003-reserve-bytepos-0-for-dummy-span.md"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f88051f0d98e48025a24dd778b56da2c98a5f70eeecde4cee941ddab234381"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/00004-add-ast-path-info-to-visitor.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/00004-add-ast-path-info-to-visitor.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be77539586930e895334523710b6a342761d8f93caa99d9eb8f50aae65f534"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 1918, 1993, 3085, 3481, 8535, 8540, 8762), for example \u0022find the next statement containing an \u0060await\u0060\u0022. 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":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":1918}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ad5f8f01c2c1cbe4defb0ff03dd93e11b998b1999ba44d596ad2bae28c5b7e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check if this is a slot fragment with :slotted scope ids\u0022 repeats the code it sits on: 5 of its 6 words (check, slot, fragment, scope, ids) are already in \u0060if (fragmentSlotScopeIds)\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":"crates/swc/benches/assets/renderer.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea0d022aeafd171eafca5215a515802ecd883d0a4c98294c5feb3ce4ed71e75"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 14 comments in this file only repeat the code they sit on (lines 1922, 1997, 3089, 3485, 8539, 8544, 8766, 12298, 12373, 13465, 13861, 18915, 18920, 19142), for example \u0022find the next statement containing an \u0060await\u0060\u0022. 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":"crates/swc/benches/assets/visitor-expanded-parser.ts"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f09cf01517122a42a1906ad8cfaf08c9cc58d17401d7d7526c21880f29c007"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 215 comments in this file only repeat the code they sit on (lines 2262, 4828, 4840, 9186, 10674, 13964, 16530, 16542, 20888, 22376, 25666, 28232, 28244, 32590, 34078, 37368, 39934, 39946, 44292, 45780, 49070, 51636, 51648, 55994, 57482, 60772, 63338, 63350, 67696, 69184, 72474, 75040, 75052, 79398, 80886, 84176, 86742, 86754, 91100, 92588, 95878, 98444, 98456, 102802, 104290, 107580, 110146, 110158, 114504, 115992, 119282, 121848, 121860, 126206, 127694, 130984, 133550, 133562, 137908, 139396, 142686, 145252, 145264, 149610, 151098, 154388, 156954, 156966, 161312, 162800, 166090, 168656, 168668, 173014, 174502, 177792, 180358, 180370, 184716, 186204, 189494, 192060, 192072, 196418, 197906, 201196, 203762, 203774, 208120, 209608, 212898, 215464, 215476, 219822, 221310, 224600, 227166, 227178, 231524, 233012, 236302, 238868, 238880, 243226, 244714, 248004, 250570, 250582, 254928, 256416, 259706, 262272, 262284, 266630, 268118, 271408, 273974, 273986, 278332, 279820, 283110, 285676, 285688, 290034, 291522, 294812, 297378, 297390, 301736, 303224, 306514, 309080, 309092, 313438, 314926, 318216, 320782, 320794, 325140, 326628, 329918, 332484, 332496, 336842, 338330, 341620, 344186, 344198, 348544, 350032, 353322, 355888, 355900, 360246, 361734, 365024, 367590, 367602, 371948, 373436, 376726, 379292, 379304, 383650, 385138, 388428, 390994, 391006, 395352, 396840, 400130, 402696, 402708, 407054, 408542, 411832, 414398, 414410, 418756, 420244, 423534, 426100, 426112, 430458, 431946, 435236, 437802, 437814, 442160, 443648, 446938, 449504, 449516, 453862, 455350, 458640, 461206, 461218, 465564, 467052, 470342, 472908, 472920, 477266, 478754, 482044, 484610, 484622, 488968, 490456, 493746, 496312, 496324, 500670, 502158), for example \u0022check if this is a slot fragment with :slotted scope ids\u0022. 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":"crates/swc/benches/assets/vue-id.ts"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f4b0dde8f6c9b918f66142a60c8a172905db2745d9e6dbed54fe4b92b4e9f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 861, 887, 918, 1147, 1167, 1200), for example \u0022console.group test\u0022. 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":"crates/swc/tests/compile/integration/deno-unit/input/console_test.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d87355f20a4687a640bb1b8dba10c372090c3fec13e01d63f74d4143911f77"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 1066, 1080, 1098, 1276, 1294, 1328), for example \u0022console.group test\u0022. 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":"crates/swc/tests/compile/integration/deno-unit/output/console_test.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97aab7e822395dc384c35c5d05a58ccb6db96e29e22710e113d7efee7875f69"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u0027x-custom-jwt-property-name\u0027: \u0027namedSaveToJWT value\u0027\u0022 repeats the code it sits on: 6 of its 7 words (custom, jwt, property, named, save, value) are already in \u0060expect(customJWTPropertyKey).toEqual(namedSaveToJWTValue)\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":"crates/swc/tests/compile/integration/ecosystem-ci/1/input/1.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e89ba91ccf011f2c2b0a6ab13c9d70ee1a0849490d3fb1149614c553f248d4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u0027x-custom-jwt-property-name\u0027: \u0027namedSaveToJWT value\u0027\u0022 repeats the code it sits on: 6 of its 7 words (custom, jwt, property, named, save, value) are already in \u0060expect(customJWTPropertyKey).toEqual(_shared.namedSaveToJWTValue);\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":"crates/swc/tests/compile/integration/ecosystem-ci/1/output/1.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d121d658a21e4dd72e565b150814f82adcceab27c8453a455179e59acba860"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create rules for each of the keyframes\u0022 repeats the code it sits on: 3 of its 3 words (create, rules, keyframes) are already in \u0060const [identifier, keyframesRules] = createKeyframes(keyframes);\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":"crates/swc/tests/flow-projects/react-native-web/corpus/packages/react-native-web/src/exports/StyleSheet/compiler/index.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b4b7e57706a71b6ef05fb66cf34baf4b6b6f9ce7c5d2b5b44955646ec72977"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the device to return a normal React (Native) page\u0022 repeats the code it sits on: 6 of its 7 words (mock, device, return, react, native, page) are already in \u0060device.getPages.mockImplementation(() =\u003E [\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/dev-middleware/src/__tests__/InspectorProxyCustomMessageHandler-test.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ae986978c78d782e0b249f70da6dcb3a210d89920075915b1a1dba0194e8c8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the synthetic page\u0022 repeats the code it sits on: 3 of its 3 words (find, synthetic, page) are already in \u0060const syntheticPage = pageList.find(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/dev-middleware/src/__tests__/InspectorProxyCustomMessageHandler-test.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c20ee98fa443d7a58279ff3dd8d77d033f0bf7766b9508c44520335fea8662"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send a message to the device\u0022 repeats the code it sits on: 3 of its 3 words (send, message, device) are already in \u0060createCustomMessageHandler.mock.calls[0][0].device.sendMessage({\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/dev-middleware/src/__tests__/InspectorProxyCustomMessageHandler-test.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3824b4c660409a01eaf325e6b28e3eef8f68877aaf3bbc4090f8ea5aeb55e20d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022A base HTTP(S) URL to the server, relative to this server.\u0022 repeats the code it sits on: 4 of its 5 words (base, url, server, relative) are already in \u0060#serverRelativeBaseUrl: ReadonlyURL;\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/dev-middleware/src/inspector-proxy/Device.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a65ccda12b91c01fa4cdef64293480041da254e6312b4270f4aa90e7b80d186"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022\u002BgenericName: string;\u0022 repeats the code it sits on: 3 of its 3 words (generic, name, string) are already in \u0060constructor(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-codegen/src/parsers/errors.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ad7680ee776aa7c8817baf74cbfc670e58ff15e08c2101dbba68b6aa02ddd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse Module Name\u0022 repeats the code it sits on: 3 of its 3 words (parse, module, name) are already in \u0060const moduleName = parseModuleName(hasteModuleName, moduleSpec, ast, parser);\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-codegen/src/parsers/parsers-commons.js"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9defc00c917f2753a1a5cde3b2e59bd36fa9fc8dd81f7ee4b426f04763d3c724"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wrap each error with the property path context\u0022 repeats the code it sits on: 4 of its 5 words (wrap, error, path, context) are already in \u0060return errors.map(error =\u003E\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-compatibility-check/src/VersionDiffing.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e827ebd9409d8669dcdb7a2699d48362f4b3b5f1800c0dd0b51198ffee0b40"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wrap each error with the parameter path context\u0022 repeats the code it sits on: 5 of its 5 words (wrap, error, parameter, path, context) are already in \u0060return errors.map(error =\u003E\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-compatibility-check/src/VersionDiffing.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7341c1ba5dffdcb2745f6d10945561efdf07191c9bd49e275ecb896525931e86"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Wrap each error with the parameter path context\u0022 repeats the code it sits on: 5 of its 5 words (wrap, error, parameter, path, context) are already in \u0060return errors.map(error =\u003E\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native-compatibility-check/src/VersionDiffing.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"daed36463b30adf7d3ea3339804e9187a4f4fb94dba6c6af65002ebb367d6ee1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the initial velocity to the last velocity\u0022 repeats the code it sits on: 4 of its 4 words (set, initial, velocity, last) are already in \u0060this._initialVelocity = this._lastVelocity;\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/animations/SpringAnimation.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cb1d06c4b910d590cc327b314a262e079cfb058eb18f79695de9e9f93ac9f9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Handle animated props on \u0060refreshControl\u0060.\u0022 repeats the code it sits on: 4 of its 5 words (animated, props, refresh, control) are already in \u0060const [refreshControlAnimatedProps, refreshControlRef] = useAnimatedProps\u003C\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/components/AnimatedScrollView.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e999ce18f74c0c31671c07b456f498e247145be0a08b76db2503438833511f0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Maps string inputs an RGBA color or an array of numeric components\u0022 repeats the code it sits on: 7 of its 8 words (maps, string, inputs, color, array, numeric, components) are already in \u0060function mapStringToNumericComponents(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Animated/nodes/AnimatedInterpolation.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"875c03f656364ab854a15dee37bddd9bb2f95e704b5bbaca0cce3f6af67f00f5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022URLSearchParams: Empty\u0022 repeats the code it sits on: 4 of its 4 words (url, search, params, empty) are already in \u0060const emptyParams = new URLSearchParams(\u0027\u0027);\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Blob/__tests__/URL-test.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"168989e414683236af53fc6c84710c4ecf2ba6ec4aa05d2748d0ae25da59e018"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022URLSearchParams: Array (for multiple values of the same key)\u0022 repeats the code it sits on: 6 of its 7 words (url, search, params, array, values, key) are already in \u0060const paramsFromArray = new URLSearchParams([\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Blob/__tests__/URL-test.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36cb36ee7b643c8f354aca90ad6db25f0ecdaba898e4050cafffd41fb6faf45"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The current merged values from the props stack.\u0022 repeats the code it sits on: 4 of its 5 words (current, values, props, stack) are already in \u0060static _currentValues: ?StackProps = null;\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Components/StatusBar/StatusBar.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea1c584bd8204d96c335697fb4de76a6ba3d782c2ff18037e23784c64099df2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022removeClippedSubviewsOrDefault(this.props.removeClippedSubviews)\u0022 repeats the code it sits on: 4 of its 5 words (remove, clipped, subviews, default) are already in \u0060function removeClippedSubviewsOrDefault(removeClippedSubviews: ?boolean)\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/Libraries/Lists/FlatList.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63246060bfc74185f841f25c691abfdf9576ecf1ee210e1af9bd36d12164615"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the exception is disabled\u0022 repeats the code it sits on: 3 of its 3 words (check, exception, disabled) are already in \u0060if (\u0027disabled\u0027 in exception \u0026\u0026 exception.disabled === true)\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/headers.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0bfcb13136497f9a53ad0624e6060b26cf9f8098c4bc2c2b2dd2f59b776df8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Use getHeaderFilesFromPodspec for podspecs with exceptions\u0022 repeats the code it sits on: 6 of its 7 words (get, header, files, podspec, podspecs, exceptions) are already in \u0060const headerMaps = getHeaderFilesFromPodspec(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/headers.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28a50af831fb7dde421b35bdbd1fbe75a467e29bcab31f7b32c0972dc65f022"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a write stream to the temporary file\u0022 repeats the code it sits on: 4 of its 5 words (create, write, stream, file) are already in \u0060const fileStream = fs.createWriteStream(tmpFile);\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/hermes.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e526ca836904373d7ab6f9a86f3acf2dd9401aa261c9ce169aa6a150f35754a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022:: type ReactNativeDependenciesEngineSourceType = | \u0027download_prebuild_tarball\u0027 | \u0027download_prebuilt_nightly_tarball\u0027\u0022 repeats the code it sits on: 9 of its 11 words (type, react, native, dependencies, engine, source, download, prebuild, tarball) are already in \u0060const ReactNativeDependenciesEngineSourceTypes\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/reactNativeDependencies.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0d5613b8d9131dbfbc44484514b92b1c398f90828609ea5dfe287497f303b1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a write stream to the temporary file\u0022 repeats the code it sits on: 4 of its 5 words (create, write, stream, file) are already in \u0060const fileStream = fs.createWriteStream(tmpFile);\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/reactNativeDependencies.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"67860b8761d17c7f430371be81825e21605ea7424122de7651f008e596101772"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Build the hierarchical VFS structure from mappings\u0022 repeats the code it sits on: 4 of its 5 words (build, vfs, structure, mappings) are already in \u0060const innerRoots = buildVFSStructure(mappings);\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/vfs.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b9d39826405559a374dc80170eddbb64fa0a29f5f90d0f817c4221287b9e72"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Copy the React-umbrella.h file to the umbrella header filename\u0022 repeats the code it sits on: 6 of its 6 words (copy, react, umbrella, file, header, filename) are already in \u0060fs.copyFileSync(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/xcframework.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7e2b990d7ebec42a9c1242baa1358ecd21270eb2c9fec94c2da3443914c816"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Copy Symbols to symbols folder\u0022 repeats the code it sits on: 3 of its 3 words (copy, symbols, folder) are already in \u0060copySymbols(outputPath, frameworkFolders);\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/xcframework.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f350ef610bd626c5e097c15a7d560aff3e7d5e6a9d67e4fb685ed35bef7e700c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Tar the output folder to a .tar.gz file\u0022 repeats the code it sits on: 4 of its 5 words (tar, output, folder, file) are already in \u0060const tarFilePath = path.join(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/xcframework.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dea8e45f00d382675adbbaaf7f1d54963052b47a009604afc1f01dd693cc5f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Enumerate all platform folders in the output path\u0022 repeats the code it sits on: 4 of its 5 words (platform, folders, output, path) are already in \u0060const platformFolders = fs\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/ios-prebuild/xcframework.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5685f53fd2bfb1aea0f01fe44a1c0f5101504a21e889543179035f4959d20adc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 33, 76, 389, 421, 863, 1389, 1392), for example \u0022Mock prepare-app-dependencies-headers module\u0022. 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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/scripts/swiftpm/__tests__/prepare-app-utils-test.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3438e536c3fd5c1de2b2bf2e5723d80e64b3b6a23b371c41f8e17bef5a1a8fd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022getEntriesByType\u0022 repeats the code it sits on: 3 of its 3 words (get, entries, type) are already in \u0060expect(toJSON(performance.getEntriesByType(\u0027mark\u0027))).toEqual(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/webapis/performance/__tests__/UserTiming-itest.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf6505cef1607c03a6c432f312d34c6675427ac8d3c1d229f472a5c0e5ccd71"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022getEntriesByName\u0022 repeats the code it sits on: 3 of its 3 words (get, entries, name) are already in \u0060expect(toJSON(performance.getEntriesByName(\u0027foo\u0027))).toEqual(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/react-native/src/private/webapis/performance/__tests__/UserTiming-itest.js"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"29006653060bc8a7a1eebf3cfa9d089e4959bc82a6b0ad5e98301d66491d7fd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022initialNumToRenderOrDefault(this.props.initialNumToRender)\u0022 repeats the code it sits on: 4 of its 5 words (initial, num, render, default) are already in \u0060export function initialNumToRenderOrDefault(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/virtualized-lists/Lists/VirtualizedListProps.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d72bf56f1305a410e399bf86f97cbb3de6c3de58678e055913b5e6b665a5db6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)\u0022 repeats the code it sits on: 4 of its 5 words (max, render, batch, default) are already in \u0060export function maxToRenderPerBatchOrDefault(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/virtualized-lists/Lists/VirtualizedListProps.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"21454e4d4a2a8924dd760fe5bb51ef7a2e0fef457d1874f951a950d2fb43bd25"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold)\u0022 repeats the code it sits on: 4 of its 5 words (start, reached, threshold, default) are already in \u0060export function onStartReachedThresholdOrDefault(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/virtualized-lists/Lists/VirtualizedListProps.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a098e6002404d4d17451b77b53f727faa7fb7423831b9218502649f8195dabd4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)\u0022 repeats the code it sits on: 4 of its 5 words (end, reached, threshold, default) are already in \u0060export function onEndReachedThresholdOrDefault(\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":"crates/swc/tests/flow-projects/react-native/corpus/packages/virtualized-lists/Lists/VirtualizedListProps.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea241274798c8b19f2837ddba168d3fae3014bfdbe02310902a95a7b49983841"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Generate the changelog table\u0022 repeats the code it sits on: 3 of its 3 words (generate, changelog, table) are already in \u0060const changelogTable = await generateChangelogTable(\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/debugger-frontend/sync-and-build.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"3194b0834e819d0c66ff826bd33b47032bf5e27c8abdb9cb647e064facb994db"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022read the package.json\u0022 repeats the code it sits on: 3 of its 3 words (read, package, json) are already in \u0060const packageJson = JSON.parse(fs.readFileSync(\u0027package.json\u0027, \u0027utf8\u0027));\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/e2e/init-project-e2e.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2acda32d76a6ff12465ca44522a93597e094fdf6dd0127777b3391c12b29cfa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Creating a type literal from the combined keys\u0022 repeats the code it sits on: 4 of its 5 words (type, literal, combined, keys) are already in \u0060const combinedLiteral = t.tsTypeLiteral(\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/js-api/build-types/transforms/typescript/simplifyTypes/resolveIntersection.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"951cdd9b3b932cd309107ef3051d385ed4ff6fab53b38fd8ce8ab90461a45ef4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Apply pre-transforms\u0022 repeats the code it sits on: 3 of its 3 words (apply, pre, transforms) are already in \u0060const preTransformResult = await applyPreTransforms(parsed);\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/js-api/build-types/translateSourceFile.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6cf194ff05195d8eb606be02f9c54884f2a531fa510879f33f336866017d0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Apply post-transforms\u0022 repeats the code it sits on: 3 of its 3 words (apply, post, transforms) are already in \u0060const result = await applyBabelTransformsSeq(\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/js-api/build-types/translateSourceFile.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f0e17d78e8aeb58681902f37406b4b392b91290d128d53dff073cbc0b854bf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022RNTester Pods\u0022 repeats the code it sits on: 3 of its 3 words (rn, tester, pods) are already in \u0060console.info(\u0027\\n** Removing the RNTester Pods **\\n\u0027);\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/release-testing/test-release-local-clean.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbc3fed4f58c217977df43516c91e6f8125ec020df31ad5e90451fdf1839f9c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022RNTestProject\u0022 repeats the code it sits on: 3 of its 3 words (rn, test, project) are already in \u0060console.info(\u0027\\n** Removing the RNTestProject folder **\\n\u0027);\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/release-testing/test-release-local-clean.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5830206d3668ba64221254c234732605a04821de5ab8ad171825f4c198b2b678"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Copy bundles into the framework\u0022 repeats the code it sits on: 3 of its 3 words (copy, bundles, framework) are already in \u0060copyBundles(scheme, dependencies, output, frameworkPaths);\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases/ios-prebuild/compose-framework.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"94079a0e0603180fa2ecae0286ec57220391e6369f58b8bb4902e2f67e18c0c9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Folder for the dependency source\u0022 repeats the code it sits on: 3 of its 3 words (folder, dependency, source) are already in \u0060const sourceFolder = path.join(rootFolder, dependency.name, SOURCE_FOLDER);\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases/ios-prebuild/setupDependencies.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fd8c303968c694a554b151a33840d71ac4100b066a242fea6c561006c5284b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create Package.swift file\u0022 repeats the code it sits on: 4 of its 4 words (create, package, swift, file) are already in \u0060await createSwiftPackageFile(SCHEME, cli.dependencies, rootFolder);\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":"crates/swc/tests/flow-projects/react-native/corpus/scripts/releases/prepare-ios-prebuilds.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e3f726c3cf6eaf7754624786aa25cebcf1e2cb698c383102fa27ec52ea3ce8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Parse the children into a list of dicts.\u0022 repeats the code it sits on: 4 of its 4 words (parse, children, list, dicts) are already in \u0060protos = valueIsKind\u003CHStr\u003E(children, Kind.Str)\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":"crates/swc_bundler/tests/deno-exec/deno-8224/haystack-core/input/core/HNamespace.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"5428f86f939d66ffcef42dc371152a8abc40db1d5b013542383c0ccbe1e9b8d8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022~~x =\u003E x (in 32-bit context) ~~{32 bit integer} =\u003E {32 bit integer}\u0022 repeats the code it sits on: 4 of its 4 words (32, bit, context, integer) are already in \u0060if (\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":"crates/swc_ecma_minifier/benches/full/terser.js"},"region":{"startLine":20408}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68cc1d018c294443a3b7110ada79daa7c7dc3094391499738b34e54d6e97a01"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 12 comments in this file only repeat the code they sit on (lines 10128, 10130, 16911, 18648, 23393, 29697, 32966, 34006, 39976, 41702, 44092, 44093), for example \u0022mark point data\u0022. 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":"crates/swc_ecma_minifier/tests/benches-full/echarts.js"},"region":{"startLine":10128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05404c97cfd0e3fe17dc05cfeaeedab70329f19e86c175ed0fdd36de5cd450e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022~~x =\u003E x (in 32-bit context) ~~{32 bit integer} =\u003E {32 bit integer}\u0022 repeats the code it sits on: 4 of its 4 words (32, bit, context, integer) are already in \u0060if (\u0022~\u0022 === self1.operator \u0026\u0026 self1.expression instanceof AST_UnaryPrefix \u0026\u0026 \u0022~\u0022 === self1.expression.operator \u0026\u0026 (compr \u2026\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":"crates/swc_ecma_minifier/tests/benches-full/terser.js"},"region":{"startLine":10485}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8b72d1f8e53c1ae4bbfd393a513cc4e81ffb89725b64d24002be4af4d395d9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up inheritance for the model, collection, router, view and history.\u0022 repeats the code it sits on: 6 of its 7 words (set, model, collection, router, view, history) are already in \u0060Model.extend =\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":"crates/swc_ecma_minifier/tests/projects/files/backbone-1.1.0.js"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0c116c1bf20e5b167b6503aaa5cbe632718db847326dab6685821f2da578e1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 12 comments in this file only repeat the code they sit on (lines 5394, 5413, 5438, 5476, 5509, 5553, 5590, 5607, 5626, 5653, 5676, 5713), for example \u0022app-transitions-native\u0022. 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":"crates/swc_ecma_minifier/tests/projects/files/yui-3.12.0.js"},"region":{"startLine":5394}}}],"partialFingerprints":{"codehealthFindingId/v1":"20417c364bf46568e28caaa4907ef7472bd91802fc4d22163c4c16248e7e0f0b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022all parent nodes up to document\u0022 repeats the code it sits on: 3 of its 3 words (parent, nodes, document) are already in \u0060for(; node = node.parentNode;)node !== this.document \u0026\u0026 this.push(node, tag, id, classes, attributes, pseudos);\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":"crates/swc_ecma_minifier/tests/projects/output/mootools-1.4.5.js"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"562d2ae91869bca04222f601ceabe6ae767fbe24c9e8e6f64280bd4a6940f3f1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022app-transitions-native\u0022 repeats the code it sits on: 3 of its 3 words (app, transitions, native) are already in \u0060add(\u0022load\u0022, \u00220\u0022, {\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":"crates/swc_ecma_minifier/tests/projects/output/yui-3.12.0.js"},"region":{"startLine":3255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2d898f2674ae3c9b09221359736989d01ec69fb689f5b6db6580aef09fabba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up inheritance for the model, collection, router, view and history.\u0022 repeats the code it sits on: 6 of its 7 words (set, model, collection, router, view, history) are already in \u0060Model.extend = Collection.extend = Router.extend = View.extend = History.extend = extend;\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":"crates/swc_ecma_parser/benches/files/backbone-1.1.0.js"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a20794042eea171bee46e400236be071cb3a3623e27f1eae24d558b45f02acd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If less than 30 seconds, set the seconds left to 30 - difference\u0022 repeats the code it sits on: 5 of its 5 words (30, seconds, set, left, difference) are already in \u0060setSecondsLeft(30 - difference);\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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":26679}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4fcbc60920e9b8ba9c3ea903d1a6afbad7eb4a539055ce637787d31cfcf29e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 12 comments in this file only repeat the code they sit on (lines 5110, 5125, 5150, 5188, 5209, 5234, 5257, 5267, 5284, 5311, 5334, 5367), for example \u0022app-transitions-native\u0022. 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":"crates/swc_ecma_parser/benches/files/yui-3.12.0.js"},"region":{"startLine":5110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b19503e942e0a8c7d1ea9321eca1c7e8b196edaad4eca56de8183d006e6e64c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if root README exists\u0022 repeats the code it sits on: 4 of its 4 words (check, root, readme, exists) are already in \u0060if (!fs.existsSync(rootReadmePath))\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":"packages/core/scripts/copy-readme.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"04081289621853e8b62d4699b798d86b3f79da164c29a2d20670ca218c206585"}},{"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":"c2c62f6ef0eb7ff2ae54c0d81d1286e2b15750c86c0314ca105539fff35e87d4"},"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":"3bae0357653d5bb8eac97fd56cb7d9a58db6c2d639af8bdc223b44ba5dcfb45a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"2a170afdb6fab52f775981fb372c3a30406e5b589f1b883d6068d47f5a8fed94"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"f40b4fb70fb90b8f70011dd66c39f3c2fd9bfd8aaefc39efa8b81e574eb2a590"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"f915b48cadae8a09472a628cd25ac770e750daaa24ba4b2fe7f6a9aa923d6c08"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"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":"7232d4b00b0bb51baf6426522e6861142ce912a72213ac06c77a59ed2e4d0625"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"3b66d3ff6aa63e38c603cb80c8cc62dba799aea3cb676de970cdcb642399729b"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"06bde73024d2c324c7d237173a0a08d304da14ff11cda1ffcce856b2bfa41cc4"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"8750074d2e20406a4b90093c70a4940c4512a95b88c1d3eed37c4040efe3573d"},"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":"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":"02b19b49a26387a19d1b6dc2f157a4ade8930943c898673f14d1b7da1aecb7ec"},"taxa":[{"id":"CWE-117","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"11168c94d3d4877866ee51c7f18324b719bded46e37ce980ece9434076a23288"},"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":"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":"f4561646d59097f52829d47c50e5b0aa87859ba4678edb43646baee9b11fb2d9"},"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":"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":"562d1e3f1881d08a96446f8680798fa9306d0f35eade80c5c0774c279c5b104f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"540ffb5214629f4e4a7a521e69299c660af6ee4bd1415bcc266ea8abfc79adce"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ebcf589a06b0d2afc1b5cefc5c10d221b3d03fcbdf4f1c371338f6e745fd22c"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"15a30702e3d7feabc49679f229a288630e02c5b8830cc0250554cdbfc404e098"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"4731afe08be4b43fc84a8f43af2659ecd39785d5abb93053be38c46b448b25f9"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"344d93b01fd2d326eb5cfb7bedb35a4d80885258faf7d0b17bc21ee37e44f7f8"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"58050ad255b57f2580d11374d3a248ebb1c2521a58cfe1c89528d6999ab3376b"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bf1aada942a4698eba96e928fd99145018c4ab4fc1c005f1fd4002ade9414958"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcaa046adda9a966a50a7b4ce82736100da6bf1f60b224252741b69f82d87e27"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c26bf0993ee39ac179fe22617010d74c17cc5f98c339a010f945471d13134b68"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf1770464e783e42f74922db10d9efc5c88a251098f2a73f329091d1c82849f4"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"157ecf9dad432728ef755aa458d2b184eb530be59ead538f9676383860202f28"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbf89981fe4ae3433e1751fd3cee67989d61461be7f9fd177dac0c96863fc440"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c3a39ae8c0be48f66205ed71d27eea60427a1b6fcd74e7c254c2912fbc308496"},"taxa":[{"id":"CWE-125","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":"07524c49b3727b8001375c81e3331448f5ae50b02a580185dfe8df7da4961afc"},"taxa":[{"id":"CWE-125","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":"f3b3351b42d3d82aa42d19390d252134d22d37aa38f847c71b0581136c67b569"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97e7c22b44add85432ef17b64b9ca3bd6e5617198d81c1484d2549453ea754ff"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c1efb7e9408d2a7b764d8d5583db5f3b83df6e94c4e0c3a2c90222832b852f0a"},"taxa":[{"id":"CWE-125","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":"b1a8549f08afc4458962b455c72b0e00f6c851e136be9ce4105a9ca406476db6"},"taxa":[{"id":"CWE-125","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":"d81abc661eae929ca711bedfc9f3e0bcaa544a35a1aecde6c0c7017ede7c5ca5"},"taxa":[{"id":"CWE-125","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":"3d103181a904a96f5d051594dc6dcd3448a669bee4bce06746a25cff380b8131"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c9b9cbff11c983a751d83e7f1fcaf9925d52b620f14d5e5c2d37947a957374fa"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39823ac516b24b6472f82e480cf3de55a90e0cd2df8fd3e216fcf0891fb19c80"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30a1f4bd9360523adc39925c40bd3ef02b7b4e9869a35ea689b962c97e36ddce"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8905055c5ede52a892c331c6727a6e38043f030916b5a73ea5e482f37f8ec3ac"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d289fe9c328f7252699242b6537a3586eb75c6a56c6342323f78832aea88896c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"196e9751645f6ee65f0355ccc093044550e333aa3ad2a8de25348cdd5d5f159b"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8e9f87ca4ad36481320c7288eaefd197405b03c7c35494d5ed597259e270b25"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a54cdcaeb5c603da1bb33c5c99fec202ffc7d81086c58365f61a141440fe7430"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"198e6f5747593b1cdb0766a456923b745acd0f3b9e9e813a5fd0dec352f3c972"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f281c09a02c31ee1f2ef4ac860ff8ba96adbaf88e1fa74a5e3d7eec11dd552c3"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f96d9127aef2a21d36be8274ca015bfe674b60545789d16be06a723676ff7cd8"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c46c3d3ec0bcc49073c0e68b6818b8b77a58ac6efd63359a17b8c2e529030f3"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1bc95e160957d039cf9095fc935975f2996703cca731b5e56ed0ab2eaf81c492"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d84abf25dced95c5e4f50a9fba8451cabd7208e6a72f5c69733c24467247fe4e"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdd76a11d6f3a00b8269249dadb9e29c1de57b3a6023f2521f3005fbd65c50cf"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9eca77291a82abe6717780086b546e31afee490f42a843b0c5beba36ba8dc3a0"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"711a635fff99ed938bde88a1ce5cffb240a6fcc29525d9537d6f204b0f26b113"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f36d338b142021734fcc3410b545cfc675966b638f735d033222245d85a13a54"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73ae8fcf4974d20df01580d576bfbd2efc4e4d57f2d69477dc825e0c8e3fd23f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e619d14f3a607e5400fe22c89053d7ca4145e925e8bc09e1c60e0967c2f45685"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a0924fde9a590b62116ea6fc5a86ac519a5117405489d7dba0b852e70f26332"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d11c18778023293b9f6b7b534487aad9e9aaaa11e204b29baebe879523b353e5"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c26ecfee13b84f307b5bc6edb8b9333a7deaaa380fdaee310e881ce49124dde7"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a0d276267bbc4bff941f03e13346aaab61fd6fab0b3e1e59bc31d204da07e173"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f487c67705c7d269561821bb4a869591052802bab134c6184e0dbc46f8ab8b02"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5284317cd501cc9927ab18d2de970f34f8e41a324875494a94d15e44f5a5b30"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a76ac4e752a6371292f8d2bf6f1bf3048401c3101894af4b7076e60d1b259c8f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"432ae78ec52f4d35865e9c4c98c279b85e7693a1511c36bcaf26fed0921768cb"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"172c649a2e043553ea2ed6094a6604b2425b6b0a24bb5adc7b1c534f22439d98"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1fa8320cebd5f3263e8eeb00342256df144211c706798b97ded7c425d71bbdd5"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2282c4812d9d0dc9a809e686f6397c86b2f156c0fac3bc31baf091fb8ef8f063"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"f8cf381478714e06cbf26c076522a9994ccb790ec71773c2ac253f864da2e38c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a50df0a27732604ca226101e1b19728c461aff1c817f0763aba96a64e4115ea5"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb7e3bd7659612c7ff6bdddf8a4fc273e095b760835231a4e6c0a40094b7e17a"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5ebbd120cda3f127befa20cde0a80c23367b54a57bb56f30572d93d4c1728d34"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f6db1093c78a70a5489887cb17bf432beefed32c8a354b3278ba1fa5b23a589b"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cbff1a4b8ea9b3b5c64d66cd1f467dbaa1e22606d3e1f7ae699cc0d1f2b24a9d"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b33c6f6d4383d400dc9dc760e7b4e3ae2a28aebb1d5bed64001ff0ce97c7173f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88566298d614b234d43df89641bb903ce861d2331d477c2fd8657b8ffaaac1d3"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a0985829eb8c6a81a632e942f59c9207b45b4a5ac601d87d59e8f7edc693c1f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"afaca681937afb45788460c50ae33375597360bc126ebdc2285545f29ff18afe"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7bd317580266b67dcfc5fbcf6231751a8afaca12c3d7ed712c751866cbeb88a"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f558073f94a19e09a28f9ee5047db08b3c5e42b7d5794888ca87fe19d8189bbc"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8980803e6135983b777ac9df4a46efd10795f2b6c08bd838d048739679ad9f1"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d6bc73f905be0edbe1d0616987f8f4c454598ee348cc023654fe4270cb9a4aa7"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf8eec32f9ab31f41cebef1bf792cdf33632c2f11ead7a1b53365c2a7bdee103"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c322b301501f33cd8a05e4669d5134b225f2c9c8e7e91a313abd236014fb8404"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b91d34710059772911776496fbe5c87999c4827fa3c76e2f4dcdab4d7f7d019c"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6e1a419dacd259473980b40c8b15119a37ffa8c37f655e7c766585ab344032c6"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3196df9367ded7b566deb7896884c0f2e17a4ee5b1fcd8a72372b4bcd6ce1cf2"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2a3eb868ee8285213fdd8a3a4fa4ad8a7c446e392582e3c9b48235b4a134ec1d"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd51a781f235efd2883e84cb621f0f7747297169a770ac4f9a7a42947077f58e"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f268c22b99e8fb744b5f34a350bc44e1ad3b70abaf0ee08e123bb39a0469e087"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f30c9bc20d55c543d4e643fc23c26dd3f0e2bf704975cca8886c7ad2d3223d1d"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d82b5ec25771584bc5d4e7fb9ffd2a2bb135db4c862ff7a2718e5a7ef5d103e"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ea892603154642967e5d41ea8461aab06c0db81debfe8da1abb9f7e167c9493"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4e56c56ac402e763e5f56891afcd7206040ad3d610c889ab12bd6ba2783af6c4"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"620b7deb9fa5153fb862c70a897c94772b4ea721adeeda26943c7eea286395ec"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8c52fd877c3f94d22715ae38c683df83cbfdc1fd985679536583fa1d096bf65"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e96b7315e874587170e766a6dd2c51497d8ef3c69ba42255204b249916d5364a"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a9a301254efe8475bb9540f2a74e188dbda78db7bbdfb48dbcfb7ac0a40813a"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"377992615af4f55bae9bf4e6158b4c34bc6523c0217b96fbdd60af45b4e1ffcf"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f370d347d7a4786d4dd09d150364d43bbefbd1ee334c0c3339dd8dad4a2c179b"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b29fab4d59ab071d099a0f50398edc5b8cc79d36d63a319f6472e30c6617b8f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d3ef0fc6fe02eaa64603628f3ec09e64352e7b670be93a2e8bba67e6b84cbd6"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcaaac91bc8636428f26f66a1b9d6c9d77b0aa6731cbe2ecaec02189ed829811"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"914cc900299b2181b4a0de34ade52fb05b6d24a6e8041259ebae91dba5b1bd50"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"905a245e5b77ebf75a694ac6bb93d46df0af0b6cc9e3b6fe4de338c2ac36625e"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8d77a5ff7afae56b2e0278917dcb80b9d1ee0f8dfa0c816fb264a76dd3ee708e"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"512405d45f0f5055bd80357c9975eaf3829394480ecd069a7f752cf1a010bbab"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bddf563832de61e0a9018d473c7cfeed1448e720ca494a75365c417b165d02d4"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e822f696789c6c0824cd59b76d6159685b8b1148aaaf82f99abd970a534efc58"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"49278c62fc3c9aa4f602f9b86a01e621d18adc515d2f54a01d99d26d00651c18"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5ef4cdd3833a31e8ee15d77f1520467253109e90dd54032dcd4f28a117e2b09"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76d043ba9f8a75056a93640359a62a6a535cbd386feee49f714c2b60fc049685"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"243218375c78aafa8942b87ec8fa0fe6e4d872af735f95b7a2ca25abb74a5e4f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c8305647922b8e04103c6ef3206bab57469313ce81c9fcb221d040981204979"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"20e35b23d5c3558747c5323bf8e4ab970438b22538984df81ec13da01ab09f96"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc943a4c743d921f930074ca2f724d557f354628be3ebb88a30771d7a202de1f"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c80dc51c3bf177f618a8086c066d16b5cf7b5eac8f21a0c6f68bcedbcc1208a"},"taxa":[{"id":"CWE-125","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":"5188d716f7130169b434ceffdeef80939da2b3f3dd772da01ae50981580ecb70"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42954c5ec48cd94dbf004e976b07b8839601f83024df15375c828b17f50d9339"},"taxa":[{"id":"CWE-457","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32a2dde3509e571faf877395a585959f48c47b278751d1ddc1410b585de6df19"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"2883d34ea176dd1ba7a2fbf8a48292b02a3138e5893c06b3004268c605fde1f3"},"taxa":[{"id":"CWE-125","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":"b1b0e6a8797832057f0dede968f9136ddce254897297b25adfddf2a37269142b"},"taxa":[{"id":"CWE-125","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":"ee7a9e81284d82aa7237caa8bd2fc0996991a8bf8e45368865154d8b7ec9ad14"},"taxa":[{"id":"CWE-125","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":"bcaeaa415df715a4df3df7beb2b5c087f116fa5f54b8a1e6bd73995e0b3a7cfb"},"taxa":[{"id":"CWE-125","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":"d6765aa55a93cce5095436d5799ec406e779692ff01fddd0b358ac20896f836e"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"42c839af821483c55baacc0dc589baeb73880e56041e35356e3a3dfcaf360fbd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"62c870e31a9d541fcb0f4666c726c4a3262c5bb485c5064ef82d9a4474247bbd"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"93bc1cc3fd1b59ca012ce43f66fc10690d951d35ea0cec7b7b08705bdd152352"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"2949432f9a5bdbed546b8cb415b65e6a0e028fda1cffa5856d816e246f1923e8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f413aaa5a82a7fe8d457cf88f66ef7bc5bf1d8b8a75b635029d384287b1c6bc1"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f301e12c5b4b46c55a83dbbe6694e7fd5a4ac12a7324803f2fa8fae65a600faf"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"e5a8c3ba804bc7928a2665922b07891818019128d95314fbc244775b46743f22"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"7f977f84528e17fb96952f017655e24bbe9c9ea236e569721a639088c31bcbc5"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"0a92e0633584d8134769cd243eec4bc4ae36ac21ec61987e419c851015e82d6a"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"ace092e617824dfd75c77403c8e079a1e898aeee5bcc27b21c75dd2532b3fed8"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"f574c66325e01b7bf386de4b41e0758ed595b86f7418ede32cc40e23acd556a3"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"3f70f257aa4463bf7b3e4e145018170a7f4e1a046bcc50d369ea4071dcaeb3d7"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"6a9c5dc02a305a3849efcbc83cb36ace3ea22ee5324e0e6d34e674e83f3f018e"},"properties":{"dependency":{"package":"@babel/traverse","version":"7.22.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d74aeba34c20ef883320d58ae3a9ebc2ca37676b56ad245f77891a27afcd5d2d"},"properties":{"dependency":{"package":"tinypool","version":"1.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"e9e2c75d2fefa94504a6443bd33d31210eecfcc19eda5a718aaf21e504742ebf"},"properties":{"dependency":{"package":"openssl","version":"0.10.72","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0463","RUSTSEC-2026-0473","RUSTSEC-2026-0474","RUSTSEC-2026-0475","RUSTSEC-2026-0476","RUSTSEC-2026-0477","RUSTSEC-2026-0478","RUSTSEC-2026-0479"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"800f73115bca9f5b499053665dffe44a0fc11c32d29c24466bd58853219d40e3"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"423a993d709a7f02a4bb5dd3338684079d485d5b509b94458928d185b9b7129c"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"eab71bfe746673bc739bfd59104a76c8e6102b004e59811223ff6c74b1ef6eee"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"85a0cc54a04a258f890dfcf56d8b54e982ad85db677a716180fa388a7789ed89"},"properties":{"dependency":{"package":"@babel/plugin-transform-modules-systemjs","version":"7.22.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d0750c389d9c152bf1d4e31dfc91f23aff8c134e832845da27b3738c33162b18"},"properties":{"dependency":{"package":"@fastify/busboy","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"df21b8127d24aeed9579f3ce44f2f84d2d4f9ae41d6b03d4309b75c4781747cc"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"ce9bbfea95fe015374ae86e03b9373fd15c82feee84c4ee070b765207d8d9476"},"properties":{"dependency":{"package":"browserslist","version":"4.25.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"576332ecfb02e485c2b373a8e0facd71aaf914016a06a072feea7e4c4e7e1be6"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"bc0d4bfbc2dbf13b7b4678c7f750f00c9c46698f61534d37a6a18fd133b243d5"},"properties":{"dependency":{"package":"flatted","version":"3.2.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"24ca2b657a002371f47253ffc3d1042d7a3752a5b2076cdfa1568b90732fc738"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"25809b38408d106d54822aeaf819a2f3818c7645e99ecb4d1145faccfb980cd2"},"properties":{"dependency":{"package":"lodash.template","version":"4.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"2a14ea48d0884c57b3b8de5e1ecaef3cfa17da6b30b57c3a8be999de1330b2be"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/core/tests/issue-3067/src/index.ts","line":4}}}},{"ruleId":"D30","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":"635cde9860b68e56898d582225d882b3dab2d1ebe75d111465bf8a323e0e396b"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"98f5b7f1cc7ab72c7ef988be1ab835626c9ba93796c264fb44a05726fc7d8dd6"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"7531eb5fa8b12bbac40121f69038f913c6ef844555a157b58db0a6ce500ba8f1"},"properties":{"dependency":{"package":"undici","version":"5.28.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"b77b741b0cb87203f02e4f72eefd4fff5328330670c68b7a673ccb0605ed2760"},"properties":{"dependency":{"package":"yaml","version":"2.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","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":"d469c4cdd0b2892278c4ee90c01a5a8ea4872a98733c483777e04c904cfebdfc"},"properties":{"dependency":{"package":"proc-macro-error2","version":"2.0.1","advisory":"RUSTSEC-2026-0173","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.1.2","advisory":"RUSTSEC-2026-0486","aliases":["[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7481fb93c86b503a82a3e06a3172c7e27c5da26b8a178702a1e8028944c7596"},"properties":{"dependency":{"package":"rustls","version":"0.23.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"7ec937081c3ad6882e9c07735996d40cd6d5332ac535d70bb5252c6040e1f211"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.15","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"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":"0b4d0bd0ea0d3a81846d91c999f1c98d63806893d9b8b2fd8c703eaa81f667a7"},"properties":{"dependency":{"package":"tar","version":"0.4.45","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7db9c5b6f64562c92f03f509ed2c7a98c3cba98e67e100e71a92d8c21649c712"},"properties":{"dependency":{"package":"moment","version":"2.30.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"181003ac3b17c09ba114b019b3a3f3222777a00fa9c86f8ae1d30fb2000ad708"},"properties":{"dependency":{"package":"@babel/helpers","version":"7.22.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c6bb3d221e62ff75bd59e725ef007e2ede8d825d1e7edfbd5f7dc0f8aefbc75f"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.22.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"b7bda289298f8c7b577c3df21f51a6fc17f92b7e23b2a76b5f7c4731a8327d8c"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"93b067a3ad5b7f4ac2a7cff73df56a0309ea9dce2c206a549b7e4dc28bceec4c"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/core/e2e/utils.js","line":2}}}},{"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":"c29b45518a51b87714abaecf41d10f24cef5861e21721bd9357df7808ab4de3e"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"packages/core/e2e/utils.js","line":2}}}},{"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":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"0f0e25f5043cf62eebe19b8bc6c5720079d3f23e4fd644df5f6587f0c96e9743"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"bcaff5d1e287866fb15ab08f33c0744f85cfc07f596d7af736c916f57cc95099"},"properties":{"dependency":{"package":"uuid","version":"8.3.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"cab2098e551f88d096756eea896ab201fc72ec0275bddc366f276c5eb947889d"},"properties":{"dependency":{"package":"yaml","version":"2.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"scripts/github/get-test-matrix.mjs","line":4}}}},{"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":"d23005ae9d58686b4505aa6a7f9e4ce9e8496d829ab4cb399c2e29291d6cfc6d"},"properties":{"dependency":{"package":"zx","version":"8.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"ruleId":"D30","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":"880c5a9e3754ff2f8b6ebe629520afecbaa8208a75ab43985dc95bf538bfa60c"},"properties":{"dependency":{"package":"xxhash-rust","version":"0.8.12","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"f392b1419f96aa208ac2115d3c34c2f00540ad0c5381e81423f8727e54319f35"},"properties":{"dependency":{"package":"@babel/core","version":"7.22.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"d8884977fb5db81074778c0c1d8e66cf2219fb89e44e4956024b365306db135d"},"properties":{"dependency":{"package":"diff","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"399b641a1002e75c8bff8b9c396c66ba0c165468034e5af1632a4a0b59ea9a3e"},"properties":{"dependency":{"package":"ansi_term","version":"0.12.1","advisory":"RUSTSEC-2021-0139","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"cd08558613b1501123823d3d37fc3f1efb021ff78777c7e19d8a90d57f722e0c"},"properties":{"dependency":{"package":"difference","version":"2.0.0","advisory":"RUSTSEC-2020-0095","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"b873cf768c77dcd3130dcabea8e403d85fedf544ec95e711983ac77e0dcd7758"},"properties":{"dependency":{"package":"libyml","version":"0.0.5","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2025-0067"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"bf9b3890cba73cd3c5d5270d1976bd1bae94596a1c510482b94fe9367ef871f2"},"properties":{"dependency":{"package":"memmap2","version":"0.6.2","advisory":"RUSTSEC-2026-0186","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"1916856307d6d77eb7c2c2ad00a860759d15ef7f6f635ef50a6cc2cbe0531cb5"},"properties":{"dependency":{"package":"rkyv","version":"0.7.45","advisory":"RUSTSEC-2026-0001","aliases":["RUSTSEC-2026-0235"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"d38736f2611cc8a68dd6d9310c78b5d2d83dfcca00f3553b710b7486c0d08717"},"properties":{"dependency":{"package":"ruzstd","version":"0.5.0","advisory":"RUSTSEC-2026-0344","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"91d43a93b3706ec87efad5b997b467aa58e0ea37e710457e42ec82a30c7c70e5"},"properties":{"dependency":{"package":"serde_yml","version":"0.0.12","advisory":"[GHSA redacted]","aliases":["RUSTSEC-2025-0068"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"35bd835fcf003cf3a7b49b86bdff9a197a4b7f04ac962e67f6482102c80b3d29"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a9e6edf3cc571a9e978ca8813e530d45dcadcc77670333fb5db2de833b4ae7d4"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dce5c76b4d2af805a1c14a2898709442a23e84a1900331e33673126123a6e00"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ff66fb5adfce19822f6ee60eed2056f9f84bb453d61e403ed05e2bc7b74cdfc"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"crates/swc_ecma_parser/benches/files/cal.com.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e2d63dcfac3524f6c88cf838984edf49cba12d0a0c0b423bc2b1f0bf497a9d"}},{"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":"crates/swc/benches/assets/parser.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dc057b8e89d9e6b72ebda1835aa974d21436edd60a0bbb3440995a3fc9bb17"}},{"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":"crates/swc_html_parser/src/parser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0ed1092ecb95bc54b90e4640f155ae58782aeafb1fd7df2e07d893df5e2329"}},{"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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa972a544251871953a464b9d17034c43686f0c4f289c7634e613c6cef75c60"}},{"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":"crates/swc_css_prefixer/src/prefixer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe1b769115db3d64280d4de38bc0ed1882f38397b0e1a8eac0ebb19079c0b54"}},{"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":"crates/swc_xml_parser/src/lexer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d106c785c741919b8bf55e81edc53e93e5a9c87bc7c6dc8936c07949d2e6c14a"}},{"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":"crates/swc_css_parser/src/parser/values_and_units/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29deb51faf73ccda797434aabdb6e93dd1236e5512551d48f5f48fb765aad96"}},{"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":"crates/swc_css_codegen/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89287f1ec428d94ec88649e967b2ea68f5c6edf13bd2d2c66d56c5f42d3b13b8"}},{"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":"crates/swc_css_parser/src/parser/at_rules/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"818c5b608f6df528ee5149847d699c417327d4d3301c192747f3d90e1a9600c8"}},{"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":"crates/swc/benches/assets/renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1b99cc8f6ac080dc77dbcea00fc30bc68c4e4a40e135e72595c8354f8ce37c"}},{"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":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2bc9cff912f571a4d4bdb1eedd38d982dd84534f1f2db0e99a9b7eb993486e"}},{"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":"crates/swc_common/src/errors/emitter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1192ec41f029454fab8ee2d92939e88f8c9200a516c72029ef98bcec3c8c80c8"}},{"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":"packages/core/src/Visitor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdd67f313b02dc41dbded7a86cdf673d20098b162e3b6b1526114c385adb803"}},{"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":"crates/swc_css_minifier/src/compressor/declaration.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b4c9e17a4f377a58260e97ce40498cae1ee00ab7d213cc7861b1daa3e639a9"}},{"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":"crates/swc_css_parser/src/lexer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0265ae38113de2d22ea42451f5de5d3f7b53559c9000cec1e4620c0a9f00ffb"}},{"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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6228e92c4ed29bf6fdead8635dc15f3819d8ab9af1ecf8299e213deb1ee22a7"}},{"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":"crates/swc_ecma_lexer/src/lexer/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bde22366f77caa4f551d5fb61ff7edf2a7418862327bc16fad626076a614a2"}},{"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":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d548f9a5ef949331dea5e792346c2ae460b0e530ac19092e6cb782da10c318"}},{"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":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b666b1b3cf8683ea599aa6963090b6b500c15692b5f706b98c87636f78d8cfd1"}},{"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":"crates/swc_ecma_visit/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4e82468062f5ed6483f1cfe0c8adbeb1cb41dc5d185f80201b016e5c275e51"}},{"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":"crates/swc_css_parser/src/parser/selectors/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df1c15336d387b93a1831fd75b9eb809b0d02c9bc8f290e0cf1d3f335995f43"}},{"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":"crates/swc_bundler/src/modules/sort/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5a4395e242f61893ccd64d3566fc02f8217d1f865f2abb2bb579adc1f8111e"}},{"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":"crates/swc_ecma_ast/src/typescript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add8646381c6b20ceb096381f99ee81f0c65b8ad239e590615ecd4c3a1d6b83"}},{"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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f25a1571f2eb34ffc36e4ba1c076d5efd27cd21c6875a94cc3726aef595cc9"}},{"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":"crates/swc_estree_compat/src/babelify/typescript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"538e8f739678f5c3a714adaa270cd0c297971c56bf1fb817b3a776e24cadbf1f"}},{"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":"crates/swc_css_parser/src/parser/syntax/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e7899e8da1c28b3f846c4f4dc28dfde984ffefa7398289c3ac743c0dc21d8c"}},{"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":"crates/swc_ecma_compat_es2015/src/classes/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f98c15456b3f3d03a57a44859b192a24dbad3e37ae56dae93531978822e2e35"}},{"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":"bindings/binding_typescript_wasm/src/error_reporter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29860f2d481540f83ca931752c1aca36acb44478a9a1658de697fbef88995bdc"}},{"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":"crates/swc_common/src/errors/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d16bbb1ece1a4f5896bcfb27d798c53de777fcdf9cdc522d6657a92e5ad3e14"}},{"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":"crates/swc/benches/assets/table.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eee5ab207821b9313dfbead7d70ff1c105e099d4cbb36594effed00e569eb8"}},{"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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4245bd59c5c589175f830df7cf82917bfb5b6590001e9d1374096769c1aa4f4c"}},{"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":"crates/swc_estree_ast/src/common.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a221a88c47d93cb52f0e0a396e75a17af9366e58fc06f429db1fbeb94814d02a"}},{"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":"bindings/binding_html_node/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e81c48db59e22c5a61b7f7a90c0b612f83593e40d2553157321b0aeb1056666"}},{"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":"crates/swc_css_modules/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"937319d3c24694699d7050961a91afd05bee5e4c73d0cecd7c46ceab7b1df47d"}},{"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":"crates/swc_ecma_transforms_proposal/src/decorators/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4b4f33bdbbd1c7835ecc58664083ed51d108255fc834717e924a883c032cfd"}},{"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":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de833b4d36fa8bdebdd7cf742844d020baf4ccdb6d29524351167abc3b86e859"}},{"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":"crates/swc_estree_ast/src/flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e302b3253b9761208d781c34e2b8171b09cd8b1af52f0fc1ce1f4f04765e45"}},{"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":"crates/swc_estree_ast/src/typescript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc7556013840d4621c3f97794e8b48bfeb72313933b8c54efc6daefcfb9ed7b"}},{"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":"crates/swc_ecma_compat_es2015/src/for_of.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe06fc4fd2382158941abd09b4835753b0812a1fde329b8474c12f9c0d784703"}},{"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":"crates/swc_css_ast/src/at_rule.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbdb92876ca6ec606e3f25665ba750faadccd6bdc7437408c8a2ef9d5c50e24"}},{"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":"crates/swc/benches/assets/Observable.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b74c8fa90b064c1cb48814d23e4d2e4f570243a292aedc43d87c8cfa9bc952"}},{"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":"crates/swc_ecma_lints/src/rules/critical_rules.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213fd105813579e9a82030c2f44c5ee2c52add0fc85b6a5ecfb79a5a3bfe1ed4"}},{"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":"crates/swc_ecma_ast/src/ident.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba182d8ce4e5850aa6ef1bc95e9380c9788a75cdaf8371dc27ebd265620b737"}},{"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":"crates/swc_bundler/src/bundler/import/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1efcc7b7ec504697f856008763c306519bea10c0003a4009e11803ab192988"}},{"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":"crates/swc_css_minifier/src/compressor/rules.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db12a052c14f9b41547f2c1215cdb95bae081b182c93047116f24591e148f812"}},{"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":"crates/swc_css_minifier/src/compressor/media.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49e45d150235cfb360cd9dfc473001a618ac9167a2f54c47240b414e5c0e79"}},{"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":"crates/swc_xml_parser/src/parser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef396488a489c8d5ea4c08c6bf91d70abe35d792d68316eb58dc8d2fc114eac5"}},{"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":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a1d6dfd3174c48678a92a89e20b64fa08f5767e4b2f5239d933ca4408b35a9"}},{"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":"crates/swc_ecma_minifier/src/option/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baad7c9a273df744e46d3d04bff5e1c8b38ba13518944034fb839f5f63c54f5a"}},{"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":"crates/swc_ecma_codegen/src/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"484947d61f3e7e1742db4b72fd8bf0c69197e22db5a33e8c6b362163a510a0d9"}},{"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":"crates/swc_ecma_compat_es2015/src/object_super.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4d270597656027cbd0473a9a358f69163bbdca29e23107955453985c66ae9b"}},{"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":"crates/swc_ecma_loader/src/resolvers/node.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceb6e5e8dccab3eabfbc5fcc596a363d0159ee0eeb6a271b7f8e7592644dc84"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 279 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: crates/swc_ecma_compat_es2015/src/spread.rs, crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs, crates/swc_common/src/comments.rs, crates/swc_estree_ast/src/expr.rs, crates/swc_bundler/src/bundler/finalize.rs, crates/swc_ecma_minifier/src/util/mod.rs, crates/swc_ecma_transforms_proposal/src/explicit_resource_management.rs, crates/swc_ecma_minifier/src/compress/pure/vars.rs (and 271 more) (331 orphaned of 706 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; 706 of the 1143 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":"crates/swc_ecma_compat_es2015/src/spread.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d5beac766fcdd97053912a30020515b5219c196741b4d245afa3cb645a1d8d"}},{"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":"crates/swc_ecma_transforms_base/src/rename/analyer_and_collector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"095462cdf9b583767ff432593274b2dffaf9f22a57617369a1204404d6bd8a7f"}},{"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":"crates/swc_common/src/comments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16aa9e94a75c99d27075e09c07aef5b3c16d2cf9da99666219ff409f00e73b65"}},{"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":"crates/swc_estree_ast/src/expr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6541b772cf35da394a09a66abb48f2917975d9d47e394347c8d17666ca9fd4"}},{"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":"crates/swc_bundler/src/bundler/finalize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8094f7ba3c486e189f9294308086ea5234b62a2913bd1525a0d2f971af5944e1"}},{"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":"crates/swc_ecma_minifier/src/util/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"719e0d8ac67c644bc227f5f75ab12ad3a007b9bd7bcce02e36a0ad30535c22e3"}},{"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":"crates/swc_ecma_transforms_proposal/src/explicit_resource_management.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d4700d1497e574356269ce7bafdffa931d14be2d91bfbd79e9aceabb4ede5f"}},{"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":"crates/swc_ecma_minifier/src/compress/pure/vars.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2aae5946ea1bacce223f7adec4d72412b7fd4abf42b11454f8eefbd2e6a725"}},{"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":"crates/swc_css_compat/src/compiler/custom_media.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9032dc96d8e32d24e1260c157f6d3255e94839bc977c7124b9733633f1ade496"}},{"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":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aac26be2331f122224986dd90d51fd4fbaec8796b5ef98cae0d9abb56126ddf"}},{"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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcbc473adb46a3dea8dfbb64787fafc4bb502318d2db0cf5847b2d9e18b4ca4"}},{"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":"crates/swc_css_parser/src/parser/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b1b293460a191b95822bb8dc5c9583db386b85e24095c50f97ce1379359f49"}},{"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":"crates/swc_common/src/errors/diagnostic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec4341b7f45415420da087356c1f52fc55999ca06fb99e039c64835a2f0d00e"}},{"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":"crates/swc_css_minifier/src/compressor/color.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f662ab2d3b4b2cba903286336746ed652f82f8d92fe12ea2aaf44b962a000ea6"}},{"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":"crates/swc_ecma_lexer/src/lexer/table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2bfe78c159a7314ddd0d1459a4ddeba19d1d0d70ebf4c188dbcf522a85f120"}},{"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":"crates/swc_html_parser/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe002bfe792960a40d04377e83255c4ae4df780a09f5273c7613e0ce075e8ff"}},{"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":"crates/swc_html_parser/src/parser/open_elements_stack.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"746af397172b1bcec0a72334736d5ed51246f78436624040f0fcfc17aed9d91e"}},{"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":"crates/swc_ecma_compat_es2022/src/optional_chaining_impl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddbed452078e40651a760957dd8b4a09045c49bcf9b093686a26ff312cd5526"}},{"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":"crates/binding_macros/src/wasm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0b6afbae7ee8df19c678f7331be2df805059d1adc244d5de9c73892422a75d"}},{"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":"crates/swc_ecma_ast/src/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cac6bb0934dc6285c4f98213fabc6cd0361ac8f510ebbbf971050d1f6e823f"}},{"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":"crates/swc_ecma_lexer/src/common/parser/jsx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69451ec1a1465f34bd7023430ebd39ec99e4879c1255c84a574344c295c3b9e"}},{"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":"crates/swc_common/src/rustc_data_structures/stable_hasher.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77deae63911a305d652d0913a3160bdc2d9b2cf99693d30fd6faa89066b389e6"}},{"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":"crates/ast_node/src/enum_deserialize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfeb61e50cd187e45e7bc2d033e66a575d655a85bbed10d9c89696fbb5da755d"}},{"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":"crates/swc_ecma_lexer/src/common/lexer/token.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e5b084aced577e965b58d1f9a603de54fbdc701d3d96b91ab931d009a215e1"}},{"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":"crates/jsdoc/src/ast.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dd8a7ae9b80324cf7afa6512308104df0fa27e8274ed564e60f4ab03c18c16"}},{"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":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"588d954cd8785ac8042ae5e1664162f77661ca418ab7d81e4a79ea8e9632e419"}},{"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":"crates/swc_ecma_compat_es2015/src/computed_props.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d50581e9717e003452dfd454cfc92f37d63e1d2f85d48dc9c8ab1ee9fe0a3aa"}},{"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":"crates/swc_ecma_transforms_proposal/src/decorators/legacy/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3c02dac540890a2f207cc81a0537209a22009cced95077ef706b84fbb1fef5"}},{"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":"crates/swc_css_minifier/src/compressor/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2824a45289c3d756538e21ce469d75f4d7e7afbb0e3359998f7f997c784cf4"}},{"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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18319037f28ec175feff8c803205973f69939a6622559b1a73c73209240d9b89"}},{"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":"crates/swc_ecma_ast/src/module_decl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e271db9d08a3614aef47f5edd820c1ae0b7dd2f78c2a0d6f87fe44a0d134540"}},{"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":"crates/swc_css_parser/src/parser/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0470da659dbe8535e189099bf160c8ffd673a38793cd7fb542796f0f9c402ce"}},{"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":"crates/swc_ecma_ast/src/class.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9370467be362ca18bb178b4e9f584a1a64301020c95da6ccbfad19613687073a"}},{"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":"crates/swc_ecma_transforms_base/src/native.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf976eab5d3c728413139dbd0c5c8011d4b652ee0869454d0da2078ffb82568"}},{"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":"crates/swc_bundler/src/bundler/chunk/cjs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09396cde271f9d99902d40e91c86dcf743c19d45d205a0062c28b60026d5d8f4"}},{"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":"crates/swc_xml_codegen/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"137cc5c6152774c83532a2ed8ff601791bda86e66562eb24e9bd368e2cd7a2c0"}},{"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":"crates/swc_bundler/src/bundler/chunk/computed_key.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e009a1f92610efac0d0716a8ed43527fe8c59dfa8643a2e4f44a4359f1c184a8"}},{"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":"crates/swc_ecma_lints/src/rules/no_empty_function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85979a41876af9db47d90def11c308398883c9adfb7bad7182098b5f1362a098"}},{"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":"crates/swc_ecma_codegen/src/module_decls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aabc4d9287c631f2f7281e9d75fe88693899edcec92f14481ce25f0e50c9c6"}},{"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":"crates/swc_css_ast/src/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3d56cb4e378cfc9a2f3adef4dea61b14fa0619ef28e6fc6608a4934e49041e"}},{"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":"crates/swc_common/src/errors/diagnostic_builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0af9924505d1c9f7af2652169fb493c0a2828e188ac4adaee749cd5df8d2a5"}},{"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":"crates/swc_bundler/src/bundler/export.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8388acf52544c955b7f1e21b33aa81b9dca2c88238d79d400e0af81761ae3daa"}},{"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":"crates/swc_ecma_minifier/src/compress/pure/conds.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca45e26bc56d6b2780c81cc465849f72b665d24a63738c98f247258cc368a77"}},{"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":"crates/swc_node_bundler/src/loaders/swc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc20d1f961f5c4f7098308513113244dd818882f6767c4a2b9d737464e4f08c5"}},{"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":"crates/swc_css_compat/src/compiler/nesting.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6cf8fb6a05df2adaadd0e74af59e39437b4b05d22773922e0dc61decc29584"}},{"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":"crates/swc_ecma_lexer/src/lexer/number.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb598ec3791afa1899d0197d188dd6194c8105bd8e3a05e7b413770ceabe2476"}},{"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":"crates/swc_css_utils/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f1216bb6cccd6ad675dfcbf033ae63885d5f6110d0bc0f856dd1b94a4973f"}},{"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":"crates/swc_ecma_lexer/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92aab7d6489f651506c0a4a13fd869f71691da55af333e36292a0ce85277203"}},{"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":"crates/swc_error_reporters/src/diagnostic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87001dda821987f7c67212eb828d9a83ae066047035cf60d85e371572434b95a"}},{"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":"crates/swc_bundler/src/modules/sort/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c502f5c04921408240d85c61e6085d3e5ac2fc04d29bf9be782f0d52aae24ea9"}},{"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":"crates/swc_estree_ast/src/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e86adc66c7c4acdc444cf14e7e82dc2bbb3230eaa981e009d3eb4320bd1dba"}},{"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":"crates/swc_estree_compat/benches/assets/AjaxObservable.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97582cffbff231722e0b73d412e3e5d8337534606dc9c2548aed245fa828c597"}},{"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":"crates/swc_ecma_transforms_base/benches/assets/AjaxObservable.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b896b727d09d93ba358583af5cac7a042b77e4bda0e7f9093646671add353ed"}},{"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":"crates/swc_ecma_transforms_typescript/benches/assets/AjaxObservable.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ee55e1e3eb61ea8d3e196ee19f0361b6e3cd0e3be41c71c8d619fe08b70123"}},{"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":"crates/swc_estree_compat/src/babelify/stmt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"728ea295514d5f153b47ec8ca337daba8324442e3b2575c6ed892ba32116f33f"}},{"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":"crates/swc_css_ast/src/selector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d339f788d7c80029b258ea865de57eef747bd723be6e22c9d296a38ce6d3ed11"}},{"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":"crates/swc_plugin_runner/src/imported_fn/comments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a268d2489a35b7cecf76efbf64fc63f4e58276fa7044d2aaabd84fcc685c36a"}},{"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":"crates/string_enum/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"965e567bd27433915d7168815092acf05b5d275c032dbd45e0fbaa831930056f"}},{"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":"crates/swc_estree_ast/src/lit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c70a0a5be59e9aae345fa9222438c4c83a175b4eed179d6e39c9724ebf49e05"}},{"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":"crates/swc_ecma_lints/src/rules/prefer_const.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87796785e17d746ce20801344201d20fecc0558793ef497ec9b30f1e712fccb"}},{"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":"bindings/binding_react_compiler_node/src/diagnostics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdbb154c1d25129c1671f104698bc1c147f0fe4d0408d4ffd6a06a85d6926d2"}},{"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":"crates/swc_ecma_lints/src/rules/constructor_super.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"140102a6877a0f88add09e3be59d7945bf4b9c68fa70edf56cfb2b4b6803b83f"}},{"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":"crates/swc_css_minifier/src/compressor/selector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fd9df9d9ba1ad69020e9ef71b9fab15649cb9fbc98fc7f622cd1ae5d9a5510"}},{"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":"crates/swc_plugin_runner/src/cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81233dbaf1d1a97027ac74658766c3332624433b62195ca7fc919bdb5cd3d621"}},{"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":"crates/swc_ecma_preset_env/src/corejs2/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b784f486b66bd456aeb900860a52743134a3041885012a20ef996dfb650657"}},{"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":"crates/swc_estree_compat/src/babelify/jsx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f732a36d5e1e159e37c1850c5244534adf02994e2728a90bc459f6a6f0aa1080"}},{"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":"crates/swc_css_minifier/src/compressor/supports.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3146e3ef885f07478d6e88fcbd329fc4a8b229d2182eac4f6b4452e088bd4c9e"}},{"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":"crates/swc_ecma_ast/src/list.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95a685807fd661a22b33d4ab4d53883b2c5bee332ebba75102eb9c96b6fd26e"}},{"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":"crates/swc_css_minifier/src/compressor/length.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb0dd4cb3cfd1a5dd64121b43fe4b4b67cf143aaafa55132a005dae5c2cf6aa"}},{"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":"tools/swc-releaser/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21600f9abb256e99ff38034130b98e4ac2544de437ca7b9cb0580328910b6ce9"}},{"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":"crates/swc_ecma_ast/src/jsx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28ee63e0d86a0b554876e201df09a8b2a8fea3a9016d126a8d3d4bc06b55930"}},{"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":"crates/swc_common/src/syntax_pos/analyze_source_file.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa491dc56803b2918baa3a66dd6dad7a8c9295587609cb334607fe08b7abc2d"}},{"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":"crates/swc_ecma_lints/src/rules/no_param_reassign.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5752c1056ab864de024e3adfdc049f4cd485dae8f23785f5e1f856d7723d9fb7"}},{"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":"bindings/binding_core_node/src/bundle.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a06eb14d7e09ae3430a55775c6d90f023190579d558c0da196aa4e9d68e1784"}},{"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":"crates/swc_css_ast/src/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcc41b6c353faed52fe1686f799f25d9476df3f713be066a488c9f9b2aff78d"}},{"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":"crates/swc_plugin_proxy/src/source_map/plugin_source_map_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f8bccec9e1e97b59a43012bef01f394d28d44543f7f62dd3d4cf249699cdb3"}},{"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":"crates/dbg-swc/src/es/minifier/next/check_size.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d610eb0f3615d9f6cf08ac0a2d1fb6108c4aa4a0c23751f3503183d6106edf3"}},{"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":"crates/swc_plugin_proxy/src/comments/plugin_comments_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef017e13fd9f8be056f2f4e50794fd170b86181c0523f69366fa00ff7cccafd"}},{"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":"crates/swc_ecma_lints/src/rules/no_loop_func.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac71bb58b0ede046de7999dd12a32fc88d88d02926379effe1bd97d095ecbc"}},{"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":"crates/swc_bundler/src/modules/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8826abaf1564dfb73e20a8496aa4e71545cf6ac520a3d20b344cdb7e5d58792c"}},{"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":"bindings/binding_minifier_node/src/minify.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf7136eb6a323b5dd20b10fd02516004cf1d515b554fcdb1509b3887fd84f7a"}},{"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":"crates/swc_ecma_minifier/src/compress/optimize/bools.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"319033664dba17e85772981fec03ae57ab97d65e747bdba76549a7b890e2807f"}},{"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":"crates/swc_css_compat/src/compiler/media_query_ranges.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3748f490165693981399f14927aac537b8c1eb0e2fd33ebdede89a130fc84802"}},{"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":"crates/swc_macros_common/src/binder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5344409f228a3634d1bef26f36914e54e98c97e2f5cebc61b4c9ea798a9e5632"}},{"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":"crates/swc_ecma_transforms_testing/src/babel_like.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91481d3f898b4e33e38fdcc483af384c93ad6eed8ff12a160a00b273c64d2f49"}},{"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":"crates/swc_ecma_compat_es2015/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb8d112dd050342e50f614a0d6099bce449e9ca7351a51bd7517cdf7feee29c"}},{"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":"crates/swc_ecma_lints/src/rules/radix.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88da246f9bbdf047935c3d08b531482b701c3b616edfc207d06151b22c4f8004"}},{"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":"crates/swc_common/src/sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2724ff03bede3fe366cc63717189138e46cb5edc11ce3932313a2b437ed5fc7"}},{"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":"crates/swc_xml_parser/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a23b06c376f21f911278411c97fee37df6e70f2e138d88f33cd83598460e8df"}},{"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":"crates/swc_estree_ast/src/object.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e842b81dc18b751f97afb20fa59f91f788a5c6a33ede012aad2cb3edb25e52"}},{"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":"crates/swc_estree_ast/src/decl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cbcdac7a415b292d1a6db60a5896b4916c77d92915673c85b03b61941fe3c0"}},{"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":"crates/swc_ecma_codegen/src/object.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"656d7fdd8bef3dcae014f58700fdc0c17fb9a3d4991f48b5b1661982de5c0469"}},{"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":"crates/dbg-swc/src/es/minifier/ensure_size.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e2f1c37e74b271d372ed91bc70991e7914060864045fc92b0315a01c05d64d"}},{"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":"crates/swc_ecma_lexer/src/parser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44d53527f9273614ae059ff49ac4aa3424dbf5e432204e05252364589b79a57"}},{"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":"crates/swc_html_minifier/src/option.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dab711489d448708acf0aabec57ae5bcd532453906365f204b14c14d734821b"}},{"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":"crates/swc_ecma_preset_env/src/corejs3/usage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7973f208507906f3907f90115ee96ab635d624e6d632b755b78df05454c434e"}},{"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":"bindings/binding_react_compiler_node/src/lint.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaa56a3f9373b09b09d7b74583064d3954b4b14c8ce0082bb4116f5e12888ce"}},{"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":"crates/swc_estree_ast/src/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c2d711669431c0ac6520b7c3d40bbdd22199a785f63f7e3b196a94c29b82d2"}},{"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":"crates/swc_ecma_compat_bugfixes/src/safari_id_destructuring_collision_in_function_expression.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b90d615a05c1bd96f98eb87b820f9f85fddd10a0f45eeab2aef71c544e3c5db"}},{"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":"crates/swc_eq_ignore_macros/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769de53fbedf09650e2d36aa53ed9b083644d37f47fe36a0095a5808a073f14a"}},{"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":"crates/swc_ecma_lexer/src/common/lexer/whitespace.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7c52c363d902ebaa0b83a5454c27c87fb30d4e586315e5a7ee49635b94e877"}},{"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":"crates/swc_ecma_minifier/src/compress/util/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"299c4ca10bdb37aaa15445bfa108f13cee2a9eb6069e9e2ba902a5f9977a5d09"}},{"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":"crates/swc_ecma_parser/src/jsx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71b92e2ed0943d9b8d0c1f5a4d92ad89b0402dc931a4782ad4fa5b0bf6463c2"}},{"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":"crates/swc_css_compat/src/compiler/color_hwb.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"627cc315d76ba91e2dea2c9d7a396b5d880f49d5e4a5d4b6d39522ad4b35036e"}},{"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":"crates/swc_ecma_minifier/src/util/base54.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2459cf40b4374bd97684e80c73fd8eae996c634504e8881b9ce0a3f7b5a3d8d9"}},{"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":"crates/swc_ecma_lints/src/rules/no_use_before_define.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a4ed6a1205617b6614e44a85c5ac68ea417dc192b8b96f58326bb99427e7fc"}},{"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":"crates/swc_estree_compat/src/babelify/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ba8be27dc50543e38b316affeecc845a3618413c7afbeffcbddf9d4b6e1202"}},{"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":"crates/swc_ecma_lexer/src/common/parser/ident.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23b0b53ad5c52f43b9556eefafc6b696a830cef7914b3006e6bda2c08cdb7ec"}},{"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":"crates/swc_ecma_lexer/src/common/parser/buffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe0ff570ddefe0e8429d9c3b339f106fc654e966cd0600f5c1a441417df3c34"}},{"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":"crates/swc_bundler/src/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fb2fc5f4052db67145e10f31b204fa8a5e4b5e4359ec70307abb27e1202d24"}},{"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":"crates/swc_ecma_codegen/src/decl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f3e0acc0d0cc7b59cc3b12f9104379fa3a2ec32abd6550b9b7cc5ed905375e"}},{"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":"crates/swc_ecma_lints/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"888ad6a0e1cbadc20bc85fccf5654bbfddb5530fa3c3c168873ed66646afec0d"}},{"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":"crates/swc_plugin_runner/src/imported_fn/source_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6725ce272b7d000d58c353c6b0d3f5b67ed9d67c954752e585cdfb7baf6b4b"}},{"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":"crates/swc_bundler/src/modules/sort/chunk.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd8aefc9d626c67a8858aa129d79ac3f692fb66f60c37ed115f59f4560af8a5"}},{"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":"crates/swc/src/wasm_analysis.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f83d24b72bac6c82fad1b007df6fe28c68f2b5643e826a849da137a12607db"}},{"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":"crates/swc_ecma_codegen/src/expr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84adf19478d5012fe9147f9bf004fe0a48c9e333b2e47b058e5248462faf730"}},{"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":"crates/swc_atoms/src/wtf8_atom.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6caeeb8530fc0e6aac494e6b1ce250bed30c01368550e9599d05ee5e000c583"}},{"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":"crates/testing/src/output.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ea78090df35b815ed55d29a7ed8287bd751b98bef3b4e391779764ab808ef7"}},{"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":"crates/swc_estree_ast/src/jsx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8692f40c54867120ddce30ba305f302536e7b6621b78eb8cd163206f037d77cf"}},{"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":"crates/swc_common/src/eq.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba193fd109b2bbcfb49899e7d2c213e726d4dfb99450850202318c2868f83594"}},{"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":"crates/swc_ecma_transforms_react/src/display_name.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8491202569a894729ea33215d220a347458803d32bcd7b0d360dfba3bbe273"}},{"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":"crates/swc_ecma_lints/src/rules/prefer_regex_literals.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed83ee396667750162f7d7baa1a2e34c28cdcc03ef1ba43c69d1cd9972c53e"}},{"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":"crates/swc_ecma_transforms_base/src/perf.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ece898f5e904f90de659cbbfa634cc3ec3cf0b60caa6181740eeb660910ea"}},{"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":"crates/swc_ecma_transforms_base/src/rename/analyzer/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"820947ac9fe9d455d4bbc18b18bb29454eb9ebc26eeb6fcde90d65f88a67d429"}},{"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":"crates/swc_ecma_lints/src/rules/no_alert.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8058ed77f5c655f1e3211f047291334602c810200b782cb3e2595ad89eea01aa"}},{"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":"crates/swc_css_compat/src/compiler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ac6883534de614ad406a67cd71414dcaa0babd568b7b32984529a3d4d5c92e"}},{"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":"crates/swc_ecma_lints/src/rules/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63152c301b4fcd774658bf0fd2703857198db7046265c6329b791cb43c9c1a2"}},{"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":"crates/swc_ecma_ast/src/decl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1746de65a07aa6bf86184b249b4a7594c2b7022f9959d8dc576568df5dcd0be6"}},{"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":"crates/swc_css_ast/src/token.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"737c7633f2297d92dc87c5ec7218364f3fd9af10ad00395ce5a1b1c40f268cec"}},{"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":"crates/ast_node/src/spanned.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298faf54335a267dbb74207ebf58f2c582fa9ea24f754aeedf14e901592e3f19"}},{"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":"crates/swc_css_codegen/src/writer/basic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f487987edfe3bf1e58c32123e63ff7980abf589f5320cac73478e297ba46171"}},{"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":"crates/swc_ecma_lints/src/rules/use_is_nan.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2c370d89cd14c875fab2599f388942bbd2d5e5e78f307d51b4a94e63cad81"}},{"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":"crates/swc_ecma_ast/src/pat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ec552f0f3d6adf93c2e0566e02d3d460f20b09b598dd7f6274632fcb68d02e"}},{"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":"crates/swc_common/src/errors/snippet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"893565feaaf4095849a386a97465994e9d1a5c1e0ebbfaf84f7205a5bb458c15"}},{"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":"crates/swc_html_codegen/src/writer/basic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"672e8e342af8a43e144296db144cf17941289b74146138c5ceff6709affe9560"}},{"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":"crates/swc_xml_codegen/src/writer/basic.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e43e97af1830908d5802a4886c05e9f4858bfdce556956bd6562d31fd91b227"}},{"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":"crates/swc_ecma_transforms_base/src/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89985e5a7b2c0a324966be8b647f0f5c45f8da27c4d8f0ea21b4a5f680e7953"}},{"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":"crates/swc_error_reporters/src/handler.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1f8c3fa8817a7728cf1c2fd207fa76196faa2af45f1c7ebde31adcfab98e3a"}},{"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":"crates/swc_css_lints/src/rules/font_family_no_duplicate_names.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6934fe9d20bd4c2305ed3835083e5fc20b09a9b646b8da352f5afee96bf5d7b"}},{"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":"crates/swc_bundler/src/bundler/chunk/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6651d04598799010ad0911c28b4dddd5d6615d76cc6d3f7457738eba06fd4a"}},{"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":"crates/swc_bundler/src/bundler/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9f4d7a593daa7066f179e30543306d516f7bd0a0a8bd00b677ecdbd899c8c4"}},{"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":"crates/swc_ecma_minifier/src/js.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff23a2fbdcd87b6a8c152b8fc654b2f6a3d4b33d20eda8569207aee2e07b5089"}},{"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":"crates/swc_ecma_lints/src/rules/no_bitwise.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6de313831227345627776936e61410f793773c0691413ee011a29083ba3ea1"}},{"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":"crates/swc_ecma_lints/src/rules/prefer_object_spread.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10100d049ad7e010f881699825aa5d151f4f4a21677b32a7d0ac4c01eb68a2f"}},{"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":"crates/swc_ecma_utils/src/parallel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72869338ff01319dbcb266eef13a32c3c8c7267b03bccea2a0ca5c0e2316dfe7"}},{"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":"crates/swc_estree_compat/src/babelify/operators.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28af83fdc2a37718c4a2e1d5ce3686a8a330fce6d509e65eee6c61ae0ca636c"}},{"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":"crates/preset_env_base/src/version.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d674265346555596ac360f814f2e8221c62fe11d09c7095e774c6b791ebdb"}},{"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":"crates/swc_ecma_transforms_base/src/resolver/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d37030ede9798f45d23219c8a199f895df812a97095f6efb1debd92a4daba3f"}},{"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":"crates/swc_ecma_transforms_macros/src/parallel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ad29e3dfd79e8e0c2da6940acd4be265835bce8d11b323b9333d73e77265d9"}},{"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":"crates/swc_ecma_quote_macros/src/ast/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ec95a1f0a05497b0a57efe4e063941b2d874a41e8f50d7ab894ab8f25458c"}},{"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":"crates/swc_common/src/errors/styled_buffer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"176df08ae0df149a84dc8e0fa7d6b6b2ea5600b2e9c933ec10e748dabc01977f"}},{"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":"crates/swc_ecma_transforms_optimization/src/simplify/const_propagation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d630006cbb4a5db659283126fc705a8984b66c6a94e3eef912b7ff0b90f02"}},{"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":"packages/core/src/postinstall.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3caf900da90031dafb57161994406ce7a0a664c8da7848ab56594d8d5152672"}},{"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":"crates/swc_ecma_ast/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0b03d36a0621537b2f99632e6e8c7ac86c19faa713f86b37619e5e0a1e791"}},{"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":"crates/swc_ecma_minifier/src/compress/pure/properties.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93883ab3cdd87c2de8bbeceaedddcfefdd19c0fbc459080c268aaa299559fdf4"}},{"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":"crates/swc_ecma_ast/src/operators.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d44f1ef856786ceb64f8988518c6070a71cba2d4f6b981f8bd18d33f93758d9"}},{"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":"crates/swc_ecma_lints/src/rules/no_new.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b2aaa2c1a1416cdc855e8cb3fea0a1b7241dfca9c6ebdd51d86afa0f08d3c5"}},{"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":"crates/swc_ecma_lints/src/rules/quotes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f63dc76f7c4cec6ac1a8f80417d868dba380dc71f8d0b136e7f964f4461323"}},{"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":"crates/swc_estree_compat/src/babelify/decl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7648cf5356751d4d3e5be448be70515c4d76304375021cc8892eba2292cb1238"}},{"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":"crates/swc_plugin_proxy/src/metadata/transform_plugin_metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a75629895defe95b08c96341ad760e061648116f1546cdc1b37579846692d4"}},{"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":"crates/swc_plugin_runner/src/imported_fn/metadata_context.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"345c722c6559702600eaba7ea1aff0b37e1f918d43ad10ef880d2696213e18ad"}},{"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":"crates/swc_bundler/src/inline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c9cf289d5fe0c0055b19b33d5f87f5e692808fbc3ac536b6dfbcb4345ec586"}},{"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":"crates/swc_bundler/src/bundler/tests.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fa9797cb0fe7328771c77351269f3b26a08a21eddf1dff68532b88eb261f0a"}},{"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":"crates/swc_ecma_minifier/src/compress/optimize/loops.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"367a96023b306141499f9f5efda7f09ef52d24012a4ba112d08499b43fcbd6ec"}},{"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":"crates/swc_html_ast/src/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67514c0055d708fe71b1fa21b047db754e6905db098c8c937c28288b0e637b9"}},{"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":"crates/swc/src/dropped_comments_preserver.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41df0574e08a4e02ba73334466dfe90e1bb8a8a767cfa39ccbb60851ff3d403"}},{"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":"crates/swc_ecma_ast/src/prop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5b9b765e07db482198f41383c492cd2d396ffb27f51e43fb30ed16e2ccd2a1"}},{"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":"crates/swc_ecma_lints/src/rules/no_prototype_builtins.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ca91d0118cc4b0538778590b44c5d9aa20d02f7259faf964c3a1ced3b841e7"}},{"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":"crates/swc_html_parser/src/parser/active_formatting_element_stack.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c982dbc8a1863a91154f72caff67b5b07d503587c71a705a58417c2425ed55"}},{"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":"crates/swc_ecma_compat_common/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85874365a7a105f055fbac35a6d468da560d112fa7d2d880dd11f7169c66f9c"}},{"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":"crates/swc_estree_compat/src/babelify/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fbaa74978f4ed72cf08bcec9328b0bf45cc55dc6751c1ae857d103f1b4c7e5"}},{"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":"crates/swc_css_parser/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ded0011e1543ca2a884d4e49325d34ba950f221ded3220387ae0fbcb5d4ea8"}},{"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":"crates/swc_ecma_lints/src/rules/no_restricted_syntax.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edea0ea65ad8d97b35daa57cf38dc6788a5df996a6c0b27d77b088bb4a57361"}},{"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":"crates/swc_bundler/src/bundler/keywords.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89082c8f90899499742e4cbbeb3f653087056f00793d0574e6e8aef92b1666a"}},{"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":"crates/dbg-swc/src/es/minifier/reduce.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f92bab53f98a29048162863289ab86f5594047ea89f488c0fa783e6617c6a"}},{"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":"crates/swc_node_comments/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64dd15456041543e29b987f62ea349e4eeda1e5eb2c65cea27908ea9849d279"}},{"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":"crates/swc_ecma_quote_macros/src/ctxt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef0ab68e2493fa40a1d2433366e907c1e740cc181f926658aa1f52e0ff0bdd5"}},{"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":"crates/swc_config/src/source_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffbe62018204e3725aad51d881775a465148c25267bcecd81af86b0c1bc1cf3"}},{"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":"crates/swc_allocator/src/allocators/arena.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1cd990bed0eb4ed59bbefe91010933eb9a134067213a3400479234289231c8"}},{"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":"crates/swc_ecma_lexer/src/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa5754e761a107143202a64e86873ed8ab6584a0928cdfe851437526c6adb78"}},{"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":"bindings/binding_core_node/src/minify.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5178238903aa7983c48b12912ddd639e9ccdd5bf75ccbd0ef8231b5ef28d70"}},{"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":"crates/swc_ecma_utils/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d07d2d1336e5e6111d5b84d91f29d3cb6268ece2bc57eb4a4bf4b226040306"}},{"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":"crates/hstr/src/tagged_value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45ba1de1d23d399d8a679e990f4b71cfdf2d2526dbbedf3d5ea0041e5f92954"}},{"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":"crates/swc_common/src/errors/lock.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dd78bda97180171a06bc1c33938af0d79428b53aab191faeee5723088804b8"}},{"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":"xtask/src/util/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ebf906ab0138fa6a8cdde826e217d0ebe9658f6994714b93746ecb7f952299"}},{"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":"crates/dbg-swc/src/util/minifier.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe0b5fc1cd5cdfd575d28bbd8dcefca95a68929150f04d7ff7c190733a45b2d"}},{"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":"crates/swc_ecma_ext_transforms/src/jest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"594df65df657c714db5065ad44971e3fd90170d67f01bd5c3ada34d464da5a32"}},{"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":"crates/swc_xml_ast/src/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77046da15b4d341ff96ca136fcb95d9e7fca981d25bf13cf9be71637d0eea08"}},{"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":"crates/swc_ecma_transforms_base/src/assumptions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bcb72945a67ecd7a9f45dbff08c31066be3464d63e46b2f9123cb51e38d61c"}},{"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":"crates/swc_estree_compat/src/swcify/typescript.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97b035af621088ae31e46c7125016aa3739cc618a2089d6081403938c6aab8a"}},{"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":"crates/swc_ecma_codegen/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc704a61b4c6296d62ab26ddb37119d2c547d461a135d11fed6b200c70b7aa01"}},{"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":"crates/swc_ecma_transforms_macros/src/fast.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"790a3d13daf463e08ba522c8548655f6327e452ca76c853462abedd3594f44af"}},{"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":"crates/swc_ecma_lints/src/rules/no_await_in_loop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca77c5aac26bb3e334a59d4d7097e3386c0e6de929cf5981abb3c991533329db"}},{"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":"crates/swc_ecma_minifier/src/usage_analyzer/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c15da14f85aa326c92d3e52ca93225a30b2791b8cef9c4479c76e7353fefe24"}},{"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":"crates/swc_estree_compat/src/babelify/function.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"180bdd343a7e064ca40e45be8f438a9a21e53c5a4b9d50db336e4eabaca8d1c5"}},{"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":"crates/swc_plugin_runner/src/runtime.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f762bf5efa30f200fb6de0a974447a7c488f227f650db3cfa01e70a6dc82fd"}},{"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":"crates/swc_common/src/pos.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ce554a1e8a7bf6000325c56ddb552afefbc5c9055b907adf412f4afbfa2d9a"}},{"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":"crates/swc/benches/assets/UserSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"208bfa2480fe445f44ce80c46406d0e0851fd54df0e458f6c74cbdb77f978c87"}},{"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":"crates/swc_ecma_lints/src/rules/valid_typeof.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0f5bbb6660558dd63076eb254b35d24332ebbd1b1c00dc0c86b39307c7ec00"}},{"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":"crates/preset_env_base/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7f20d11d8ea4d9020c1ec6fa9cb99d4bf7217e0c739d0aa0b830355a4bae58"}},{"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":"crates/swc_error_reporters/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecfe67398061de9d059a908aa41a721a3f3f60f708ba58a00eb6f03bb894fa6"}},{"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":"crates/swc_ecma_lints/src/rules/no_cond_assign.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86052ca16f316667dd2d166015c1fe416581c6762acd41d82bbf893a54ce11ff"}},{"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":"crates/dbg-swc/src/util/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03476c6fef1f998ae08e49072b2758c50abe28a4dcb4d85f47695fa7ca2e586d"}},{"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":"crates/swc_css_lints/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2433820b1672cdd6aafa31307aa3360167eba7496c31544169752a4c326115f5"}},{"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":"crates/swc_macros_common/src/derive/generics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd65bbb27865bc8a3b6febeb9e9793fc2e93a8bcbb2012557c6b0a20bab80cd"}},{"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":"crates/swc_common/src/plugin/metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b331225798eccf71937d38d71617399a8f71071f52d3a29338e6b636d4ac0b82"}},{"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":"crates/swc_ecma_lints/src/rules/dot_notation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e559db5d8b5b9fc9b36a72fc5fb79be4829123e2927469f03efc3a74b4f25df"}},{"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":"crates/swc_ecma_lints/src/rules/yoda.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2bf0139522f64cd9703cab925c5b6f70b84e057863ef22457c43799b092833"}},{"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":"crates/swc_css_lints/src/rule.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dc848377e878e402f634ab727cce41c23236c2320e5c41dc7992a4b7ec7f9c"}},{"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":"crates/swc_ecma_quote_macros/src/ast/expr.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f77852ff9bbdc9e40c670863b602dd737c7c7043f7e264ed6a7a246fe41f8a7"}},{"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":"crates/swc_ecma_lints/src/rules/no_throw_literal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe0b7fc5778b334d94cf1ba3f4f0f1d1e845df8323eb5854c91c2090ca16cad"}},{"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":"crates/swc_css_compat/src/compiler/legacy_rgb_and_hsl.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d05fd119e14ddde324a15f0691b87aee3d7b5f9fbde20037c22c4f9ac16643"}},{"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":"crates/swc_ecma_codegen/src/comments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"473a4cc80de5c9693477ef3a005f601f57a0f3fbc8fdaaf4c9255c02263bd0c1"}},{"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":"crates/swc_css_parser/src/parser/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee60447f0cf8fd71d7e30d774f04314a2c60531227aeceea1887267764bd828"}},{"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":"crates/swc_plugin_runner/src/imported_fn/hygiene.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75aa9bf27732e0c90ac7a545d51623a90630dc4e54dbd8c2479db60b806e373"}},{"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":"crates/swc_ecma_lints/src/rule.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9063091d2806886fe78e3fe07c42e5057862145c64c75ca76df41d95dbeea0e"}},{"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":"crates/swc_macros_common/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa40171df33fe4a8ba733bd2acc0d51623c5e08315a3904fe5effbd6a9e3ee6"}},{"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":"crates/swc_ecma_codegen/src/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cac4edafc039fd323c469151be37050f003837435335063cb2c83369a3e83b5"}},{"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":"crates/swc_ecma_preset_env/src/corejs2/entry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d599ed39c7919e8770a32a7bf54c5edf608c8b25191e89542fde909452b9e8a3"}},{"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":"crates/swc_css_compat/src/compiler/color_hex_alpha.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e889f9f7e153a1779544957ed9ad5cef4ea8e576547a4d80bf6a30de4e40503"}},{"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":"crates/swc_plugin_runner/src/memory_interop.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70fb569c762da8eb98ab8c320102e5479e4262e165035dab97420f7505f3cd0"}},{"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":"crates/swc_css_parser/src/parser/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff8ec0fceeb3b0c4d8f260fd144ce71ab3f9d4defc02e3c622f35bf68326366"}},{"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":"crates/swc_ts_fast_strip/benches/assets/test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"553e34fa851babd46118d2545fc22c9f3551454bc3211987036e7f9a1aac1534"}},{"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":"crates/swc_ecma_ast/src/module.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daabe8dd2f7bc8117dd87fc6ffd88a01c3c151985801c4ea2ed498c4fda898d4"}},{"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":"crates/swc_html_ast/src/token.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c512c5eef82b77e5da6ef3a2d838f9c53d75a7c43f1fe46e704d7f4de1f822"}},{"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":"crates/swc_ecma_lints/src/rules/default_param_last.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d30994d9c43719f658cf17e9d087026eb31c9a787f99b21baf9134307f9c53"}},{"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":"crates/swc_ecma_lints/src/rules/symbol_description.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c9681e688f42182a6211d3115cd5356dc91c80cbcce6e150f9b6c639287452"}},{"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":"crates/swc_ecma_preset_env/src/corejs3/builtin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d6b63bb03bbcdb4fb355171b55d6fc9568326b0e1315bb34d44a4195c30a44"}},{"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":"crates/swc_css_minifier/src/compressor/math/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"009626a85de7a414c191f7c6d3c31996dfefd55bbc7888f95ea21732248ecdac"}},{"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":"crates/swc_node_bundler/src/v1/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7caf0906f1cc142fcb7ee30777284fe2b6e6783353c8f42f66d95eb3918c45"}},{"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":"crates/swc_ecma_lexer/src/common/lexer/number.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4785ebbf37be82c2a0ed481e7c6e86cb119039d481b216e88a53b476e03fb11"}},{"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":"crates/swc_graph_analyzer/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d913eb15005b1c8c38f54be17601fad1ab4d8e77efc289ab85d1ee94c190ba"}},{"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":"packages/core/src/util.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec38c88681a7e714fc802bbcdd68e89cf45e28dd327d06a371a5a2642613d87"}},{"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":"crates/swc_ecma_minifier/fuzz/fuzz_targets/bug.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8250676194984d43b5c3d3a9587f7422aecd51ae6af67743364eaee5d0c43c6"}},{"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":"crates/swc_ecma_quote/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"606854649e9893b904185e295344bc13238a1a99d6872de7c408d32736ed11bd"}},{"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":"crates/swc_css_lints/src/rules/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd6bcaa67b2f6e394cc60f53b43c0c9eb0224b6241fd33043b2d18a1e9e79c1"}},{"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":"crates/swc_bundler/src/hash.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f49e250b0b9de1fc311866f14dfe2fbeec12d4631cecb74fd5e9d9239e7914e"}},{"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":"crates/swc_macros_common/src/derive.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2fa8b67dbf5da8b4c352d45d6e4f1dd6e897f21e0ed91a051b174c74b5fdb2"}},{"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":"crates/swc_css_lints/src/rules/no_duplicate_at_import_rules.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"397052a614c69daad4de775e1ad4be80cc39d9ac71214ea725ba4b3c31f5eabd"}},{"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":"crates/swc_ecma_lints/src/rules/no_console.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bee678b0c2e4eb3a29243bc5c5171295479d475d08f1c74ce3b158eda34d265"}},{"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":"crates/swc_ecma_lexer/src/common/parser/output_type.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3571d0f0c8f78745b11427c5c6bd09f69bbfa41a0a11faa005f7bcb04d650efd"}},{"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":"crates/swc_ecma_compat_es2022/src/class_properties/class_name_tdz.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ff0e39294a754b61e9143400af19f2d3c5a8f0c225017f8e73086bfd156839"}},{"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":"crates/swc_bundler/src/id.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05535841a9710f22f67e470f4300e4755f1499c04c209d038ae6745a8ae43289"}},{"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":"crates/swc_ecma_preset_env/src/corejs3/entry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d8de3e25b4b513124f99e080ff55f2c0b42e49a384075d0a97d2c7dfe02e81"}},{"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":"crates/swc_plugin_runner/src/plugin_module_bytes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c806a28d681442433818dfe48b513fa884014fa38e3e8ac9db2ec69a6b6de9"}},{"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":"crates/swc_bundler/src/modules/sort/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e1bff349c333a52f532e34aab45205afb69fb9860ffa98c2656a9f8c392ad4"}},{"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":"crates/swc_ecma_transforms_base/src/hygiene/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99ce684ef76a7d62e613f3f0e1a3fb4ec71bdc49fb3df020db9090985977f13"}},{"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":"crates/swc_plugin/src/allocation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f900c985b6aef82040905a8869110d66c805e64f889f8fc86a98adf00fb11267"}},{"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":"crates/swc_xml_ast/src/token.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"763494d71dbf24ad10901fb64b3522decfb140042d36b4400c6f02dfac7440b8"}},{"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":"crates/swc_visit/src/util/move_map.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e6050cc84bb7268cd9f9904c41a3e6321e1e26198d8ee1bb517937615f23b6"}},{"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":"crates/swc_ecma_utils/src/value.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"205814449ccb7bbbad9995b6ced3b5d52c1bd4ded89308a10c16c9e6cc4748fb"}},{"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":"crates/swc_ecma_lexer/src/common/parser/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc731336ff37c4caf5064281c8a0831c03065058d9664613a7853d6f28b5b77"}},{"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":"crates/swc_ecma_lexer/src/common/lexer/state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0999eb43aaf0cf58dd103322a4f8a62626070c9c90d3d02b5782fa4629fe5bc3"}},{"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":"crates/swc_ecma_lexer/src/common/parser/expr_ext.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baecd7ca84358d9e3895a534a1b8a97f26c67aa4561db619954732ccd229d42c"}},{"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":"crates/swc_ecma_transforms_module/src/umd/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4f38419b2202b653af920191d280877a2faa0abae371d8eed27da76c3545a6"}},{"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":"crates/swc_bundler/src/bundler/scope.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1be2b3ca3e32770779d0b48a5e0a61f006aa56ba8df841093de46d1390b5c93"}},{"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":"crates/swc_config/src/regex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5699fe76011d34253744794e7f5610fd2b11a51e924a0b3fda87199831c7e4"}},{"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":"crates/swc_ecma_transforms_module/src/rewriter/import_rewriter_swc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cb1bc644fa0afc666aeb5ef5392b20654214fbc4e3b39fc250cf98777749c5"}},{"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":"crates/swc_ecma_codegen_macros/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b07a90f0f51e35ab3392f59bf5560c7fcb80ee3ee2ff7a9faacc9a05e63ed9"}},{"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":"crates/better_scoped_tls/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c84cf194e3911a7df4f916b813c419044100f730a42879a41aee01147fc855"}},{"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":"xtask/src/bench.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17954567b868fa8d15562c87c28a5126ce1e0a1afce217c62cc7fec21511f596"}},{"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":"crates/swc_ecma_lints/src/rules/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"082ef9addd8e9da24ad25acf68f0996006420e945524e3806de8b37d4a66fd3b"}},{"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":"crates/swc_ecma_lexer/src/common/parser/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"767d537057d90cb8439b5b9a39351381f5e84c3abd79a23369a62060da156053"}},{"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":"crates/swc_common/src/serializer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e44f65e97ddda9f49280d77eb93202894b2015ba5d511091f9e25286ef09cf"}},{"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":"packages/types/assumptions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b201bf93f0b237595765b4ea414a304be4a9c98fe5d1a9184138a42aec7c3a2"}},{"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":"crates/swc_css_parser/src/macros.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"101b9fffc9cf4b8790aa0f6ab87143a4b13ab8d668cc824b259863cefbbeaf26"}},{"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":"crates/swc_ecma_lints/src/rules/eqeqeq.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c5fb08f8ca80226fc0e9e8a5b8d0e2520fa639bebee2b64febe4711543438d"}},{"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":"tools/generate-code/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca6ac4a75ea453953d57291ef5e377ce3332d2a8813e344ab34802ccfb95672"}},{"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":"crates/from_variant/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f702fc6edaeeda9d290d02647c490dcc840ea460a8245e1902f8d572b84f31"}},{"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":"crates/swc_macros_common/src/syn_ext.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79fe7a9217532a3d17df2df2a2f3ca0f829c845bd1759c11a8a21fb5600b20b"}},{"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":"crates/swc_common/src/pass.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"038668ba1dd7a0743f3745f95e6cad912001c433fd9c447733dc53c78a309038"}},{"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":"crates/swc_ecma_compat_es2016/src/exponentiation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48af28431356d726110b1c228ed94341dc9b955637f197ea37a14c7346a3ea29"}},{"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":"crates/swc_estree_ast/src/pat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdace65fe1ccda9dbc95384c75eb571ba11d2c817583271acbdd1d6a9c21323b"}},{"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":"crates/swc_ecma_minifier/src/pass/mangle_names/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d68854855efda5fc1f6f1fc0b491473eeec28f97739dc39a8612bd38893e07"}},{"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":"bindings/binding_core_wasm/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6290d7f5e57f64cbc58af6c7654a1d6a394f007508904b5f8e48358bbb9a477a"}},{"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":"crates/swc_core/src/plugin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d52a1fdf98a7ce2146a5aba984121655e7ba3f82c940c40791dc844f216912a"}},{"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":"crates/swc_ecma_lexer/src/common/lexer/char.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc936d2dd5af946fb1088ab385c62e2e7b1fd104541b291abec8a1d3f9606ac0"}},{"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":"crates/swc_html_parser/src/parser/input.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"425130339bb493c2dea118bf6a6a17de2c0a45c4bac11210eb070a70356d955d"}},{"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":"packages/core/src/spack.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"caefe01bb4b5cbab6ced36673b00a3b0281138f638c65b405acecafda00177b0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 hook_utils.rs: \u0060crates/swc_ecma_preset_env/src/lib.rs\u0060 and \u0060crates/swc_ecma_transformer/src/hook_utils.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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060769c9d29\u0060 feat(es/transformer): Merge \u0060private_properties_in_object\u0060 (#11378); \u0060752188ef\u0060 feat(es/transformer): Merge \u0060object_rest_spread\u0060 (#11357); \u006025f3a472\u0060 feat(es/transformer): Merge \u0060async_to_generator\u0060 (#11358) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a092a338a3f221b52288da9e07ebe8f5a6f1ca02d0468aadaea86f0b027100b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sequences.rs \u2194 mod.rs: \u0060crates/swc_ecma_minifier/src/compress/optimize/sequences.rs\u0060 and \u0060crates/swc_ecma_minifier/src/usage_analyzer/alias/mod.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, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \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 \u0060fb9ebeeb\u0060 fix(es/minifier): Make Infect Collect collect every used ident (#11998); \u00601a3a4b93\u0060 perf(es/minifier): Limit infection analysis by the entry size (#10006) (at that commit the file was still \u0060crates/swc_ecma_usage_analyzer/src/alias/mod.rs\u0060); \u006037616c33\u0060 perf(es/minifier): Make analyzer not call \u0060collect_infects_from\u0060 recu\u2026 (at that commit the file was still \u0060crates/swc_ecma_usage_analyzer/src/alias/mod.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/sequences.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ef426926327181b00bd770a278f5e69d21e1ff37a2f299a63304c7a6a7ef85"}},{"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":"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":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D44","level":"warning","message":{"text":"End-of-life runtime: Node.js 20: package.json declares Node.js 20 as this project\u0027s engines.node, and Node.js 20, support ended 2026-04-30. An unsupported runtime receives no security patches, so every vulnerability disclosed in it since 2026-04-30 is present and unfixable without moving off it. This is a migration rather than an upgrade: there is no newer release of a runtime that has ended."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2fac88ecce9222fb97ec1899fb451aa389ee46ee33b9240eab4a62105362ec"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: CONTRIBUTING.md names Node.js 16, but the repository declares engines \u0060\u003E= 20\u0060, engines \u0060\u003E=24\u0060, engines \u0060\u003E=18\u0060, pinned 26. 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":"CONTRIBUTING.md"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe09df08deb1303dbbfb3a87897a46c166913935825a84c8d72a962d801d8cb"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060swc_estree_ast.class\u0060 is marked as implementation by its own namespace, folder or name: \u0060ClassImpl\u0060 (crates/swc_estree_ast/src/class.rs:416, name ends in \u0060Impl\u0060). While it is public, every consumer of the library can bind to it, so changing it is a breaking change for those consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_ast/src/class.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3517c1fd521b23503cfd7f091c4dca4aff0ce8a72fbb79a82fbf4541a82fa9de"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 28/31 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060bindings/swc_cli\u0060, \u0060crates/swc-ast-explorer\u0060, \u0060xtask\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 37 typed \u00B7 127 plain JS \u2014 the untyped files are bindings/binding_core_wasm/__tests__/error.js, bindings/binding_core_wasm/__tests__/simple.js, bindings/binding_es_ast_viewer/__tests__/parse.js, bindings/binding_es_ast_viewer/scripts/package.mjs, bindings/binding_es_ast_viewer/src/es_ast_viewer_node.js, bindings/binding_html_wasm/__tests__/simple.js (\u002B121 more). 0 production file(s) opt out entirely with @ts-nocheck \u00B7 18 @ts-ignore suppression(s)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (45 matched lines \u00D7 2 locations): packages/core/postinstall.js:70 \u00B7 packages/core/src/postinstall.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 281 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"119006dcbfe77ea72df3b24f86daa54d11816a13ab1a3c5317335468832588c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/core/src/index.ts:313 \u00B7 packages/core/src/index.ts:359 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0318df9bd169988b7ffb8c3fadbbef3941e59e45f776406cae7f96b0595ce951"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/core/src/index.ts:389 \u00B7 packages/core/src/index.ts:419 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e2baa651af49db13f3291ab7c0f314604e9ba4f98735e9404a08602bdbfea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): crates/swc/scripts/sync_flow_projects.js:56 \u00B7 crates/swc_ecma_parser/scripts/sync_flow_hermes_metadata.js:11 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/scripts/sync_flow_projects.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfef1b6a86be8ecea1eb3ee2839533b3b92607baaf8bdf8d1f111950f7ec3999"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/src/Visitor.ts:712 \u00B7 packages/core/src/Visitor.ts:1652 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"909eb0a38f386f05aff8d60bf511d45e576515d2c6606ef6c6840774e88ef8d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/core/src/index.ts:295 \u00B7 packages/core/src/index.ts:341 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"87949178ecd4f7e544e5552668c9d6c4f965202bfb871e1ac290e7ed6ba343bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): packages/core/src/Visitor.ts:258 \u00B7 packages/core/src/Visitor.ts:658 \u00B7 packages/core/src/Visitor.ts:833 \u00B7 packages/core/src/Visitor.ts:1507 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"591633bf67ef321b30dbf4979a98b6b11ed96f0a60c85e2380b5b591e2fd6426"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/core/src/Visitor.ts:322 \u00B7 packages/core/src/Visitor.ts:837 \u00B7 packages/core/src/Visitor.ts:1511 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e827174e1d69485097e90d82beccd79f8d84c64c62eacc9dee01e3dd9ae915b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/src/Visitor.ts:912 \u00B7 packages/core/src/Visitor.ts:1001 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd81ce5c25931da31bd8def356b1f06057e8ff421d3cd948a0c3381b58e947c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/core/src/index.ts:160 \u00B7 packages/core/src/index.ts:213 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc2a98414371e047d20fe56b33ea580a87bb5998f1f5c0f3bb819b0b2ffcd7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): packages/core/src/Visitor.ts:842 \u00B7 packages/core/src/Visitor.ts:1082 \u00B7 packages/core/src/Visitor.ts:1220 \u00B7 packages/core/src/Visitor.ts:1658 \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":"packages/core/src/Visitor.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"87526118b262631e4e7622efcdc681bf7d6a21d07ded76bab777d26f19063bed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/core/src/index.ts:183 \u00B7 packages/core/src/index.ts:226 \u00B7 packages/core/src/index.ts:248 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8556c289be1db839c3ff75f1672cf2fc9a8c3285e7738b138ed2ebe4592bb8fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/src/Visitor.ts:618 \u00B7 packages/core/src/Visitor.ts:630 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce081f5b6600379fcfd6e5dbae73aff78d63d10b39d2d5fefe4b48bbf15465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/src/Visitor.ts:1597 \u00B7 packages/core/src/Visitor.ts:1660 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2d3f1d9a97eb46bf8bb84325c0d9015d1bd3cb31f5776b8dc68ee60ebe1ab9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/core/src/index.ts:267 \u00B7 packages/core/src/index.ts:283 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b20221c304c7c53cbeeb0bb5180ca1ff96ee2c6f253128bfe09a81b2c5a0efb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 11 locations): packages/core/src/Visitor.ts:529 \u00B7 packages/core/src/Visitor.ts:558 \u00B7 packages/core/src/Visitor.ts:694 \u00B7 packages/core/src/Visitor.ts:791 \u00B7 \u002B7 more site(s) not listed \u2014 all 11 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f1b0852ece3f09ed869a7c809a2e0ddc7783ff8576c1bfbe88f734029c522f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/core/src/index.ts:151 \u00B7 packages/core/src/index.ts:160 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04eabb31b1a3b5792c363a66bd53873efff0a603e1f32f3fb7d02ff1aa21a86"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): scripts/native/assemble.mjs:69 \u00B7 scripts/native/extract.mjs:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native/assemble.mjs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8e7ba1d6938f6eb6729ce40fba25f2a96b6d4a7906c3778cb963dc0774203b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/html/webcontainer-fallback.cjs:25 \u00B7 packages/html/webcontainer-fallback.cjs:31 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/webcontainer-fallback.cjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a6f177480e04994e38e4969ebe0397e2b6ba55f9bc14945242760afd557138"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: crates/swc_ecma_minifier/scripts/x/terser/compress.js:4 imports bindings/binding_es_ast_viewer/__tests__/parse.js, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/x/terser/compress.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84b76215abd7243a03f31030e338505b3e9e2cdbd09a81f79704a528f6fc1ae"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: packages/html/webcontainer-fallback.cjs:23 reaches into another package with a relative path (./node_modules/@swc/html-wasm/wasm.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/webcontainer-fallback.cjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8937025ca6370eabccec7ff8e0583f96c62de5f7888a757b40f4f8b81291021a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function test_case (cyclomatic 54, cognitive 93): test_case has cyclomatic complexity 54 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/x/terser/compress.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"576d222ef09de7754b34adae73ba19887d4de82bb8b937d08a15225d660782b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyChanges (cyclomatic 24, cognitive 12): classifyChanges has cyclomatic complexity 24 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github/change-detection.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"05837c01d062b5d694590efdc17281f20912368379b092cfec5b78e0ca7ceea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 17, cognitive 23): (top-level) has cyclomatic complexity 17 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/validate-binary.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2a13bfcde7c84df751ae8838972709594b7ed0324994e5fc68aaffdc61d1f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 18): (anonymous) has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd2bdc08de43741898d17d48c71b1903a389dbdc511402c4e5ad287c05e06f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 16, cognitive 15): search has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms/scripts/del.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"57943ea042543b693337b7a3dfa388a04bb5f3a53637a968fad944e7292c733c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAllObjectHasTypeFiled (cyclomatic 14, cognitive 21): assertAllObjectHasTypeFiled has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/__tests__/plugin_test.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f1fc5d9e17cfa5221a08fbad7fc91a3d54dc14489621b862b1000690616b4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzePublishOrder (cyclomatic 14, cognitive 21): analyzePublishOrder has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github/publish-order.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d0bd65cf60e852c150e1a92fcb68262f29c16ebb35da7aa3aea9fe9d57a7e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateBinary (cyclomatic 14, cognitive 14): validateBinary has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/postinstall.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d09a61614c8473ee894e9e8b29f057fb1493b4dbd14ea1151a34c711e04cf8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reminify (cyclomatic 13, cognitive 25): reminify has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/x/terser/compress.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e3c3dd907cacfb32ef4c3956b959cf641f257206302c38746d7fbdb32f8d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/x/terser/compress.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"867f67390390351e6a8e265b36f5876e98af34772664398c135df448c78474ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateReport (cyclomatic 13, cognitive 13): validateReport has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native/contracts.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c759685d6dfa0724ecb3c3fc5bcae706321b07d9f612494ef2fb63e50ff5bcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native/workflow.test.mjs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafc5ba13f202e1fe1af68238f600e3ba4ed79e4e580e7ce3bcbb51b3979f2e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformSync (cyclomatic 12, cognitive 17): transformSync has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3b383d9aa8ab3ce557b0353cdf4dde07187bba4cbd73489a8331ad92c23bc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transform (cyclomatic 11, cognitive 15): transform has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42339645bb5e073ff1e4ba6332a521982f6dcd76703c86b6fff6a8c6d5d0885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compileBundleOptions (cyclomatic 11, cognitive 13): compileBundleOptions has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/spack.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d165dcb25d1efd0920456fd523361f9646169200af8ac0519f3fbd80e315b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 12): visit has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/github/publish-order.mjs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fb0c012b3b48a8fdb47fe26eeebfdc8a892ce1e1ee1c430185257afd4fc917"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/types/index.ts: 2460 lines of code: packages/types/index.ts has 2460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/types/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff995a4dbaf28d36c6774567c29946df679e714ec4bd30d2eade1ee2d0564f54"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/Visitor.ts: 1679 lines of code: packages/core/src/Visitor.ts has 1679 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/Visitor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56259863c25763ec0800d546cd54f4b022ef192fb34d766d5f4a46e15cc269c5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/core/src/index.ts: 544 lines of code: packages/core/src/index.ts has 544 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b23855e81c8bc76b944ac656b622628c8aa8b4d0c7dc861c7a666ef9cb9a5d"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/swc/tests/compile/jsc-paths/vercel-site/1/input/identity.ts:2 imports \u0027../fnv1a\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/jsc-paths/vercel-site/1/input/identity.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5be276c383f09002dbf5e7382633192d3f0e7b100f8dc544c7d18dea68fac5e"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: crates/swc_ecma_minifier/tests/terser/compress/export/dynamic_import/input.js:1 imports \u0027./traditional.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/tests/terser/compress/export/dynamic_import/input.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"703afe4fd62cdd45e1a47f1fa221b28870e1a6fa2d95846a2735591a2c4cb29d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/x/terser/compress.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e353c24ce10e2866c97fc545ab22ce6731633aac9a5f48156fcd0c7e9f89fc17"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/scripts/sync_flow_projects.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f9eec1409289b6f3e2cc7c7370cf474c6102d8ca738c64b3fbf7d3dcf48953"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869cd07bda255f94b8e10fd42e61f0a34ad83e2d89168eeebeecbab3a7f930b5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/postinstall.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"254b323dbcac114cda2c97f739a3e24690f92f9cfaf38622a2395068d7ad1681"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/scripts/sync_flow_hermes_metadata.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d0233623c31b0aea2098e3c1291beefead217f43da37016229bbd8b3af1b2f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/util.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"babefa4cf4f664109fcf190514d0846d3cb14f0e3056151ed9a61363a06996a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/_/samply-script.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db18fc93e88fe1b2120ae325f358958e0710820bdf78439cf74c8c5569c5bf6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/mangler/charfreq.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbcf76f97b5b393cd7c1709c3b421aef42e27a6f5130955f9d1382d988cdc8e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms/scripts/fixtures.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1deca867071587fa588ed3dd30429946760b09ec97505b0504c1d56ce9128c38"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/jsprops.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0fcb934e4d0d24d1be0505b09ef81378dd487173b54eb28eed311b5af770c6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ac6df24c45730c8d3ebefc986ff11237f9aff9d2ab3ee2273a447a068b4832"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/scripts/tsc/copy-test.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e52ee7a9ce04c834db3389d82284dc12bdda2274e3bb674c539565e42203f3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/webcontainer-fallback.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b928d89cbfc947aa865277de9e92a8d0c17929eac873f13408a935442f2e7b60"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms/scripts/del.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a56ecb9bf5ce66c5ed549fca639ea59291deca49032812d860779e2756b906"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/scripts/patch-options.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13af4ff193900710d147ceab24902ba7673f2c9581937d6460559f15eacc8dfe"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_preset_env/scripts/copy-data.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09bd7bcf4ee83c059948b6d39995497ee33d27b1479bc6bf6fac141bd45e95c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/helpers/_require.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a339ea36affa765703b548e0a4b58127ed25ca05a86bbd143905efd926f786b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/scripts/split-decorator-tests.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e96bce12d1334b00fc47cc02232d1b89f28fbf364d7d45f544b4d8218c581d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_html_utils/test.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35cd17668bf52cab11df1b8421f43e108553463bcf1bad344d9d188f2b23e16"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/next/evaluate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f25c941b94b82d05eb09b8cfd6a06b57ddfc4e661a356026c46c468147f13e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_nodejs_support_wasm/scripts/patch.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cf520fa58082601951068443d60ce08409a2742c4e52a5ae94f42e09263cd5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_typescript_wasm/scripts/patch.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d672ccb25955728465b9ca0d8cf51e8f2f2508a9dbc7724785d8e5bb4c8b9e3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/scripts/copy-readme.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb0842e06ab132d4d40eb4a56821c6513d5f078c7f40b2bb32611c8ffe1afa5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_es_ast_viewer/scripts/package.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced1dece9a6aff5637542a6085e62ab23804e6cde52e6e2c782734e205bfd284"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_typescript_wasm/scripts/esm.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f2a4dc167802ff60ed85a9cb43119eaf776434820e84ba187b90fca0943b70"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/_/reduce/compare.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753420541d9c079e9295c68063017369849248ff355bb0a8ff1f2940e1e9dea8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/scripts/test-acorn.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97d25392fb0ebc74effefc076cef91550f3cf1ebce9756763d1c00771cefb2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/native-test-setup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990fd51087d4bfe6335670b9ed3a14ad445d5159c7db723732b73eed45362689"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_es_ast_viewer/src/es_ast_viewer_node.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b98808a88f1e2cc2e5f56757d1518a2f333fc9ea3f61443ecf341cadf48fd1c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_typescript_wasm/src/wasm-node.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1aadcbea060017407c16faa72dbdf7fba50e872a189ca62221c60bfadc3bfd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_atoms/scripts/_/sort.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74089a158565ea3bf32cc0b00b39e4613b85de84d9c757979978fbe5dc643f7a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/assets/a.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a8eadaab734547f4332a4f7c1eadbde087f1e4b542c858316cf48c894de4ad"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/assets/main.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc9fc8204324b688b22695895d2d439cfb14c43746fb04854a61cb4ffacb798"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but crates/swc/tests/compile/jsc-paths/vercel-site/1/input/identity.ts and 1 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/tests/compile/jsc-paths/vercel-site/1/input/identity.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabac413928f71008e3651de20dc0b022e6f163474dcfea16b76908a418dfcf8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~153 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/native/finalize.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863b20917ffec815cb9b36c63ad9f7a3bac98e7344d1e433227aca98d6669b2e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~107 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (scripts/sourcemap/decode.js) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sourcemap/vlq.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615776ba2f6cdd8aa0b7dbbc5f7a6f44daa0ee7546fa713d2efb2ab0e2a200c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~93 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/_/samply-script.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"106c4cd7f8fbe50dc3357a2643bdd2bf860a04d6129950ea201e604116245231"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~92 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/mangler/charfreq.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01e60d902ab176741e6c0f530e30bcde704b70a2a4742456f35a9ba25e5fab7"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~85 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/jsprops.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a28b4218e20349e99b23988aa11f28a75a21ec417203fe0e04417f97e2966e8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~69 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sourcemap/decode.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39979814fdaedd35255ae307d2d7508eda35f8d6f9e9185f566f93f13865803"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~67 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/html/webcontainer-fallback.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbee84f21bc1fc67bff85494e7ca82b2d910203c615067105277709ed020253"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~45 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/helpers/_require.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a14effe860d35524d7c57201d34f43d15dcfa5403c2057e36a9b86c5961cdd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~44 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_proposal/scripts/split-decorator-tests.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2852b170f71747b7320f642dde3e460d97ae04024141867ec2ac6e9cc51405"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~26 LoC): no import path from any entry point (50 application, 36 tooling, 2843 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bindings/binding_typescript_wasm/scripts/patch.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05627056b4a93b126490cb07860ef02104895cec12b2a26d20febca749ca4580"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027inferBinaryName\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/e2e/plugins/plugins.compat.test.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa24f04a19f38af49bfe1f5b4df95634264791b7fcb2b5e6c49422a4c77742"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027semver\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/scripts/x/terser/compress.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a384af98a2768db2afaa927c85b3a53d86b511427dd6145e825903b9ef246ff"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027acorn-jsx\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f2d431923597f2ecc7faf74280b468c815db7fc4b1d2f1aee4e17199050424b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027axios\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"47bd42e4e250c4e6e33385b1e68b1c2c324de0c2b8a8bfcbc1526d442b3375b9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027benchmark\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"79696dc83ec5ff5e5103eb7728964976de8bc933538469b2d3ca3bf5d2800cca"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027bootstrap\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"10396693ae078680d07d969316b2351b352b2de0ad282390df9b4464ad9c0c18"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027class-validator\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e656846281ac2fca3229254766e05ae533872a4561f7d741ad7d6ac16a8f013f"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027cspell\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce22f2e9ef5f283a03597cae00f18d0a44ba25f2071f996ed6f7cdde58ced9e0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027js-beautify\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea08e357a503add37cdba45f4baac60dcd2d3963f114203e9573d07ab04e5356"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027swc-plugin-coverage-instrument\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ff835867816882fa53e237508cee6473e41e16f6231526ce4004f8885be2564"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/counter\u0027: Declared in packages/core/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b2d24792a1f463a635a67c1dcf31585ae684e4200dceb314f48f5961af4730ba"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/counter\u0027: Declared in packages/html/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"19dc0ab10c5c593d6541c5161efe66fe587d69371593babe79a5662bfb63f16a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/counter\u0027: Declared in packages/minifier/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8fbe7a2b7d9490dff1e444e15001afbbfab92d2fa93c9aaef6d5dec99e8b36d6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/counter\u0027: Declared in packages/react-compiler/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9bdf62bb5c44daaeb8cbd1bdb6850681e1ff710e9038f6a6e606bebd437fe964"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@swc/counter\u0027: Declared in packages/types/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b229967a4c5c63ce265f108a5e3bc22d741ceb5ba5d4f19202b4e5a67cbe2010"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/dbg-swc/src/es/minifier/reduce.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"56269f1e01114166272a462cfbfc15debb7ac8f4576ea985727678bcd2cc1b08"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_react/src/refresh/hook.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c884543fe8e98f80a7d92b2b87dbc86ac2c312704d3d2f40d7634861f0d1ff"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: crates/swc_estree_compat/tests/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_estree_compat/tests/package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"095efc72b6ff5db5e4fca6fe30ed5e9a8b11a731b97c8729b59544961b75ff8c"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: crates/swc_node_bundler/tests/integration/react/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_node_bundler/tests/integration/react/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb0958d7107026678e7ce13ffcfb816dbb707127f36f181109980161f705d69"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: crates/swc_node_bundler/tests/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_node_bundler/tests/package.json"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b56c6a4220ca2293ef8b8100eb54a47346a140c28a34d09d5439fe233f27f0"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: crates/swc_node_bundler/tests/pass/resolve-name-fix/input/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_node_bundler/tests/pass/resolve-name-fix/input/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bb07aabc37eb3752f35d5b56689741927517e9c8fec7431d3de3cb6ccb8c1f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Object.defineProperty \u0026\u0026 Object.getOwnPropertyDescriptor\u0060 appears character-identically in 2 files \u2014 crates/swc_bundler/src/bundler/helpers/_require.js, packages/helpers/esm/_interop_require_wildcard.js. 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":"crates/swc_bundler/src/bundler/helpers/_require.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"83177b8746c1e1716d4f8e7dc3f810af7d21f624ffe4344517c0def7fb9f3c52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Symbol.asyncDispose || Symbol.for(\u0022Symbol.asyncDispose\u0022)\u0060 appears character-identically in 2 files \u2014 packages/helpers/esm/_using.js, packages/helpers/esm/_using_ctx.js. 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":"packages/helpers/esm/_using.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3799d92a7a876ee6314d26dcd6ceffaccab67d81960d962bf71dd0cc526e95"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Symbol.dispose || Symbol.for(\u0022Symbol.dispose\u0022)\u0060 appears character-identically in 2 files \u2014 packages/helpers/esm/_using.js, packages/helpers/esm/_using_ctx.js. 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":"packages/helpers/esm/_using.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0065ff55677d26379780704d17295d9331b5e1e28207d98fb53d49b68a00790c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Symbol.metadata || Symbol.for(\u0022Symbol.metadata\u0022)\u0060 appears character-identically in 2 files \u2014 packages/helpers/esm/_apply_decs_2203_r.js, packages/helpers/esm/_apply_decs_2311.js. 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":"packages/helpers/esm/_apply_decs_2203_r.js"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0057b6634fb1c67ec8730185e3e3462e2eef4cd53a5ed0b85a792f62bf367f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name === \u0022@swc/core\u0022 || name === \u0022@swc/workspace\u0022\u0060 appears character-identically in 2 files \u2014 packages/core/postinstall.js, packages/core/src/postinstall.ts. 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":"packages/core/postinstall.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad2e40933d68275f6055bf46d76c7472d586295a36cfb189064a0330c18e138"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name.startsWith(\u0022package/\u0022) \u0026\u0026 !name.split(\u0022/\u0022).includes(\u0022..\u0022) \u0026\u0026 !name.includes(\u0022\\\\\u0022)\u0060 appears character-identically in 2 files \u2014 scripts/native/runtime.mjs, scripts/native/tarballs.mjs. 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":"scripts/native/runtime.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef30480144af09e9fc7d7c0734621c580a78579cca034dda0ff24f0e871d368"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!START_WITH_ZERO || self.cur().unwrap() == b\u00270\u0027\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f58e0abffa4f6f4477a833145b570d6f26accd5126d2d3eaac18938a3563e5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!c.is_ascii_alphanumeric() || entity_temporary_buffer.len() \u003E 32\u0060 appears character-identically in 2 files \u2014 crates/swc_html_codegen/src/lib.rs, crates/swc_html_parser/src/lexer/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":"crates/swc_html_codegen/src/lib.rs"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2e814742e45e2a3cd2306d5e2e207b4ffba3bbda162e513b3f0c54c6a70a55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!export_bindings.is_empty() \u0026\u0026 !is_export_assign\u0060 appears character-identically in 3 files \u2014 crates/swc_ecma_transforms_module/src/amd.rs, crates/swc_ecma_transforms_module/src/common_js.rs, crates/swc_ecma_transforms_module/src/umd.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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c25b4e021745c8e83c2aef18dc4a4db5405d0ca94d8d7daaffeebe89ed2c847"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!inside_arrow_fn \u0026\u0026 (inside_class || self.is_inside_object())\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lints/src/rules/no_alert.rs, crates/swc_ecma_lints/src/rules/radix.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":"crates/swc_ecma_lints/src/rules/no_alert.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ed26fac7164e62c4f4dbd665148dbc4196d4c1ad3277feaea0269f45b1a811"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!is_eval_or_arguments \u0026\u0026 !expr.is_valid_simple_assignment_target(self.ctx().contains(Context::Strict)) \u0026\u0026 should_deny(expr, deny_call)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/mod.rs, crates/swc_ecma_parser/src/parser/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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dabf97a9a573635e578a4c797badbb740b68a6f2bbc55c906c67aa8982972b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!line.span_line_only(hl) \u0026\u0026 line.span_applies_gutter(hl)\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bb46b5a27fa76fe239b3f4e6d90425eb9e76b5231baf22569143724010ab84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!line.span_line_only(hl) \u0026\u0026 line.span_ends(hl)\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a4fecdea9c0d01c6da17eb89826d68620e0a4556f2baad4f7786ed41d32930"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!module_usage.has_named() \u0026\u0026 import_interop.is_node()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_transforms_module/src/amd.rs, crates/swc_ecma_transforms_module/src/umd.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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdfa32a120c4f5fb4213e6ad34f4adca2e77def3f17600a220996ff690a5b26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!next_byte.is_ascii() || next_byte == b\u0027\\\\\u0027\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48754320ce78bcdf82d4e1ccc85f4e2d41a125b024701c1a45a1752bcf2ec7f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.config.ignore_dynamic || !self.config.preserve_import_meta\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_transforms_module/src/amd.rs, crates/swc_ecma_transforms_module/src/common_js.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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"72309f69d4f831e9da55032f850da53a89d9732a88b48999cd1d1d7625285c30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.input().is_at_start() || self.cur() != Some(b\u0027!\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1806}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d97b3c9870c7b0501ef0cc8bb100891bde123d282dad2d3cce33237b4592cac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.options.conditionals \u0026\u0026 !self.options.bools\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_minifier/src/compress/pure/bools.rs, crates/swc_ecma_minifier/src/compress/pure/conds.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":"crates/swc_ecma_minifier/src/compress/pure/bools.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da38b8187d29f675bf75455991325d24fc2e31d05bad81668363463beb7ca05"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.options.unused \u0026\u0026 !self.options.reduce_vars\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_minifier/src/compress/optimize/iife.rs, crates/swc_ecma_minifier/src/compress/optimize/unused.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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9638b5d463e5d8554b7f79cb7c2a829ff8e3547891e615b982f2ed2f734ccc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!START_WITH_ZERO || lazy_integer.end - lazy_integer.start == BytePos(1)) \u0026\u0026 self.eat(b\u0027n\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"12245192a06b3a858b232d6662873e104afb447c12e608f8964c24582bff06aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(self.input().syntax().dts() || self.type_ctx().contains(TypeContext::InDeclare)) \u0026\u0026 self.input_mut().eat(Token::QuestionMark)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_parser/src/parser/object.rs, crates/swc_ecma_parser/src/parser/pat.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":"crates/swc_ecma_parser/src/parser/object.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8692e7dd0203cf9b055d97881540564cf633f727b50a30cb8d6f0146b5a6c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(span.offset() \u003E= self.offset \u0026\u0026 span.offset() \u003C self.offset \u002B self.length) || (span.offset() \u003C self.offset \u0026\u0026 span.offset() \u002B spanlen \u003E sel\u2026\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"414dcaba341930e901d82a1c2f3922c1148f51d6a7e4086b4b7174423d6a11af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060C == b\u0027\u003C\u0027 \u0026\u0026 self.is(b\u0027!\u0027) \u0026\u0026 self.peek() == Some(b\u0027-\u0027) \u0026\u0026 self.peek_ahead() == Some(b\u0027-\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/lexer/mod.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3c88e5450d4c4f67cd859754a7bf1f8f2a7e137fe3bee05fba87a6aec77ec7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RADIX == 2 || RADIX == 8 || RADIX == 10 || RADIX == 16\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3800cbff19b643cd42d5250b228fecb1436aacfe2ad75d2ee075b84c811eaa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060accessibility.is_none() \u0026\u0026 !is_override \u0026\u0026 !readonly\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/pat.rs, crates/swc_ecma_parser/src/parser/pat.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":"crates/swc_ecma_lexer/src/common/parser/pat.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ed9e8519e124e2acdeffd3295b146c5c623aa677947a879f91af5334c9d101"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060atom!(\u0022arguments\u0022) == word || atom!(\u0022eval\u0022) == word\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/ident.rs, crates/swc_ecma_parser/src/parser/ident.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":"crates/swc_ecma_lexer/src/common/parser/ident.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"091b376eb5b171f5760a77d038b5919d1d86157293114225e7ebfb197b45e08f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b.is_ascii_alphanumeric() || b == b\u0027_\u0027 || b == b\u0027$\u0027\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bf5def5da8dd6bebeed2a34c5b6c32c860578a6413c8b9ea9702e4ca33403f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cfg!(debug_assertions) || env::var(\u0022SWC_DEBUG\u0022).unwrap_or_default() == \u00221\u0022\u0060 appears character-identically in 4 files \u2014 bindings/binding_core_node/src/lib.rs, bindings/binding_html_node/src/lib.rs, bindings/binding_minifier_node/src/lib.rs, bindings/binding_react_compiler_node/src/lib.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":"bindings/binding_core_node/src/lib.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e2a660cdfddea951528f1107a8069f27ed85ced06bbdcc2ace2de306f3d8fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ch == \u0027\\r\u0027 \u0026\u0026 self.input().cur() == Some(b\u0027\\n\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b14e3d3b3fb03edd4f5bcd4cf173bd63e7229383d1c9c5484910e959a78ee4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.contains(Context::Module) \u0026\u0026 !self.module_errors.borrow().is_empty()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/input.rs, crates/swc_ecma_lexer/src/lexer/state.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/input.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4d7bdffedb747ff3581a15542978c6299b3f45530f4df50065b8ffe62bfed3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur == Token::Lt || cur == Token::JSXTagStart\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_parser/src/parser/expr.rs, crates/swc_ecma_parser/src/parser/typescript.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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc671c87a99b386b1aa0b73a68f1a6ef7f997e35782ec195f86ce89b8e24894a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur == Token::Plus || cur == Token::Minus\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_parser/src/parser/stmt.rs, crates/swc_ecma_parser/src/parser/typescript.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":"crates/swc_ecma_parser/src/parser/stmt.rs"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"2988b26af156e5f3ab62aa79a84e2ce92c84b1257a3d03fde7860c6fa334d96b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first \u0026\u0026 Ident::is_valid_non_ascii_start(c)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3a01c80c59f7dae23beccf94cd4a85c2fee1c03c3d2545e95bafaf6bd44018"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060function.is_generator || function.is_async\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/stmt.rs, crates/swc_ecma_parser/src/parser/stmt.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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f327953b00327ba4e4da30ea645d9f303cf371805b8bdeaa3bf67a03085d06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060had_line_break_before_last \u0026\u0026 !is_bit_and \u0026\u0026 self.is_str(\u0022||||| \u0022)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"951ddd4aa5b44daee99635ecf18ac0228f5bed3a733a0b99c62be61dac4c61cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060had_line_break_before_last \u0026\u0026 self.is_str(\u0022====\u0022)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/lexer/mod.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c99a1158563a05ac1334effe27af12fc062099b4e547171dd41b572ed7ffb50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060had_line_break_before_last || !self.state().can_have_trailing_comment()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b1c5c31dd5e8c0d8136d83fcc916b0e0c10b939fb092960a08d2242bea8a40"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060handler.is_none() \u0026\u0026 finalizer.is_none()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/stmt.rs, crates/swc_ecma_parser/src/parser/stmt.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":"crates/swc_ecma_lexer/src/common/parser/stmt.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0265b8324de1672c5894751ca3923a54d1376518e4ce7f8acf0de7863bb5056"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060has_module_syntax \u0026\u0026 !import_interop.is_none() \u0026\u0026 !is_export_assign\u0060 appears character-identically in 3 files \u2014 crates/swc_ecma_transforms_module/src/amd.rs, crates/swc_ecma_transforms_module/src/common_js.rs, crates/swc_ecma_transforms_module/src/umd.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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a377f3572276153899b694159a34973e17bdeee187dcf55b9de3814f93d9783"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060high \u003C= MAX_HIGH \u0026\u0026 self.input().cur() == Some(b\u0027\\\\\u0027) \u0026\u0026 self.input().peek() == Some(b\u0027u\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a021ac25ce71c39b8005660509380e320bdaffe5ca5d09e042573c52771109c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hl.label().is_some() \u0026\u0026 line.span_ends(hl) \u0026\u0026 !line.span_starts(hl)\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0a8898b86a9388074b74c47f3a15b6b04d8c17647a0a259ef41a52c08da8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060idx == usize::MAX || index == usize::MAX\u0060 appears character-identically in 5 files \u2014 crates/swc_css_visit/src/generated.rs, crates/swc_ecma_regexp_visit/src/generated.rs, crates/swc_ecma_visit/src/generated.rs, crates/swc_html_visit/src/generated.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":"crates/swc_css_visit/src/generated.rs"},"region":{"startLine":114824}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fed732da9acab56206c977cf8891c1438e32b9162769c5d48ffa3473e6da2b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_calc_function_name(name) \u0026\u0026 value.len() == 1\u0060 appears character-identically in 3 files \u2014 crates/swc_css_minifier/src/compressor/calc_sum.rs, crates/swc_css_minifier/src/compressor/container.rs, crates/swc_css_minifier/src/compressor/media.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":"crates/swc_css_minifier/src/compressor/calc_sum.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac420af168fcf399ecdc376fdaf0e85ad747d3ac10b6f74cfbbd75d43da16efd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_dynamic_import \u0026\u0026 !p.input().syntax().import_attributes()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/expr.rs, crates/swc_ecma_parser/src/parser/expr.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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a909c48dd9ac9cefb951eb0a045c69dae3d94bc84bc1cbff4c6e4ae715a21e98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_empty || !item.as_stmt().map(Stmt::is_empty).unwrap_or(false)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_transforms_typescript/src/transform.rs, crates/swc_ecma_transforms_typescript/src/transform/namespaces.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":"crates/swc_ecma_transforms_typescript/src/transform.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"85633b867a59514dee50d986616e6ac91ab138342c6dc7eceac4bdc7e7a3cafe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lexer.input.is_at_start() \u0026\u0026 lexer.input.cur_as_char() == Some(\u0027\\u{feff}\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_html_parser/src/lexer/mod.rs, crates/swc_xml_parser/src/lexer/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":"crates/swc_html_parser/src/lexer/mod.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdbbb9c379fe09271ff96094a2d4858e3dc0838a9385b916b1f3412f84d4e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.starts_with(\u0022#__\u0022) || line.starts_with(\u0022@__\u0022)\u0060 appears character-identically in 3 files \u2014 crates/swc_common/src/comments.rs, crates/swc_ecma_minifier/src/metadata/mod.rs, crates/swc_node_comments/src/lib.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":"crates/swc_common/src/comments.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc739c02da76d603c71cdb7e8aa1fa0c7122ed74eb12ec3e74d86bc12f9c184"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060next == b\u0027.\u0027 \u0026\u0026 self.input().peek() == Some(b\u0027.\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1a2aaf025fbc9fb4fe54ca9b54e83cc4dcf927ca03a1dd28b2846031585801"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060next2 == LS_BYTES_2_AND_3 || next2 == PS_BYTES_2_AND_3\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5aad89d7ca8a31323b27f4f867b417a3c873a1c685cc25aaaebd2047bd211"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.ctx().contains(Context::InClassField) \u0026\u0026 word == atom!(\u0022arguments\u0022)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/expr.rs, crates/swc_ecma_lexer/src/common/parser/ident.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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"33da94bebad4ffedb49a5a3adcd4c085af4fe736cb5c37b4ffbbb2b49a76f53c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.ctx().contains(Context::Strict) \u0026\u0026 id.is_reserved_in_strict_bind()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/expr.rs, crates/swc_ecma_parser/src/parser/expr.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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":2413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b793e538d88566e653f7afae8bd9c14468f51e6265c2de4b55d3a73e1b7c772"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.input().syntax().dts() || p.ctx().contains(Context::InDeclare)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/object.rs, crates/swc_ecma_lexer/src/common/parser/pat.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":"crates/swc_ecma_lexer/src/common/parser/object.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df9fa753ed6dec39323e178f7af3de9d27bfee51c4ea4f4e4f3a5779aca63b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.input().syntax().jsx() \u0026\u0026 !p.input().syntax().flow() \u0026\u0026 type_parameters.params.len() == 1\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/expr.rs, crates/swc_ecma_parser/src/parser/expr.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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"8487e87aec279ad3ad2bdb1434ab5dbeb2a7ecaaf554dce067ca0ee2c8439518"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.input().syntax().jsx() \u0026\u0026 !p.input().syntax().flow() \u0026\u0026 type_params.params.len() == 1\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/typescript.rs, crates/swc_ecma_parser/src/parser/typescript.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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":2894}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29438c4242c5d268a09276e4321a832e49fd189184556d5db78d0735fb8efde"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.input().syntax().typescript() \u0026\u0026 p.input().target() == EsVersion::Es3\u0060 appears character-identically in 3 files \u2014 crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs, crates/swc_ecma_lexer/src/common/parser/object.rs, crates/swc_ecma_parser/src/parser/object.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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f0ff5f81f07c17c843680e16473a4bb970f525143b7b8a570817db4dbcbc11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.is_static \u0026\u0026 v.may_have_side_effects(expr_ctx)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_minifier/src/compress/optimize/util.rs, crates/swc_ecma_utils/src/lib.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":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afec817e40788dc38e2b5bcaa2c333b54d817ae3535272ffbb9d7c2520b4436"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.syntax().flow() || !p.input_mut().has_linebreak_between_cur_and_peeked()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/typescript.rs, crates/swc_ecma_parser/src/parser/typescript.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":"crates/swc_ecma_lexer/src/common/parser/typescript.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b64e160c8c78cea6ed8fe35fea0310183a888354ed83bc1f79b80f9394e5694"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.syntax().typescript() \u0026\u0026 body.is_none()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs, crates/swc_ecma_parser/src/parser/class_and_fn.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":"crates/swc_ecma_lexer/src/common/parser/class_and_fn.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4896eb961cc09df7d9446d60755e06f9bab74e4f9f110b8414831a8e602943a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.boundary_ctx().contains(BoundaryContext::InClassField) \u0026\u0026 word == atom!(\u0022arguments\u0022)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_parser/src/parser/expr.rs, crates/swc_ecma_parser/src/parser/ident.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":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d45f15184ec6f8d5b459f9f50bdd8ecb8009f8e1d44267710b833dc1d5cd0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.config.strict_mode \u0026\u0026 !has_use_strict\u0060 appears character-identically in 3 files \u2014 crates/swc_ecma_transforms_module/src/amd.rs, crates/swc_ecma_transforms_module/src/common_js.rs, crates/swc_ecma_transforms_module/src/system_js.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":"crates/swc_ecma_transforms_module/src/amd.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"71589aefecf4f612c0badde225ad2f10fb72cadd2d1f7c1415bf9248917c9e38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.ctx().contains(Context::IgnoreError) || !self.syntax().early_errors()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/mod.rs, crates/swc_ecma_parser/src/parser/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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e4941a69896ee01eb1190e631c7a496404be8d92918b60e71e1079d7597a23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.cur() == Some(b\u0027\\\u0027\u0027) || self.cur() == Some(b\u0027\u0022\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf68806a20b36b6fb3b1651053ba31a328bc407ce482ce572e5e571ef5d5338"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.input().cur() != Some(b\u0027#\u0027) || self.input().peek() != Some(b\u0027!\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ead47822fed8f4c00a65ef3852a33caf83ec86650b74e721175cb4acc4ac0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.input().syntax().typescript() \u0026\u0026 self.input().is(Token::Lt)\u0060 appears character-identically in 3 files \u2014 crates/swc_ecma_parser/src/parser/class_and_fn.rs, crates/swc_ecma_parser/src/parser/jsx.rs, crates/swc_ecma_parser/src/parser/object.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":"crates/swc_ecma_parser/src/parser/class_and_fn.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7dc70fb9d4e5cd1604ee4a340e1e8ae6011e2e31ae2ee699adc1ba756e7a71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.input().syntax().typescript() \u0026\u0026 self.syntax().early_errors()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/mod.rs, crates/swc_ecma_parser/src/parser/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":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9205f7c173b9485681069c1257b9f319faf46ba437deaf4d7ddf2d0b6b6f285"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.is_word() \u0026\u0026 !self.is_reserved(ctx)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/token.rs, crates/swc_ecma_parser/src/lexer/token.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":"crates/swc_ecma_lexer/src/common/lexer/token.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"819565ed075586507988672204450d79ccb36cf54e4879e6ce37483c5281ef47"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.label == other.label \u0026\u0026 self.span == other.span\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6855a0893117900f6e9274322de992f825446af25501d64ca1afa80f73f372c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.options.unsafe_passes \u0026\u0026 self.options.unsafe_math\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_minifier/src/compress/pure/evaluate.rs, crates/swc_ecma_minifier/src/compress/pure/misc.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":"crates/swc_ecma_minifier/src/compress/pure/evaluate.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffae7c1c1f22355797e6cf3e3ba279658bad15c9c7cd33ff84645c8f75c99d6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.span.lo().is_dummy() || self.span.hi().is_dummy()\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/lib.rs, bindings/binding_typescript_wasm/src/lib.rs, crates/swc_ts_fast_strip_binding/src/lib.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":"bindings/binding_nodejs_support_wasm/src/lib.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9952c124903ddd637fac3d8413c0cfe0b976da9fa5956e3dff25198c49da82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.span_applies(span) \u0026\u0026 !( (span.offset() \u003E= self.offset \u0026\u0026 span.offset() \u003C self.offset \u002B self.length) \u0026\u0026 (span.offset() \u002B spanlen \u003E self\u2026\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1f7c89c1c12355ad1ae74353931b9adf3a26ed4b05815cb0a69431fc9c4bb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.state.had_line_break \u0026\u0026 C == b\u0027-\u0027 \u0026\u0026 self.eat(b\u0027\u003E\u0027)\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/lexer/mod.rs, crates/swc_ecma_parser/src/lexer/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":"crates/swc_ecma_lexer/src/lexer/mod.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71ee4fa8c16fa48399435a77fbc820c86fe70c6b8e7bb6662ecb30dcd167b4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.syntax().typescript() \u0026\u0026 !self.syntax().flow()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_parser/src/parser/pat.rs, crates/swc_ecma_parser/src/parser/stmt.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":"crates/swc_ecma_parser/src/parser/pat.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e2d748ece06b8efd9e31c9fc94abc20c20363398870291667a3618935a295d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060single_param.constraint.is_none() \u0026\u0026 single_param.default.is_none() \u0026\u0026 !has_trailing_comma\u0060 appears character-identically in 4 files \u2014 crates/swc_ecma_lexer/src/common/parser/expr.rs, crates/swc_ecma_lexer/src/common/parser/typescript.rs, crates/swc_ecma_parser/src/parser/expr.rs, crates/swc_ecma_parser/src/parser/typescript.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":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad67094ff4ee1b389dcd345e86118fbe004bb8f3256d7f6805ac8b2537d01a6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060span.offset() \u002B span.len() \u003E= self.offset \u0026\u0026 span.offset() \u002B span.len() \u003C= self.offset \u002B self.length\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c79b79da01cda4116b1b1b5e22c51315403a0505a6b1984e36023fb5d0a4f7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060span.offset() \u003C self.offset \u0026\u0026 span.offset() \u002B span.len() \u003E self.offset \u002B self.length\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f64213d2ac97a4c18141bf40e98c400e43ab947f97024ba66e7462c445ffe2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060span.offset() \u003E= self.offset \u0026\u0026 span.offset() \u002B span.len() \u003C= self.offset \u002B self.length\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"906bf6da463da78885fc111b712d2224cba33cce29decf15fb5c900da097b2ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strict \u0026\u0026 ident.is_reserved_in_strict_bind()\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/parser/expr_ext.rs, crates/swc_ecma_parser/src/parser/util.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":"crates/swc_ecma_lexer/src/common/parser/expr_ext.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86c17374057e47983ad3ab995fd468c31bc4f826715bcf2076aa44b2ef54b50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text_index \u003C= line.text.len() \u0026\u0026 !line.text.is_char_boundary(text_index)\u0060 appears character-identically in 3 files \u2014 bindings/binding_nodejs_support_wasm/src/error_reporter.rs, bindings/binding_typescript_wasm/src/error_reporter.rs, crates/swc_ts_fast_strip_binding/src/error_reporter.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":"bindings/binding_nodejs_support_wasm/src/error_reporter.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13acc45e1d254e46efd6e503f93d13ea456bc4b5c56ac2015ae04ac2a3c8416"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ts_module_decl.declare || ts_module_decl.global\u0060 appears character-identically in 2 files \u2014 crates/swc/src/lib.rs, crates/swc_ecma_transforms_typescript/src/retain.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":"crates/swc/src/lib.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"214da9d9e4902ffd5d8011aec78a785be0b1575653baafbea3e007c3541e72dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060unicode_start_all_match || unicode_cont_all_no_match\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_lexer/src/common/lexer/search.rs, crates/swc_ecma_parser/src/lexer/search.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":"crates/swc_ecma_lexer/src/common/lexer/search.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"47817cce5d402d0b47c961ef29b07efffd0392199bc9d26475328f5139039d70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage.flags.contains(VarUsageInfoFlags::REASSIGNED) || usage.ref_count != 0\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_minifier/src/compress/optimize/iife.rs, crates/swc_ecma_minifier/src/compress/optimize/inline.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":"crates/swc_ecma_minifier/src/compress/optimize/iife.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b79aa19d5aa1033b45b479bba497dda2002d5b1e90d425a297117db616551f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v.kind == VarDeclKind::Const || v.kind == VarDeclKind::Let\u0060 appears character-identically in 2 files \u2014 crates/swc_ecma_minifier/src/compress/pure/misc.rs, crates/swc_ecma_transforms_optimization/src/simplify/branch/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":"crates/swc_ecma_minifier/src/compress/pure/misc.rs"},"region":{"startLine":2740}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf185e13e6ab905e0b955b5cb0951721ea94ed83f8c244d0ddbd994660e7edfd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == \u0022\\\u0022use strict\\\u0022\u0022 || value == \u0022\u0027use strict\u0027\u0022\u0060 appears character-identically in 3 files \u2014 crates/swc_ecma_ast/src/stmt.rs, crates/swc_ecma_minifier/src/compress/optimize/mod.rs, crates/swc_ecma_transforms_base/src/fixer.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":"crates/swc_ecma_ast/src/stmt.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b94a96c8a525283916e2983b147c569607d069046a0e2e47ced6bf2fba5386"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_a)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bb171c78031909b222b97e66460fc7a53138f9e80068f1e290ffd43c6e479d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7483e7930a6b54578c4728eb22ea285588ffa5e3bc692215405569d242c29e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a370687c7fe11735eb33541a683f2bb2b451c3c30e121cb18617848bf396afa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/postinstall.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e762db188b7c81ac04c554a4e2c00a06eb3e89fac46aa7bbb8a4afc4a10c67"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/index.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5b7b3daa979aadf0742c9685b8c6d2d9bfdfc97707fab4614bcb3b3ef4058e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/postinstall.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"78328ba83fbe3b43e3a1845e8cf68b4b3fbc33591d28d44b6f11903160b8e01e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/postinstall.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e7d18112ae6daab4429d74f94ee7089a9454efa9be7622688354d09f2c4a86"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/postinstall.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ea3e3e952ec03f3e697716f7c8b015c23aced82e5ab320fee7dc6601be6d26"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/core/src/postinstall.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d156438880d4af68af8c1323b327c54e1a7c4bacd04e7ba9c08dab8d7cc580"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/testing/src/output.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ada7b26a0cd14afd9d1090eda606b0c7a08eb4f53c473a381f517957d36d40d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 168 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/testing/src/output.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d4b12c10ae6b1decc1ec59edb159328e78b64edd3c168c48de6d5f58d52e07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 176 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/testing/src/output.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0ba51d8167524363918a00293a2efd1b4315d2d8e2da79e85ae18659351e21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 120 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_plugin_runner/src/cache.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"513a62aec6e8cba8e3a8be8fa3e1cd2633093f831b0553a5acd8c94545f15933"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 86 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_node_bundler/src/loaders/swc.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e72212ac24ed292f06a128177a3b38e573b2e5a4826a65ce4b45126f8a4553"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 70 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_graph_analyzer/src/lib.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8cbf7972caba8eace0ab93c517460b6e25c14ff7f943adb72b6c1c7ad71309"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 92 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_graph_analyzer/src/lib.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"949ca9f91c46c5259c808163c8eea921814e10f0b58c8572e241fe9435e6691e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 115 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25cade1006d6448d81d463990e3d35ee76c68a69186ec503487e2227b3a4b63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 307 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc8d6eb2855a8e937d52d6dd4205cf8b3630ed4874e81d549b6ced5ad1ac7e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 310 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1be0974e13a4de330d944eebd7308a40d97d9dbb2cddeae0f5412502df52d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"19098c0b9294a7dd2827ff27d4a7e92f30eb0d690c5e10313ad737a9c8953d46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 325 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2318bdc7b904bac1cdcbc9989009ecf353cd0aaa0131e54897ab63f7f592e87f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 664 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ef935ebd5ce5ff67751f6ab033319abe25b59838d76d38f55f40294e3e13b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 670 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11c6374f74435fb2193eaee9922fc04f344238c38b599ac5b41d6325150d8cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 677 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/mod.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17484b2709e2ceae35d44b692a34bbef720794bd0df7eeca1baf1556f281a10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"222d46aebd0582f368811298a6f5477604d5f68c9880104bcf9bc16b064f178c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 109 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d3f5746c3bbc0e4ba8b9b68dc1dee8382753fc4322798c67bff264526abea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd4d9422c450768b9537a94813aa5776df479d5d27076f1819d5e4c8ea929fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 155 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e19d15027fee8c355ebf57b952fb857bb9ce2faec4dfc7e6168cdb77927654"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 221 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"b430c951df3e1fa5c529d9a50a1d4d0fbdd8f00dfbcf9919bfd90b2ec7d207a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec77911493373b4d25df37cbbfbdbb3ab46fa77107f1de5b0abe4c34c02d212f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb55af97b9ecc9eb0e04e9ae0d1bbf0045efcd5f7e9a842b321ef811686dc98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 358 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca32b85e9948b176900addc833a36f045fcf2898f23bb75b60f884f4ef68a661"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 363 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"16636c722ac0f7fbe6de35371ad3fa56def9cad4052d0e4bb774a4e08c85e3f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 384 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3290d3117fbf42c6a2edbf1884e893f05594bf1e48a1b6c9803a597fbf5213f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 400 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"05861dee9fd82de7826c41546a5f2a0b0c8eceba37b8f6fc9915bd03c8a4d76d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 414 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ecc1c40a7e5c5e226f7b8403e35da4a927948f474dfcf59e39f8b1a4ce0c9a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 426 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c81a9ef9f1fde36269bd7e873d17b6cd5f4f671b983894301416361e93bf0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 431 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ebfda218e7abd5b8531337160624c5f94515b1e3e5747f96deb756ac3224863"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 461 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3c143ba3fbaa2ad773b172042dd89276846442b79f0fba693938a10c853abe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 482 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4312b1148e4e758d8fd8a739d1a28da8ba867e1309d9c8590fb86cb0eff5c27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 560 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14a6792677fa84ffc786bdd71380bfc8348475e41472c4b7b3d166ec483b0cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 605 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/inlining/scope.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59950d20a5ed1bdecffa0cad92c57a732ea7805664173f33476a92ad8b3a0b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1093 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7e499f1671766fe139336ee2040124b24782be6bef3121f85d1ca191b4a35b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1153 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3276ad809e7b0820266f7f69eadc5da23cdda44d3aa12ccff2d26b8d0897545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"5488c518fb700eee07c46fad557a98cf30eaa18025c07c6015c733f444e26772"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1318 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c079a01c9889940ef92a0b441198045bf95d4dae83714496a6b0873caa0994"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1628 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/dce/mod.rs"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"b272737dc2588dbcf8340ecd6ca22e6cc0aa60cccd017e132407bd259b7fbb25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 429 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814a90a1efe33e27d4b7a58edc2d7d318fbf0d1f51d609f123ed401a33d2558"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 513 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7dd525b186320a3d3d20cc23211a725766a2df9925e5fded7c610bdedf1ae9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 530 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_optimization/src/simplify/branch/mod.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e38140dd8ee04eead4d75adbd55a722f7b1f6958f8c72599592d00ddb68bbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 174 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/path.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e4de452d7562c6c6097acd14aaad6174558552ffa68d46b2123e5e23cb3b90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/path.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf070db85e455449de517dea44665f0c721ed6e23f80e3f311a7cee38380867c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 313 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/path.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f648a0f26de93e8e676dacdbed9f76c0deb1a317287c80cc49003228648dd42b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 383 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/path.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"999fd17301d5be6dc03b3f89762ab2d475be96caf80da753c1622e1bd8d4acd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 397 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/path.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"375c6e39021b41cb7c6aca8240807e784393c3526dd55595e7c39b85de537492"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 449 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_module/src/path.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1804b70d9b0a18d59592520cb4c9038c48401d7b2ba40dda1b4485bee688a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"153b16734a12b7a97f2fe84f83e84de3122d5ba333594f8733eb238b27fc2854"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1043 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d43a5b4d5a1400460f254a27c9087bc27b677e204e1aff0677ec64dd6a1844"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1067 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c597355e61347405bb43e5bac42b0fedb3199df9e4558b65f4c2d9996e30a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1082 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ab9caf2a09a9a3ef3018dd4e3b1bdbcedc32cbec864edac3c3f48fdeb06933"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1095 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/resolver/mod.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cf0c28971aa8708ba25091757010e2b3cfedc7cdb5eb3101fe664800b770d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a1c4910e1162b063651e179e5b3961bf9421215358e014df2911e4ba9aa6d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 331 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_transforms_base/src/rename/analyzer/scope.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50bd543997295cf24f18cfb63524e4c65693e382555a073b0ff8440306b3f00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 74 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_testing/src/lib.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59dc405580cf0cff88616f28f4631bc1de687de10a2c7841e887443939bfdea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 2265 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2265}}}],"partialFingerprints":{"codehealthFindingId/v1":"33db5bdb24a1c519bc1d351de698a18c88335da606b2c3f41a809a079e204cf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 2293 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/expr.rs"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b39a0f0b38fd9750532a928009b1d5766a60530273250493f8bba57d7a01d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/macros.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"456d22dd4c109fa231c7e2b2dc0ebc6a07bac8c644787a182e1a88e30d4e4996"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/macros.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"37067620fd9b2dd714b180e184fc65a45282d144cc45149bc1cd920a3b8e53fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1317 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/parser/mod.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2150836098d5ccf9eacf6a7e05e2a32745a76300586ffb5421a5ef1b4506bcba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 713 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a915edbc659074572fd2959039c358fc1ec77659e84a19157c8580bf1a13cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1010 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_parser/src/lexer/mod.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4350931a818119bbf5ee59cc09aed3b6d004b68b588d07f218f05cffbb3f34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 254 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/lib.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26658b58763a6dd29fd44054d03c89d285a5fcf23fee39a2f80ee5bd4c0b1f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 504 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/program_data.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f027d97a18269339d5acde6a74024081d1d89730e25709eda0270f909dc421"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 264 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/util/base54.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b96757f7634348dc30b499975ac291b5ec74033f643cbfa70d58e3194628481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/mod.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cd9223f9750b2abe4a96145b172ab8675aa374a2db75cb222e1959f73a7ab5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 149 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/mod.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe852b59062b76dbcf33d6eba22123a5872b8181b5ec19597119c65ff52b402a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 169 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/mod.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf3adbec48241f65454918bed8baf42fac4b2b1e23875cb7d4995fe982e1cd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/util/mod.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f82cb425a712b39867f216e3c4ac2519b886061dab07ea9eafad2e748b47e36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1998 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ec45b0e8cab9ad7fab5f55605536931cac178b310d629759f18fc1d04d5e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/mod.rs"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3297758e816de1ecae8478f139872c5b72df9124e3e7870e9c04c54e05dc10b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 531 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"3462851cf205f4c297b62c75494e8664193ff6c2c8eee3c4778126541e4428aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 802 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6659bf14dbb4d7b7ac7b4277b3a255a45d6ecb33404aca223a969b559939d80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 824 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f546b19d5da688fde8a124673f0c706023f56963d6491b33d7356ef169421f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 834 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_minifier/src/compress/optimize/util.rs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a8d965fbce4e35302e1d44380658afcf96087132ad9f7d4c7199bb084ca85a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 172 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/node.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"08384b0a2147cec34cb2115592b50b11e9e66629ab635c85af17d9181666de53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 256 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/node.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2844089c33ee1179bb0e02cac47085412d50832b1876e85f05e90c166fce2345"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 422 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/node.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a65d7cfe0d82c23834e67d486248470c3732f545fa48d78c4059c74e731c61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/tsc.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d1791fdd9d6385517fdf690d8f9b1fe654e1ee33783230d4b0f37890ab23b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/tsc.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0075b0b06dc233656e7c9bc33b355df2794af1e217a81e05579195f0f794b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 223 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/tsc.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4117d28eecd57a4d7482caa9b3e12fa8952b50f3da3288d3a5876674ce1906db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 239 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/tsc.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a21dc8c0799af5e5adde3a1df3332e500ba255fcbaf451abc9a778e17aacd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_loader/src/resolvers/tsc.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0594ec0922e9c2525c8ba9ec473b0797d5ecd3759b79e090864ed5ef9b647a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 5 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/parser/macros.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"88138a0ea0ab01bf5f2f23eed5f5f7ee486c9cb452c037e90ae4f8afb61de59a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/state.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8b1f731de258b504019d8cc14f13d74531d8ec673cb1a61ed48929a2321edc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 934 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/state.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae423a558327848631027c6c5354259e9ee80279fe4fb86dd299a74b0746e2e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 950 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/lexer/state.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ff6cc47ce1a5bba3a77e5fea74a20e8ef7bbcf2b9bcc9fcc84bee478f829c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1411 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"2680b12d2ec667c8abc579c3f282ca000d74b945ac5f17b6c136c6e5bc10a95a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 1425 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/expr.rs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"984df11a0aa04b299dc58d900fd653de682d5e119f98c0abb4097298a956937b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 40 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/macros.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8e5eb7d12cc7ae355fc8464750d471f4e41c17bd259bfedf9d2260e33613cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 68 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/macros.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"730d35fec5b49bb639fa43183690a81b35de89995e64118caab944187729f91c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 212 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/parser/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c18b427aadb7e25a656e3941428826cfe316c932760ddc7a6a9d4fbc10e4a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71c7e63c888358a53f4123a5978721c2385d9d61e6cc6353b662570c31686b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 584 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_lexer/src/common/lexer/mod.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"66763e7c59caff92391acc5cb21bd268308fb554eae3071a6f6f6c75f9bfc9ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1565 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"55234bdf9355f2399bd57bcb00731b2ffafefc9d3682a30b713b5714581052a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2061 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"18db4ef6fd824d7db71c3e0b199c1e20d583b36dd1637df0d376889f5b75a645"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2124 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1927149caa935214d3b1b1cffcc7ce46add827bd01122d9def16ac3cdc290ff2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2252 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0d387351d1a5162ac52adf2c9c36a183b80c3a577a5eee8b5d3422bd90284c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2280 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece767bd1388789f17807e8ece50f498f79cae43af6cab4180fcf33adbee2a8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2304}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65e92e0f7e690e4bb3a98ba3bc935223832629f426f5ac27119679ca6c4b78b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba13bdc191c900c2d0eef8966bedbc7675526fa51df68f818f49eb356a5e4ca3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2648 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2162e3561fa66fd39d20645d6c87a3ec0243589541f10717349300fcfb5a7f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2711 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":2711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6a85ede002eca3bfe64793ebc61c8fac257e7ca4273b92781144a4a6a008e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3089 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7ab6b90567a218fa8b70073002006aac4a79b38d4959e72ede00e1ba0b1127"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3225 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ba42721e5223f527b98aed062bdf811bbdb6ddb22db99235cefab2770c3f06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3271 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3271}}}],"partialFingerprints":{"codehealthFindingId/v1":"615dd5ae3ee3399cc02afa6cc6cdee185f43da4c2246b7145153185a24304f46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0e3a6e5a68f41734bcb755f13dc939cc77166bff9659ca000711afdcf56344"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3309 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/generator.rs"},"region":{"startLine":3309}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea092f56a55e7fdf021a8b2c7851a4aba30379ce2e82b429cf0f140a32f2780"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 580 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/parameters.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"c335a25dd4412683ebc2c638245d71bf981096809feadffe71dc098ee3634334"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_es2015/src/parameters.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b448e8abc2c027988764f4a8b9b94de96f4a4440211dcd5e282927d2d5909c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_common/src/macros.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d8b285f95507ce74a2e5603c456560add8a70d970e3bec7efce82a62e6bdc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_ecma_compat_common/src/macros.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1f03193c280bd9cda88e2c230891b752a42f57836c3a8d3c3e5c3bf1d23e6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 361 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"94230b886e550f2fe87b2e40c9188b39dcda495746ce70031fe6805a6b5d2712"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 366 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c06b927d03ee4bfbaf6e3c63d289470be36bb5aa250ce8ee00869be3b1036c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 371 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c0486c5ff70e1d7c53202e2004288b88b61bdc5c1fcfda9a1bfc14d242e556"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 508 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7335faae68574c6040fea6e4d23569274e7d135115dbea41b00dee329a2107"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 518 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f43c8d98da567703ca974dce702736a970f5624db309c8dea4f5f7a7527b63f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 523 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6918f8491282b85094588e7f4c172b9fa02d1b02160a965e465a7a08be378f07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 902 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ebe2fdeacf8aff2d10c37eb8a65a3442bbb2681f354f025b2100152eff761a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 910 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1921bc02f96e56dec50ca74e94804ad027d2048453b6144ce09a7a02997f200"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 925 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c944205702ed411dbecc35e600d69bb417aa047612ceab3114abd0934bb5bfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 945 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a232c1f758555839de3eec99d4d04d14ca3fd54d6b2274a1971a05131bb5a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 953 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6c66fee5005261a12ab792b1d1d63309938688a88ae137863bb446feaaaf70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 970 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"7955c21a974faac1de7c2c71dad747f3c6428a2bc60d2aa3acf599af9a51fc92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 973 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"3170eb16123a86123d72c25416162551589263c47edd59cdcb023e619ac348bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1220 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a2e0b78af33e32f49d746bedcc6c57731ac3d00cdc9c044e81153888c3331a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/source_map.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d230db01afa34bf5589cd36161f9aac515179effe8c37fd141bf46f64cc2d16d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 186 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_common/src/errors/diagnostic_builder.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2b1be0a2aab841382186db933207cd5291798a8e1ec6d6323d705a48505669"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 72 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/chunk.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3679b4e30e27ebfa520a0bd5caa8bcd245b76934957fe70afc275ee4809702e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 84 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/chunk.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b42d14a71c1a6de5796edd71d6d4ded6b4cecbfe6472f42851b05c29657acea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 30 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77d26fc531bd068c650fddd85cffab5499bd2aebcfd197b33591e37b1c07b4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 41 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/mod.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b68150082198364dde38e978b3dd98e6ba329f06071f20dd4fbcb23c9661270"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/modules/sort/mod.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2902754337a2c8dcafdfb13ea91e9603fa3c251ac2678ccd08baed2daeab1af4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 78 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3d05d8efa7dd2edf5ae2815e5518aba93594310b4ca4caa872912ddd414416"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 83 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8380bf4babca5de2ecae8b847745733d0ce16f670f045935a22c3540c276d5f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 94 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"334f4f90b135badc95a2181f47916534229d05f2336589f4b72300a3ac249b71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 108 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8b8233a4291d8af468732a67f7a919c3b65b59a853a7a9dbe6d6520f9d13ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d18fdcb193b86115002c1ac4745d9566bd31a2ccf4b3e151c0e81992a41985"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e397ca51adfc961f65a69781b7f7975ad65bee88fa9c6d033fad20140e03534"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/load.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb6148493ed7d852a84c71090eeef11861e868edc644c2557a4ab0161429a9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/mod.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ea2e459016140d2a395bd5b94803ad9bc6d02099e4f1cef332f7d723adc2b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 124 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/mod.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eabb5181dcec6e982df5b1995467a8e3f5e5bc570ea6b00fc5ab911c926646"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 127 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/mod.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7958113fa0fcb027ba8b899909d5ca21a753bfbb8e0f673362452c4a3fad6434"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 62 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/cjs.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448abd56aa024714e2146d0c92ca67e555ee39a34e515fc8a262a3c38067286"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9ad1c54fea1717f3e9e96759e2d8c976bab76558578ffe0dc3a309c2f7df50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 524 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"873861f2f4e1057de57d954f39064bd591de0b9fce4ef97e0962f212807e46ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 791 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138ba7588a58a47a0bea0e4855f68fce221c7dfa6a6d54e868f876e257dedbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 918 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"93401edf75437419e12e7d49144f08135263b042913f3ea3358385355b67387f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace!\u0060 at line 967 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060trace!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/merge.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0145c3544d8297007bcd21be028db4aeb07b759d50e23fd8bce9444884de12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 39 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/mod.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d94e9904c01c2a88b4aeaad9727e14e0f0402e0d5b1fc5f19bc0bbc9c1c093"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 82 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/mod.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b6ef7eef7ebf339e2c82d09baf8d86e4ca1acb37bd32b8fcca19bc0434200a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 101 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/mod.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"265d176c5158f57cbc9d4157ac4bd5a1108a2cde8054967072f75f7edc0749a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc_bundler/src/bundler/chunk/mod.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c271b3df37572b01f45ebe81012f3b5958e6b0cd2c6823562725c3532d94f8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 533 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/src/lib.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"94311465acfa29af98c6015f6e9745bc8b61d832285b100e97127c1e1c59c774"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 586 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/src/lib.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"12553261cf52d51dd2e25c444942eea650a6ce05cce1ccc3b414ec44f009eb68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 271 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/src/plugin.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"962c76cf6eed7a848ae20372b314dce9c46ceb5dd821326728df7930e322b2f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 33 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/preset_env_base/src/version.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894279c81d67b3dc76c741da93de100c9e34f87a958276b0a2122c7646c5b98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/preset_env_base/src/version.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85a7ee8d549b7e66c9805f9872fe3b451ea31954bf07efb9b31ee2a2b152db2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 42 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/dbg-swc/src/es/minifier/ensure_size.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfafa09dd6611fc8efac187dd5d2c0fb6886ae890d85f6dab7aca55e3957720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 153 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/dbg-swc/src/es/minifier/ensure_size.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0681051b7e1ddfb50eee1f4a2c477f7dbbc58bd126a81ea64c9f09ad733b2757"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.3 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 2 assertion(s) across the 6395 source line(s) of the 11 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: packages/core/src/postinstall.ts (2). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060default_env_name\u0060 turns every \u0060Err\u0060 into \u0060\u0022development\u0022.into()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/swc/src/config/mod.rs"},"region":{"startLine":2426}}}],"partialFingerprints":{"codehealthFindingId/v1":"351fb7b4b9ffe2031e5466d970ca3f053998a53aeca465e2df07803ca15d0238"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060file_name.contains(\u0022tsc/inlineJsxFactoryDeclarationsx\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060file_name.contains(\u0022tsc/inlineJsxFactoryDeclarationsx\u0022)\u0060 also satisfies \u0060file_name.contains(\u0022tsc/inlineJsxFactoryDeclarations\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":"crates/swc_ecma_parser/tests/typescript.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6924d96dd9d87b14e69f24aace368f9751a02fdbc79794d3c20ec8aa39241f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060file_name.contains(\u0022tsc/tsxAttributeResolution5x\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060file_name.contains(\u0022tsc/tsxAttributeResolution5x\u0022)\u0060 also satisfies \u0060file_name.contains(\u0022tsc/tsxAttributeResolution5\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":"crates/swc_ecma_parser/tests/typescript.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"725004bb38578393b6dc66728ec470249f898eea8760390ee5bdfa9e9d825192"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060file_name.contains(\u0022tsc/tsxErrorRecovery2x\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060file_name.contains(\u0022tsc/tsxErrorRecovery2x\u0022)\u0060 also satisfies \u0060file_name.contains(\u0022tsc/tsxErrorRecovery2\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":"crates/swc_ecma_parser/tests/typescript.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"95406ee3642b643253c6e632da10954cd1c8111cd0e1ad50136027c1739c1adb"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060file_name.contains(\u0022tsc/tsxErrorRecovery3x\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060file_name.contains(\u0022tsc/tsxErrorRecovery3x\u0022)\u0060 also satisfies \u0060file_name.contains(\u0022tsc/tsxErrorRecovery3\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":"crates/swc_ecma_parser/tests/typescript.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cec11d1eb0c37293b5ac941ebb5cefbb14b75cfd7969bb3ce1db7e985dd7f"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060file_name.contains(\u0022tsc/tsxTypeArgumentsJsxPreserveOutputx\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060file_name.contains(\u0022tsc/tsxTypeArgumentsJsxPreserveOutputx\u0022)\u0060 also satisfies \u0060file_name.contains(\u0022tsc/tsxTypeArgumentsJsxPreserveOutput\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":"crates/swc_ecma_parser/tests/typescript.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e3b309ae80bf672f74be7d6e1fa2f5e98a0209a7311e64f97af76ee2d65b8e"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060file_name.contains(\u0022tsc/unicodeEscapesInJsxtagsx\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060file_name.contains(\u0022tsc/unicodeEscapesInJsxtagsx\u0022)\u0060 also satisfies \u0060file_name.contains(\u0022tsc/unicodeEscapesInJsxtags\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":"crates/swc_ecma_parser/tests/typescript.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"99165ca47cd26ee0d1a8fdaca3c1260e0c587f701e12f211efa2fe00e64db55c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-117","guid":"1cfadbc2-a979-485e-b768-c70fc922201e","name":"Improper Output Neutralization for Logs","shortDescription":{"text":"Improper Output Neutralization for Logs"},"helpUri":"https://cwe.mitre.org/data/definitions/117.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-457","guid":"b62874fe-6222-8b5b-8ade-9527ad1cbb4a","name":"CWE-457","shortDescription":{"text":"CWE-457"},"helpUri":"https://cwe.mitre.org/data/definitions/457.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-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"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-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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":193,"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."]}]}